Jump to content
artur-pt

Updating your AppleHDA

Recommended Posts

140619020937263817.png

* This tutorial is to explain a simple way to update your AppleHDA for the current version of your system.

* This is a tutorial " Do it your self " it means that I will not do the work for you.


To update your AppleHDA you will need to replace 3 files and make a correction in the AppleHDA binary.

The files to be replaced are:


1-Layout x.xml.zlib (Where "X" is the number of your layout can be 1,2,3,4,12 ... etc.)

2-Platforms.xml.zlib

3-The values ​​inside Plist of AppleHDA.kext / Plugins / AppleHDAHardwareConfigDriver.kext.


First: Copy Layout"x".xml.zlib e Platforms.xml.zlib in Resources folder inside AppleHDA.kext copy the two to Resources folder in the kext you gonna update.

Note: To Know your LayoutID in use go to system info / Audio.

Example : This is layout id is 4 so is layout4.xml.zlib.

781536303_CapturadeTela2013-10-25s22_37_29.png.a6ae4236366d8b43afecaa99c9266a22.png

 

Second: Copy the values inside Plist from AppleHDA.kext/Plugins/AppleHDAHardwareConfigDriver.kext./Contents/Info.plist copy the values inside key IOKitPersonalities/HDA Hardware Config Resource/HDAConfigDefault

152047585_CapturadeTela2013-10-25s22_52_24.png.af984fce65d0cf6c2b3a0a0468df75a1.png

 

Third: Finally we fix the AppleHDA.kext binarie found in: AppleHDA.kext / MacOS.

for this we use the Script de bcc9


Copy the folder into desktop and with already edited and installed AppleHDA.kext in S/L/E go terminal and do this commands:

cd ~/desktop/patch-hda
./patch-hda.pl 10ec0887

Note: Open the folder hda-patch-hda-codecs.pl file inside it is all supported codecs for the script for more information: Script to patch AppleHDA binary for osx10.7/10.8/10.9


A tip if your codec is not supported by the script you can try to fix manually using a binary editor like HexFiend and replace one of the codecs used, by correction for you.

In the example above was corrected binary for ALC887-VD codec if you are correct for your codec is necessary to replace the 10ec0887 by the id of your codec.

In binary they are written from right to left ie 10ec0887 = 8708ec10.


*Important:


The Mountain Lion kext / Mavericks have a new structure and the files are compressed in. Zlib to unpack and edit these files will use zlib.

This application is based on RevoGirl script, it makes the process of files. Zlib from AppleHDA.kext to decompress / compress easier. Just drag the file zlib. The application and it will unzip or drag the xml file. And it will compress to. Zlib.

So if you own an old kext from Lion can compress files using this APP.Download Zlib.


After is only repair permissions and rebuild caches using KextWizard


Credits: RevoGirl, bcc9.


Original post by Mirone

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...
The popup will be closed in 15 seconds...