AMD Ryzen Gigabyte Vanilla install Guide (High Sierra and Mojave)

AMD Ryzen Gigabyte Vanilla install Guide (High Sierra and Mojave)

Welcome to my guide on building a Hackintosh using AMD Ryzen CPUs. we're going to be making a vanilla install so it will be extremely stable and basically like a real Mac. for this guide I will be using my hardware configuration which follows:

CPU. : Ryzen 7 1700

Motherboard: Gigabyte B450M DS3H

RAM: 8GB 2666Mhz Corsair LPX

GPU: Nvidia Gefore GTX 960

If you do not have this gigabyte motherboard or at least a gigabyte motherboard at all, you must find your own kexts. However, most of these kexts should work on all motherboards.

IMPORTANT: IF YOU HAVE AN NVIDIA GRAPHICS CARD FROM THE 700 SERIES+ YOU WILL BE LIMITED TO THE LATEST VERISON OF HIGH SIERRA. ONLY AMD GRAPHICS CARDS THAT USE THE POLARIS ARCHITECTURE (SO RX 400 SERIES AND NEWER) ARE SUPPORTED IN MOJAVE AND CATALINA.

oh yh and if you brick your motherboard (extremely unlikely) I am not responsible.

right thats the disclaimers out of the way, lets get to it!

1) making the installer : general

first thing you'll need is a windows pc and a USB drive of at least 16GB.

first you will need to go to this gib repository : https://github.com/corpnewt/gibMacOS

then download the zip file and extract it.

https://i.redd.it/oksjtob5ukm31.png

next you will need to get a config file that already works for your architecture. If you are running Ryzen you will need the config file inside the 17h folder. if you are on bulldozer you will need 15h and if you are running jaguar you will need 16h. download the zip file and extract it.

https://i.redd.it/oxfl01w7ukm31.png

open the gibmacos folder and run the gibmacos script. if you get a smart screen error click on more info and press "run anyway". don't worry this is a safe tool.

https://i.redd.it/ymyu3bf9ukm31.png

when you open the script it will ask to install python. press y to allow and press enter. it will then install python and bring you to this screen.

https://i.redd.it/25j3vwjaukm31.png

you can see all these different versions of MacOS. if you are using an Nvidia card YOU NEED TO SELECT THE LATEST HIGH SIERRA VERSION. however if you have a POLARIS AMD GPU, you can select the latest Mojave version.

now before you select your version its important to know whether you will be connecting to your internet via ethernet or a dongle during the installation. if you are using ethernet then you can toggle the "recovery only" option (r). the advantage is that it only installs the recovery software. then when in the installation process it downloads the installers from their servers. however, if you are not going to connect an ethernet cable to your pc during the installation, then don't toggle it. you will just have to download the installer now and put it on your USB (an offline installer).

once you have selected whether you want recovery only mode or not and have selected your wanted Mac OS version let it download the image. the image will be in a folder named something like "macOS downloads" in the gibmacos folder.

once you are done, then run the makeinstall script. make sure your USB drive is plugged in and the data is backed up externally BECAUSE ALL DATA WILL BE ERASED.

select your USB drive and press enter.

next it will format your USB drive and ask you for the directory of where your installer is. locate it in your macOS downloads folder in your gibmacos folder. once you have found the files (base system and installesdd etc) click on the top bar in windows explorer to reveal the folder path.

https://i.redd.it/uqnh3decukm31.png

go back to the install script and paste that path when it asks.

now just wait until it finishes and installs clover.

...

...

...

done? Great!

2) making the installer : motherboard specific stuff

now what we have to do is make our USB working with out system. If you have a gigabyte b450m ds3h like me you can follow this part perfectly. if not do read this but make sure that you find the stuff that your specific motherboard needs.

first we will add the working config file that we downloaded in the beginning. go into the folder that you're architecture is (15h,16h or 17h). find the config.plit in that folder and copy it.

go into your clover partition in explorer. go into EFI -> Clover and replace the existing config.plist with the one you copied.

next go into your drivers folder and in the UEFI folder, delete everything EXCEPT ApfsDriverLoader.efi, AptioMemoryFix-64.efi and HFSPlus.efi.

now go into your kexts folder and go into the "other" folder.

go back to your browser (chrome or whatever) and go to this onedrive : https://onedrive.live.com/?cid=fe4038da929bfb23&id=FE4038DA929BFB23%21455036&ithint=folder,&authkey=!APjCyRpzoAKp4xs

find the latest versions of the following kexts in the repo : AppleALC,Lilu,NullCPUPowerManagement,RealtekRTL8100,USBInjectAll,VirtualSMC,WhateverGreen and VoodooPS2Controller (optional if you want to use a ps2 mouse, keyboard).

then copy those kexts and place it in the kexts -> other folder.

CONGRATS!!! now you have made your very own macOS install USB.

3) UEFI Settings

Now we'll get to the UEFI configuration. make sure your motherboard settings are like these :

