PATCH APPLEHDA WITH CLOVER PATCH-ON-FLY OS X UPDATE PROOF

CHAPER 6 : CLOVER  PATCH-ON-FLY OS X  UPDATE PROOF

This post is  a part of my AppleHDA Patching guide. However, this post alone can be used to Convert to Clover Patch-On-Fly ..

Accreditation:

Piker Alpha Post found  Here

Pokenguyen Post found Here

Things Needed:

  1. Use a patched AppleHDA
  2. Bcc9 Binary Patching Script 
  3. Clover Conigurator or Plist Editor Pro or Xcode

Go to terminal, type these commands:

cd ~/Desktop/patch-hda
./patch-hda.pl -x 10ec0887

Note : 10ec0887 is for ALC887 , you need to change it for yours ..

Default target codec: 10ec0887 detected.
Patching AppleHDA codec 11d4198b with 10ec0887
1 codec range comparison(s) to patch
Patching range comparison 11d41984
                        <dict>
                                <key>Name</key>
                                <string>AppleHDA</string>
                                <key>Comment</key>
                                <string>Expect 2 matches</string>
                                <key>Find</key>
                                <string>8419d411</string>
                                <key>Replace</key>
                                <string>00000000</string>
                        </dict>
                        <dict>
                                <key>Name</key>
                                <string>AppleHDA</string>
                                <key>Comment</key>
                                <string>Expect 2 matches</string>
                                <key>Find</key>
                                <string>8b19d411</string>
                                <key>Replace</key>
                                <string>8708ec10</string>
                        </dict>


Now just copy paste in Clover Configurator and Plist Editior Pro like this :
 Screen Shot 2015-03-24 at 6.36.38 pmScreen Shot 2015-03-24 at 6.51.38 pm

2: Download DummyHDA here. Copy LayoutX.xml.zlib and Platforms.xml.zlib from AppleHDA.kext/Contents/Resources/ (this is the working AppleHDA) to DummyHDA.kext/Contents/Resources/

Note : You can rename DummyHDA to you like RealtekALC887 or else you like .it will not effect anything.

3: Open Info.plist in AppleHDA.kext/Contents/Plugins/AppleHDAHardwareConfigDriver.kext/Contents/ (this is the working AppleHDA). Copy all the value here:

IOKitPersonalities/HDA Hardware Config Resource/HDAConfigDefault

to Info.plist in DummyHDA.kext/Contents/:

IOKitPersonalities/HDA Hardware Config Resource/HDAConfigDefault

save the Info.plist
 
 4: Reinstall vanilla AppleHDA and DummyHDA to S/L/E by EasyKext . You may need to restart once more to get the sound.

Add Comment