Contribute
Register

Problem with appleHDA and microphone alc668

Status
Not open for further replies.
it was the internal mic, but thanks to the help of two friends it seem fixed now. could part of a kext (resources xml files) posted on this forum as attachment?
 
it was the internal mic, but thanks to the help of two friends it seem fixed now. could part of a kext (resources xml files) posted on this forum as attachment?

Post them as ZIP. Or better yet, post the modified injector kext (as ZIP).

Even better: explain what the problem/solution was.
 
so, here is the solution. it may not work with any realtek alc668, we have just tested it successfully on some Asus N551, basically the problem is that the internal microphone works with already released patched applehda kext (mainly by Mirone) but it record the audio with a very bad quality and useless.
the problem has been found to be on the resource files (all credit for this are for noob9999 and ideepak)
the injector kext included on this post, to be used with a dsdt patch for layout3 and clover config.plist patches, allow vanilla applehda to be working with speakers/earphones and internal microphone.
the injector is for el capitan, but the resource files can be extracted and used on a patched applehda for yosemite just replacing the files.

clover .plist patch to be added to KernelAndKextPatches (credits to The Darkvoids)
Code:
<dict>
                <key>Comment</key>
                <string>Enable Realtek ALC668 #1</string>
                <key>Find</key>
                <data>
                hAjsEA==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                AAAAAA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Realtek ALC668 #4</string>
                <key>Find</key>
                <data>
                hBnUEQ==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                aAbsEA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Realtek ALC668 #2</string>
                <key>Find</key>
                <data>
                hQjsEA==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                AAAAAA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Realtek ALC668 #3</string>
                <key>Find</key>
                <data>
                gxnUEQ==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                AAAAAA==
                </data>
            </dict>

injector kext to be installed in S/L/E
View attachment AppleHDA_ALC668.kext.zip
 
so, here is the solution. it may not work with any realtek alc668, we have just tested it successfully on some Asus N551, basically the problem is that the internal microphone works with already released patched applehda kext (mainly by Mirone) but it record the audio with a very bad quality and useless.
the problem has been found to be on the resource files (all credit for this are for noob9999 and ideepak)
the injector kext included on this post, to be used with a dsdt patch for layout3 and clover config.plist patches, allow vanilla applehda to be working with speakers/earphones and internal microphone.
the injector is for el capitan, but the resource files can be extracted and used on a patched applehda for yosemite just replacing the files.

clover .plist patch to be added to KernelAndKextPatches (credits to The Darkvoids)
Code:
<dict>
                <key>Comment</key>
                <string>Enable Realtek ALC668 #1</string>
                <key>Find</key>
                <data>
                hAjsEA==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                AAAAAA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Realtek ALC668 #4</string>
                <key>Find</key>
                <data>
                hBnUEQ==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                aAbsEA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Realtek ALC668 #2</string>
                <key>Find</key>
                <data>
                hQjsEA==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                AAAAAA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Realtek ALC668 #3</string>
                <key>Find</key>
                <data>
                gxnUEQ==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                AAAAAA==
                </data>
            </dict>

injector kext to be installed in S/L/E
View attachment 158130


Thanks. It will be interesting to compare this to the-darkvoid ALC668 files.
 
hi, rehab i have resolved the problem with microphone and now i have only single problem:
when i turn off YOSEMITE with jack headphone insert the volume,after starting system,It is a bit lower and not as it should be.If i take off the jack and reinsert, it become normal.Why?
kext that working flawless is v3
https://drive.google.com/file/d/0B4CJUQCBa1C2Mm4zYUV5RDIzMEU/view?usp=sharing
 
is there a expert person for this?
 
the strange thing is that it only happens if you restart the system with headphone jack included.
If the detachment and put it back, the sound feels normal.
It may be a problem starting initial system that communicates with the kext.
Can i see the problem with a dump IOregister exploder? before and after switch the sound?
 
the strange thing is that it only happens if you restart the system with headphone jack included.
If the detachment and put it back, the sound feels normal.
It may be a problem starting initial system that communicates with the kext.
Can i see the problem with a dump IOregister exploder? before and after switch the sound?

You probably will not see a difference in ioreg. It probably has more to do with HDA nodes.
 
Status
Not open for further replies.
Back
Top