If I was you, I'd use the patch_hda script. Provided you put your files there, it will create the injector for you. Much easier than doing it manually. If you have some knowledge of Terminal/shell script, look at the code in that script to see what is supposed to be done.
Basically, you need:
- Platforms.xml.zlib and layout1.xml.lib (assuming layout-id=1) from your working AppleHDA.
- And you need a plist snippet from AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist placed into a plist file (see the one that is already there, but replace it with your HDAConfigDefault data...
It will probably start to make some sense if you look at the contents of the Resources directory at the u430 repo.
That should help you create the injector.
Then you need to know the find/replace terms for the binary AppleHDA patch. Those come from the output of bcc9's patch-hda perl script. Those terms are used to patch the binary on the fly using config.plist KextsToPatch section.
I don't have knowledge of coding terminal/shel but what I want to do is to rename your codec to mine like this codec=ALC269
and change audio patch from yours to this
into method label _DSM parent_label HDEF remove_entry;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 1, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;
Then change contain of layout folder with my layout86.xml.zlib & Platforms.xml.zlib
And then snippet the info.plist ....
I hope I'm going to the right direction.
Can I use ProBook Installer to patch? I have seen ALC269 codec inside patch-hda-codecs.pl
https://github.com/philippetev/HP-P...pport Files/Support patches/Resources/scripts