GA-Z97X-UD5H and macOS 11 Big Sur with OpenCore

Interestingly, my 6 year old Hackintosh rig is still going strong and so I decided to upgrade it from macOS X Mojave to macOS 11 Big Sur. Since OpenCore is pretty well documented by now, I wanted to give it a try and replace Clover (which seems to use OpenCore as well by now).
However, the transition from Clover to OpenCore wasn’t smooth at all. OpenCore has quite a steep learning curve and I spent almost an entire, foggy November Sunday to get it all up and running.

The relevant system components in my Hackintosh are:

  • Gigabyte GA-Z97X-UD5H (BIOS rev. F10c)
  • Intel Haswell Core(TM) i7-4790K CPU @ 4.00GHz
  • Intel HD Graphics Intel 4600
  • Onboard ALC Audio
  • Custom flashed PCI Intel Gigabit CT NIC (so, not using onboard NIC)

Super helpful were:

A few additional notes:

  • BIOS Settings as per recommendation for Haswell, see OpenCore docs.
  • The Haswell DSDT provided by Dortanina resulted in a KP, use the ones provided in the link below.
  • Use the CPUFriendFriend generator link above to create the data for the CPUFriendDataProvider. However, I’m not sure if the CPUFriend.kext actually makes a difference. I can see the CPU frequency dropping below 1 GHz in Intel’s Power Gadget though (see screenshot below) and I think the CPU fan is running a little quieter. Can be omitted when in doubt.
  • Everything related to sleep/wake is working as expected.
  • I didn’t include any kext binaries, make sure to always download the latest versions.

Check out my Github repository: github.com/trick77/opencore-ga-z97x-ud5h

Gigabyte Z97X-UD5H and USB 3.0 in macOS Sierra 11.12

2000px-usb_icon-svgA commenter recently asked if I had any USB 3.0 related issues with my Gigabyte Z97X-UD5H equipped Hackintosh. Since every USB port was working out of the box I thought everything was fine. However, having a closer look at the USB section in macOS Sierra’s System Information revealed that none of the USB 3.0 ports were operating at USB 3.0 speeds, they were all capped at 480 Mb/sec.

Here’s how I was able to get USB 3.0 speed back:

  1. Inspired by https://github.com/RehabMan/OS-X-USB-Inject-All/blob/master/config_patches.plist I added the entire “Patches” section to my clover.plist. From the “KextsToPatch” section I only added the “Change 15 port limit to 20 in XHCI kext (9-series)”  related to macOS 11.12 and removed the disabled line.
  2. I downloaded https://bitbucket.org/RehabMan/os-x-fake-pci-id/downloads and copied FakePCIID.kext and FakePCIID_XHCIMux.kext to Clovers kext directory.
  3. I made sure XHCI mode was set to “Smart Auto” and both, XHCI and EHCI hand-off were enabled in the BIOS.

All front and back panel USB 3.0 ports are now reporting 3.0 speeds when connecting a 3.0 compatible device:

JSM578:
  Product ID:	0x0578
  Vendor ID:	0x152d  (JMicron Technology Corp.)
  Version:	2.03
  Serial Number:	DB123456789B
  Speed:	Up to 5 Gb/sec
  Manufacturer:	JMicron
  Location ID:	0x14f00000 / 20
  Current Available (mA):	900
  Current Required (mA):	896
  Extra Operating Current (mA):	396

Major kudos to RehabMan for providing these easy-to-use injector kexts!
Since injector kexts are not drivers and thus do not have to be signed, my Hackintosh still runs with maximum system integrity protection (SIP):

Jans-Mac:~ jan$ csrutil status
System Integrity Protection status: enabled.