https://i.redd.it/djwv5cufukm31.jpg

https://i.redd.it/blif66agukm31.jpg

https://i.redd.it/n0pv68jgukm31.jpg

4) Booting into installer and installing macOS

now, we can finally boot into our installer. Boot off the USB by mashing F12 while turning on your computer and select the UEFI partition on your USB. you will see the clover boot loader. highlight the macOS installer and press space. you will see a bunch of boot options. go down to the -v (verbose mode) boot argument and enable it. next go down to the Nv_disable=1 boot arg and enable it. then go back to the top and boot with selected options.

if all goes well you should see a bunch of text flying down and eventually boot into the installer. if it gets stuck somewhere let me know and ill try my best to help.

once you're in the installer, you can relax now. you're in so now all you have to do is install it like a real Mac. first you will need to go into to the utilities tab on the top menu bar and select disk utility. format your SSD as either APFS os HFS (I would recommend APFS since it's better). once thats done continue with the install process and reboot.

with the same boot args boot into your macOS install (not installer) and continue with the 2nd stage of the installation. once that is complete reboot again and boot Into your macOS install.

you should now be at the setup screen. Nice work!

now just continue with the setup making sure not to send diagnostics to apple.

5) Web Drivers and CUDA (NVIDIA ONLY)

if you have an AMD card you can skip to step 6 since your card already works.

if not you can see that the graphics on your Mac look very bad. to fix this we need to install Nvidia's web drivers for our version.

first, go to the menu bar and click the apple logo. next click on about this Mac. you will get a window like this.

https://i.redd.it/dh4tm8oiukm31.png

click on the version number to get the build number. note down this build number.

if you have internet access either through ethernet or your Broadcom wifi card, you can do this on your Mac. if not use another computer to get the web driver and put it on a usb.

search for "Nvidia web driver" followed by your build number and download it from the Nvidia website. then install it to your macOS install drive.

now reboot your hackintosh but when in clover don't enable the nv_disable=1 boot arg and instead enable the nvda_drv=1 boot arg. still boot with -v just in case something goes wrong but now it should load the Nvidia drivers. if it does you should see no artefacts or choppiness.

6) Installing clover to your drive

go to this link to download and install the latest version of clover : https://sourceforge.net/projects/cloverefiboot/

once it has installed there should be a partition named "EFI" in finder. open it and you will see an EFI folder; much like the EFI folder in our clover partition on our USB. in fact what we're going to do is to replace the EFI folder in our new clover install with the EFI folder from our USB. Once you have done that reboot your system, this time using the drive's boot loader instead of the USB drive. if all works well then we can go onto the next step.

7) Configuring your hackintosh

now what we're going to do is configure our system to get stuff such as audio and iMessage working.

first download the clover configurator through this link: https://www.macupdate.com/app/mac/61090/clover-configurator

when opening the application you will see this screen.

https://i.redd.it/wx8vliqkukm31.png

on the sidebar click on mount EFI. you will see this.

https://i.redd.it/qpn837blukm31.png

find your EFI partition on your drive and mount it. enter your password if necessary.

press open partition and go into your clover folder inside the EFI folder. then open the config.plist

you will see this :

https://i.redd.it/fnpjc07mukm31.png

click on boot on the sidebar and in the arguments section make it look like this :

https://i.redd.it/ql5dq9ymukm31.png

next go to the Devices section and in the audio tab put 1 in the inject box. If you have a different audio codec (not ALC887) then google the correct inject number to get audio.

https://i.redd.it/pd2medzpukm31.png

finally go to SMBIOS and select your configuration (iMac,mac pro etc) :

https://i.redd.it/std21e1rukm31.png

https://i.redd.it/z2qsnnzrukm31.png

next click generate next to the SN box. Copy the serial number and check it on https://checkcoverage.apple.com. Paste the serial number which is generated into the "Enter your hardware serial number". Click on Continue.

https://i.redd.it/qfqpq4suukm31.png

If you see the message "Your service and support coverage" and a picture of a computer then you have generated a serial number which is already registered with apple. Do not use this serial number and select the magic wand. Generate a new serial number and check it again with https://checkcoverage.apple.com.

If you see a message "We're sorry, but this serial number is not valid.Please check your information and try again." then it is ok to use the serial number for your config.plist.

https://i.redd.it/rsjaiy0zukm31.png

Open terminal and type "uuidgen" to generate the system SMUUID and press Enter/Return button. Do this several times to generate random UUID's.Copy the generated UUID into the SMUUID field of the Clover Configurator.

https://i.redd.it/alo6d4w1vkm31.png

In Clover Configurator, Click on File then Save. Quit Clover Configurator and then restart.

https://i.redd.it/13vjf9h8vkm31.png

Your audio should now work, along with a proper system definition.

if you have any problems let me know.

and that should be all. now you have a fully functioning hackintosh. if you have any problems do let me know and I'll try to help you solve them.

good luck and happy hackintoshing!

submitted by /u/mashipeas123
[link] [comments]