(Guide) My Main Hackintosh Desktop Sierra 10.12.5 Z77-DS3H

img_2196.jpgI

 

Decided to do a guide on the Z77-DS3H build that i built back in 2013. This guide is on getting up and running with macOS Sierra 10.12.5. I was using a regular DSDT on this machine when i started but sometime last year i moved over to Clover Hotpatch using Clover’s ACPI, DSDT, Patches with a set of SSDTs. Although this guide will work with 10.11, 10.10 and 10.9 i do run 10.9.5 Mavericks on a second drive.

Note: in my testing ALXEthernet.kext is known to cause Kernel Panics in Sierra. I replaced onboard Ethernet with a PCI-E Ethernet card with a Intel i210 chip.

My configuration

  • GA-Z77-DS3H.
  • Core i7-3770.
  • GA-GTX760 Windforce 2GB.
  • Corsair RM 650.
  • Corsair Vengeance LP 16GB.
  • Corsair 600T Graphite White Special Edition.
  • Apple BCM94602CS.
  • Apple Magic Mouse 2, Apple Keyboard 2.
  • 3x ASUS VE248H Monitors.

Things you will need.

16GB USB Flash Drive.
macOS Sierra 10.12.5 from the Mac App Store. (Use a Mac or a working Hackintosh to download macOS from the Mac App Store).

BIOS Settings,

ATA Port Information -> Hotplug disable, BIOS Features, Limit CPUID Maximum -> Disabled, Execute Disable Bit -> Enabled, Intel Virtualization Technology -> Enabled, (Vt-d can be left enabled as dart=0 is in my configs). CSM Support -> Always, Boot Mode Selection -> UEFI Only, PXE Boot Option Control -> Disabled, Storage Boot Option Control -> UEFI Only. Peripherals, SATA Mode Selection -> AHCI, XHCI Pre-Boot Driver -> Enabled, Innit Display First -> PEG, Internal Graphics -> Disabled, XHCI Hand-off -> Enabled, EHCI Hand-off -> Enabled. Super IO Configuration/Serial Port A ->Disabled. Power Management, Erp -> Enabled, High Precision Event Timer -> Enabled. (Based on these BIOS Settings i have listed here it works well).

Creating USB.

I used createmediainstall using Terminal and install Clover Manually. You can use Unibeast if you like but will need to replace config.plist with installer.plist. Rename installer.plist to config.plist.

Erase USB Boot stick as OS X Extended (Journaled), GUID Partition Map. Naming the Drive as USB. Open. Terminal and copy and paste.

Code (Text):
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia –volume /Volumes/USB –applicationpath /Applications/Install\ macOS\ Sierra.app

Once the files are done copying we now need to install Clover to the Pen drive. Can download Clover from Sourceforge. Clover EFI bootloader download | SourceForge.net

Now we need to Clone my fork. You will need to download and install developers Tools and install using Terminal.

git

 

Now to Clone my fork using Terminal to download the additional Configs, SSDTs.

mkdir~/Z77-DS3H-Clover-Hotpatch-Patches
cd~/Z77-DS3H-Clover-Hotpatch-Patches
git clone https://github.com/VoiletDragon/Z77-DS3H-Clover-Hotpatch-Patches.git

 

Location of the cloned files will be downloaded to ~ (You’re Name).

Now to install Clover to the Pen Drive with Correct Clover Settings.

Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (OsxAptioFixDrv2 It is not needed.)
Now you can install Clover. Don’t forget to put HFSPlus.efi in Drivers64UEFI and remove VBoxHFS-64.efi. Now we need to put FakeSMC & Ethernet kext, USBInjectAll in EFI/Clover/kexts/other. Remove 10+ folders. FakeSMC, ALXEthernet.kext can be downloaded from downloads section.
You will need to replace the config with installer.plist renaming it to config.
USBinjectAll can be downloaded from Rehabmans Fork. Read Readme first.
https://github.com/RehabMan/OS-X-USB-Inject-All

Once creating you’re Clover Boot stick you can now get into installing macOS. At BIOS hit F12 and boot from UEFI Pen Drive. Now Boot and install macOS.

We no longer need to boot into macOS Without Cache as macOS boots with prelinked kernel anyway.

Post Installation,

At Post Installation you will need to install Clover to you’re boot drive. Its pretty much the same as the Pen drive installation. Except you need to put in place the correct config & SSDTs.
Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (OsxAptioFixDrv2 It is not needed)
You can choose EmuVaribles if it makes you feel nervous but I didnt. Now you can install Clover. Don’t forget to put HFSPlus.efi in Drivers64UEFI and remove VBoxHFS-64.efi. Now we need to install FakeSMC, ALXEthernet.kext and USBinjectall in Library/Extensions. Kexts can be downloaded from downloads section.
You will need to replace the config with post_install rename to config.plist.
Ethernet kexts you will need depends on which Ethernet port you use. I use IntelMausiEthernet.kext as I’ve added an PCI-E Ethernet card.
download USBinjectall from Rehabmans fork. Read readme.
https://github.com/RehabMan/OS-X-USB-Inject-All

Now we need to put in place a few SSDTs. SSDTs we need are,

Code (Text):
SSDT-HACK
SSDT-SMBUS
SSDT-MCHC
SSDT-SATA
SSDT-EH01
SSDT-EH02
SSDT-XHC
SSDT-HDEF
SSDT-GFX0
SSDT-EC
SSDT-LAN (Only use if using onboard Ethernet with ALXEthernet.

These set of SSDTs go in EFI/Clover/ACPI/patched.
Remove config.plist and replace it with the one post_install and rename to config.plist.

Now we can reboot and boot into macOS without the Pen Drive.

For Native Powermanagement you will need to generate a SSDT using Piker Alpha’s ssdtPRGen.sh.Guide can be found here. https://www.tonymacx86.com/threads/quick-guide-to-generate-a-ssdt-for-cpu-power-management.177456/

For Audio. I used Clover Audio injection and paired it with CodecCommander which gives me Audio out of sleep. CodecCommander can be downloaded from Rehabmans Fork/

As Hibernation isn’t supported on a Hackintosh (You will need to disable suspend to disk or S4 sleep) You will need to disable it in Terminal.

sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage

 

After updates you may notice that Audio has stopped working. This can be fixed in Terminal.

sudo touch /System/Library/Extensions && sudo kextcache -u /

Note.

Trim is enabled by the config.plist. I prefer to use Clovers Fly on Patching for Trim.

What works.

Native Power Management.
Full Graphics Acceleration with GTX760.
Sleep/Including Audio after sleep state.
3 Monitors using Nvidia GTX760.
Message and FaceTime. Although i didn’t follow the iMessage guide.
USB 3 with High Current.
USB 2 with High Current.
Beats 1 Radio in iTunes.

One thing that didn’t work and hasn’t worked since 10.9 is ALXEthernet it caused lock ups in 10.9. In 10.12 it causes Kernel Panics on reboots. Other than that everything else works. I recommend replacing Ethernet with something thats either Intel or Realtek.

Screen Shot 2017-06-24 at 19.04.23.png

Screen Shot 2017-06-24 at 19.04.57.png

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s