Gigabyte A520M S2H (rev. 1.x) Motherboard with Bios F16a
AMD Ryzen 7 2700X
Radeon RX 560 2GB- native support
16GB DDR4 2400 Memory
1TB WD SN570 NVME hard drive- native support
FENVI WIFI/BT PCIe card- native support
Bios Setting: Disable these
- Serial / Parallel Port
- Wake by RTC
- Above 4G Decoding
- SATA/NVME Raid
- SATA Hot Plug / Hot Swap
- SATA Aggressive Link Power Management
- CSM
- Secure Boot
- Fast Boot
Bios Setting: Enable these
- Wake on Keyboard
- Wake on Mouse (two clicks)
- Wake on Lan
ATTENTION: AMD Ryzen CPU physical cores number: , https://github.com/AMD-OSX/AMD_Vanilla
Find the four (algrey - Force cpuid_cores_per_package in Config.plist) patches and alter the Replace value only.
macOS Version | Replace Value | New Value |
---|---|---|
10.13.x, 10.14.x | B8000000 0000 | B8 < Core Count > 0000 0000 |
10.15.x, 11.x | BA000000 0000 | BA < Core Count > 0000 0000 |
12.x, 13.0 to 13.2.1 | BA000000 0090 | BA < Core Count > 0000 0090 |
13.3 | BA000000 00 | BA < Core Count > 0000 00 |
AMD Ryzen 2700x has 8 physical cores, in EFI Config.plist,
I have these for my CPU, Please find your CPU cores and modify the values
B8080000 0000
BA080000 0000
BA080000 0090
BA080000 00
Working: everything plus,
DSDT patched for sleep/wake - fix instant wake due to GPP0 GPP8.
Sleep/Wake fully working.
("Find My" App wakes up. Also press any key(twice)/power button will wake up from sleep:)
Also, use Hackintool redo the USB mapping, https://github.com/benbaker76/Hackintool
replace the USBPorts.kext
! Remember to remove the boot-args "-v" in Config.plist after installation.
Read this guide, https://dortania.github.io/OpenCore-Install-Guide/
and check https://reddit.com/r/hackintosh/
generate SMBIOS, https://github.com/corpnewt/GenSMBIOS