Contribute
Register

[Guide] Z/H97N-WIFI with Intel HD4600 using Clover UEFI Hotpatch

Status
Not open for further replies.
@potatosack, please update your profile (personal details) with your Motherboard or Make/Model, CPU and Graphics Card.
The Rules said:
Profiles need to contain at least your primary system to assist others with helping you.
 
@BreBo, whoops. There we go... information added. Note that I have a GTX 970, but I haven't installed it in the board... just trying to get it all to work with the onboard intel HD4600 graphics right now.
 
Update: I can boot into the OS in Safe Mode using the -x flag. I'm guessing this might be a graphics issue, but I'm not sure where to start troubleshooting the problem. I'm using a DVI cable to connect a single display to the HD4600 and have not installed any 3rd party graphics drivers. My GTX 970 is also not installed.
 
Overview

So heres a guide on getting MacOS Sierra 10.12 up and running on Z97N-WIFI, H97N-WIFI using Intel HD 4600. This guide will work with 10.9, 10.10, 10.11. Although I run Mavericks on a second partition.

Guide for installing 10.12.1 with Nvidia Graphics.
https://www.tonymacx86.com/threads/...ing-clover-uefi-hotpatch.206284/#post-1361883

Guide to install 10.11.6 with Intel HD 4600.
https://www.tonymacx86.com/threads/...tel-hd4600-using-clover-uefi-hotpatch.203416/

Guide to install 10.11.6 With Nvidia Graphics.
https://www.tonymacx86.com/threads/...a-graphics-using-clover-uefi-hotpatch.206282/

My configuration on my H97N-WIFI Build.
  • GA-H97N-WIFI.
  • Core i7 4790.
  • Intel HD 4600 3 monitors.
  • Corsair RM 650. [/SIZE]
  • Corsair Vengeance LP 16GB.
  • Bitfenix Prodigy Case.
  • Apple BCM94602CS in Mini PCI-E Adaptor.
  • Apple Magic Mouse 2, Apple Keyboard 2.
  • 3x ASUS VE248H.

This Guide will also work on Z97N-WIFI.

Things you will need.

16GB USB Flash Drive
macOS Sierra 10.12 downloaded from Mac App Store.
A Mac or a working Hackintosh to download 10.12 from Mac App Store and to create installation Pen Drive.
Set of SSDTs. Credits to Rehabman for his help with SSDT-USB & SSDT-HACK.

Bios Settings


You can use factory defaults. But due to my SSDT-USB I recommend to have XHCI set to enabled not Auto. VT-d can be left to enabled only if you have dart=0 in config.plist. If you decide to disable VT-d then no need to worry about having dart=0 in config.plist. Recommend not using Beta BIOS. Stay at BIOS F8. Set Boot settings to UEFI Only. Enable XMP Profile 1.


Creating USB

I used createmediainstall using Terminal and install Clover Manually.

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

Code:
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ Sierra.app

Wait till files are done copying. Now we can move onto install Clover to the Pen drive. At the time of this guide Clover version was 3763. Note theres a Clover bug that causes (Inject EDID) to set to true by default.

Open up Clover. Continue, Continue again, Change install location to you're USB drive. Now click on Customise, Now we need to install correct settings for Clover.

To Clone my fork you will need to download developer tools and install using Terminal.


Code:
git

Now to Clone my fork using Terminal.

Code:
mkdir~/Z-H97N-WIFI-Patches
cd~/Z-H97N-WIFI-Patches
git clone https://github.com/VoiletDragon/Z-H97N-WIFI-Patches.git

