Contribute
Register

[Success] 8700K, Gigabyte Z370-HD3P, UHD Graphics 630, macOS High Sierra, Mojave

Status
Not open for further replies.
Joined
Jan 21, 2016
Messages
46
Motherboard
Z390 Aorus Ultra
CPU
i9-9900K
Graphics
Vega 56
Hi,

Edit: 14 Feb 2019

In Mojave UHD Graphics 630 is natively supported, installation is easier and DSDT / SSDTs patching not required with attached EFI-mojave.zip


Old Post

I have successfully Installed macOS High Sierra [8700K, Gigabyte Z370-HD3P, UHD Graphics 630]

My Exact Specifications

CPU:
i7 8700K
Motherboard: Gigabyte Z370 HD3P Motherboard
Monitor: LG 22MP68VQ IPS Monitor Full HD
RAM: Corsair Vengeance LPX 8 GB DDR4 2400Mhz RAM
Drive: Samsung Evo 850 SSD
CPU Cooler: Hyper 103
PSU: Corsair VS550 550-Watt Power Supply
Case: Corsair Carbide Series® SPEC-04 Mid-Tower Gaming Case Black-Red CC-9011107-WW
Keyboard & Mouse: Logitech MK275 Wireless Keyboard and Mouse Combo (Black)
USB WIFI: EW-7612UAn V2 Wifi

About, Graphics, Geekbench and Intel Power Gadget Screenshot

297740


Steps for installation are as below:

Complete steps 1 & 2 as per Installation Guide for macOS High Sierra


Step 1: Download macOS High Sierra
Step 2: Create a Bootable USB Drive with UniBeast

Step 3: BIOS Settings
  • Set to Optimized Defaults
  • Disable SuperIO parallel and serial ports
  • Disable VT-d
  • Enable XHCI Handoff
  • Disable fast Boot
  • Check that AHCI is enabled
  • * (Disable internal graphics if you are not using internal UHD Graphics 630)
Complete steps 4 & 5 as per Installation Guide for macOS High Sierra

Step 4: Install macOS High Sierra
Step 5: Post Installation with MultiBeast, use MultiBeast 9.2.1

MultiBeast Settings

Quick Start > UEFI Boot Mode
Drivers > Audio > Realtek ALCxxx > ALC1220
Drivers > Audio > 100 / 200 / 300 Series Audio Support
Drivers > Network > IntelMausiEthernet v2.3.0
Drivers > USB > Increase Max Port Limit 200 Series
Bootloaders > Clover bootloader UEFI with Emulated NVRAM
Customize > Graphics Configuration > Intel HD 6xx (use Nvidia Graphics Fixup if you have Nvidia Graphics cardz)
Customize > System Definitions > iMac > iMac 17,1

Generate SSDT For Coffee Lake CPU

As per @RehabMan
No need for ssdtPRgen.sh generated SSDT.aml for any CPU Haswell and newer.
Only requirement: SSDT-XCPM.aml or SSDT-PluginType1.aml or config.plist/ACPI/SSDT/Generate/PluginType=true.

Dowload ssdtPRGen.sh-coffee_lake.zip
Code:
unzip -qu ~/Downloads/ssdtPRGen.sh-coffee_lake.zip -d ~/Library/
mv ~/Library/ssdtPRGen.sh-coffee_lake ~/Library/ssdtPRGen
cd ~/Library/ssdtPRGen
sudo sh ssdtPRGen.sh -p 'i7-8700k' (An i7-8700k @ stock speeds)
or
Code:
sudo sh ssdtPRGen.sh -p 'i7-8700k' -turbo 4800 (An i7-8700k @ 4.8GHz overclock)

Open Clover Configurator and mount internal EFI. Open EFI/Clover/ACPI/patched/ and copy / paste generated ~/Library/ssdtPRGen/ssdt.aml file here

UHD Graphics 630 config.plist settings
Mount EFI and open EFI > CLOVER > config.plist using Clover Configurator

Update values as below
Devices > FakeID > IntelGFX = 0x59128086
Graphics > ig-platform-id = 0x59120000
SMBIOS > Select iMac17,1
Boot > Checkmark -disablegfxfirmware in Arguments section if MacOs is High Sierra 10.13.4 and use latest kexts (FakeSMC.kext, IntelGraphicsDVMTFixup.kext, IntelGraphicsFixup.kext, Lilu.kext)

Make sure Serial Number is not valid (means it isn’t used yet by an official Mac). You can check that here: Check Your Service and Support Coverage - Apple Support

4K Support
Pixel Clock need to be enabled to support 4K resolution. Use this patch.

Unkown CPU in About This Mac Fix
  • Download TextWrangler
  • Copy /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/Resources/English.lproj/AppleSystemInfo.strings on desktop

  • Open it in TextWrangler, find below code
Code:
<key>UnknownCPUKind</key>
    <string>Unknown</string>

And update it as below

Code:
<key>UnknownCPUKind</key>
    <string>3.7 GHz Intel Core i7-8700K (6-Cores)</string>

  • Save and replace /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/Resources/English.lproj/AppleSystemInfo.strings with desktop version
Optional Patching DSDT And SSDTs

  • Turn on your Hackintosh. You should see the Clover Bootloader.
  • Highlight the OS X disk and press “F4” to generate the native ACPI files. (Note: You won’t see anything while pressing F4 - the files are generated silently)
  • Boot OS X and mount EFI partition with Clover Configurator
  • Go to “EFI/Clover/ACPI/” and copy the “origin” folder you just created to your desktop
  • Delete all files from the folder on your desktop that doesn’t start with DSDT or SSDT
  • Copy "refs.txt" into this folder
  • Download “IASL.zip” to your downloads folder
  • Open terminal and run this command (password will be prompted)
