Administrators MaLd0n Posted July 20, 2011 Administrators Share Posted July 20, 2011 Copy the keys CommonPeripheralDSP and PathMaps from LegacyHDA to AppleHDA.kext/Contents/Resources/Platforms.xml (replace original contents); Copy the keys LayoutID and PathMapRef (they're inside key Layouts) to AppleHDA.kext/Contents/Resources/layout??.xml (replace original contents or create a new file if it doesn't exist, ?? = LayoutID); Copy the dict from key HDAConfigDefault (it's inside key HDA Hardware Config Resource) to key HDAConfigDefault in AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist (paste as child); Use PlistEdit Pro to edit the plist files. If the codec isn't ALC889A or AD1988B you will also need to edit the file AppleHDA.kext/Contents/MacOS/AppleHDA (binary). For Realtek (ALC88x) replace the 4 instances of 85 08 EC 10 (inverted bytes of codec 0885 and vendor 10EC) by your codec, for example, 88 08 EC 10. Use an hex editor (0xED) or the command sudo perl -pi -e 's|\x85\x08\xec\x10|\x88\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA For Analog Devices (AD) replace the 4 instances of 8B 19 D4 11 by your codec sudo perl -pi -e 's|\x8b\x19\xd4\x11|\x9b\x98\xd4\x11|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA If you have a patched AppleHDA for Snow Leopard (10.6.7 or older), instead of taking values from LegacyHDA you will get them from AppleHDA plug-ins. CommonPeripheralDSP, PathMaps, LayoutID and PathMapRef come from AppleHDA.kext/Contents/PlugIns/AppleHDAPlatformDriver.kext/Contents/Info.plist The dict in HDAConfigDefault comes from AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext/Contents/Info.plist Snow Leopard 10.6.8 AppleHDA has the same structure as Lion one. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE Link to comment Share on other sites More sharing options...
Flashe Posted July 20, 2011 Share Posted July 20, 2011 Hi MaLd0n, Can post the file to platforms.xml for AD1988bFix of AppleHDA.kext Lion please ? I knew how but I think I am wrong Thanks a lot another MaLd0n. - P5B-Deluxe Wifi~Ap / E8400 / 2*2 G-Skill 1066 Mhz / 9800 GT 1GB + Scythe Musashi / HDD Hitachi 160 Gigas SATA. - P5K-Premium Wifi~Ap / E8400 / 2*2 Kingston 1066 Mhz /9600 GT 512 Mo + Scythe Musashi / HDD Maxtor 500 Gigas SATA. Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted July 20, 2011 Author Administrators Share Posted July 20, 2011 Hi MaLd0n, Can post the file to platforms.xml for AD1988bFix of AppleHDA.kext Lion please ? I knew how but I think I am wrong Thanks a lot another MaLd0n. http://www.mediafire.com/file/a73f97v2hcmlhrc/AppleHDA.kext-AD1988B-LionGM.zip -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE Link to comment Share on other sites More sharing options...
Flashe Posted July 20, 2011 Share Posted July 20, 2011 Thanks again MaLd0n, Good work ,work great MaLd0n - P5B-Deluxe Wifi~Ap / E8400 / 2*2 G-Skill 1066 Mhz / 9800 GT 1GB + Scythe Musashi / HDD Hitachi 160 Gigas SATA. - P5K-Premium Wifi~Ap / E8400 / 2*2 Kingston 1066 Mhz /9600 GT 512 Mo + Scythe Musashi / HDD Maxtor 500 Gigas SATA. Link to comment Share on other sites More sharing options...
iLegendary Posted July 27, 2011 Share Posted July 27, 2011 i cant get audio with ad1988bfix and dsdt.. ?? Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted July 27, 2011 Author Administrators Share Posted July 27, 2011 i cant get audio with ad1988bfix and dsdt.. ?? in Lion or 10.6.8 you dont need legacy use HDEF in DSDT + AppleHDA patched -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE Link to comment Share on other sites More sharing options...
iLegendary Posted July 27, 2011 Share Posted July 27, 2011 hmm.. so im guessing you just patched applehda for us? lol and er.. im sure my dsdt is patched for hdef.. using autopatcher. Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted July 27, 2011 Author Administrators Share Posted July 27, 2011 hmm.. so im guessing you just patched applehda for us? loland er.. im sure my dsdt is patched for hdef.. using autopatcher. Lion? use it http://Olarila.com/forum/viewtopic.php?f=17&t=212#p1714 Snow use the same files se the first post -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE Link to comment Share on other sites More sharing options...
iLegendary Posted July 27, 2011 Share Posted July 27, 2011 yeah I'm using lion. Thanks! I'll try it when get home. Link to comment Share on other sites More sharing options...
iLegendary Posted July 28, 2011 Share Posted July 28, 2011 hm.. i replaced legacy applehda with this one you posted and i have a patched dsdt.aml using autop patcher but i cant seem to get my audio to work still.. i have an asus p5e (flashed to a rampage formula) and audio is ad1988b.. previously in sl i useed dsdt and ad1988bfix.kext but it's not working. btw, in chameleon build 1xxx do you rename com.apple.boot.plist in e/e to org.chameleon.boot.plist? Link to comment Share on other sites More sharing options...
iLegendary Posted July 28, 2011 Share Posted July 28, 2011 okay nvm it works. i just didn't patch hdef.. seeing as the auto patcher didn't do it for me, haha. thanks a lot anyways! audio working as planned. Link to comment Share on other sites More sharing options...
Tsurugi Posted August 1, 2011 Share Posted August 1, 2011 this mode is for enable AppleHDA for alc88x without problem, and avoid the kernel panic on reboot ? Link to comment Share on other sites More sharing options...
Wilmiolo Posted August 27, 2011 Share Posted August 27, 2011 Ayuda por favor, con ALC888 y Mac OS X Lion, cual es el "PIN Configuration" para que trabajen los puertos frontales, por favor los necesito, muchas gracias Link to comment Share on other sites More sharing options...
rohan_pce Posted September 5, 2011 Share Posted September 5, 2011 hi all i have an old alcinject.kext with patched applehda.kext which works fine fro me in snowleo but it dosent work for me in lion . I have attached both the kexts can anbody guide me how to patch apple hda from lion to get my audio working my audio driver is realtek alc 880. Archive.zip Link to comment Share on other sites More sharing options...
oldnapalm Posted September 5, 2011 Share Posted September 5, 2011 Follow instructions in first post (use PlistEdit Pro), but instead of taking values from "legacy" you will take them from AppleHDA plug-ins. CommonPeripheralDSP, PathMaps, LayoutID and PathMapRef come from AppleHDA.kext/Contents/PlugIns/AppleHDAPlatformDriver.kext/Contents/Info.plist The dict from HDAConfigDefault comes from AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext/Contents/Info.plist Copy data from ALCinject.kext (entriesToAdd) to HDEF in DSDT Method (_DSM, 4, NotSerialized) { Store (Package (0x06) { "built-in", Buffer (One) { 0x00 }, "layout-id", Buffer (0x04) { 0x0C, 0x00, 0x00, 0x00 }, "PinConfigurations", Buffer (Zero) {} }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } Link to comment Share on other sites More sharing options...
rohan_pce Posted September 6, 2011 Share Posted September 6, 2011 AppleHDA.kext/Contents/Resources/Platforms.xml My resources Folder Does no have platforms.xml Link to comment Share on other sites More sharing options...
oldnapalm Posted September 6, 2011 Share Posted September 6, 2011 AppleHDA.kext/Contents/Resources/Platforms.xml My resources Folder Does no have platforms.xml Then it's not a Lion AppleHDA. Link to comment Share on other sites More sharing options...
prcmelo Posted September 6, 2011 Share Posted September 6, 2011 Old... Do you know if it works with ALC888b ? I'm trying for days... I have used several alc888b kexts as base to edit the values on AppleHDA in Lion... but no lucky... I don't want to keep trying if it's impossible, so I'm asking you if you know some "success case" with this ALC888b... Link to comment Share on other sites More sharing options...
oldnapalm Posted September 6, 2011 Share Posted September 6, 2011 I don't remember about a "success case" with this specific codec, but if the kext works in Snow Leopard, the Lion "port" should work as well. Link to comment Share on other sites More sharing options...
prcmelo Posted September 6, 2011 Share Posted September 6, 2011 I don't remember about a "success case" with this specific codec, but if the kext works in Snow Leopard, the Lion "port" should work as well. I'm using the values from LegacyHDA_ALC888B.kext... this kext used to work on Snow Leopard in Extra/Extensions... with AppleHDA.kext from 10.6.2 in S/L/E... my DSDT has HDEF... Am I doing something wrong? Link to comment Share on other sites More sharing options...
oldnapalm Posted September 6, 2011 Share Posted September 6, 2011 Maybe you are missing the bin patch? I believe you should use sudo perl -pi -e 's|\x85\x08\xec\x10|\x87\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA ALC888B (or ALC887) http://www.insanelymac.com/forum/index.php?showtopic=140941 Link to comment Share on other sites More sharing options...
prcmelo Posted September 6, 2011 Share Posted September 6, 2011 That's what I used to patch the Binary AppleHDA... but as I said, no luck... I think I'm lost! I'm using a Patched AppleHDA.kext from 10.6.2 that I found at Kexts.com... but every 10 minutes I got a annoying pop sound... Link to comment Share on other sites More sharing options...
oldnapalm Posted September 6, 2011 Share Posted September 6, 2011 Attach your edited Lion kext, DSDT and the legacy that works in Snow. Link to comment Share on other sites More sharing options...
prcmelo Posted September 6, 2011 Share Posted September 6, 2011 Ok... http://cl.ly/2j0z0g1W393I3z340w2Z Link to comment Share on other sites More sharing options...
oldnapalm Posted September 6, 2011 Share Posted September 6, 2011 It looks fine, the only thing is that you copied the entire HDA Hardware Config Resource from legacy instead of only the dict, but it should make no difference. Copy the dict from key HDAConfigDefault (it's inside key HDA Hardware Config Resource) to key HDAConfigDefault in AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist (paste as child); I really don't understand why it doesn't work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now