How to make upgrade AppleHDA no longer toss

Source: Internet
Author: User

---premise---

1. You have to use Clover to guide (...)
2. Open Kernelcache (open also can inject kext, still can patch kext, speed and fast, why not open)
3. Your APPLEHDA is working properly now.

---method---

First of all, the AppleHDA, it is estimated that the attention of many people, others are small meaning.

1. Rename your modified XML file and add it to AppleHDA. Change the filename. xml.zlib to. Zml.zlib For example, Layout3.xml.zlib-Layout3.zml.zlib. If the download of the out-of-the-box driver is not sure which to use, simply put all. Xml.zlib to get rid of, do not affect the use.

2. Build a patch project, if you've used Kext patch before, then I don't have to say, if it doesn't work, you need to build 1 projects. The back of the 0-5 is not the tube, is a small item under the array, you build a few there are several =. =

3. Add the following kext patch items in the Clover configuration file
<dict>
<key>Comment</key>
<string>patch_to_alc887 (Xml.zl to Zml.zl) </string>
<key>Find</key>
<data>
Eg1slnps
</data>
<key>Name</key>
<string>AppleHDA</string>
<key>Replace</key>
<data>
Em1slnps
</data>
</dict>
<dict>
<key>Comment</key>
<string>patch_to_alc887 (Patch vid pid) </string>
<key>Find</key>
<data>
ixnueq==
</data>
<key>Name</key>
<string>AppleHDA</string>
<key>Replace</key>
<data>
hwjsea==
</data>
</dict>
The added item already has the basic instructions, let me explain it briefly. The first is the focus, let AppleHDA read the resource no longer read xml.zlib, but read zml.zlib (Wit's little partner hello ... ), so the system upgrade AppleHDA will not overwrite our modified definition. The latter is binary patch, allowing AppleHDA to accept the vid and PID of our hardware.

The data I use here to demonstrate the ALC887 sound card data (gigabyte B75M-D3V Rev 1.1), the sound card is different with Plistedit Pro to modify patch_to_alc887 (Patch vid pid) the Replace corresponding Just fine.

4. It should already be working properly. :)

By the way, with some commonly used patches, the system upgrades can save a lot of trouble. Including the open trim, shielded appletymcedriver to ECC memory detection, prohibit a kext loading and so on. Look at the notes, you can understand.
<key>KextsToPatch</key>
<array>
<dict>
<key>Comment</key>
&LT;STRING&GT;ECC Memory Check hack</string>
<key>Find</key>
<data>
Cgoatwfjuhjvncwxae1hy1bybzusmqby
</data>
<key>Name</key>
<string>AppleTyMCEDriver</string>
<key>Replace</key>
<data>
Cgoaaaaaaaaaaaaaaaaaaaaaaaaaaaby
</data>
</dict>
<dict>
<key>Comment</key>
<string>trim enabler</string>
<key>Find</key>
<data>
qvbqteugu1neaa==
</data>
<key>Name</key>
<string>IOAHCIBlockStorage</string>
<key>Replace</key>
<data>
aaaaaaaaaaaaaa==
</data>
</dict>
<dict>
<key>Comment</key>
<string>Patch_to_not_load_this_driver</string>
<key>Find</key>
<string>0x04020000</string>
<key>InfoPlistPatch</key>
<true/>
<key>Name</key>
<string>AppleUpstreamUserClientDisabler</string>
<key>Replace</key>
<string>0x44220000</string>
</dict>
<dict>
<key>Comment</key>
<string>Patch_to_not_load_this_driver</string>
<key>Find</key>
<string>0x04020000</string>
<key>InfoPlistPatch</key>
<true/>
<key>Name</key>
<string>ApplePolicyControlDisabler</string>
<key>Replace</key>
<string>0x44220000</string>
</dict>
5. Save the information in HDA Hardware Config resource to FAKESMC and no longer modify the applehdahardwareconfigdriver.kext to avoid being overwritten during the upgrade.

This is very simple, is to change the Applehdahardwareconfigdriver.kext info.plist inside Iokitpersonalities/hda Hardware Config Resource content copied out, Affixed to the Fakesmc.kext info.plist inside, is still affixed to iokitpersonalities under.

In this way the configuration in the FAKESMC will replace the applehdahardwareconfigdriver.kext, do not worry about the system upgrade when the Applehdahardwareconfigdriver.kext is overwritten so that the sound card will not work.

How to make upgrade AppleHDA no longer toss

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.