Location of files from my fork will be downloaded to ~(You're Name).


Settings for Clover.


Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (Don't use OsxAptioFixDrv2 it causes problems)
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, AppleintelE1000e & USBinjectAll kexts in EFI/Clover/kexts/other. Remove 10+ folders. kexts can be downloaded from downloads section.
You will need to replace the config with installer_HD4600 rename to config.
Ethernet kexts you will need depends on which Ethernet port you use. I use IntelMausiEthernet.kext which is on my Github.
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 Sierra. At BIOS hit F12 and boot from UEFI Pen Drive. Now Boot without cache and install Sierra.

Remember to boot without cache when booting into the installer and when booting into macOS.

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 & and SSDTs.
Install For UEFI Booting only.
Install Clover in the ESP.
Theme (select one as you prefer I choose bootcamp)
Drivers64UEFI, OsxAptioFixDrv. (Don't use OsxAptioFixDrv2 it causes problems)
You can choose EmuVaribles if it makes you feel nervous but I didnt. Now you can install Clover. Don't forget to put HFSPlus.ef[in Drivers64UEFI and remove VBoxHFS-64.efi. Now we need to install FakeSMC,Appleintel1000E and USBinjectAll in Library/Extensions. FakeSMC, AppleintelE1000e can be downloaded from downloads section.
You will need to replace the config with post_install_HD4600 rename to config.plist.
Ethernet kexts you will need depends on which Ethernet port you use. I use IntelMausiEthernet.kext which is on my Github.
USBinjectAll can be downloaded from Rehabmans Fork. Read Readme first.
https://github.com/RehabMan/OS-X-USB-Inject-All

You will notice that in the config there is no (inject Intel) this is normal. Due to using SSDT-IGPU (inject Intel) is not needed.

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

Code:
SSDT-Hack

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

Now we can reboot and boot into Sierra 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. There are two options here. You can use Toledas Clover Audio Injection but I choose to use RehabMans CodecCommander SSDT & CodecCommander.kext. RehabMans CodecCommander can be found on his Fork. But you can Clone his fork. Look at guide to clone his DH67BL fork. Guide https://www.tonymacx86.com/threads/guide-intel-dh67xx-with-hd3000-using-clover-uefi-hotpatch.190228/

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.

Code:
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.

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

Note.

Trim is enabled by the configs in my fork. No need to use sudo trimforce in Terminal. I prefer to use Clovers Fly on patching for Trim.

What works.


Native Power Management/iGPU Powermanagement.
Full Graphics Acceleration Intel HD 4600.
Sleep/Including Audio after sleep state.
3 Monitors using Intel HD 4600.
Ethernet Intel & Atheros.
iMessage and FaceTime.
USB 3 with full speed.

Update. 10.12 has issues.

Random lock ups on certain sites with Audio and Video. Google Chrome works. Lock ups happens in Safari only.
3 monitors in 10.12 breaks Shutdown, Restart and Sleep. Link to for Common problems in 10.12.
https://www.tonymacx86.com/threads/readme-common-some-unsolved-problems-in-10-12-sierra.202316/

Beats 1 doesn't play due to DRM Protection can be fixed by using Shiki. https://github.com/vit9696/Shiki/releases

Link for iMessage fix https://www.tonymacx86.com/threads/how-to-fix-imessage.110471/

Update 13-09-2017 Guide updated. SSDT-IGPU has been replaced with SSDT-Hack. Have added ALC892 pincofigs, HDMI Audio Support. post_install_HD4600 has been updated. Added HECI -> IMEI, B0D3 -> HDAU renames. No need to use AppleHDAinjector. Added correct Frame Buffer edits for 2x HDMI Ports & DVI.
 
@BreBo, whoops. There we go... information added. Note that I have a GTX 970, but I haven't installed it in the board... just trying to get it all to work with the onboard intel HD4600 graphics right now.

Update: I can boot into the OS in Safe Mode using the -x flag. I'm guessing this might be a graphics issue, but I'm not sure where to start troubleshooting the problem. I'm using a DVI cable to connect a single display to the HD4600 and have not installed any 3rd party graphics drivers. My GTX 970 is also not installed.

Dedicated Graphics is off-topic. This guide uses HD4600. Look at this guide for Dedicated Graphics. https://www.tonymacx86.com/threads/...ing-clover-uefi-hotpatch.206282/#post-1581059
 
Status
Not open for further replies.
Back
Top