Awesome Open Source
Awesome Open Source

OpenCore EFI for AMD Ryzen Hackintosh

Verified Specification

Component Model
CPU AMD Ryzen 7 1700 @ 3.8GHz
Motherboard ASUS B350 Plus
RAM 16GB (2 x 8GB) Corsair Vengeance @ 3000MHz
GPU MSI RX Vega 64
Audio Chipset ALC-887
Ethernet Realtek RTL8111
WiFi & Bluetooth Fenvi T919 (BCM94360CD)
OS Disk (NVMe) ADATA SX8200 Pro 1TB

macOS version: 12.0 Beta 4 (21A5294g)
OpenCore version: 0.7.1

Table of contents

Software Compatibility

  • Monterey (12.x)
  • Big Sur (11.x)
  • Catalina (10.15.x)
  • Mojave (10.14.x)
  • High Sierra (10.13.x)

There were some reports about issues that occur while using MSI motherboards on Monterey Beta 3. The only possible solution to this problem as of right now is to downgrade to Monterey Beta 2 and wait for a confirmed workaround.

Hardware Compatibility

Central Processing Unit (CPU)

This EFI is compatible with all Ryzen and Athlon 2xxGE processors with macOS-compatible peripherals.

Support for 15h (FX series), 16h (A series) and Threadripper CPUs is not covered here.

Graphical Processing Unit (GPU)

Model Compatible?
Integrated No
Nvidia Partially 1
AMD Yes 2 3

1 Kepler series under correct PAT Patch. Others require WebDrivers which work only in High Sierra or are not supported. More details on Dortania

2 Some R7 and R9 GPUs require FakeID. More details here

3 Lexa series GPUs are not supported. Older than 7000 series are supported up to High Sierra (10.13), their support is not covered here.

For AMD Navi 10 Series GPUs (RX 5500, RX 5600, RX 5700) you need to add agdpmod=pikera to boot-args to fix the black screen issue.

PAT Patch made by Shaneee is used by default. It improves GPU performance but it has a few caveats. Audio passed by HDMI or DisplayPort won't work or will be unstable. It also may not work with Nvidia GPUs.


All laptops with AMD CPUs are not supported due to integrated GPUs incompatbility.


Chipset Details
B550, A520 Requires SSDT-CPUR to boot. Details here.
B550, A520, B450, X470, X570 SetupVirtualMap has to be disabled.
Other Should be compatible out of the box.


Follow these steps to properly install SSDT-CPUR.

  • Download from here.
  • Install it to your OC/ACPI directory.
  • Add it to your configuration file. Use ProperTree for simplicity.

Disabling SetupVirtualMap

To disable SetupVirtualMap simply go to Booter -> Quirks -> SetupVirtualMap in your configuration file and disable it. (Should be false).


