Contribute
Register

[Success] b1's "Mac Mini Killer" with macOS Mojave: i7-8700 | Gigabyte Z370N | RX560 | 16GB RAM

@rrviega

Thank you for sharing your OC folder with us!
As my OC knowledge is close to zero I'm sharing my DSDT and Clover config.plist with you, hope it's helpful.

With the DSDT, sleep in all variations and native NVRAM is working, all device properties are shown natively in the PCI Section of the System Profiler.
My /EFI/CLOVER/ACPI/patched folder is empty except the DSDT and USB mapping SSDT's.

Unit specs
  • SMBIOS 19,1
  • 10.14.6
  • As of writing this post: Clover r5105, LILU 1.4.2, WEG 1.3.7, AppleALC 1.4.7, VirtualSMC 1.1.1, OCQuirks Release 17
  • F13 BIOS (using ACPI Patch described here)
  • i7 8700 (running headless with IGPU UHD630 turned on in BIOS)
  • Sapphire RX 570 Nitro+ 8G (this is where my only display is connected through DP)
  • Broadcom 94360CS2 WiFi / BT Card

Again, since my OC knowledge is close to zero, I'm not exactly sure about this but looking at the EFI folder and the OC config.plist you shared, it might be possible to do some reverse engineering by removing all unnecessary SDDT's and device properties using the DSDT. Feel free to give it a shot if you like.


Edit:

USB mapping done.

  • Removed USR1, USR2, HS12, HS13, HS14 (all unknown)
  • Removed SS03/SS04 (used for Mouse/Keyboard only, therefore USB 3 speeds are unnecessary)
  • Removed HS05/SS05, HS06/SS06 (see attached Mapout)
  • HS/SS10 = Internal Bluetooth USB Host Controller (could probably be partially removed but unsure about that)

Weird. My HS/SS 7 is same location as yours, but the 8 is right next to it, with the 5 + 6 shifted over to the right one port.
 
@rrviega

Thank you for sharing your OC folder with us!
As my OC knowledge is close to zero I'm sharing my DSDT and Clover config.plist with you, hope it's helpful.

With the DSDT, sleep in all variations and native NVRAM is working, all device properties are shown natively in the PCI Section of the System Profiler.
My /EFI/CLOVER/ACPI/patched folder is empty except the DSDT and USB mapping SSDT's.

Unit specs
  • SMBIOS 19,1
  • 10.14.6
  • As of writing this post: Clover r5105, LILU 1.4.2, WEG 1.3.7, AppleALC 1.4.7, VirtualSMC 1.1.1, OCQuirks Release 17
  • F13 BIOS (using ACPI Patch described here)
  • i7 8700 (running headless with IGPU UHD630 turned on in BIOS)
  • Sapphire RX 570 Nitro+ 8G (this is where my only display is connected through DP)
  • Broadcom 94360CS2 WiFi / BT Card

Again, since my OC knowledge is close to zero, I'm not exactly sure about this but looking at the EFI folder and the OC config.plist you shared, it might be possible to do some reverse engineering by removing all unnecessary SDDT's and device properties using the DSDT. Feel free to give it a shot if you like.

Edit:

USB mapping done.

  • Removed USR1, USR2, HS12, HS13, HS14 (all unknown)
  • Removed SS03/SS04 (used for Mouse/Keyboard only, therefore USB 3 speeds are unnecessary)
  • Removed HS05/SS05, HS06/SS06 (see attached Mapout)
  • HS/SS10 = Internal Bluetooth USB Host Controller (could probably be partially removed but unsure about that)

Also, how hard was it to update the BIOS? All you have to do is add the patch to the ACPI tab in clover before doing the upgrade, right? Anything else that needs to be done?

When I set up my hack in December of '18 my board had F4 on it. I flashed it to F5 and left it at that (because I didn't have a Series 9 CPU and wasn't planning on upgrading anytime soon). Is it worth upgrading to F13, are there any advantages?
 
Good news guys! I've managed to boot with F12 bios. It is easier than you think. Here is a simple step by step guide.

1. Make a boot USB flash drive with your current EFI folder.
2. Download bootx64.efi and copy it to EFI/Boot/.
This is some kind of alternative bootloader that starts with the command line. Here we will modify hidden BIOS settings.

