Awesome
Hackintosh
EFI for my Hackintosh Machine.
- OpenCore 0.6.7-Release
- Catalina (10.15)
OpenCore
Utils
- ProperTree - edit .plist files
- GenSMBIOS - For generating our SMBIOS data
- slowgeek - OpenCore Sanity Checker
Doc
Finding your hardware
<details> <summary>My Hardware</summary>Generation | ||
---|---|---|
Motherboard | ASUSTeK P8H61-M LX3 R2.0 | |
CPU | Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz | Ivy Bridge |
GPU | Intel HD Graphics 2500 | |
GPU | Nvidia Colorful GTX650 | kepler GK107 |
Audio | ASUSTeK 6Series Chipset HD | |
Audio | Nvidia HDMI | |
Wired | Realtek RTL8168F/8111F | |
USB Creation
<details><summary>Linux</summary>-
Download BaseSystem or RecoveryImage files
cd /path/to/OpenCore-0.6.7-Release/Utilities/macrecovery # Catalina(10.15) python ./macrecovery.py -b Mac-00BE6ED71E35EB86 -m 00000000000000000 download
you'll either get BaseSystem or RecoveryImage files.
-
Making the installer
lsblk sudo gdisk /dev/<your USB block> # send p to print your block's partitions (and verify it's the one needed) p # send o to clear the partition table and make a new GPT one (if not empty) o # Hex code or GUID: 0700 for Microsoft basic data partition type 0700 w y # quit gdisk # format your USB to FAT32 and named OPENCORE sudo mkfs.vfat -F 32 -n "OPENCORE" /dev/<your USB partition block> # mount your USB partition udisksctl mount -b /dev/<your USB partition block> # cd to your USB drive mkdir com.apple.recovery.boot cp /path/to/OpenCore-0.6.7-Release/Utilities/macrecovery/BaseSystem* /path/to/com.apple.recovery.boot
Gathering files
<details> <summary>config.plist</summary>cp /path/to/OpenCore 0.6.7-Release/Docs/Sample.plist /path/to/your/EFI/OC/config.plist
</details>
<details>
<summary>EFI/OC/ACPI</summary>
- SSDT-EC - for For Broadwell desktops and older
Fixes the embedded controller - SSDT-IMEI Needed to add a missing IMEI device on Ivy Bridge CPU with 6 series motherboards
- SSDT-PM - run Pike's ssdtPRGen.sh script to generate this file. This will be run in post install
- HfsPlus.efi - Needed for seeing HFS volumes
- OpenRuntime.efi - used as an extension for OpenCore to help with patching boot.efi for NVRAM fixes and better memory management.
cp /path/to/OpenCore-0.6.7-Release/X64/EFI/OC/Drivers/{OpenHfsPlus.efi,OpenRuntime.efi} /path/to/EFI/OC/Drivers/
</details>
<details>
<summary>EFI/OC/Kexts/</summary>
- Lilu
A kext to patch many processes, required for AppleALC, WhateverGreen, VirtualSMC and many other kexts. Without Lilu, they will not work.
Note that Lilu and plugins requires OS X 10.8 or newer to function - VirtualSMC
Emulates the SMC chip found on real macs, without this macOS will not boot Alternative is FakeSMC which can have better or worse support, most commonly used on legacy hardware. Requires OS X 10.6 or newer- SMCProcessor.kext
Used for monitoring CPU temperature, doesn't work on AMD CPU based systems - SMCSuperIO.kext
Used for monitoring fan speed, doesn't work on AMD CPU based systems
- SMCProcessor.kext
- WhateverGreen - Used for graphics patching DRM, boardID, framebuffer fixes, etc, all GPUs benefit from this kext.
AppleALC- VoodooHDA VT1708S.kext
- RealtekTRL8111
- USBInjectAll
- VoodooPS2Controller.kext - PS2 keyboard
plist
-
DeviceProperties
-
Add
PciRoot(0x0)/Pci(0x2,0x0) - iGPU
07006201 - Used when the iGPU is only used for computing tasks and doesn't drive a displaykey type value AAPL,ig-platform-id Data 07006201 PciRoot(0x0)/Pci(0x16,0x0) - IMEI
specifically needed to spoof your IMEI device into being supported. Note this property is still required with or without SSDT-IMEI.Key Type Value device-id Data 3A1E0000 PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1) - Audio-Nvidia
10de:0e1b /PCI0@0/PEG0@1/PEGP@0,1 = PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)
Key Type Value external-audio Data 01 alctsel Data 01000000
-
-
NVRAM
- Add
7C436110-AB2A-4BBB-A880-FE41995C9F82boot-args Description shikigva=40 Swaps boardID to iMac14,2 for better Nvidia support and whitelists patches
- Add
BIOS
Intel BIOS settings Note: Most of these options may not be present in your firmware, we recommend matching up as closely as possible but don't be too concerned if many of these options are not available in your BIOS
Disable
- Fast Boot
Secure BootSerial/COM PortParallel PortVT-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 SGXIntel Platform TrustCFG Lock (MSR 0xE2 write protection)(This must be off, if you can't find the option then enable AppleCpuPmCfgLock under Kernel -> Quirks. Your hack will not boot with CFG-Lock enabled)
Enable
VT-xAbove 4G decoding- Hyper-Threading
- Execute Disable Bit
- EHCI/XHCI Hand-off
OS type: Windows 8.1/10 UEFI ModeDVMT Pre-Allocated(iGPU Memory): 32MB- SATA Mode: AHC