Awesome
Hackintosh
This is a repo where I store my EFI and steps to get my Ryzen Hackintosh working properly.
Hardware Used
Processor: AMD Ryzen 5 2600
Mainboard: AsRock B450M Steel Legend
Memory: Corsair Vengeance (2x8GB) DDR4-3200
Storage: ADATA XPG SX8200 Pro (512GB) M.2 NVMe (OSX)
Graphics Card: Sapphire Radeon R9 370 4GB
Software Version
MacOS Catalina 10.15.7 (Build 19H2)
Reference Links
GPU Spoofing
OpenCore GPU Spoof
Patch SSDT-GPU-SPOOF
Inject Kexts with Hackintool
Bypass CSR Filesystem
Compiling and Decompiling ACPI Tables
Preparing OpenCore USB
Making OC Installer in Windows
Organizing OpenCore EFI
Gathering Required Files
Dumping DSDT
Modifying config.plist
Tools Needed
Hackintool - Injecting Kexts
MaciASL - ACPI Editing IDE for macOS
ProperTree - Edit .plist
GenSMBIOS - Generate SMBIOS
SSDTTime - Dump DSDT & Apply General Patch
MountEFI - Mount OS EFI Partition
gibMacOS - Download and Create Bootable OC USB
Steps
- Prepare the USB
- Download and load recovery to USB using gibMacOS
- Put ACPI, Drivers and Kexts into EFI
- Configure config.plist
boot-args: -v keepsyms=1 debug=0x100 alcid=1 npci=0x2000
- Patch config.plist with GenSMBIOS
- Verify serial generated by GenSMBIOS is not in use
- Pass OpenCore Sanity Check
- Configure BIOS
- Load UEFI Defaults
- OC Tweaker > Load XMP Setting > XMP 2.2 profile (for DDR4-3200)
- Advance > Super IO Configuration > Serial Port > Disable
- Boot > CSM > Disabled
- Install macOS
- Format a drive as APFS with GUID Partitioning Table
- Proceed with installation
- GPU Spoofing (FakeID)
- Identify PCI ID & ACPI Path 👉🏼 OpenCore GPU Spoof
- Patch SSDT-GPU-SPOOF.dsl and compile it to SSDT-GPU-SPOOF.aml 👉🏼 Patch SSDT-GPU-SPOOF
~~External (_SB_.PCI0, DeviceObj)~~
~~External (_SB_.PCI0.PEG0.PEGP, DeviceObj)~~
Modify this 2 lines into 👇🏼
External (_SB_.PCI0.PEG0.PEGP, DeviceObj)
Scope (\_SB.PCI0.PEG0.PEGP).
- Place it into EFI/OC/ACPI
- Update config.plist (OC Snapshot)
- Patch AMD Kexts
- Disable CSR Proctection from Recovery Mode with
csrutil enable --without fs
and reboot 👉🏼 Bypass CSR Filesystem - Copy AMD7000Controller.kext, AMDRadeonX4000.kext and, AMDRadeonX4000HWServices.kext from /Systems/Library/Extensions
- Modify each Info.plist, replace 0x68191002 with 0x68111002
- Patch kexts with Hackintool 👉🏼 Inject Kexts with Hackintool
- Re-engage CSR Proctection with
csrutil enable
from Recovery Mode
- Fix Adobe Crashes on AMD
- Follow instructions here 👉🏼 Adobe Crash Fix XLNC