ASUS PRIME Z390-A Hackintosh Build Guide w/ RX 5700 XT

This is a golden build featuring macOS Catalina 10.15.2 on an ASUS Prfime Z390-A motherboard paired with a i5-8600k and Sapphire Nitro+ 5700 XT 8GB. I was able to get everything working with a little bit of patience and now sharing my EFI for download along with my ASUS Prime Z390-A config.plist and USB-SSDT.aml with a step-by-step guide. Heres my setup:

The ASUS Z390 Hackintosh Build

ASUS Z390-A Hackintosh Build

 

CPU – Intel Core i5-9600K 6-Core

Motherboard – ASUS PRIME Z390-A ATX

RAM – CORSAIR Vengeance RGB PRO 16GB

Graphics Card – SAPPHIRE Nitro+ RX 5700 XT 8GB

Cooler – be quiet! 250W TDP Dark Rock Pro 3/4

Storage – SAMSUNG 970 EVO NVME SSD

Power Supply – CORSAIR RMX 850W

Case – Phanteks P600s Antracite Gray

ASUS Prime Z390-A Hackintosh Overview

With macOS Catalina 10.15.1 and 10.15.2 full support has been added for AMD Navi cards like the Sapphire Nitro+ RX 5700 XT here’s a build featuring one with a ASUS Prime Z390-A motherboard.

I’ve taken the time to make sure everything works and I’ll be updating this guide pretty regularly with more stuff and information as its pretty barebones right now, if you have any questions leave a comment below the Step-by-Step guide at the bottom.

Catalina ASUS Z390 i5 RX 5700 XT Hackintosh About this Mac

ASUS Z390 i5 Hardware Acceleration, HEVC, H.265

Both Hardware Acceleration/H264 and HEVC/H265 are working important for video editing.

ASUS z390 Hackintosh Configuration Notes:

  • Used EC0 to EC patch as my workaround of AppleACPIEC.kext consider spoofing EC post-install.
  • Changed audio layout ID to 7 from 1 to fix audio distortion of my computer case front audio jack.
  • NVRAM support enabled with EmuVariableUEFI.efi and RTC scripts post install.
  • FwRuntimeServices.efi + OcQuirks.efi used as memory driver.
  • I used Hackintool to fix the HDMI port displaying a black screen and dual-display support over Intel Graphics. The fix is located in the config.plist under Devices -> Properties -> PciRoot(0x0)/Pci(0x2,0x0)
  • slide=0 added as a bootflag to prevent/fix random freezing in macOS on the Z390 platform.
  • Intel integrated graphics lags for a couple seconds on boot on boot but can be “fixed” by disabling WhateverGreen.kext patching and removing the <Graphics> section of config.plist not advisable for those using HDMI over integrated graphics as a WEG patching is needed to match the BUS ID’s of each port corrrectly.
  • RX 5700 XT enabled by adding agdpmod=pikera as a bootflag with WhateverGreen.kext 1.3.6; also weirdly requires a <Graphics> section of config.plist to exist with injects set to <false> or will hang on lock screen. If you go with the Sapphire Nitro+ place it in performance mode as it comes with a BIOS switch, use an adequate power supply like the RM850x and also make sure to install RC scripts post-install so that sleep works perfectly.
  • Sleep/Wake will work on both the iGPU and with the RX 5700 XT and or other compatible AMD graphics cards. If you are using a monitor without speaker outport HDMI audio should be disabled as currently Catalina may cause a IntelHDMI kernel Panic on wake when it can’t find a HDMI audio output.

Enabling USB3 Speeds & Detection on Z390 Ports

To get USB3 speeds working on a motherboard the USB ports must be mapped correctly with an SSDT-USB.aml file placed in/Volumes/EFI/EFI/CLOVER/APCI/patched/

The USB port limit in macOS in 14 ports. There are a total of 14 ports on the backside of the motherboard IO (USB3 ports count as 2 per port because they also support USB2). The case I’m using has 3 front ports 2 USB3 and 1 Type-C port bringing the total number of ports to 20 well over the macOS port limit. To enable all ports a USB port-limit patch is also included in my config.plist for 10.15 under Kernel Kext & Patches. If you would like to remove the port limit patch you will need to play around with my SSDT-USB.aml and remove the ports you don’t mind having disabled, but that will require you to know on how to edit a USB SSDT with magiASL.

