Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,319 posts in this topic

Recommended Posts

 

now i'm using voodoohda .. not that dummy .. it have problems with the mic .. conexant 20757 have combo in / out

 

i want to try that kext to see if any better

 

 

attach getdump output from VoodooHDA, maybe it is possible to fix the problem with mics

  • Like 1
Link to comment
Share on other sites

hello

 

now i'm using voodoohda .. not that dummy .. it have problems with the mic .. conexant 20757 have combo in / out

 

only 1 jack

 

i want to try that kext to see if any better

 

regards

 

If you have problems with this DummyHDA you will have same problems with AppleALC. Ask Mirone to do something with combo in/out and give me working resources. I'll make you test version of AppleALC and if it's OK i will add it into repo.

 

P.S. You have to run this script without VoodooHDA and AppleHDADisabler...

Link to comment
Share on other sites

Excellent project,

 

Is working fine in my GA-Z170X gaming 5 with Realtek ALC1150 layout 1, however the audio device names are listed in systems preferences in what it seems to be Hebrew!! my hack is configured in english so is very confusing. I have the same behaviour using the kext from github and a fresh compiled version using the source code.

 

Any idea about what could be causing this?

 

Thanks. 

 

 

 

post-2521-0-15450600-1460407390_thumb.png

Link to comment
Share on other sites

 

Any idea about what could be causing this?

 

Thanks. 

 

You have to use original AppleHDA from Apple, not from ##### t***x86 оr any other patched one  ...

codesign --verify --no-strict /System/Library/Extensions/AppleHDA.kext/

if the command answers with signature errors - reinstall the kext

  • Like 1
Link to comment
Share on other sites

 

You have to use original AppleHDA from Apple, not from ##### t***x86 оr any other patched one  ...

codesign --verify --no-strict /System/Library/Extensions/AppleHDA.kext/

if the command answers with signature errors - reinstall the kext

Thank you! Interesting I don't remember to have ever touched AppleHDA, I'll reinstall an untouched version.

 

Cheers

Link to comment
Share on other sites

Hi vit9696

 

can you modify config data in PinConfigs.kext

Key 37 (layout 3) to

01271C30 01271D00 01271EA0 01271F90 01471C10 01471D00 01471E17 01471F90 01571C20 01571D10 01571E21 01571F00 01B71C40 01B71D10 01B71E81 01B71F00 01470C02

 

 

now i find key 37 (layout 3) = key 39 (layout 28) same value

001271C1 001271D0 001271EA 001271F9 001471C2 001471D0 001471E1 701471F9 001571C3 001571D1 001571E2 101571F0 101671C4 001671D0 001671E0 001671F4 001B71C5 001B71D1 001B71E8 101B71F0 201D71C6 001D71D0 001D71EC 001D71F4 001470C0 

 

http://www.mediafire.com/download/f9ltvx74lk6tyqv/AppleALC.kext.zip

this modify kext works good for me Asus g551j alc668

mic + speaker internal +external

 

credit @syscl

Link to comment
Share on other sites

Hi vit9696

 

can you modify config data in PinConfigs.kext

Key 37 (layout 3) to

01271C30 01271D00 01271EA0 01271F90 01471C10 01471D00 01471E17 01471F90 01571C20 01571D10 01571E21 01571F00 01B71C40 01B71D10 01B71E81 01B71F00 01470C02

 

 

now i find key 37 (layout 3) = key 39 (layout 28) same value

001271C1 001271D0 001271EA 001271F9 001471C2 001471D0 001471E1 701471F9 001571C3 001571D1 001571E2 101571F0 101671C4 001671D0 001671E0 001671F4 001B71C5 001B71D1 001B71E8 101B71F0 201D71C6 001D71D0 001D71EC 001D71F4 001470C0 

 

http://www.mediafire.com/download/f9ltvx74lk6tyqv/AppleALC.kext.zip

this modify kext works good for me Asus g551j alc668

mic + speaker internal +external

 

credit @syscl

 

You can modify PinConfigs.kext by yourself for your own purposes.

 

Layout 3 is Mirone resources. It can't be modified. The point is layouts 1-10 are base Mirone and Toleda resources. If you need your own data to be injected in to AppleALC sources use custom layouts from 11 to 99 and make commit on GitHub.

 

Layout 3 and layout 28 have same values in PinConfigs.kext but they also have different platforms.xml.zlib. Layout 28 is custom resource for Asus N750JK.

  • Like 1
Link to comment
Share on other sites

You can modify PinConfigs.kext by yourself for your own purposes.

 

Layout 3 is Mirone resources. It can't be modified. The point is layouts 1-10 are base Mirone and Toleda resources. If you need your own data to be injected in to AppleALC sources use custom layouts from 11 to 99 and make commit on GitHub.

 

