- Joined
- Oct 21, 2012
- Messages
- 3,445
- Motherboard
- HP Elitebook 8470p
- CPU
- i5 3320M
- Graphics
- HD 4000, 1600x900
- Mobile Phone
-
EDIT: Complete guide here: http://www.insanelymac.com/forum/topic/298027-guide-aio-guides-for-hackintosh/page-2#entry2030060
By using Clover to patch AppleHDA binary on-the-fly + dummy Audio kext, we can update to any version without losing audio!
You can patch AppleHDA automatically by ProbookInstaller, or manually by doing all following steps for new kext:
- Patch AppleHDA.kext/Contents/MacOS/AppleHDA binary to your audio codec.
- Patch AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist
- Copy your patched layout12.xml.zlib and Platforms.xml.zlib to AppleHDA.kext/Contents/Resources/
My goal is to reduce the manual steps required, or it works oob right after update.
The first one you have to identify is your audio codec, here is the list for Probook:
- IDT 76d1: Probook 4x30s
- IDT 76d9: Probook 4x40s
- IDT 76e0: Probook 4x0s
- IDT 7605: Probook 6x60b/6x70b, Elitebook 8x60p/8x70p/2x60p/2x70p
1/ Patch AppleHDA.kext/Contents/MacOS/AppleHDA
In traditional method, you can use bcc9's script to patch AppleHDA by changing an existing codec to our codec. For example:
- IDT 76d1: 8419D411 -> D1761D11
- IDT 76d9: 8419D411 -> D9761D11
- IDT 76e0: 8B19D411 -> E0761D11 and 8419D411 -> 00000000 (to make sure right codec compare)
- IDT 7605: 8B19D411 -> 05761D11 and 8419D411 -> 00000000
You can use CloverConfigurator to add this to your config.plist like this: (please ignore AppleHDA xml -> zml, it's not necessary anymore)
2/ Patch AppleHDAHardwareConfigDriver.kext/Contents/Info.plist, layout12.xml.zlib and Platforms.xml.zlib
Normally, we change the content of Info.plist to our codec, and copy layout*.xml.zlib and Platforms.xml.zlib to AppleHDA.kext/Contents/Resources/
We now can use a dummy kext (discovered by piker_alpha) to do the jobs automatically. You can download AppleHDAIDT.kext, which I created by piker_alpha guide (the kext is injected with 4 above codec configs).
Copy layout12.xml.zlib (or your layout*.xml.zlib), Platforms.xml.zlib from AppleHDA.kextt/Contents/Resources/ to AppleHDAIDT.kext/Contents/Resources/ and install it by Kext Wizard or Kext Utillity.
Source: http://www.insanelymac.com/forum/topic/290092-how-to-patch-applehda-with-the-help-of-bootloader/
http://pikeralpha.wordpress.com/2013/12/17/new-style-of-applehda-kext-patching/
By using Clover to patch AppleHDA binary on-the-fly + dummy Audio kext, we can update to any version without losing audio!
You can patch AppleHDA automatically by ProbookInstaller, or manually by doing all following steps for new kext:
- Patch AppleHDA.kext/Contents/MacOS/AppleHDA binary to your audio codec.
- Patch AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist
- Copy your patched layout12.xml.zlib and Platforms.xml.zlib to AppleHDA.kext/Contents/Resources/
My goal is to reduce the manual steps required, or it works oob right after update.
The first one you have to identify is your audio codec, here is the list for Probook:
- IDT 76d1: Probook 4x30s
- IDT 76d9: Probook 4x40s
- IDT 76e0: Probook 4x0s
- IDT 7605: Probook 6x60b/6x70b, Elitebook 8x60p/8x70p/2x60p/2x70p
1/ Patch AppleHDA.kext/Contents/MacOS/AppleHDA
In traditional method, you can use bcc9's script to patch AppleHDA by changing an existing codec to our codec. For example:
- IDT 76d1: 8419D411 -> D1761D11
- IDT 76d9: 8419D411 -> D9761D11
- IDT 76e0: 8B19D411 -> E0761D11 and 8419D411 -> 00000000 (to make sure right codec compare)
- IDT 7605: 8B19D411 -> 05761D11 and 8419D411 -> 00000000
You can use CloverConfigurator to add this to your config.plist like this: (please ignore AppleHDA xml -> zml, it's not necessary anymore)

2/ Patch AppleHDAHardwareConfigDriver.kext/Contents/Info.plist, layout12.xml.zlib and Platforms.xml.zlib
Normally, we change the content of Info.plist to our codec, and copy layout*.xml.zlib and Platforms.xml.zlib to AppleHDA.kext/Contents/Resources/
We now can use a dummy kext (discovered by piker_alpha) to do the jobs automatically. You can download AppleHDAIDT.kext, which I created by piker_alpha guide (the kext is injected with 4 above codec configs).
Copy layout12.xml.zlib (or your layout*.xml.zlib), Platforms.xml.zlib from AppleHDA.kextt/Contents/Resources/ to AppleHDAIDT.kext/Contents/Resources/ and install it by Kext Wizard or Kext Utillity.
Source: http://www.insanelymac.com/forum/topic/290092-how-to-patch-applehda-with-the-help-of-bootloader/
http://pikeralpha.wordpress.com/2013/12/17/new-style-of-applehda-kext-patching/