Fresh installing macOS High Sierra on AMD Ryzen Hackintosh Guide (10.13)

This is a basic guide that can be used to get a Ryzen desktop PC running macOS High Sierra 10.13.x. Installing macOS on an AMD build has more steps involved and harder to get working for beginners so I tried to simplify that process as much as possible and make it as easy to understand with this guide as I could.

If you have an Intel based system see: Guide to fresh installing macOS High Sierra on a Hackintosh (10.13 Update) as this guide is for Ryzen only.

Using the steps in this very basic Ryzen High Sierra guide I was able to get the following working:

  • Sound
  • Ethernet
  • All USB Ports
  • USB 3 Speeds
  • Nvidia GPU
  • AMD GPU
  • Wake from Sleep

Ryzen High Sierra Hackintosh Overview

With a little extra effort Ryzen can be made working in a hackintosh, although it wont be as smooth of an experience as a Intel machine would be since that is afterall what Mac’s are based on.

This guide is based off the Clover method and uses a custom Ryzen kernel that’s applied during the installation for Ryzen compatibility. The install will also take significantly longer to perform compared to an Intel machine.

All you need is a spare flash drive, hard drive, and a Mac or Windows/Linux machine capable of running a virtual machine to complete this. I’ve included an EFI folder aswell as the PreInstall & PostInstall folders necessary to do the installation. Sound should work after the install is completed I used VoodooHDA.kext was used to get sound working, USB 2/3 ports were gotten working using USBInjectAll.kext/GenericUSBXHCI.kext, while for Ethernet I included all the kext files I could think of that Ryzen motherboards use, so that should work too after the install is complete.

Using the steps and files contained within this guide I was able to get both AMD RX and Nvidia GTX graphic cards functioning. With a Ryzen CPU there will be some graphical performance degradation. Newer AMD graphic cards suffer about a 10-15% performance drop while for Nvidia the performance just isn’t there, suffering around a 50% drop in performance/fps.

Also sleep works for me whether I have an AMD or Nvidia graphics card plugged in. Getting sleep to work on Ryzen + Nvidia has caused other people to have restart issues instead of waking normally, but it appears to have been resolved as of  High Sierra 10.13.1 build (17B1003) and 10.13.2 (Beta) as I haven’t experienced this issue with my GTX 1050 Ti using the files contained in this guide.

One sigificant issue of Ryzen hackintosh is not being able to install macOS updates. For example when I tried I was unable to run the update installer to go from 10.13.1 to 10.13.2. Small updates do work for example when Apple had that root issue with macOS 10.13.1 I was able to update to a newer build version of 10.13.1. However to upgrade tp 10.13.2 my only option is to do a fresh install of High Sierra after downloading the updated version on the app store, then creating another USB Installer.

This and slower graphical performance especially when paired with an Nvidia graphics card in my opinion has been the most inconvenient part of using a Ryzen hackintosh. If you haven’t bought your computer parts yet and plan to use macOS as your main operating system I recommend going with Intel instead only for a more smoother experience, but if you already have a Ryzen PC like I do let’s get started…

Part 1 – Creating a Ryzen Installer

To create a Ryzen hackintosh you will need a to create a spare 8GB+ flash drive to put the High Sierra installer on.

Also a mac is needed or for those without a Mac, you need to create a Virtual Machine running macOS

This is a written guide, however if you prefer to follow a video guide check out this video created by XLNC

Step 1. Create a High Sierra USB Installer

Learn how to do that by following: How to make a macOS flash drive installer

Step 2. Ryzen Kernel Setup

Now that we have the High Sierra Installer in our hands we need to configure it to be more Ryzen friendly by placing in a modified kernel created by Bronya@InsanelyMac and PreInstall/PostInstall scripts created by XLNC:

2.1. Folder Visibility

The AMD kernel files are added to folders that hidden by default on macOS, so let’s unhide those folders:

  1. Open Terminal
  2. Enter the following two lines:
    defaults write com.apple.Finder AppleShowAllFiles true
    killall Finder

  3. Open the flash drive you made in step 1 Install macOS High Sierra you to see a bunch of semi transparent folders. These are the hidden folders we will be making changes to.

    Take note of the folders .IABootFiles and System for this is where you will be adding things into.
