koush / EFI-X99

Hackintosh Guide: Gigabyte X99P-SLI, Intel 6950X, Radeon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Big Sur Update

Clover is deprecated, and I was unsuccessful to get this updated to work with OpenCore and Big Sur. This build served me well for 4 years, and rather than try to struggle through to rebuild a dated and not widely adopted X99 platform on hackintosh, I upgraded to a 10900k system.

My Hackintosh

This repository is the EFI directory (basically, a boot drive) that can boot a macOS (10.15.3, at time of writing) installation. Think of the EFI as the isolated magic boot image that will let you start macOS on unofficial hardware. Ideally, all your system compatibility changes are in this boot partition, away from macOS itself. You don't want a macOS update accidentally breaking your system. This EFI will only work with my specific setup, but may work with similar ones via tweaking.

macpro6_1_-_geekbench_browser

Why Github?

This is the easiest way to make and track changes to improve support and manage OS updates (as needed). Not having your EFI in revision control is bad. Eventually you will end up breaking something and not remember what you did. Additionally, someone using this repository can stay up to date with my changes by simply pulling down the latest files through Github on their boot partition.

Installation

My Hackintosh Hardware

Total Cost: ~$3500 ($500 more if using a PCIe flash drive). A maxed out Mac Pro, for reference, is around ~$10,000, and is dated in comparison.

You need to have mostly the same hardware for this to work. Parts that can not be swapped easily will be noted.

Notes

  1. This motherboard is a little wonky, so while other Gigabyte or Asus X99 motherboards may work, my EFI repository may not work with it. Change at your own risk. See Motherboard and Graphics Card Notes below.
  2. If you get a different CPU, you MUST modify this line in your checkout with the correct IOCPUNumber value. Each CPU core has two hyper threading cores. Subtract 1 to get the max IOCPUNumber (zero indexed). IOCPUNumber = (Number of CPU Cores * 2) - 1. For example, the 6950X has 10 cores. So (10*2)-1=19, as shown in the link.
  3. Any USB wifi will work. I chose this card because this is the the best/easiest way to get AirDrop working. Totally optional though. You don't have to get any wifi at all.
  4. Any SSD or HDD drive works. Samsung M.2 drives should work as well, as I include an SSDT patch for them. Other M.2 drives may need to patch SSDT-NVMe-Pcc.aml with the appropriate device path. Try running the auto-patcher script. If that doesn't work, see full guide.
  5. Motherboard on F01 (Retail Bios) - Will NOT boot a CPU newer than 5820K and you need a 5820K to flash the latest BIOS to boot any CPU other than this. So
  • Make sure its flashed to F22+ (ask your reseller, like NewEgg)
  • Have access to a CPU which works on F01. See list of supported CPUs.

Full List of Hardware

macOS Boot USB and BIOS Update Preparation (Optional)

This step is optional if you do not want a bootable USB stick and your BIOS is already up to date.

Sometimes when tweaking things, the OS drive will fail to boot. It is extremely recommended to have a backup bootable USB stick. Make tweaks to the EFI boot on your macOS drive, and if it fails to boot, fall back to the USB stick to boot. The USB boot stick is optional, but encouraged.

  1. Insert a USB drive into your real Mac. This will be used to update your BIOS. It will also optionally serve as a USB boot stick.
  2. Use Disk Utility to erase the USB stick and create a GPT drive with a single Fat32 partition. Fat32 is mandatory for the BIOS update process.
  3. Download the latest BIOS (F23, at time of writing).
  4. Unzip and copy the BIOS file to the Fat32 partition.
  5. Make sure the BIOS file is named GIGABYTE.bin as the previous link instructs. This is the file name required by the BIOS Updater.

macOS Drive Preparation

  1. Attach your Hackintosh OS drive to a real Mac. Use a USB enclosure or drive dock to do this.
  2. Use Disk Utility to erase and create a GPT drive.
  • Mac OS Extended (Journaled) format
  • Name can be anything you want

Making your Drive Bootable

This EFI directory lives on an ESP (EFI System Partition). This partition is typically hidden from operating systems.

First, get the prerequisite Clover Bootloader (I am using r3949 at time of writing).

On the real Mac, again. You will be performing the following steps (optionally twice, if creating a USB boot stick as well):

  1. Install Clover to the target drive (Hackintosh Drive or USB Stick) using these options:
  • Change Install Location to the target drive (DO NOT FORGET THIS!!!!)
  • Customize, with only the following checked:
    • Install for UEFI booting only
    • Install Clover in the ESP.
    • Don't delete the Clover PKG file when the installation ends, you may need it later.
  1. After installation of Clover is complete, the installer leaves the ESP mounted.
  2. In that ESP, there will be an EFI directory. So typically, the directory structure will be as follows /Volumes/ESP/EFI.
  3. In Terminal:
cd /Volumes/ESP/
# Clover already creates an EFI directory with some files.
# Wipe this out to overwrite with the EFI from this respository.
rm -rf EFI
# check out this EFI
git clone https://github.com/koush/EFI-X99.git EFI
# If you chose a different processor, modify the aforementioned file in VoodooTSCSync.kext.
# Exit the Terminal and unmount ESP in Finder.app. 

Optional: Repeat the above steps with the USB stick.

Installing macOS

  1. On the Mac, download the latest macOS Installer (Sierra, 10.12.1 at time of writing).
  2. Run the Install macOS app.
  • Before starting the install, click Show All Disks, and point it to the attached Hackintosh Drive.
  • Install to the Hackintosh Drive
  1. The Mac will restart to complete the install, and then will restart once more into the new OS installation on your Hackintosh drive.
  2. Complete the installation, shut down, and disconnect the drive.

Hackintosh Setup

  1. Assemble your computer.
  • Connect your front panel USB ports to the USB_1 connector on the motherboard. Connecting to USB_2 and leaving USB_1 empty seems to cause the USB sluggishness.
  • Connect your mouse and keyboard to the USB 3.0 ports, and not the USB 2.0 ports. It's the second column of ports from the left. They are labelled on your motherboard I/O shield.
  • Make sure the video card is in the slot closest to the CPU. This matters, or you will get a post boot black screen. macOS will erroneously put your graphics card to sleep, and it can not be woken. The EFI partition contains a patch to prevent this from happening in the aforementioned PCIe slot.
  1. The OS drive should already be set up with macOS from a real Mac. Connect it to your Hackintosh if you haven't already.
  2. Boot into the BIOS. Update the BIOS using the USB stick which contains the update from the previous steps.
  • You may want to shut down and reset your CMOS by connecting the CMOS reset pins.
  1. Restart and get into the BIOS again. Load Optimized Defaults.
  2. You'll see 2 or 3 options show up in the Clover bootloader.
  • Boot Clover
  • Boot macOS
  • Boot Recovery
  1. Choose Boot macOS
  2. The installation and set up of macOS should have already been completed on the original real Mac. So, you should just boot right in.

Done!

XMP

Wanna pimp your ride? Enable XMP Profile 1 in the BIOS. It's overclocking your RAM, so it may make your system unstable. That's why I didn't have it enabled out the gate.

Staying Up To Date

I'll be making improvements and fixes as needed. To stay up to date, use EFI Mounter to mount your EFI partition (or do it manually with mount_msdos if you know the partition, typically /dev/disk0s1).

cd /Volumes/EFI/EFI
git pull
# Done!

Credits

nmano's Guide

About

Hackintosh Guide: Gigabyte X99P-SLI, Intel 6950X, Radeon


Languages

Language:Rich Text Format 61.7%Language:ASL 27.8%Language:Python 6.8%Language:Shell 3.7%