OpenCore Hackintosh¶
This guide loads kexts for my hardware. You will need to adapt this for your system accordingly, see: https://dortania.github.io/OpenCore-Install-Guide/ktext.html#kexts
Also note that the tool versions are time-sensitive, please check whether newer versions are available.
Based on: - https://dortania.github.io and - https://christitus.com/opencore-mac/
Disable in BIOS¶
- Fast Boot
- Secure Boot
- Serial/COM Port
- Parallel Port
- VT-d (can be enabled if you set DisableIoMapper to YES)
- CSM
- Thunderbolt(For initial install, as Thunderbolt can cause issues if not setup correctly)
- Intel SGX
- Intel Platform Trust
- CFG Lock (MSR 0xE2 write protection)(This must be off, if you can't find the option then enable AppleXcpmCfgLock under Kernel -> Quirks. Your hack will not boot with CFG-Lock enabled)
Enable in BIOS¶
- VT-x
- Above 4G decoding
- Hyper-Threading
- Execute Disable Bit
- EHCI/XHCI Hand-off
- OS type: Windows 8.1/10 UEFI Mode
- DVMT Pre-Allocated(iGPU Memory): 64MB
- SATA Mode: AHCI
Downloads¶
- Boot target system with a Linux Live USB stick
- Create directory:
mkdir -p Monterey/files cd Monterey/fileswget https://github.com/acidanthera/OpenCorePkg/releases/download/0.8.3/OpenCore-0.8.3-RELEASE.zipgit clone https://github.com/corpnewt/gibMacOS.gitgit clone https://github.com/corpnewt/ProperTree.gitgit clone https://github.com/corpnewt/SSDTTime.gitgit clone https://github.com/corpnewt/GenSMBIOS.gitwget https://raw.githubusercontent.com/acidanthera/OcBinaryData/master/Drivers/HfsPlus.efi
Software Requirements¶
- apt install python3-tk
For Your Hardware¶
wget https://github.com/acidanthera/VirtualSMC/releases/download/1.3.0/VirtualSMC-1.3.0-RELEASE.zipwget https://github.com/acidanthera/Lilu/releases/download/1.6.2/Lilu-1.6.2-RELEASE.zipwget https://github.com/acidanthera/WhateverGreen/releases/download/1.6.1/WhateverGreen-1.6.1-RELEASE.zipwget https://github.com/acidanthera/IntelMausi/releases/download/1.0.7/IntelMausi-1.0.7-RELEASE.zip
Create a Kexts directory and put everything needed for your hardware in it, here: - IntelMausi - LiLu - VirtualSMC - WhateverGreen - VirtualSMC - SMCProcessor.kext - VirtualSMC - SMCSuperIO.kext - VirtualSMC - VirtualSMC.kext
Download macOS¶
Create USB Drive¶
USB stick for macOS is sdc here
sudo gdisk /dev/sdc
o
yes
n
Enter
Enter
Enter
Hex Code: 0700
w
yes
mkfs.vfat -F 32 -n "OPENCORE" /dev/sdb1
com.apple.recovery.boot
- Copy BaseSystem.dmg and BaseSystem.chunklist into this directory
- Also copy the EFI folder from OpenCore/X86 to the root of the USB stick
- On USB in EFI/OC/Tools keep only OpenShell.efi
- On USB in EFI/OC/Drivers keep only OpenRuntime.efi
- Place collected kexts in EFI/OC/Kexts
SSDTTime¶
- Switch to the SSDTTime directory
- python3 SSDTTime.py
- Dump DSDT (P)
- FixHPET (1)
- FakeEC (2)
- PluginType (4)
- Quit
- In Results you'll find SSDT-EC.aml / SSDT-HPET.aml / SSDT-PLUG.aml
- Copy these files to EFI/OC/ACPI
config.plist¶
Check which processor generation, here Coffee Lake 8700k - HfsPlus.efi in EFI/OC/Drivers - From OpenCore/Docs/Sample.plist -> EFI/OC/config.plist - In ProperTree python3 ProperTree.py - Open config.plist from EFI/OC - Warning: delete header entries - OC Snapshot - In the dialog box (might be hidden behind windows) select the OC folder on USB - OC clean Snapshot - Click OK in the dialog (might also be hidden) - Make adjustments as described here, here for Coffee Lake https://dortania.github.io/OpenCore-Install-Guide/config.plist/coffee-lake.html#starting-point - Save - Quit