- Joined
- Apr 28, 2011
- Messages
- 186
- Motherboard
- Asus Z170 VIII Maximus Gene
- CPU
- i7-6700K
- Graphics
- GTX 1070
- Mobile Phone
-
Hi all,
This guide is an update and a summary of Crunchie's Mavericks guide and the Master Thread.
Firstly, many thanks to Crunchie, Kidman, Rehabman, Dominic714342 and all the others who contributed their results!
Also a big thank you to Shinzon who helped me out with the Clover patches and optimizing the DSDT, thanks to him I got Yosemite 100% up and running, which in turn made it possible to try out El Capitan!
Following the guides for getting this laptop to work with Mavericks, here is the method for El Capitan with Clover.
A. PRE-INSTALL
First of all, enter the BIOS of the laptop (F2), load setup defaults and ENABLE the F12 function.
Follow the Clover guide.
In my case, I installed Clover in the ESP of my USB drive.
Install clover configurator and make these changes to your config.plist:
Acpi —> DSDT.aml
Boot —> Verbose, dart=0, kext-dev-mode=1, rootless=0
Devices —> USB Inject, UseIntelHDMI
Graphics —> Inject Intel, ig-platform-id = 01660003
Kernel & kext patches —>
SMBIOS —> MacbookAir5,2
Now go to EFI/CLOVER/Kexts/10.11 and install FakeSMC.kext, and VoodooPS2.kext.
Add a folder to your USB and put a copy of Clover Configurator, Clover installer, Kext Wizard and all the patched kexts, DSDT, SSDT, …
That should do the trick!
B. INSTALLATION
When booting the laptop, press F12 and choose your USB device. When you installed Clover in the ESP, choose the EFI device.
In the Clover menu, press F4 to save an unpatched DSDT in /EFI/CLOVER/acpi/
Hit “install OS X” with enter.
The installation takes about 15 minutes.
You may need a USB keyboard/Mouse temporarily.
C. POST INSTALL
Reboot with the USB into Clover and select to boot from the HDD this time.
Copy your extra folder from the USB to the desktop.
Install Clover —> Customize —> Bootloader = Install boot0ss in MBR.
With Clover Configurator, mount the EFI partition on your USB and copy the config.plist to the EFI partition on your HDD.
Open Kext Wizard and install these kexts:
Battery % [Patched ACPIBatteryManager.kext by Rehabman]
Brightness [Patched ACPIBacklight.kext by Rehabman]
Audio [based on patched AppleHDA.kext by Kidman, AppleIntelFramebufferCapri.kext],
Touchpad [VoodooPS2Controller.kext by Rehabman]
Repair permissions, rebuild kextcache.
D. DSDT patching
Starting off with a clean DSDT, use MaciASL and appy the following patches using Rehabman's patch REPO.
Rehabman patch repo:
http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master
- HD4000 Low res. (GraphicsEnabler=No)
- IRQ Fix
- HPET Fix
- 7-series USB
- 7 series USB3 Multiplex ( comment out last line —> // and uncomment the alternative line underneath instead)
- 6 series USB
- SMBUS Fix
- RTC Fix
- AC Adapter Fix (with/without)
- OS Check Fix
- Brightness Fix HD4000
- Audio Layout ID 12 ( changed the 12 to 69)
- Fix _Wak arg0v2 ( seems to fix problem where it reboots after waking from sleep)
E. SPEEDSTEP/POWER MANAGEMENT
You will NEED to generate your own SSDT for your particular CPU
Use the SSDTPrGen script found here: http://www.tonymacx86.com/ssdt/86906-ssdt-generation-script-ivybridge-pm.html
Copy your patched DSDT and SSDT to the /EFI/CLOVER/acpi/patched
F. SOUND/HDMI AUDIO
This laptop uses the ALC269 Codec.
The patch involves fixing the DSDT and patching AppleHDA.kext AND AppleIntelFramebufferCapri.kext
AppleHDA.kext and AppleIntelFramebufferCapri.kext are both patched by Clover. However, AppleHDA won't work unless we add a DummyHDA.kext which contains the information that OSX needs to enable sound on this motherboard.
This method is described here (post 28). The ingredients for a working DummyHDA.kext can be found in the Kidman's patched AppleHDA.kext (post 109).
Follow Pikeralpha’s guide here:
https://pikeralpha.wordpress.com/2013/12/17/new-style-of-applehda-kext-patching/
Basically you create an empty dummy kext:
1) sudo cp -R /S*/L*/Extensions/AppleHDA.kext /S*/L*/Extensions/DummyHDA.kext
2) cd /S*/L*/Extensions/DummyHDA.kext/C*
3) sudo rm -R PlugIns
4) sudo rm -R _CodeSignature
5) sudo rm Resources/*.xml.zlib
6) sudo rm -rf Resources/*.lproj
7) sudo rm version.plist
8) sudo cp ~/Desktop/layout69.xml.zlib Resources/
9) sudo cp ~/Desktop/Platforms.xml.zlib Resources/
Note: These files are found in the patched kext that we downloaded earlier.
10) sudo rm MacOS/AppleHDA
11) sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA MacOS/AppleHDA
12) sudo nano Info.plist (change version info from: 272.50.30 into: 999.1.1fc1)
13) sudo mkdir PlugIns
14) cd PlugIns
15) sudo mkdir -p AppleHDAHardwareConfigDriver.kext/Contents
16) cd AppleHDAHardwareConfigDriver.kext/Contents
17) sudo cp /S*/L*/Extensions/AppleHDA.kext/C*/P*/AppleHDAHardwareConfigDriver.kext/C*/Info.plist.
18) Add the following snippet to the plist:
19) Then I removed all other CodecID related data from the plist and went on with the next step
20) sudo mkdir MacOS
21) cd MacOS
22) sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/MacOS/AppleHDAHardwareConfigDriver AppleHDAHardwareConfigDriver
23) sudo touch /S*/L*/Extensions
This guide is an update and a summary of Crunchie's Mavericks guide and the Master Thread.
Firstly, many thanks to Crunchie, Kidman, Rehabman, Dominic714342 and all the others who contributed their results!
Also a big thank you to Shinzon who helped me out with the Clover patches and optimizing the DSDT, thanks to him I got Yosemite 100% up and running, which in turn made it possible to try out El Capitan!
Following the guides for getting this laptop to work with Mavericks, here is the method for El Capitan with Clover.
A. PRE-INSTALL
First of all, enter the BIOS of the laptop (F2), load setup defaults and ENABLE the F12 function.
Follow the Clover guide.
In my case, I installed Clover in the ESP of my USB drive.
Install clover configurator and make these changes to your config.plist:
Acpi —> DSDT.aml
Boot —> Verbose, dart=0, kext-dev-mode=1, rootless=0
Devices —> USB Inject, UseIntelHDMI
Graphics —> Inject Intel, ig-platform-id = 01660003
Kernel & kext patches —>
Code:
<dict>
<key>Comment</key>
<string>HD4000 HDMI Audio</string>
<key>Find</key>
<data>
BQMAAAIAAAAwAAAAAgUAAAAEAAAHBAAAAwQAAAAEAACBAAAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferCapri</string>
<key>Replace</key>
<data>
BQMAAAIAAAAwAAAAAgUAAAAIAAAGAAAAAAAAAAAAAAAAAAAA
</data>
</dict>
<dict>
<key>Name</key>
<string>AppleHDA</string>
<key>Comment</key>
<string>Expect 2 matches</string>
<key>Find</key>
<data>hAjsEA==</data>
<key>Replace</key>
<data>AAAAAA==</data>
</dict>
<dict>
<key>Name</key>
<string>AppleHDA</string>
<key>Comment</key>
<string>Expect 2 matches</string>
<key>Find</key>
<data>hQjsEA==</data>
<key>Replace</key>
<data>AAAAAA==</data>
</dict>
<dict>
<key>Name</key>
<string>AppleHDA</string>
<key>Comment</key>
<string>Expect 2 matches</string>
<key>Find</key>
<data>hBnUEQ==</data>
<key>Replace</key>
<data>aQLsEA==</data>
</dict>
<dict>
<key>Comment</key>
<string>Trim Enabler</string>
<key>Find</key>
<data>
AEFQUExFIFNTRAA=
</data>
<key>Name</key>
<string>IOAHCIBlockStorage</string>
<key>Replace</key>
<data>
AAAAAAAAAAAAAAA=
</data>
</dict>
Now go to EFI/CLOVER/Kexts/10.11 and install FakeSMC.kext, and VoodooPS2.kext.
Add a folder to your USB and put a copy of Clover Configurator, Clover installer, Kext Wizard and all the patched kexts, DSDT, SSDT, …
That should do the trick!
B. INSTALLATION
When booting the laptop, press F12 and choose your USB device. When you installed Clover in the ESP, choose the EFI device.
In the Clover menu, press F4 to save an unpatched DSDT in /EFI/CLOVER/acpi/
Hit “install OS X” with enter.
The installation takes about 15 minutes.
You may need a USB keyboard/Mouse temporarily.
C. POST INSTALL
Reboot with the USB into Clover and select to boot from the HDD this time.
Copy your extra folder from the USB to the desktop.
Install Clover —> Customize —> Bootloader = Install boot0ss in MBR.
With Clover Configurator, mount the EFI partition on your USB and copy the config.plist to the EFI partition on your HDD.
Open Kext Wizard and install these kexts:
Battery % [Patched ACPIBatteryManager.kext by Rehabman]
Brightness [Patched ACPIBacklight.kext by Rehabman]
Audio [based on patched AppleHDA.kext by Kidman, AppleIntelFramebufferCapri.kext],
Touchpad [VoodooPS2Controller.kext by Rehabman]
Repair permissions, rebuild kextcache.
D. DSDT patching
Starting off with a clean DSDT, use MaciASL and appy the following patches using Rehabman's patch REPO.
Rehabman patch repo:
http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master
- HD4000 Low res. (GraphicsEnabler=No)
- IRQ Fix
- HPET Fix
- 7-series USB
- 7 series USB3 Multiplex ( comment out last line —> // and uncomment the alternative line underneath instead)
- 6 series USB
- SMBUS Fix
- RTC Fix
- AC Adapter Fix (with/without)
- OS Check Fix
- Brightness Fix HD4000
- Audio Layout ID 12 ( changed the 12 to 69)
- Fix _Wak arg0v2 ( seems to fix problem where it reboots after waking from sleep)
E. SPEEDSTEP/POWER MANAGEMENT
You will NEED to generate your own SSDT for your particular CPU
Use the SSDTPrGen script found here: http://www.tonymacx86.com/ssdt/86906-ssdt-generation-script-ivybridge-pm.html
Copy your patched DSDT and SSDT to the /EFI/CLOVER/acpi/patched
F. SOUND/HDMI AUDIO
This laptop uses the ALC269 Codec.
The patch involves fixing the DSDT and patching AppleHDA.kext AND AppleIntelFramebufferCapri.kext
AppleHDA.kext and AppleIntelFramebufferCapri.kext are both patched by Clover. However, AppleHDA won't work unless we add a DummyHDA.kext which contains the information that OSX needs to enable sound on this motherboard.
This method is described here (post 28). The ingredients for a working DummyHDA.kext can be found in the Kidman's patched AppleHDA.kext (post 109).
Follow Pikeralpha’s guide here:
https://pikeralpha.wordpress.com/2013/12/17/new-style-of-applehda-kext-patching/
Basically you create an empty dummy kext:
1) sudo cp -R /S*/L*/Extensions/AppleHDA.kext /S*/L*/Extensions/DummyHDA.kext
2) cd /S*/L*/Extensions/DummyHDA.kext/C*
3) sudo rm -R PlugIns
4) sudo rm -R _CodeSignature
5) sudo rm Resources/*.xml.zlib
6) sudo rm -rf Resources/*.lproj
7) sudo rm version.plist
8) sudo cp ~/Desktop/layout69.xml.zlib Resources/
9) sudo cp ~/Desktop/Platforms.xml.zlib Resources/
Note: These files are found in the patched kext that we downloaded earlier.
10) sudo rm MacOS/AppleHDA
11) sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA MacOS/AppleHDA
12) sudo nano Info.plist (change version info from: 272.50.30 into: 999.1.1fc1)
13) sudo mkdir PlugIns
14) cd PlugIns
15) sudo mkdir -p AppleHDAHardwareConfigDriver.kext/Contents
16) cd AppleHDAHardwareConfigDriver.kext/Contents
17) sudo cp /S*/L*/Extensions/AppleHDA.kext/C*/P*/AppleHDAHardwareConfigDriver.kext/C*/Info.plist.
18) Add the following snippet to the plist:
Code:
<key>IOKitPersonalities</key>
<dict>
<key>HDA Hardware Config Resource</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleHDAHardwareConfigDriver</string>
<key>HDAConfigDefault</key>
<array>
<dict>
<key>Codec</key>
<string>Realtek ALC269 for Acer S3-391</string>
<key>CodecID</key>
<integer>283902569</integer>
<key>ConfigData</key>
<data>
ASccIAEnHQEBJx6gAScfkAFHHBABRx0BAUce
EwFHH5kBdxzwAXcdAAF3HgABdx9AAYcc8AGH
HQABhx4AAYcfQAGXHPABlx0AAZceAAGXH0AB
pxzwAacdAAGnHgABpx9AAbcc8AG3HQABtx4A
AbcfQAHXHPAB1x0AAdceAAHXH0AB5xzwAecd
AAHnHgAB5x9AAhccMAIXHUACFx4hAhcfAQ==
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>69</integer>
</dict>
19) Then I removed all other CodecID related data from the plist and went on with the next step
20) sudo mkdir MacOS
21) cd MacOS
22) sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/MacOS/AppleHDAHardwareConfigDriver AppleHDAHardwareConfigDriver
23) sudo touch /S*/L*/Extensions