Code:
cd ~/Downloads unzip iasl.zip
sudo cp iasl /usr/bin

cd /Users/Your account name/Desktop/origin
iasl -da -dl DSDT.aml SSDT*.aml

DSDT Patching
  • Download newest MaciASL to your desktop and unzip it and put it into your Applications folder
  • Open DSDT.dsl (from your origin folder) in MaciASL
  • Go to the MaciASL --> preferences and add this source (name it whatever you want)
Code:
http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master

Note: Now we are going to edit this file and compile it back again to use it to load with your system later. It is really important that you don’t make mistake here. You can click on “Compile” to check if you extracted the DSL files correctly. Warnings doesn’t matter but errors do. If you got an error here it means you disassembled the files wrong. Now there are many edits which we are going to do with this file. After each one you can click on “Compile” to check for errors.

  • Search (cmd+f) for ‘HECI’ and replace all with ‘IMEI
  • Search for ‘HDAS’ and replace all with ‘HDEF
Click on Patch and apply the following patches. Apply then close one at a time in this order:
  • [syn] Rename _DSM methods to XDSM
  • [igpu] Rename GFX0 to IGPU
  • [sys] Fix _WAK Arg0 v2 (may not be necessary after 10.12.2)
  • [sys] Fix Mutex with non-zero SyncLevel
  • [sys] HPET Fix
  • [sys] IRQ fix
  • [sys] RTC Fix
  • [sys] Skylake LPC
  • [sys] SMBUS Fix
SSDT Patching
  • Open SSDT-1*.dsl
  • Apply [igpu] Rename GFX0 to IGPU patch
  • Apply [syn] Remove _DSM methods
Click Compile and if you have any errors (warnings don’t matter) clear them by using the patching guide above. Save the file as: SSDT-1*.aml in a folder on desktop called “SSDTs” and file format: ACPI Machine Language Binary
  • Open SSDT-15.dsl, SSDT-5.dsl and do the same. The SSDT's with an "x" in them are dynamic so leave them out.
  • Go to the “origin” folder on your desktop and copy the “SSDT-*.aml” files (the ones without -x that you haven’t modified) to your SSDTs folder.

Open Clover Configurator and mount internal EFI. Open EFI/Clover/ACPI/patched/ and place all your *.aml files here

Open EFI/Clover/config.plist in Clover Configurator and set DSDT, SSDT order
Acpi > SortedOrder
DSDT.aml
SSDT.aml
SSDT-0.aml
SSDT-1.aml
SSDT-2.aml
SSDT-3.aml
SSDT-4.aml
SSDT-5.aml
SSDT-13.aml
SSDT-14.aml
SSDT-15.aml
SSDT-16.aml

Copy kexts
copy / paste all files from attached EFI.zip EFI/Clover/kexts/Other to your mounted EFI/Clover/kexts/Other

I have attached EFI.zip and refs.txt for reference.

Credits: @tonymacx86 @agrajag @abhinasia @Johnnnnnnnnnny @jcarcinogen @glasgood @RehabMan
 

Attachments

  • EFI.zip
    17.5 MB · Views: 3,214
  • refs.txt
    426 bytes · Views: 1,499
  • EFI-mojave.zip
    21.8 MB · Views: 1,442
Last edited:
Thanks for the super detailed guide. Exactly what I was after!

I just wanted to ask about a couple of the DSDT patches...
  • [sys] Fix _WAK Arg0 v2 (may not be necessary after 10.12.2)
I'm guessing this was grabbed from somewhere else and still necessary for 10.13.1?

Also,
  • [sys] Skylake LPC
Is this required for this Coffee Lake system?

I've not had to patch my machine before so I'm just reading up and wanted to check up on these (and how you decided to go with all of your patches) for a new one.

Thanks again!
 
@ppyxtf, 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.
 
@ppyxtf I am not sure if [sys] Fix _WAK Arg0 v2 and [sys] Skylake LPC patches are required for i7 8700K. As it was suggested for i7 6700HQ, I have applied them for i7 8700K and did not face any issues.
 
Last edited:
Apologies @BreBo. Duly updated.

Thanks @manoj.admlab. Were there any particular issues which patching DSDT And SSDTs fixed?
 
@ppyxtf sometime screen flickering and sleep / wake up issue was happing, which stopped after DSDT and SSDTS patching. But other two build with different CPU (i5 8400) are working fine with SSDT.aml only.
 
your geekbench is very low. I bet you are using a single stick of RAM rather than 2 or 4 sticks in dual channel. If you have a single 8gb stick, sell it and get 2 4gb sticks instead and your geekbench will go up to like 24000 at stock.
 
Would this guide still work for 10.13.2? I have the same motherboard and have had a ton of trouble just trying to boot with my created USB. Haven't tried any thing in this guide but if I have trouble again will for sure give this a shot.

Thanks!
 
I have the same board but I only needed these patches:

Search (cmd+f) for ‘HECI’ and replace all with ‘IMEI
Search for ‘HDAS’ and replace all with ‘HDEF
[syn] Rename _DSM methods to XDSM
[sys] Fix Mutex with non-zero SyncLevel
[sys] HPET Fix
[sys] IRQ fix
[sys] RTC Fix
[sys] Skylake LPC
[sys] SMBUS Fix

I'm using the same board with a core i5 8600k
 
Status
Not open for further replies.
Back
Top