Layout 3 and layout 28 have same values in PinConfigs.kext but they also have different platforms.xml.zlib. Layout 28 is custom resource for Asus N750JK.

Oh i think he want layout 28 for every model laptop.

 

Could you add my model g551j with another custom layout 29 by exemple because layout 28 only for asus serial N K, on serial ROG G it actives only headphone Mic + speaker buit-in doesn't work

Link to comment
Share on other sites

Could you add my model g551j with another custom layout 29 by exemple because layout 28 only for asus serial N K, on serial ROG G it actives only headphone Mic + speaker buit-in doesn't work

 

Run attached script and give me info.plist. Also i need layout.xml.zlib, platforms.xml.zlib and pinconfig data 100% working for your laptop.

Codec-Info.command.zip

Link to comment
Share on other sites

how to change layoutId? Tried editing the layoutid of layout#.xml.zlib and changing its name to my preference but doesnt load. I already edited pinconfig. the original zlib works for me, but i just want to change the layout id. Do i also edit platform?

Thanks

Link to comment
Share on other sites

how to change layoutId? Tried editing the layoutid of layout#.xml.zlib and changing its name to my preference but doesnt load. I already edited pinconfig. the original zlib works for me, but i just want to change the layout id. Do i also edit platform?

Thanks

 

You have to specify changes you made with platforms#.xml.zlib in codec info.plist and in pinconfigs info.plist also. Read Wiki on GitHub https://github.com/vit9696/AppleALC/wiki/Adding-codec-support

Link to comment
Share on other sites

done that all. It seems that changing layoutid in layout#.xml.zlib is not enough. are there more To edit in layout.xml.zlib? Do i need to edit somethinginside of platform too? I have covered everything the wiki says.

Edited by ellaosx
Link to comment
Share on other sites

I am getting major audio distortion using AppleALC with ALC887. I have injected audio w/ layout iD 11 (and also 13) and am currently using the latest version of Clover r3424. After a/b 2 mins of listening to audio on iTunes that's when the distortion occurs. I also tried to remedy the situation by adding the following entry into my config.plist but the issue still exists:

<key>CPU</key>
<dict>
    <key>UseARTFrequency</key>
    <false/>
</dict>

I also downgraded to Clover r3354 but it didnt help fix the issue as well. Any other ideas I can use to help resolve this issue would be nice. Also, if anyone has a vanilla version of AppleHDA from 10.11.4 I would greatly appreciate it if you could upload it. Thanks

Link to comment
Share on other sites

Run attached script and give me info.plist. Also i need layout.xml.zlib, platforms.xml.zlib and pinconfig data 100% working for your laptop.

Codec-Info.command ; exit;

HDEF@1B = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Layout, hex: 0x00000003 , dec: 3

 

PinConfigurations:

3000a090100017902010210000000040f0111141f0111141f0111141401081002d83c640f0111141f0111141

 

Codecs Found: 2

HDMI:

0 CodecAddress:0x0

VendorID: 0xffffffff80862807

RevisionID: 0x100000

CodecID: -2138691577

 

HDA:

1 CodecAddress:0x0

VendorID: 0x10ec0668

RevisionID: 0x100003

CodecID: 283903592

Revision(dec):=1048579

Id=0x0668

Id(dec)=1640

Vendor=0x10ec

Vendor(dec)=4332

 

File Doesn't Exist, Will Create: /Users/nguyen/Desktop/Info.plist

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

Deleting expired sessions...649 completed.

 

[Opération terminée]

 

I got file info.plist but i dont have file Patch.plist

how can i find layout.xml.zlib, platforms.xml.zlib

i have http://www.mediafire.com/download/cldt4y5hc46316n/AppleHDA_ALC668.zip

for 10.11.3 it works fine

 

btw my codec http://www.mediafire.com/download/zvqq3yycrxtwpd0/codec_dump.txt

and this appleALC works fine on my laptop http://www.mediafire.com/download/f9ltvx74lk6tyqv/AppleALC.kext.zip

is this ok? or i missing something?

Link to comment
Share on other sites

how can i find layout.xml.zlib, platforms.xml.zlib

i have http://www.mediafire.com/download/cldt4y5hc46316n/AppleHDA_ALC668.zip

for 10.11.3 it works fine

 

btw my codec http://www.mediafire.com/download/zvqq3yycrxtwpd0/codec_dump.txt

and this appleALC works fine on my laptop http://www.mediafire.com/download/f9ltvx74lk6tyqv/AppleALC.kext.zip

is this ok? or i missing something?

 

AppleHDA_ALC668.kext->Show Package contents->Contents->Resources

post-1069282-0-74820600-1460642580_thumb.png

 

Where did you get this AppleALC.kext? 

 

Tell me your laptop model.

Link to comment
Share on other sites

  • Allan pinned this topic
×
×
  • Create New...