Only use this SSDT-USB.aml if you have a ASUS Prime Z390-A any other motherboard is going to have a different rear IO layout and will mess up which ports work when you try booting macOS.

ASUS Z390 BIOS Settings

I didn’t bother updating the BIOS when I got the motherboard and everything has been working golden since.

Before running the macOS installer change these settings.
Restart your computer and press the DEL key to enter BIOS upon your computer posting.

Change the following settings for the install:

  1. Exit → Load Optimized Defaults : Yes
  2. Advanced \ CPU Configuration → Intel Virtualizaiton Technology: Enabled
  3. Advanced \ System Agent (SA) Configuration → Vt-d: Disabled
  4. Advanced \ PCH Configuration → IOAPIC 24-119 Entries: Enabled
  5. Advanced \ Onboard Devices Configuration → RGB LED Lighting → When system is in sleep, hibernate or soft off states: OFF
  6. Advanced \ AMP Configuration → Power On By PCI-E/PCI: Enabled
  7. Advanced \ Network Stack Configuration → Network Stack: Disabled
  8. Advanced \ USB Configuration -> Legacy USB Support: Auto
  9. Boot → Fast Boot : Disabled
  10. Boot → Secure Boot → OS Type : Other OS

Using a dedicated graphics card:

  1. Advanced \ System Agent (SA) Configuration \ Graphics Configuration → Primary Display: PEG

Using Intel iGPU:

  1. Advanced \ System Agent (SA) Configuration \ Graphics Configuration → Primary Display: IGFX

(Optional) Hardware Acceleration

iGPU Multi-Monitor: Enabled will cause Primary Display to be set to IGFX. If you are using a dedicated graphics card change it back to PEG

  • Advanced \ System Agent (SA) Configuration\Graphics Configuration → iGPU Multi-Monitor: Enabled

For DVMT Pre-Allocated to show in BIOS you may need to save & reenter BIOS after setting iGPU Multi-Monitor: Enabled

  • Advanced \ System Agent (SA) Configuration\Graphics Configuration → DVMT Pre-Allocated: 128MB/192MB

ASUS Z390 Catalina/Mojave Hackintosh Step-by-Step Guide

I’ve tested this hackintosh on both Catalina and Mojave, however NAVI GPU’s like the AMD RX 5700 XT only have support in Catalina 10.15.1 or later.

  1. Download a compatible version of macOS from the Mac App Store
  2. Create the macOS flash drive Installer
  3. Adding my EFI Drop Files:
    1. Download Hackintosher-Catalina-10.15-EFI
    2. Mount EFI Partition
    3. Copy+Paste/Move the EFI folder over to the EFI Partition of your flash drive and then open /Volumes/EFI/EFI/Clover/
    4. Add EmuVariableUEFI.efi for NVRAM support
      • Copy EmuVariableUEFI.efi from:  /Volumes/EFI/EFI/Clover/drivers/off
      • Paste EmuVariableUEFI.efi into:  /Volumes/EFI/EFI/Clover/drivers/UEFI
      • Downloads for ASUS Prime Z390-A only:
        •  ASUS-PRIME-Z390-A-config.plist– configured for ASUS Z390-A contains a display patch that will map the internal HDMI and DisplayPort correctly so that Intel graphics HDMI port works along with dual monitors on boot and sleep/wake.
        • ASUS Prime Z390-A SSDT-UIAC-All.aml – Maps all the USB ports on a ASUS-z390-A for USB3 speeds place in/Volumes/EFI/EFI/CLOVER/APCI/patched/.
      • Using a different ASUS Z390 Motherboard?
        • Open config.plist with Clover Configurator
        • Add slide=0 as a bootflag under Boot > Arguments
        • Enable EC0 to EC patch under Acpi > Fixes
        • Those without a Prime Z390-A board may need to create their own display patch with Hackintool after macOS is installed for HDMI to work over integrated graphics. Therefore its recommended to install macOS with either a DisplayPort cable or with a macOS compatible dedicated graphics card.
    5. Verify RTC BIOS patch exists  in Acpi > Fixes under the list of patches to prevent a verbose error/hang.
    6. If using a AMD Navi GPU like the RX 5700 XT add agdpmod=pikera as a bootflag by opening config.plist with Clover Configurator  and adding it under Boot -> Arguments
  4. Configure BIOS Settings for Hackintosh Compatibility
  5. Walkthrough
  6. Post Install 
    1. If you are using a dedicated graphics card like the RX 5700 XT change AAPL,ig-platform-id to 0300923E  under Devices -> Properties Tab -> PciRoot(0x0)/Pci(0x2,0x0) for headless mode.
    2. Either install RC scripts in Clover to complete emulated NVRAM support with EmuVariableUEFI.efi or add native NVRAM with an SSDT here.
    3. If the display monitor doesn’t have built in speakers and you are using integrated graphics you may need to disable HDMI audio to prevent kernel panics on wake. I have it set to disabled in my config.plist under PciRoot(0x0)/Pci(0x1f,0x3) since my Dell Monitor doesn’t have speakers



