Jump to content

AppleHDA Binary Patching


EMlyDinEsH

Recommended Posts

I can't patch VT1802 for 10.9.2 AppleHDA

Can some one take a look?

 

Here PathMaps i done

Pin Complex->Audio Mixer->Audio Selector->Audio Output (Hex values)
Speaker: 36->20->52->9 (0x24->0x14->0x34->0x09)
Headphone: 37->21->53->8 (0x25->0x15->0x35->0x08)

Pin Complex->Audio Selector/Mixer->Audio Input(Hex values)
Internal Mic: 41->30->16 (0x29->0x1e->0x10)
External Mic: 43->31->17 (0x2b->0x1f->0x11)

Verb data before corrections:

Node 24: 10 01 17 90 #Speaker Playback Switch
Node 24: EAPD: 0x3
Node 25: 10 40 21 02 #Headphone Playback Switch
Node 25: EAPD: 0x2
Node 29: 37 01 a7 90 #Internal Mic Boost Volume, Internal Mic Phantom Jack
Node 2b: 3e 10 a1 01 #Mic Boost Volume, Mic Jack

Verb data after default association corrections:
 

Node 24: 10 01 17 90 #Speaker Playback Switch
Node 24: EAPD: 0x3
Node 25: 20 40 21 02 #Headphone Playback Switch
Node 25: EAPD: 0x2
Node 29: 30 01 a7 90 #Internal Mic Boost Volume, Internal Mic Phantom Jack
Node 2b: 40 10 a1 01 #Mic Boost Volume, Mic Jack


Final Verb data after Mic corrections:
 

Node 24: 10 01 17 90
Node 24: EAPD: 0x3
Node 25: 20 40 21 02
Node 25: EAPD: 0x2
Node 29: 30 01 a0 90
Node 2b: 40 10 81 01

Final ConfigData:

<02471Ñ10 02471d01 02471e17 02471f90 02470c03 #24
02571c20 02571d40  02571e21 02571f02 02570c02 #25
02871c40 02871d40 02871e40 02871f40 # 28
02971c30 02971d01 02971ea0 02971f90 #29
02a71c40 02a71d40 02a71e40 02a71f40 # 2a
02b71c40 02b71d10 02b71e81 02b71f01 #2b
02d71c40 02d71d40 02d71e40 02d71f40 # 2d
03071c40 03071d40 03071e40 03071f40 # 30
03371c40 03371d40 03371e40 03371f40> # 33

Attached 'vanilla' AppleHDA.kext from 10.9.2

codec_0.txt

codec_3.txt

AppleHDA.kext.zip

Link to comment
Share on other sites

Hi I read through the binary patching guide, and I would like to mention something, in some cases the patching of appleHDA will not work properly with verbs taken from linux, because sometimes linux has limited functionallity, for example in ubuntu my lappy only has one speaker working, but in windows both work. (also with voodoo both work too, so the graph will also end up a bit defective if you use linux vs windows

terramir

Link to comment
Share on other sites

Hey,EMlyDinEsH.I have succeed to patch HDA for 10.9.1 half year ago.And now I installed 10.9.3 but did not back up the AppleHDA.kext. So I patched it again followed your guide. But nothing works except layout-id recognized in system information. And seems when I used your patched kext for 10.9.1 and modified Platforms.xml.zlib for my own pathmap, it works but the linein mic's sound was too low to be recognized, so I modified the configdata computed by my own Pin Complex, failed again. And after that try, no matter how I changed the AppleHDA to the back up kext that works for me, it never works again!! It's wierd. Is there any differences between 10.9.3 and other versions? And what should I do to get the correct patched kext?

The attachments are my codec and my analysis. 
Thanks if there are any helps.

Codec.txt

ALC269VB.txt

Link to comment
Share on other sites

Hey,EMlyDinEsH.I used your AppleHDA.kext 10.9.0 version,and modified with my configdata and platforms.xml.zlib, it works perfect. But when I put these modifications to my original AppleHDA.kext with your patched AppleHDA binary file, it failed again. Are there any differences between AppleHDA.kext vesion 10.9.0 and 10.9.3? If I can not patch the 10.9.3 version ,that means I can not patch the 10.10 Yosemite version either. And I also found that when I changed HD3000's memory from 512M to 1G, AppleHDA.kext didn't work.
 
Thanks if there are any helps here.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...