3. Update BIOS to F12 (only F12!)
4. Reboot and hold F12 to boot from your USB Flash drive. Now you should see this command line.
5. Now enter
Code:
setup_var 0x5A4 0x0
Code:
setup_var 0x507 0x1

Reboot from your primary drive. You Hack should boot normally. But don't forget to set up your BIOS settings.

:!: Looks like we will need to do this every time after trigger «Reset to default settings» option in BIOS.

P.S. If you are interested in the details:

0x5A4 is CFG Lock option in BIOS
0x507 is System Time and Alarm Source option

This codes are not static and can be changed in future updates. You can use this guide to find this code for future versions of BIOS.

Thanks!!

I stayed 5 hours trying all to avoid the with the "apfs module start 1689" on my z370n + i58400t Y finally it worked!
I had done the CFG unlock with grub-shell, but I didn't know the other hidden setting System Time and Alarm Source !!

I confirm that bios 14a of Gigabyte z370n boots also, and the locations are still the same
- 0x5A4 is CFG Lock option in BIOS
- 0x507 is System Time and Alarm Source option
 
The later updates all appeared to be for hardware I did not own.
So I left my Z370N WIFI on BIOS F3. i5-5400.
Everything worked fine. Until I spilled water on it & killed it.
 
Last edited:
Usually when this occurs it is due to the lack or incorrect usb port mapping.

Sleep has worked better in OpenCore, in my case sleep is only interrupted by Power Nap when doing Time Machine backups. After the backup is complete, he returns to sleep.

I took me quite some time to be brave enough to try, I mapped the USB ports, the screen now stays dark during sleep, but the fans still spin up sometimes every minute, are there any solutions for that? Or it works in OpenCore? Thank you!
 
Last edited:
I took me quite some time to be brave enough to try, I mapped the USB ports, the screen now stays dark during sleep, but the fans still spin up sometimes every minute, are there any solutions for that? Or it works in OpenCore? Thank you!
Try changing usb settings in bios > legacy usb support > Enabled (Not auto). Should Fix. For me, the only problem is the VirtualSMC not working after the 1.1.2 version. I have disabled RGB fusion in bios too. Friday now (too busy this days) I will be posting my 0.5.9 opencore Efi here with opencanopy support and fully manual patches and one with a fully patched dsdt with audio settings (no alcid bootflags or device patch needed). I don't use a patched dsdt because I have dual boot on my machine.

Edit: Opencore: 1.1.4 virtualsmc.kext will work only if smcprocessor.kext and smcsuperio.kext is disabled in config.plist.
 
Last edited:
Thanks for your update!

Do you use regular OC or NDK Fork?
Having a dual boot on seperate drives as well but don’t like the regular OC approach.

Monitoring OC development closely but didn‘t make the transition yet.
Regular OC. I think that if things work in clover there’s no reason to change to opencore, at least for now.
 
Try changing usb settings in bios > legacy usb support > Enabled (Not auto). Should Fix. For me, the only problem is the VirtualSMC not working after the 1.1.2 version. I have disabled RGB fusion in bios too. Friday now (too busy this days) I will be posting my 0.5.9 opencore Efi here with opencanopy support and fully manual patches and one with a fully patched dsdt with audio settings (no alcid bootflags or device patch needed). I don't use a patched dsdt because I have dual boot on my machine.

Edit: Opencore: 1.1.4 virtualsmc.kext will work only if smcprocessor.kext and smcsuperio.kext is disabled in config.plist.

Can you share your hackintool UBS port setup and which hackintool did you use for it? Thanks!

I'm still using Clover, after following your settings with legacy usb support and RGB, the fans still keep spinning up every minute. I suspect is my USB kext. I used different versions of the Hackintool to generate a few USB kexts, but the USB list changes with different versions of the Hackintool, is very confusing. The latest versions keep killing my Bluetooth (Qualcomm Atheros QCA61x4A)
 
Can you share your hackintool UBS port setup and which hackintool did you use for it? Thanks!