Follow these steps if your audio chipset is different than the one specified in the Specification.

  • Go here to find your audio chipset codec. (Under Codec)
    • If you can't find your codec on the list, then you probably have to use VoodoHDA. This repository does not cover or support the use of VoodoHDA.
  • Under Revisions and layouts you'll see bunch of numbers and layout ids.
  • Find your boot-args settings and look for alcid=11.
  • Try every layout id (except 0x values) one by one until it works.
    • Example: alcid=10 if layout 10


  • External (USB) audio cards should work out of the box.
  • Microphone input (3.5mm Jack) won't work properly. Use USB/Bluetooth microphones instead.
  • If you have CPU with integrated GPU (even if you don't use it) your audio may be broken or unstable. You can try using SpeedKeeper but it's not guaranteed to fix your problem. The best solution is using external (USB) audio card.


If you experience any issues with your network connection, then your best bet would be to install a different kext, preferably from here.

If you use High Sierra and Realtek 8111 Ethernet Card then you should use older version of kext.

If you use SmallTree kext for your Ethernet Card you have to stay with Big Sur for now - it does not work on Monterey, we need to wait for update.

WiFi and Bluetooth

Only Apple Airport and Fenvi cards work out of the box. Here you can list of all supported cards and needed kexts for them.

Rembember that AirDrop, Handoff, etc. works only on cards with Broadcom chip.


Bootable USB

  1. Follow this guide to create your bootable USB.

  2. Clone this repository and copy "BOOT" & "OC" directories to your "EFI" directory on your bootable USB. The structure should look somewhat like this: EFI -> BOOT, OC.

Modifying kernel patches

  1. Modify Core Count patches to match your CPU's cores amount.
  • Find three algrey - Force cpuid_cores_per_package patches under Kernel -> Patch in your config.

  • Modify these patches for your CPU physical cores. Change first pair of 00 in Replace of these patches to Hex value from below table.

    • e. g. for Ryzen 7 1700 with 8 Cores three modified patches should look like:
      • B8 00 0000 0000 -> B8 08 0000 0000
      • BA 00 0000 0000 -> BA 08 0000 0000
      • BA 00 0000 0090 -> BA 08 0000 0090
Physical CPU cores Hex value
4 Cores 04
6 Cores 06
8 Cores 08
12 Cores 0C
16 Cores 10


  1. Use this tool to generate your unique SMBIOS info.
  • SMBIOS has to be unique, you cannot use one present in this repository.

  • Run the tool and select Generate SMBIOS.

  • Select the appropriate model for your hardware using the table below.

GPU Series Model
AMD Navi Series iMacPro1,1 1
AMD Vega Series iMacPro1,1 1
AMD Polaris Series iMacPro1,1 1
AMD Radeon R5/R7/R9 MacPro6,1
AMD HD 8000 Series MacPro6,1
AMD HD 7000 Series MacPro6,1
Nvidia Kepler Series It's complicated 2

1 For Catalina and newer you can also use MacPro7,1 if you have some issues (e. g. unfixable DRMs).

2 For Catalina and older use iMac14,2, for Big Sur and newer MacPro7,1. Monterey and newer does not support any Nvidia GPUs.

  • Open config.plist and search for PlatformInfo -> Generic and replace these values:
    • MLB - Board Serial
    • SystemSerialNumber - Serial
    • SystemUUID - SmUUID
    • SystemProductName - Model
  • ROM entry should be set to your network card's MAC address.


  1. You should update your BIOS to the latest version and configure it appropriately. See BIOS Settings for details.
  2. Remember to verify your hardware and apply appropriate changes to your configuration file. See Hardware Compatibility for details.
  3. That's it! Now you can boot macOS installer.


  1. Copy your EFI directory onto your main drive EFI partition, you'll be able to boot the system without your bootable USB.
  2. Apply Ryzen patch script - it solves MKL (Math Kernel Library) issues and sets correct sleep parameters.
  3. When everything work you can disable verbose mode - then you will see Apple's logo instead of logs while booting. To do it you have to remove -v debug=0x100 keepsyms=1 from boot-args in your configuration file.


In general, enabling Bootstrap is not required, but it will protect your OpenCore from being overriden.
Remember to do not enable Bootstrap on pendrive - do it only after copying OpenCore to your disk's EFI.

  1. Go to Misc -> Boot -> LauncherOption in your configuration file and set it to Full.
  2. Reboot your computer.
  3. Reboot PC again and go to your BIOS settings. In boot options you will see new boot entry named OpenCore. Set BIOS to boot from it, instead of your drive.
  4. It's done!


DRMs are fixed by default only for Big Sur and newer versions. For older versions you have to:

  1. Remove unfairgva=1 from boot-args in your configuration file.
  2. Go here to find correct value for your system.
  3. Add parameter from Mode to boot-args in your configuration file.
    • If parameter from chart does not work try shikigva=80 or shikigva=16 - it's common to work even when chart says something another.
  4. Test DRMs with Netflix in Safari or Apple TV+.

BIOS Settings

Option Status
Above 4G Decoding Enabled 1
EHCI/XHCI Hand-off Enabled
SVM Enabled
CSM Disabled
Resizable BAR Support Disabled
Secure Boot Disabled
Serial Port Disabled
Parallel Port Disabled

1 If you have this option in BIOS you must also remove npci=0x2000 from boot-args in your configuration file.

Some of these options may not exist in your firmware, just try to match it as closely as possible.

Before booting macOS remember to update BIOS to the latest version.

PAT Patch

Shaneee's Algrey's
Much better GPU performance Worse GPU performance
May not work with Nvidia GPUs Compatible with all GPUs
HDMI/DP audio may not work HDMI/DP audio works
Enabled by default Disabled by default

To switch to another patch look for mtrr_update_action in config.plist. Then set Enabled to true for the patch you want to use. Remember to set Enabled to false on the other PAT patch. Do not try to enable both at the same time, trust me, it won't work.

MKL and Intel Fast Memset Patch

Some applications for macOS use MKL - Math Kernel Library. Unfortunately, it does not work on AMD CPUs natively - we need to patch it with this script.

There's also intel_fast_memset instruction which, obviously, doesn't exist on AMD systems. It's very common in Adobe software - you can simply fix it by running this script. Older versions of Adobe software (e. g. up to 22.3.1 for Photoshop) need it's legacy version.

If you have problems while running script from file, try to copy and paste it's code to Terminal.



  • Make sure you have SVM enabled in your BIOS settings.
Software Compatibility
Parallels Desktop Up to 13.1 unless AppleHV is used.1 2 3
VirtualBox Drastically decreased performance.
VMWare Fusion 10 Only Catalina and older, for Catalina with this patch.
Docker Only Docker in VirtualBox or Docker Toolbox.

1 Parallels will not work by default on Big Sur and newer, you need to use SYSTEM_VERSION_COMPAT=1 environment variable.

2 Use this launcher package to simplify the Parallels usage.

3 Only Windows 10 Anniversary Update (build 1607) or older systems work.

Resource management

You shouldn't add too much resources to your virtual machines, as it causes performance issues regardless of your hardware.

Use the following configuration for best results.

  • Parallels Desktop 13.1
  • 4 CPU cores
  • 4GB - 8GB RAM
  • 1GB VRAM
  • 3D Acceleration: DirectX 9
  • OS: Windows 7 (SP1, build 7601) with Aero theme disabled.


If you have any other questions or issues, feel free to ask on AMD-OSX Discord or Forum.



Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
shell (10,553
macos (1,809
mac (282
hackintosh (96
vanilla (58
amd (51
opencore (43
efi (38
clover (32