Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Latest commit

 

History

History
146 lines (104 loc) · 7.15 KB

File metadata and controls

146 lines (104 loc) · 7.15 KB

Ryzen Hackintosh EFI

Ryzen Hackintosh Ryzen Hackintosh - About this Mac

What is this

This repository contains the EFI directory for Ryzen 3900X and Gigabyte X570 Aorus Elite combo, with somewhat diverse additional components.

Specification of my computer

Component Product Name Note
CPU AMD Ryzen 9 3900X PBO enabled
Mainboard Gigabyte X570 Aorus Elite F37c BIOS
Memory Samsung DDR4 2666MHz 16GB 2EA Overclocked at 3200MHz with 16-18-18-36 timing
Graphics XFX AMD Radeon RX 5700 XT 8GB GDDR6 RAW II Ultra Changed its thermal pad and thermal paste
NVMe 1 Samsung 980 PRO 1TB Windows 11 installed
NVMe 2 RevuAhn NX2300 1TB KDE neon installed
NVMe 3 WD Black SN750 500GB (via PCIe to NVMe adapter) macOS 13 installed
SSD 1 Sandisk Ultra 3D 1TB Miscellaneous storage
PCI Ethernet EFM ipTIME PX2500 2.5 GbE LAN Card (RTL8125B) Using this as the main Ethernet device
BT/WIFI Fenvi T919 (BCM94360CD)
PSU Antec EAG PRO 750W 80PLUS GOLD Modular
CPU Paste Thermalright TFX
CPU Cooler Thermalright Le GRAND MACHO RT
MEM Cooler BRAVOTEC JONSBO NC-1 Black RGB
Case 3RSYS L530
USB DAC Audinst HUD-DX1 Blue24
USB MIC Blue Yeti X

EFI structure

WARNING

  • I recommend you use this as only a reference resource.
    • Obviously, this build may not be the best one.
    • This EFI contains additional kexts in config.plist rather than only the essential things for X570 + Zen2 CPU. You should remove them before using this on your PC.

Check this before you use

In the config.plist file, I've replaced the private serial codes into the EDIT_HERE words because to keep my personal information safe.

So if you are going to use this, you have to make sure that the EDIT_HERE texts are changed to yours. To generate the serial key, please refer to the Dortania's OpenCore Guide. When you are about to generate one, you should select MacPro7,1 to properly use your machine.

  • If you are going to convert SMBIOS from iMacPro1,1 to MacPro7,1, make sure that you must logout Apple ID from your current system and regenerate all the SMBIOS details such as MLB, serial number, UUID for MacPro7,1.
  • If your CPU has less than 8 cores, go to config.plist file and find "PlatformInfo->Generic" and change the "ProcessorType" from 0 to 1537.

You got another things you must check

Different options by CPU core counts

From the recent AMD CPU patch, now we have to specify the CPU core counts to the algrey - Force cpuid_cores_per_package nodes. Currently, my EFI setup sets that for the 12-core CPU model because I'm using Ryzen 3900X.

  • algrey - Force cpuid_cores_per_package
    • 10.13,10.14
      • B80C0000 0000
    • 10.15,11.0
      • BA0C0000 0000
    • 12.0,13.0
      • BA0C0000 0090

Please refer to the author's description to get further information.

About the Above 4G Decoding option in BIOS

In my setup, I disabled Above 4G Decoding in my BIOS and added npci=0x3000 to the boot args because it doesn't boot with that option enabled.

If you want to use my EFI setup, you have to check whether this option enabled or not, if you want to enable Above 4G Decoding then you should remove that npci=0x3000 arguments from the boot-args.

About fixing PAT methods

I choose Shaneee's one due to the better GPU performance. If you have trouble with HDMI/DP audio, edit config.plist to use Algrey's one.

OpenCore

  • Version: 0.8.8

ACPI

  • SSDT-HPET.aml - Fixes IRQ conflicts
  • SSDT-NVME.aml - Makes NVMe drives shown as an internal storage
  • SSDT-PLUG.aml - Fixes CPU power management
  • SSDT-SBRG.aml - Fixes EC, RTC, IRQ conflicts
  • SSDT-SBUS-MCHC.aml - Fixes SMBus support
  • SSDT-EC-USBX-AMD.aml - Fixes embedded controller and USB power properties

Drivers

  • OpenCanopy.efi
  • OpenHfsPlus.efi
  • OpenRuntime.efi

Kexts

  • AMDRyzenCPUPowerManagement.kext
  • AppleALC.kext
  • AppleMCEReporterDisabler.kext
  • CtlnaAHCIPort.kext
  • Lilu.kext
  • LucyRTL8125Ethernet.kext
  • NVMeFix.kext
  • RadeonSensor.kext
  • RestrictEvents.kext
  • SmallTreeIntel82576.kext
  • SMCAMDProcessor.kext
  • SMCRadeonSensor.kext
  • VirtualSMC.kext
  • WhateverGreen.kext

Tools

  • OpenShell.efi

What works and what doesn't work

Works

  • Almost everything including Apple continuity (Handoff, iMessage, Airdrop, Facetime, Universal Control, ...).

Partially works

  • 3.5mm audio jacks
    • The speaker output on the front/back panel works.
    • The microphone input on the front/back panel doesn't work.
    • Have not tested line in/out and digital out.
  • The common Ryzentosh issues. Please refer to the CPU support part of Dortania's OpenCore Guide
    • Specific professional applications may need to be patched for AMD processors such as Adobe apps, Davinci Resolve, etc.
    • Virtualization (Apple Hypervisor and the apps using this like AVD on Android Studio, Parallels) is not working but VirtualBox works.

Doesn't work

Main References

I've got the SSDTs and configuring hints from the following links.