2.2. Adding the AMD Patched Kernel

Now we are going to start copy pasting files from a downloadable folder to the USB Flash dri`ve

  1. Download Ryzen_Kernel_10.13.zip
  2. Unzip Ryzen_Kernel_10.13
  3. Navigate to Ryzen_Kernel_10.13/PreInstall/Prelinkedkernel/
  4. Copy prelinkedkernel (The file not folder)
  5. We are going to use this patched version of prelinkedkernel to replace the existing Apple ones on the Install macOS High Sierra. Paste & replace prelinkedkernel in the following locations:
    1.  /Volumes/Install macOS High Sierra/.IABootFiles/
    2. /Volumes/Install macOS High Sierra/System/Library/PrelinkedKernels/
  6. Navigate back to the Ryzen_Kernel_10.13 folder
  7. Copy PreInstall & PostInstall folders
  8. Paste them on the flash drive /Volumes/Install macOS High Sierra/

Step 3. EFI Partition Configuration

Now the boot partition of the flash drive must be configured by adding a preconfigured EFI folder.

  1. Mount EFI Partition:
    1. Download Clover Configurator
    2. Open Clover Configurator
    3. Select Mount EFI under TOOLS
    4. Click Mount Partition for Install macOS….
    5. Click Open Partition
  2. Delete the folder called EFI if it exists in the mounted partition.
  3. Download Ryzen_High_Sierra_10.13_EFI.zip
  4. Unzip Ryzen_High_Sierra_10.13_EFI.zip
  5. Copy the unzipped EFI folder
  6. Paste the copied EFI into the mounted EFI partition or /Volumes/EFI

Part 2 – Installing High Sierra on Ryzen

Installing High Sierra on Ryzen more difficult to perform compared to a compatible Intel machine, mainly because of the time things take to load the various parts and because of the patience it requires dealing with failed boots where you may frequently encounter this famous screen:

Not to worry, just reboot the system and try again. The slashed circle/failed boot icon can also appear every now and then post-install when booting the Ryzen hackintosh although it should happen less frequently than when the install is taking place. If you sleep your machine instead of shutting it down everytime you are done with it than this shouldn’t be a huge issue, which works for me with both AMD and Nvidia graphic cards.

Step 1. BIOS Settings

Now that the USB Installer has been finished it’s time to configure the BIOS for macOS compatibility.

  1. Restart your machine and enter BIOS, the hotkey will either be F8, F10, F11 or F12
  2. Head over the Exit section and reset the BIOS settings back to Default
  3. I recommend setting the flash drive’s UEFI: partition as the Boot #1 which can’t be found under the Boot section of BIOS
  4. Set the following BIOS settings: (You may not have all these settings and that’s okay)
    1. AMD-V / SVM = Disabled (Can be re-enabled after
      installation if needed)
    2. SATA Ports = AHCI
    3. IOMMU = Disabled
    4. APU = Disabled
    5. HPET = Enabled
    6. EHCI Hands-off = Enabled
    7. XHCI Hands-off = Enabled
    8. Serial Port = Disabled
    9. Parallel Port = Disabled

Step 2. Booting the USB Installer

Boot into the UEFI of the macOS USB flash drive installer to load the Clover Boot Menu.

If the USB drive isn’t set as the default boot volume change the temporary boot device when the boot screen appears the button that needs to be pressed to do this is usually F10, F11, or F12. When the temporary selection screen appears Select UEFI : (USB Device Name).
  1. You are now in the Clover Menu. Use the arrow keys to verify Boot OS X Install from Install macOS High Sierra is selected
  2. Press Enter
  3. Installer will now slowly load… If you get the cigarette cross sign instead of the image below just restart and try it again. I had this happen a couple times as I went through the steps of the installer and simply trying again let me get around that.

When the installer loads we will want to properly format the disk as GUID for hackintosh usability before beginning the install.

  1. Press Continue when the installer appears
  2. Select your language
  3. Select Disk Utility  from the install menu
  4. Select Show All Devices from the drop down menu by pressing the View button at the top left top left corner. (Note: NVME drive not showing?)
  5. Select the disk you will be installing macOS and erase it with the following settings:
    • Name: (It can be named anything you want)
    • Format: Mac OS Extended (Journaled)
    • Scheme: GUID Partition Map

    It’s important to remember the drive name you choose for the AMD Kernel and or disabling APFS conversion.
  6. Press Erase
  7. Close Disk Utility 
  8.  Install macOS High Sierra

Note: While macOS is being installed screen may go black the display is just sleeping you cap press a key on your keyboard or wiggle a mouse to wake screen

After the installer is finished the computer will restart and you’ll want to get back into the Clover Menu.

Step 3. AMD PreInstall Kernel Execution

There is now a second option in Clover, but before we can do that we must first do the preinstall portion of the AMD Kernel

  1. Select Boot OS X Install from Install macOS High Sierra again
  2. Open Terminal through Utilities at the Top Menu Bar once installer finishes loading.
  3. (Optional) Disable APFS with Terminal 
  4. If you forgot the name of your drive type the following:
  5. ls -1 /Volumes

    ls -1 /Volumes will list the available volumes. We want the name of the drive  set in step 4.2  for the line below

  6. Type the following into Terminal:
    /Volumes/Image\ Volume/PreInstall/pre
  7. Press Enter
  8. Volume Name: is what you named your drive when you formatted it. So type it in and press enter.
  9. Let it run…
  10. Restart computer from the Top Silver Menu Bar when it prompts you to do so in Terminal

Step 4. Finish the Installer

  1. Reenter the Clover Menu on restart
  2. Select Boot macOS Install from “Hackintosh”
  3. Setup will finish the High Sierra install… If you are stuck at a grey screen reboot and try again until it loads the bottom image successfully.  Also this part took me a long time to finish I was stuck at “About 18 minutes remaining” for like 10 minutes.
Check out High Sierra fix – “macOS could not be installed on your computer” if you get a restart error prompt instead of this pic.

Step 5. AMD Post Install Kernel Execution

  1. Select Boot OS X Install from Install macOS High Sierra again
  2. Open Terminal through Utilities at the Top Menu Bar once installer finishes loading.
  3. Type the following into Terminal:
    /Volumes/Image\ Volume/PostInstall/kernel_kext_install_only
  4. Press Enter
  5. Type in drive name for Volume Name:
  6. Let it run…
  7. Restart computer from the Top Silver Menu Bar when it prompts you to do so in Terminal

Step 6. Ryzen Final Setup & First Boot

After install is finished computer will automatically restart.

  1. Select Boot macOS from “Hackintosh”
  2. Select Language
  3. Select Keyboard
  4. Select My computer does not connect to the Internet
  5. Select Don’t transfer any information
  6. Agree to the Terms and Conditions
  7. Fill out Login information
  8. (Optional) Choose Customize Settings at Express Set Up if you don’t want to be tracked.
  9. macOS High Sierra will boot for the first time…

Part 3 – Ryzen Hackintosh Post-Install

There are still an number of things left like being able to boot from the hard drive instead of flash drive and getting proper video acceleration from graphic cards that have to be done.

Step 1. Configuring the EFI Partition

Now that we’re in macOS we want to be able to load macOS without the USB flash drive plug. To be able to boot macOS from the drive it’s installed on the folder in the EFI partition of the flash drive needs to be copied over to the EFI partition of the boot drive. You should also have internet access.

  1. Open Clover Configurator
  2. Mount the EFI of the Flash Drive
  3. Press Open EFI or navigate to the EFI location in finder
  4. Copy the EFI Folder onto your desktop
  5. Open Finder and Eject the Flash Drive
  6. Using Clover Configurator Mount the EFI of the Disk
  7. Press Open EFI or navigate to the EFI location in finder
  8. Paste the EFI over the existing EFI on the disk
  9. Select Replace when it prompts you with a menu saying that the folder EFI already exists

You will now be able to boot macOS without the USB Flash Drive

Recommendation: Delete the Folder called APPLE in your EFI Folder if it exists. This folder is created automatically on EFI partition of the flash drive during the install and may cause issues for the hackintosh.  The folder will eventually be recreated, however you only need to delete it once after installing macOS.

Step 2. AMD CPU Speed Enhancement

There is about a 20% CPU performance drop running an AMD Ryzen Hackintosh by default. This can be fixed by setting the busratio bootflag to match your Ryzen CPU.

Bus Ratio is calculated by:  CPU Speed Clock (MHz) / Bus Speed (MHz) = BusRatio.

CPU Speed Clock (MHz) = CPU Speed (GHz) x 1000

Bus Speed (Mhz) = 100MHz for all Ryzen CPU’s

Examples:

  • Ryzen 1800X 3.6GHz; busratio=36
  • Ryzen 1700x 3.4GHz; busratio=34
  • Ryzen 1700 3.0GHz; busratio=30
  • Ryzen 1600X 3.6GHz; busratio=36
  • Ryzen 1600 3.2GHz; busratio=32
  • Ryzen 1500X 3.5GHz; busratio=35
  • Ryzen 1400 3.2GHz; busratio=32
Set Bus Ratio:
  1. Mount EFI partition
  2. Navigate to /Volumes/EFI/EFI/CLOVER/
  3. Open config.plist in Clover Configurator
  4. Select Boot on left-side column
  5. Under Custom Flags add the proper busratio=xx for your CPU:

    I’m using a Ryzen 1700 CPU so my busratio is 30 because of the 3.0GHz clock speed.

Step 3. Dedicated GPU Acceleration

For your specific motherboard you may need to add NVRAM detection fix to dGPU acceleration. I didn’t need it on my AMD RX 560, but needed it when I slotted in my Nvidia GTX 1050 Ti which I thought was weird.

To add EmuVariableUefi-64.efi:

  1. Open Clover Configurator
  2. Mount your EFI Partition
  3. Open config.plist using Clover Configurator
  4. Click Install Drivers on left column of Clover Configurator
  5. Click EmuVariableUefi in bottom left box.
  6. Verify EmuVariableUefi-64.efi exists in /Volumes/EFI/EFI/Clover/Drivers64UEFI/


AMD:

I included the files to get AMD RX cards working excluding the Vega 56/64 which will require more work. If you have an RX 560 add the boot flag -rad4200 to prevent freezing as detailed here.

Nvidia:

In addition to EmuVariableUefi-64.efi if you are using one of the more recently released Nvidia GPU’s you will to install the web drivers. There shouldn’t be anything else you need to do I already set the proper CsrActivateConfig and added the ncessary kexts. If it doesn’t work for some reason after installing the web drivers you may need to disable CMS in BIOS.

Head over to the driver page to get the web drivers:

Download – Nvidia Web Drivers 

Note: May have to reinstall the Nvidia web drivers if they don’t successfully install the first time due to privacy settings.

Step 4. Sound, Ethernet & Everything Else

Sound is enabled using the VoodooHDA.kext. I included all the Ethernet kexts I could think of that would work with Ryzen, but I recommend removing the kexts you don’t need.

Hey, if this helped getting your hackintosh running please consider using our Amazon link when shopping or a kind Paypal donation to help fund the site. Thank you!



Leave a Reply

22 Comments on "Fresh installing macOS High Sierra on AMD Ryzen Hackintosh Guide (10.13)"

avatar
Sort by:   newest | oldest
thienlong
Guest
thienlong

Could you have guild for x99 and x299 motherboard

Canaro61
Guest
Canaro61
Spectacular work !!! really bad for the non-optimal performance results on the Ryzen platform. I was waiting for this test to decide on which platform to make my new PC and I was undecided between Ryzen (which favors the perfect functioning of windows 7) and the 8 platform of intel for the precision 8700k or 8700 on mini-itx (asus strix ) in which I think the operation of macOS and windows 10 is guaranteed without problems. They are very undecided mmmmmmmmmmmmm they reasoned it very calmly Lavoro spettacolare!!! veramente peccato per i risultati non ottimali in fatto di prestazioni sulla… Read more »
Rehab
Guest
Rehab

Give credits buddy .
Kernel credits : bronya
Post & pre install script credits : XLNC
https://youtu.be/ydHyAmxPb_Y

Gigamaxx
Guest
Gigamaxx

Maybe give a portion of your donations to Bronya, and Insanelymac.com where this all originated.

As Rehab pointed out give credit where its due please.

Wingold
Guest
Wingold

Hi Hackintosher,

Its a very nice build i like the mini-itx Formfaktor.

could you please add a parts list off your components?

mrringht
Guest
mrringht

Thanks Hackintosher. But I am failed on my Asus X370 Strix motherboard when first boot after finished installation. The system failed to boot and auto-reboot at some point when booting.

May I know how to troubleshoot?

Spin
Guest
Spin

Hi Hackintosher,

thanks for this great tutorial. Everything has worked and my system is running. Only the USB ports and bluetooth are not found. The system Profiler says, “No information is found.”

Bluetooth isn’t so important, but I have to activate USB somehow.

Somebody help me out here.

My system
ASRock Fatal1ty AB350 Gaming ITX/ac
Ryzen 5 1600
Sapphire RX 580 Pulse 8GB
16 GB Ballistix Sport LT

Doug Z
Guest
Doug Z

Great post and instructions! Yes, credits should go to bronya and XLNC BUT your instructions are the most clear! I had trouble following XLNC’s videos…yours not a problem. Thank you! My system:

MB: Asrock Fatal1ty Gaming x399
CPU: Ryzen Threadripper 1950x
Ram: 32 gb
GPU: AMD Radeon Vega FE 16 gb

Cinebench:
CPU: 2928
GPU: 69 fps

Not bad at all.

Dan S
Guest
Dan S

Fantastic guide, I never have too much luck with most Hackintosh guides but this worked perfectly for me. I didn’t have to do anything extra outside of what’s in this guide. Thank you so much for creating this excellent guide.

MB: ASUS Prime B350 Plus
CPU: Ryzen 7 1700
RAM: 16GB
GPU: AMD Radeon RX 480 8GB
Wifi Card: TP-Link AC1750 (Archer T8E)

Shants
Guest
Shants

Wait so you have wifi fully functional?

Dan S
Guest
Dan S

Yeah, my motherboard doesn’t have WiFi built in but it works with the card that I mentioned. I didn’t even have to install any kexts, it just worked.

Sarthak Goel
Guest
Sarthak Goel

Thanks man! Everything worked after following the whole guide, not sure with the sound as I am using an external card. Ethernet is working. NVidia Cards GTX 1060 working. Ryzen 1600.

I don’t know but I have to restart 2 times for the OS to boot. I receive the cross button inspite of the apple logo.
Also, when computer sleep and I open the computer, the graphics does not work properly, as in the the graphics card is still sleeping. :/

Please help. 🙂

Shants
Guest
Shants

Ryzen_High_Sierra_10.13_EFI.zip is not available, it won’t open on mac or windows to download, can you help with that?

Fayaz Shaikh
Guest
Fayaz Shaikh

Quick question. When booting will i need to remove my graphics card? I use a gtx 1060 and GT 740. Will either of these work when first install if or should i remove them first then install and put it in when done

Dan S
Guest
Dan S

Is the 10.13.2 Supplemental Update safe to install on an existing 10.13.2 install? Or would a complete reinstall be necessary?

Damiano
Guest
Damiano

Everything’s fine until Part2 step2. When I try to boot from the USB disk it says “Reboot and select proper boot device or Insert Boot Media in selected boot device and press a key”, as if the drive was empty. I tried booting from the other partition but nothing, so I checked the USB drive and all the files were there. The guide is awesome, but at this point I don’t know what to do. Anyone can help me? Thanks