Contribute
Register

<< Solved >> GA-H370N WIFI - UHD 630 Mojave: Everything I've tested works

Status
Not open for further replies.
Joined
Mar 15, 2019
Messages
16
Motherboard
Gigabyte Designare Z390
CPU
i7-9700
Graphics
UHD 630
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. iOS
Prana's Silent Hackintosh:
i7-8700 - GA-H370N WIFI - 32GB RAM - UHD 630
A Work in Progress, but Everything I've tested Works

Components

Gigabyte GA-H370N Wifi
Intel i7-8700 CPU

Streacom FC8 Fanless PC Case
Fanless Power Supply: External Pico PSU
DDR4 Non-ECC RAM: 32GB Kingston DDR4 2666 CL19
Samsung 860 EVO 500GB

Apple Broadcom BCM94360CD – 802.11 a/b/g/n/ac with Bluetooth 4.0 (note: I had to modify the antenna mount because it is designed for a full height case slot, rather than for a half height slot.

Comments

My Mac mini is in the process of dying, that is, recently it wouldn't boot after a shutdown, though after many tries it did boot. I wanted a hackintosh replacement for that Mini that is completely quiet, so it had to be fanless. I bought this system at silentpc.com in Washington state.

What I've Tested

The HDMI port works. I don't have a Display Port or HDMI2 monitor, so I can't test those. The Audio Out works. The USB ports work for both 3.0 and 2.0, and USB-C port works (I haven't tested for speed yet). Both Ethernet ports work. Wifi and bluetooth works. My Logitech QuickCam Vision Pro for Mac works with PhotoBooth and the audio input for the QuickCam works.

Necessary Tools

Besides downloading Mojave, Unibeast, and Multibeast, I also used MountEFI, Clover Configurator, Hackintool, KextBeast, Kext Utility. I also needed to download the latest versions of SmallTreeIntel82576.kext for the 2nd ethernet port. All the supplemental programs and kexts mentioned in this paragraph will be copied to your USB flash drive so you get use them after the initial install (do this after Step 2 of the Installation).

I used a 16 GB USB 3.0 flash drive for my install. I needed to make some modifications to the EFI folder in the flash drive after Unibeast was finished.

Installation

You start the installation with the first two steps of given in the Mojave install guide: UniBeast: Install macOS Mojave on Any Supported Intel-based PC. After you complete step 2, use MountEFI to mount the EFI partition of your flash drive.
mount_efi_flash.png
Download Pre_EFI_v3.zip to your computer. Then in a Terminal window:
Code:
cd /Volumes/EFI/
unzip ~/Downloads/Pre_EFI_v3.zip
Pre_EFI_v3.zip contains the following 5 files:
config.plist with useful boot flags, and kernel patches for USB to work, and also for USB the files SSDT-EC.aml, SSDT-UIAC.aml, SSDT-USBX.aml and USBPorts.kext, both created by Hackintool.
Pre_EFI.png
Copy the supplemental utilities and kexts mentioned above onto the main partition of the flash drive. Also copy this Multibeast document: GA-H370N-Wifi.mb.
tools2.png

BIOS Settings
For Step 3 of the install guide, here are my BIOS settings:
Code:
Save & Exit > Load Optimized Default
BIOS > Boot Option #1 > UEFI: Sandisk, Partition 1
BIOS > Boot Option #2 > UEFI OS (P3: Samsung SSD 860 EVO 500 GB)
BIOS > Fast Boot > Disabled
BIOS > Windows 8/10 Features > Other OS
Peripherals > USB Configuration > Legacy USB Support > Enabled
Peripherals > USB Configuration > XHCI Handoff > Enabled
Chipset > VT-d > Disabled
Chipset > Internal Graphics > Enabled
Chipset > DVMT Pre Allocated > 128M
It's important that the Boot Option #1 be your USB thumb drive, Partition 1. This is because the install process involves multiple reboots, and you want the EFI from your thumb drive to be booted, not the EFI from your hard drive (at least until you get the basic installation finished).

In Step 4 of the installation guide, in item 6e, for Format: choose APFS. (This is important. Choosing Mac OS Extended will cause install failure)

In Step 5, do items 1-5. Don't do item 6 yet. Instead, mount the EFI partition of your USB drive using MountEFI, and copy the EFI folder to your Documents folder. Umount the EFI drive, then mount the EFI partition of your hard drive. Delete the EFI folder in the hard drive's EFI partition, and copy the EFI folder you saved in Documents to the EFI partition.

Running Multibeast
In Multibeast, load GA-H370N-Wifi.mb.
multibeast.png
  • Click the Drivers tab.
    • Click on Audio. Check AppleALC, "100/200/300 Series Audio Support (HDAS -> HDEF)", and "Optional 3 Port (Native) Audio".
    • Click on Misc, and check "Fake SMC", "Fake SMC Plugins", "Fake SMC HWMonitor Application", and "NullCPU Power Management".
    • Click on Network, and check Intel-> IntelMausiEthernet v2.4.0.
  • Click the Customize tab
    • Click on "Graphics Configuration", an check "Core Graphics Fixup AKA Whatever Green" and "Intel HD 630 (Coffee Lake)".
    • Click on "System Definitions", and check "Mac Mini 8,1".
In Build tab, click the Install button.

Setting up the 2nd Ethernet port
  • Copy SmallTreeIntel82576.kext to the Desktop.
  • Run KextBeast to install the kext into /Library/Extensions.
  • Run Kext Utility to fix the kext permission and caches.

At this point reboot. You should now have audio devices. For me, in System Preferences, under Sound, I had to set Output to "Internal Speakers". You should also have 2 functional ethernet ports.

Setting Up Graphics
  • Now run Hackintool.
  • In the Framebuffer menu, click on the macOS 10.14 menu item.
  • Click on the following menu item: Patch -> System Configs -> Gigabyte -> H370N WFIF [CFL].
  • In Hackintool window, click on the Intel tab.
  • In the bottom buttons, click on Patch, then click the "Generate Patch" button.
  • Now mount your EFI partition with Kext Utility.
  • In Hackintool, click the following menu item: File -> Export -> Clover config.plist.
  • In the Save panel, navigate to /Volumes/EFI/EFI/CLOVER/config.plist and click Save.
  • Now reboot.

Setting up USB
Run Multibeast. Click on Drivers, then click on USB in the sidebar. Check Remove XHCI USB Port Limit and USBInjectAll. Click the Build tab, then click Install button.
multibeast2.png
Reboot.

Run Hackintool. Click on the USB tab. Click on the Info (i) button on the row of buttons on the bottom. In the Hackintool Help, do the steps listed in USB Patching.

Here is Hacktintool after finishing Step 12, the USB2.0 ports config. Note: later, HS14 will need to be deleted, as it is the motherboard wifi port.:
ht1_hs_phase.png

Here is Hackintool after finishing Step 14, the USB3.0 port config.
ht2_ss_phase.png

Here is Hackintool after finishing Step 15, the final configuration.
ht3_final.png

After you click the Export button:
  • Copy SSDT-EC.aml, SSDT-UIAC.aml, SSDT-USBX.aml to /Volumes/EFI/EFI/CLOVER/ACPI/patched/.
  • Copy the generated USBPorts.kext to /Volumes/EFI/EFI/CLOVER/kexts/Other/.
  • Delete USBInjectAll.kext from /Volumes/EFI/EFI/CLOVER/kexts/Other/.
  • Run KextBeast to fix the caches. Unmount the EFI partition and reboot.
  • Here are the SSDT-EC.aml, SSDT-UIAC.aml, SSDT-USBX.aml and USBPorts.kext archive.

Fixing Shutdown
On Shut Down my system would reboot. I used the fix found here: [Solved] Shutdown = Reboot, with the files from Post #6.

And here is my config.plist.
Here are the kexts in the EFI:
Code:
Pranas-iMac:Other prana$ pwd
/Volumes/EFI/EFI/CLOVER/kexts/Other
Pranas-iMac:Other prana$ ls -l
total 1
drwxrwxrwx  1 prana  staff  512 Apr  4 00:16 USBPorts.kext

Yet To Do

I would like to buy a 4K monitor and test DisplayPort.
 

Attachments

  • SmallTreeIntel82576.kext.zip
    66.1 KB · Views: 318
  • GA-H370N-Wifi.mb.zip
    2.2 KB · Views: 434
  • config-plist-ga-h370n-wifi-v5.zip
    1.9 KB · Views: 433
  • SSDT-GA-H370N-WIFI-USB-v3.zip
    2.1 KB · Views: 307
  • Pre_EFI_v3.zip
    4.9 KB · Views: 484
Last edited:
I made some updates to my original post. The original post only worked for a USB2 flash drive, and for a USB3 flash drive, only in the lower port under the ethernet port. And sometimes it took many reboots to go from the copying of the files from the USB to getting a basic install. But I've now tested the install many times, and the USB flash install is reliable.

I also added a Pre-EFI.zip that has the files necessary to make the USB flash drive to work correctly, mostly dealing with USB issues. I've added a GA-H370N-Wifi.mb Multibeast file that will load up all the settings for Multibeast for the needed drivers.

Finally, with the April 2 version of Multibeast, you no longer need to fetch the latest audio drivers.
 
I fixed my bluetooth. When I looked into the System Information, my Bluetooth would show up, but the Manufacturer was not Broadcom, but Ericsson. Also the Firmware Version was 0.0.
bt1_broken.png
The OS was reading the motherboard wifi information from USB port HS14, rather than from the PCIe card wifi from USB port HS10. By disabling the USB port HS14 using Hacktool's USB management section, my bluetooth started to work.
ht1_hs_phase.png

Here is what the Bluetooth System Information ought to look like:
bt2_fixed.png
If you haven't done this before, you need to use the Help in Hackintool (under USB Patching) to learn how to configure your USB ports. Also, my SSDT files in the original post reflect the proper configuration.

My system also did not shutdown, but instead would reboot. I found a fix also linked in the original post.

I've also updated Pre-EFI_v2.zip, config.plist-ga-h370n-wifi-v4.zip, and SSDT-GA-H370B-WIFI-USB-v2.zip to reflect the proper USB configuration and the slide=0 change in config.sys for the shutdown issue.
 
Last edited:
  • Congratulations:clap:
  • Very Well written, well-explained and very user-friendly for those who are new to Hackintosh builds.
  • If you get a chance, please add Screen shots to support and supplement the writeup to help those not proficient in English.
 
I added some graphics and better use of vertical spacing, lists, and section headers to make the original post clearer. I also found 2 USB bugs that didn't show up in my initial testing. One was a sloppy mistake that I didn't make the first time I configured the USB, but introduced this because of the bluetooth fix (I didn't label the HS ports as USB 2). Also, the USB C port was only partially correct for 75% of the time, depending on the which way you plugged in your device into the USB C port. In the original post, if you look under Setting up USB, and click on the spoiler, you will see the proper configuration of USB in Hackintool (reproduced below).
ht3_final.png
 
Last edited:
Hi @prana, thank you so much for this guide. I have a very similar configuration except for the SSD drive and the video card. My system hangs in step 4 on the first load with the apple logo and the progress bar at 2 thirds of the way. I suspect it is to do with trying to use the RX 580 video card. Should I try to remove it and use the native video from the motherboard? Any other way I can diagnose why it is hanging? Thanks
 
ect it is to do with trying to use the RX 580 video card. Should I try to remove it and use the native video from the motherboard? Any other way I can diagnose why it is hanging? Thanks
I did a Hackintosh build about 10 years ago where I had a Radeon HD 2400 card on a Dell Inspiron. Did you disable the onboard video in the BIOS? This can cause issues both the onboard graphics and an external card are enabled. When I did my older install, I did it first with the onboard graphics (the external video card unplugged), got things working minus the high resolution graphics, then dibbled the onboard video and got the external Radeon card working.
 
Hi @prana, thank you so much for this guide. I have a very similar configuration except for the SSD drive and the video card. My system hangs in step 4 on the first load with the apple logo and the progress bar at 2 thirds of the way. I suspect it is to do with trying to use the RX 580 video card. Should I try to remove it and use the native video from the motherboard? Any other way I can diagnose why it is hanging? Thanks
I did a Hackintosh build about 10 years ago where I had a Radeon HD 2400 card on a Dell Inspiron. Did you disable the onboard video in the BIOS? This can cause issues both the onboard graphics and an external card are enabled. When I did my older install, I did it first with the onboard graphics (the external video card unplugged), got things working minus the high resolution graphics, then dibbled the onboard video and got the external Radeon card working.

Thank you. I removed the video card and managed to install Mojave. I have a 4K screen with HDMI and had to downscale to 1980p to make things readable!

I can fix shutdown issue and second ethernet port using your instructions. I cannot however make the wifi or Bluetooth work. Are you using the native bluetooth and WIFI from the motherboard? That is what I am trying to do. In system report I see Bluetooth with a 0.0.0.0 MAC address and in Network I see ethernet but not WIFI.

Also I don’t really understand what the paragraph setting up graphics does. Maybe my version of Hackintool is different. I cannot follow your instructions exactly. When I override config.plist in that step my machine no longer starts. I had to rebuild from scratch.

Thanks again for your guide and help.
 
Status
Not open for further replies.
Back
Top