Contribute
Register

[Great Success] mini HTPC: ASRock Z370M-ITX/ac - i5-8400 - UHD 630 Graphics - Mojave

Joined
Jul 13, 2011
Messages
33
Motherboard
Asrock Z370m-ITX/ac
CPU
i5-8400
Graphics
UHD 630
Mac
MacBook Pro
Mobile Phone
iOS
bjgo's Build: i5-8400 - Asrock Z370M-ITX/ac - UHD 630


Components

Intel Core i5-8400 Processor
https://www.amazon.com/dp/B0759FGJ3Q/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16819117824

Noctua NH-L9I CPU Cooler (300-2500 RPM, 4pin, TDP 65W, 15-24dB, Al+Cu, 420g)
https://www.amazon.com/dp/B009VCAJ7W/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16835608029

Asrock Z370M-ITX/ac (RTL) MicroATX Motherboard
https://www.amazon.com/dp/B07638L88W/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16813157795

Crucial Ballistix BLS2C8G4D26BFSEK DDR4 DIMM 16Gb KIT 2*8Gb PC4-21300 Memory
https://www.amazon.co.uk/dp/B01N5TJ5AH/?tag=tonymacx86-21

SAMSUNG 970 EVO MZ-V7E250BW 250GB, M.2 2280, PCI-E x4, NVMe SSD
https://www.amazon.com/dp/B07BN5FJZQ/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16820147689

SEAGATE Barracuda Pro ST1000LM049, 1ТB, HDD, SATA III, 2.5"
https://www.amazon.com/dp/B01LNJBA2I/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16822179010

Compatible Broadcom M.2 card
AC-DC 12V@12,5A 150W
12V 24-pin/4 pin PicoPSU
Morex Cubid 557B Black




Comments

I've made such a delicious build equivalent to Mac Mini 2018, but twice as cheap!
It's great example of why are we here. It's just slightly bigger than Mac Mini 2018; it's almost as powerful as the i7 version, which costs about a $1900, but this buid only costs $900. Ladies and gentlemens, I 
proudly present this mini HTPC.

TL/DR:
bootloader - clover
graphics - lilu + whatevergreen + framebuffer patches via hackintool
sound - appleALC + layout 99 + HDAS -> HDEF
ethernet1 - intelmausiethernet
ethernet2 - SmallTree-Intel-211-AT-PCIe-GBE.kext
usb3 - Hackintool
wifi+bt - replaced m.2
smbios macmini8,1
darkwake=8



Installation

Installation Tools Needed

UniBeast Mojave (tonymacx86 Downloads)
MultiBeast Mojave (tonymacx86 Downloads)
Clover Configurator (tonymacx86 Downloads)
Hackintool (if you want to change audio layout or change USB ports)
SmallTree-Intel-211-AT-PCIe-GBE.kext for second Ethernet port
BT and WIFI kexts for your card.


BIOS
UEFI/BIOS requirements:
my version is 3.20
defaults a fine, BUT:
F6 for Advanced Mode, then:
Advanced - USB Configuration - XHCI Hand-off - ENABLED
without that you can't boot UniBeast drive

For best compatibility use USB 2.0 drive.
After macOS install, you have only 7MB of VRAM.

Post Installation
Let's begin...

Run MultiBeast for Mojave and select:
Drivers - Audio - AppleALC​
Drivers - Audio - 100/200/300 series audio support (HDAS - HDEF)​
Drivers - Misc - FakeSMC (+plugins if you prefer)​
Drivers - Network - Intel - IntelMausiEthernet v2.4.0 (first Ethernet port)​
Bootloader - Clover UEFI​
Customise - Graphics - WhateverGreen (and NOT INSTALL "Intel HD630 Coffee Lake", ONLY WHATEVERGREEN)​
System Definition - Mac Mini - macmini6,2 (will be replaced next, maybe not needed, but I did, and all was fine)​

DO NOT REBOOT AFTER MULTIBEAST - we are not finished, yet.

Open EFI partition and copy my USBports.kext into /EFI/EFI/Clover/kexts/Other/

Copy my config.plist into /EFI/EFI/Clover/ and replace existing, then open it with Clover Configurator and GENERATE YOUR OWN MacMini8,1 SMBIOS.
If you want iMessage to work - this is point you should stop and read iMessage guide https://www.tonymacx86.com/threads/an-idiots-guide-to-imessage.196827
BE CAREFUL - SMBIOS section must be unique to you, or you can encounter many errors with App Store and other iCloud stuff.

Make a folder on Desktop named "install".
Copy SmallTree-Intel-211-AT-PCIe-GBE.kext (for second Ethernet) and your WiFi-Bluetooth kexts in it.
Open the Terminal and copy/paste:
Code:
cd Desktop/install
sudo cp -R *.kext /Library/Extensions
sudo kextcache -i /
After last command is finished, we finally can reboot.