I'm still using Clover, after following your settings with legacy usb support and RGB, the fans still keep spinning up every minute. I suspect is my USB kext. I used different versions of the Hackintool to generate a few USB kexts, but the USB list changes with different versions of the Hackintool, is very confusing. The latest versions keep killing my Bluetooth (Qualcomm Atheros QCA61x4A)
Random wakes or no sleep with screen off?

Ps: About the efi: I couldn't keep my promise because I worked my whole weekend.
 

Attachments

  • Captura de Tela 2020-06-09 às 13.52.32.png
    Captura de Tela 2020-06-09 às 13.52.32.png
    298.1 KB · Views: 86
Based on the configuration of b1, which I would like to thank, I would like to share the Opencore 0.5.6 version, tested on Mojave (10.14.6), updated from mac app store to Catalina (10.15.3).

i5 8400
nitro rx580
z370n
16 GB 2666mhz
Tested on BIOS F10-F13 z370n - iMac19,1 SMBIOS
Updated to 0.5.9 + Open Canopy GUI. Tested on Catalina 10.15.5 (19F101) with F13 BIOS and SMBIOS 19,1. IGPU + GPU.

Build:
i7 8086k + A budget Deepcool Gammax 400 cooler with the leds cut off using pliers.
XPG s11 Pro 512Gb (Formerly known as a rebranded SX8200 Pro) NVME for Mac OS, A400 Sata SSD drive for Windows.
16gb 2x8gb 2400 mhz HyperX memory @2933mhz 16-17-17-35 1.2v;
Sapphire Nitro RX580; Leds OFF.
Corsair 550w Gold PSU;
NZXT H200 case for optimal negative pressure.

Bios Settings:

M.I.T -> Advanced Memory Settings -> Extreme Memory Profile (X.M.P.) : Profile1
BIOS: CSM: disabled
Сhipset -> Internal Graphics = Enabled
Сhipset -> DVMT Pre-Allocated = 128MB
Сhipset -> DVMT Total Gfx Mem = 128MB
Peripherals -> Trusted Computing -> Security Device Support : Disabled
Peripherals -> Network Stack Configuration -> Network Stack : Disabled
Peripherals -> USB Configuration -> Legacy USB Support: Enabled
Peripherals -> USB Configuration -> XHCI Hand-OFF: Enabled
Peripherals ->RGB Fusion -> Disabled
Chipset -> Vt-d: Enabled
Chipset -> IOAPIC 240119 Entries: Enabled

Instructions:
1) Backup your EFI, making it bootable on a USB stick. Always.
2) !!!!!! Read the "READ ME!!!" on EFI FOLDER

-> move the folder to EFI partition.

What works:

Working fine with a replaced i7 8086k;
DRM on Pollaris RX580: Netflix on safari ok. Prime video only works on chrome and with shikigva=80 bootflags. Apple TV content just works.
Shutdown, restart;
Audio;
Sleep working well with "sudo pmset -a TCPKEEPALIVE 0" command on terminal (no random wakes, maybe this is your fix, slam2019);
Front Panel USB, USB's near the wifi-bt antennas disabled due to the limitation of the usb;
PowerNap;
Wifi, Bluetooth, Handoff and continuity with bcm94360cs2+adapter;
iMessage;
Quicksync;
FileVault 2;
Nvram ;
Ethernet 1 and 2;
Quicksync;
Sidecar;
Dual boot with Windows on another ssd.

What doesn't work: LEDS.

-> Known issue: VirtualSMC.kext not working with SMCProcessor.kext and SMCSuperIO.Kext after the 1.1.2 version. 1.12 - 1.1.4 VirtualSMC.kext will work only if SMCprocessor.kext and SMCsuperIO.kext are both disabled in config.plist.- Fixed VirtualSMC, added Nvmefix.Kext and disabled xhciportlimit on config.plist. Thanks!
 

Attachments

  • Captura de Tela 2020-06-11 às 03.00.58.png
    Captura de Tela 2020-06-11 às 03.00.58.png
    119.4 KB · Views: 106
  • Captura de Tela 2020-06-11 às 03.01.19.png
    Captura de Tela 2020-06-11 às 03.01.19.png
    193.7 KB · Views: 96
  • EFI.zip
    58.2 MB · Views: 179
Last edited:
Back
Top