Hackintosh Coffee Lake Core i7 8700k Installation (GUIDE)

Specification 



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




Dowload ssdtPRGen.sh-coffee_lake.zip
Code (Text):
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 (Text):
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 (Text):
<key>UnknownCPUKind</key>
    <string>Unknown</string>
And update it as below

Code (Text):
<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 (Text):
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 (Text):

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 for reference.

Post a Comment

2 Comments