For now we have:
  • audio in the Green mini-jack on Back Panel as Internal Speakers
  • graphics - 2048MB VRAM and full accelerated, hot-plug enabled, 4K over DP
  • USB 3.0, but two USB 3.0 above one of HDMI ports works only as USB 2.0 (3.0 DEVICE WILL NOT WORK IN THIS PORTS, USE OTHER 3.0 INSTEAD) because I need two more USB 2.0 ports on case Front Panel. If you want - you can create your own USBports.kext with Hackintool.
  • Sleep
  • WiFi
  • Bluetooth

What Works
EVERYTHING :)
Fully accelerated graphic, all ports are working simultaneously. 4K display works great over DP (3840x2160, 60Hz)
Audio over mini-jack and HDMI (no volume control over HDMI - as I know impossible to fix on any hackintosh)
.
WiFi and Bluetooth (replaced m.2 card)
Both ethernet ports
Sleep

iMessage
USB 3.0

What Doesn't Work
I disabled a couple of USB 3.0 ports above the HDMI (15-ports macOS restriction. possible to patch but I don't want to. my setup is 10 USB 2 + 4 USB 3 + internal BT).
While system boots, one of HDMI ports must be empty. If you need 2 displays - use DP+HDMI, works perfect. If you need all of ports, connect second HDMI after full boot.
whatevergreen issue, may be fixed in next releases


Thank you for reading patiently.

383446
383447
383448


My USB ports and FrameBuffer patches:
 

Attachments

Last edited:
Joined
Jul 2, 2018
Messages
13
Motherboard
ASUS ROG Rampage Extreme IV
CPU
Intel Core i7-3930K
Graphics
Sapphire Radeon HD 7970 3GB GDDR5
Mac
iMac, MacBook Air
Mobile Phone
Android
Did you use any boot flags getting the mojave installer to boot?
 
Joined
Jul 13, 2011
Messages
33
Motherboard
Asrock Z370m-ITX/ac
CPU
i5-8400
Graphics
UHD 630
Mac
MacBook Pro
Mobile Phone
iOS
No, just UniBeast's defaults.
Use USB 2 flashdrive. It is important
 
Last edited:
Joined
Jul 2, 2018
Messages
13
Motherboard
ASUS ROG Rampage Extreme IV
CPU
Intel Core i7-3930K
Graphics
Sapphire Radeon HD 7970 3GB GDDR5
Mac
iMac, MacBook Air
Mobile Phone
Android
Working great @bjgo :)
Only issue im experiencing is a big delay with the apple bluetooth keyboard and mouse. This are not accessible in clover boot eighter.

Broadcom BCM94352Z
With kexts:
BrcmPatchRAM2.kext
BrcmFirmwareRepo.kext

Could seem like the broadcom chip is not getting enough power for transmission. Got any ideas?
 
Last edited:
Joined
Jul 2, 2018
Messages
13
Motherboard
ASUS ROG Rampage Extreme IV
CPU
Intel Core i7-3930K
Graphics
Sapphire Radeon HD 7970 3GB GDDR5
Mac
iMac, MacBook Air
Mobile Phone
Android
Seems this is pretty much solved by using 5GHz WiFi.
Interference between Bluetooth and 2.4GHz WiFi must be the cause.
Still no Bluetooth input in Clover boot but that doesn't matter :)
 
Joined
Jul 13, 2011
Messages
33
Motherboard
Asrock Z370m-ITX/ac
CPU
i5-8400
Graphics
UHD 630
Mac
MacBook Pro
Mobile Phone
iOS
Seems this is pretty much solved by using 5GHz WiFi.
Interference between Bluetooth and 2.4GHz WiFi must be the cause.
Still no Bluetooth input in Clover boot but that doesn't matter :)
To get BT working you need Lilu + both BT kexts + USBPorts.kext made by hackintool.
 
Joined
Jul 13, 2011
Messages
33
Motherboard
Asrock Z370m-ITX/ac
CPU
i5-8400
Graphics
UHD 630
Mac
MacBook Pro
Mobile Phone
iOS
Working great @bjgo :)
Only issue im experiencing is a big delay with the apple bluetooth keyboard and mouse. This are not accessible in clover boot eighter.

Broadcom BCM94352Z
With kexts:
BrcmPatchRAM2.kext
BrcmFirmwareRepo.kext

Could seem like the broadcom chip is not getting enough power for transmission. Got any ideas?
You need both antennas connected and 90 degree between them > \/
 
Joined
Jul 13, 2011
Messages
33
Motherboard
Asrock Z370m-ITX/ac
CPU
i5-8400
Graphics
UHD 630
Mac
MacBook Pro
Mobile Phone
iOS
Seems this is pretty much solved by using 5GHz WiFi.
Interference between Bluetooth and 2.4GHz WiFi must be the cause.
Still no Bluetooth input in Clover boot but that doesn't matter :)
ouh, you mean 'clover'...
select boot drive and stuff like recovery or single-user mode?
no bt support) usb only
 
Last edited:
Joined
Jul 13, 2011
Messages
33
Motherboard
Asrock Z370m-ITX/ac
CPU
i5-8400
Graphics
UHD 630
Mac
MacBook Pro
Mobile Phone
iOS
so, guys, any comments?
 
Joined
Mar 22, 2017
Messages
107
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
Android
darkwake=8 for sleep

Any documentation for this? Why does it work?
 
Top