Leave a Reply

23 Comments on "ASUS PRIME Z390-A Hackintosh Build Guide w/ RX 5700 XT"

Sort by:   newest | oldest
M p
Guest
M p

Combien cela t’a coûté ?

jonzarra
Guest
jonzarra

Hi,

Great post! I have similar setup but I am having troubles when making iCloud sync Documents and Desktop folders. The rest of iCloud apps like messages, photos, FaceTime, … are working fine. Do you know what could be the issue?

Thanks!

jonzarra
Guest
jonzarra

Ok. It seems that it was Catalina’s problem. 2 day after, it has started syncyng by itself.

Max
Guest
Max

I’m still getting random freezing during the installation? I’ve added the slide=0

gonzolak_hackintosh
Guest
gonzolak_hackintosh

I have almost same config (same mb, GFX, RAM etc.) and running Catalina 10.15.3. Only thing i’m struggling is USB port configuration. I’ve tried your ASUS Prime Z390-A SSDT-UIAC-All.aml file but it exclude important port headers on mb (i have smart device and kraken x62 connected to those and I use liquidctl to control them). I managed to get it working tho. What I can’t solve is to get SS08 working with is my case front port and I want it badly. Any advice?

Antxiko Gorjon
Guest
Antxiko Gorjon

Hi!

i´m traying this procedure on a PRIME Z390-a with an i9 9900, one 2TB SATA RED, one 128GB SATA flash drive and Windows installed on internal M2 RAID. I reach the disk utility but I cant see any disks to install, only the USB flash drive from installation. I don´t really know where to search… thanks in advance!

Marty
Guest
Marty

Great post – thank you for taking the time to walk thru all the steps on your build. I matched your parts list almost exactly. This was my second build, and had zero issues! Thanks again…

mro
Guest
mro

Hi,

Thanks for the post!

I have same build but with core i9-9900K, and I’ve been able to get into recovery mode and install macOS Catalina. However, after the first restart, it keeps shutting down itself after loading bar with Apple logo. I tried regenerating SSDT via Windows 10 etc, and it always stuck in afps_module_start: 1683. Read some guides, it seems like I need to use USBMap, this is where I lost… not sure how to run it, it requires hackintosh environment.

Do you have any advice which part I might be missing out using your guide?
Thanks in advance for your help 🙂

Marcus27
Guest
Marcus27

Hi,

can you see the 5700 XT temperature?

Free
Guest
Free

im going to build this following your step
on June when I back to my home
Do you recomend upgrade the CPU to i7 9700k or i5 is enough?

Luca
Guest
Luca

Can you elaborate more on what’s needed to boot the RX 5700XT on Asus Z390 motherboards please?
On Gigabyte I was able to boot it, but on Asus Z390 I wasn’t.
Especially this I would need some explanation:
“weirdly requires a section of config.plist to exist with injects set to False or will hang on lock screen.”

Greg
Guest
Greg

Thanks a lot for that great guide! Everything works fine for me beside one thing. I used you “ASUS Prime Z390-A SSDT-UIAC-All.aml” and tried to change the mapping. However it did not work. I would like to enable the “internal USB 2.0 ports” like HS06 or HS11 – and therefore disable HS09/SS09 and HS10/SS10. Can you please help me with that? Thanks a lot in advance!

Greg
Guest
Greg

Found my mistake, thanks anyway!

IrvineDave
Guest
IrvineDave

Thanks for the great post. Installed with minimal issues and seems to be working fine.