Contribute
Register

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

Joined
Jul 30, 2018
Messages
191
Motherboard
GA-Z370N wifi
CPU
i7-8700K
Graphics
HD 630 - RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS

Attachments

  • Screen Shot 2021-05-03 at 2.24.48 PM.png
    Screen Shot 2021-05-03 at 2.24.48 PM.png
    653.9 KB · Views: 13
Joined
Oct 2, 2019
Messages
87
Motherboard
GA Z370N WiFi
CPU
8700K
Graphics
Vega 56
Mac
  1. MacBook Air
  2. Mac mini
Z370N WiFi USB ports map
1. HS01 - Front Rt port USB2
2. HS02 - Front Lt port
3. HS03 - Back Rt bottom (below ethernet port)
4. HS04 - Back Rt top
5. HS05 - Back Lt 2nd (from top)
6. HS06 - Back Lt 1st (top)
7. HS07 - Back Lt 4th (bottom)
8. HS08 - Back Lt 3rd
9. HS09 - USB-C
10. HS10 - Bluetooth USB Host Controller
11. HS11 - internal header #1 (needed for Front ports to work, I didn't experiment, maybe one not needed)
12. HS12 - internal header #2 (needed for Front ports to work)

13. USR1 - unsupported by Mac OS
14. USR2 - unsupported by Mac OS

15. SS01 - Front Rt port USB3
16. SS02 - Front Lt port
17. SS03 - Back Rt bottom
18. SS04 - Back Rt top
19. SS05 - Back Lt 2nd (from top)
20. SS06 - Back Lt 1st (top)
21. SS07 - Back Lt 4th (bottom)
22. SS08 - Back Lt 3rd
23. SS09 - USB-C
24. SS10 - Bluetooth USB Host Controller
Z370N WiFi.png

Hackintool sometimes doesn't list the full list, and ports detection can be in the wrong position, if you are using Hackintool, just ignore the wrong listing, and list the ports that you actually want to generate the kext. USBMap is more reliable in ports detection.

Points to note:
- Bluetooth, I think need both HS10 & SS10 to be included, I haven't experimented, but included both
- Front USB to work: need to include both HS11 & HS12 (internal header), I haven't experimented, maybe only need one

It really only takes 2 minutes to do the kext, using this map.
 
Last edited:
Joined
Jul 30, 2018
Messages
191
Motherboard
GA-Z370N wifi
CPU
i7-8700K
Graphics
HD 630 - RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
i used your efi folder
I have problems with the usb ports
when I connect a usb mouse to the front left port I get a black screen and I have to restart the computer
There was a mistake, use the attached one and inform me if it is working
mapped ports USB3 1-2,5-8, 10 (Bluetooth) 11 (USB2)
 

Attachments

  • USBPorts.kext.zip
    2.1 KB · Views: 12
Last edited:
Joined
Sep 28, 2018
Messages
44
Motherboard
z370n
CPU
i7-8700k
Graphics
VEGA RX 56
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
  5. Mac mini
Classic Mac
  1. iBook
  2. iMac
  3. PowerBook
Mobile Phone
  1. Android
  2. iOS
Thank you very much for your help
I have tried the latest usbports file
ports HS06, 07.08.05 and ss03.04 work
the front ports do not work but I do not get a black screen when connecting something via usb.
the ss09 port I have not had time to test, but I do not use it.
 
Joined
Mar 13, 2010
Messages
335
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hack Mini iGPU only EFI (see signature).

Tested with 10.15.7 Crapalina and 11.3.1 Big Smurf.
OC not tested yet.

  • DSDT (patched by MaLd0n)

-FIX ERRORS AND WARNINGS
-FIX ACPI ERRORS
-REMOVE UNUSED SCOPES / DEVICES
-HIGH PRECISION EVENT TIMER
-SATA SERIE ID
-DMAC
-REMOVE LINES, PROBLEMATIC and UNUSED
-FIX K.P in REBOOT
-NVRAM
-REAL TIME CLOCK
-SLPB
-DARWIN / WINDOWS
-XHCI
-PLUGIN TYPE
-HDEF
-ARTC
-IPIC
-TIMR
-SBUS
-BUS1
-MCHC
-ALS0
-SHUTDOWN
-UAR1
-LAN
-FWHD
-USBX
-PMCR
-PPMC
-XSPI
-GMM
-kUSBCompanionIndex
-io-device-location
-IMEI
-EC
-PNLF
-ARPT
-GFX0
-NVME
-ACPI-WAKE-GPE
-DTGP
-ACQUIRE MUT0 0XFFFF
-MUTEX MUT0 0x00
-EXTERNAL REFERENCES
-UNKNOWNOBJ
-HDMI / HDAU
-FULL RENAMED DEVICES

  • Mapped USB Ports

Enabled: 15 ports consisting of all backside ports including USB-C and internal BRCM20702 Hub for WiFi/BT functionality

Disabled: all internal and frontside ports


Need different ports mapped?

See here, RTFM, DIY and don’t clutter this thread with things that already have been discussed.


  • Native NVRAM
  • F13 BIOS
  • Clover r5134
  • Quirks in config.plist, OpenRuntime.efi in CLOVER/drivers/UEFI folder
  • iMac 18,1 SysDef
  • Big Smurf Clover theme included in CLOVER/themes (currently set to "Catalina", change to "BigSur" in GUI section if desired)
  • DSDT should work with dGPU, try yourself. If using AMD Navi dGPU, remember to add "agdpmod=pikera" in boot-args or you get a black screen. And use iMac 19,1 or iMacPro 1,1 SysDef depending on whether you want to use your IGPU in headless mode.


Working: everything

Not working: -


Installation notes:

Due to significant changes in Clover it might be a good idea to install r5126 in EFI partition at first and paste in the EFI folder below afterwards (and before rebooting of course).

Stop using Clover Configurator as it's known to be buggy – use a proper editor instead (i.e PlistEditPro)
Paste in MLB, Serial Number, Board Serial Number, SmUUID.
Remove/adjust memory settings in config.plist (SMBIOS section) according to your own needs.



Side note:

„But why do you call it „Big Smurf“, rramon?“
„Because its design is intended for smurf usage – both technically and UI-wise – that’s why.“
 

Attachments

  • Hack Mini_EFI_rramon.zip
    29.4 MB · Views: 13
Last edited:
Joined
Mar 13, 2010
Messages
335
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hack Pro dGPU+iGPU EFI (see signature).

Tested with 10.15.7 Crapalina.
Tested with 11.3.1 Big Smurf.


  • DSDT (patched by MaLd0n)
-FIX ERRORS AND WARNINGS
-FIX ACPI ERRORS
-REMOVE UNUSED SCOPES / DEVICES
-HIGH PRECISION EVENT TIMER
-SATA SERIE ID
-DMAC
-REMOVE LINES, PROBLEMATIC and UNUSED
-FIX K.P in REBOOT
-NVRAM
-REAL TIME CLOCK
-SLPB
-DARWIN / WINDOWS
-XHCI
-PLUGIN TYPE
-HDEF
-ARTC
-IPIC
-TIMR
-SBUS
-BUS1
-MCHC
-ALS0
-SHUTDOWN
-UAR1
-LAN
-FWHD
-USBX
-PMCR
-PPMC
-XSPI
-GMM
-kUSBCompanionIndex
-io-device-location
-IMEI
-EC
-PNLF
-ARPT
-GFX0
-NVME
-ACPI-WAKE-GPE
-DTGP
-ACQUIRE MUT0 0XFFFF
-MUTEX MUT0 0x00
-EXTERNAL REFERENCES
-UNKNOWNOBJ
-HDMI / HDAU
-FULL RENAMED DEVICE
  • Mapped USB Ports

Enabled: 15 ports consisting of some backside ports including USB-C, internal BRCM20702 Hub for WiFi/BT functionality and internal USB 3 ports following this mapping layout if I recall correctly.

Disabled: some internal and backside ports


Need different ports mapped?

See here, RTFM, DIY and don’t clutter this thread with things that already have been discussed.



  • Native NVRAM
  • F13 BIOS
  • Clover r5134
  • Quirks in config.plist, OpenRuntime.efi in CLOVER/drivers/UEFI folder
  • iMac 19,1 SysDef with iGPU enabled in BIOS while running in headless mode
  • Fully functional dGPU RX 570. If using AMD Navi dGPU, remember to add "agdpmod=pikera" in boot-args or you get a black screen. And use iMac 19,1 or iMacPro 1,1 SysDef depending on whether you want to use your iGPU in headless mode.
  • Big Smurf Clover theme included in CLOVER/themes (currently set to "Catalina", change to "BigSur" in GUI section if desired)
  • shikigva=80 for DRM playback


Working: everything

Not working: as HS11 is disabled -> front right USB port.
Solution: downgrade one of the backside USB3 ports to USB2 and activate HS11 to get front right USB port working.


Installation notes:

Due to significant changes in Clover it might be a good idea to install r5128 in EFI partition at first and paste in the EFI folder below afterwards (and before rebooting of course).

Stop using Clover Configurator as it's known to be buggy – use a proper editor instead (i.e PlistEditPro)
Paste in MLB, Serial Number, Board Serial Number, SmUUID.
Remove/adjust memory settings in config.plist (SMBIOS section) according to your own needs.
Take a look here to create your own custom entries.

Side note:

„But why do you call it „Big Smurf“, rramon?“
„Because its design is intended for smurf usage – both technically and UI-wise – that’s why.“
 

Attachments

  • Hack Pro_EFI_rramon.zip
    22.6 MB · Views: 14

trs96

Moderator
Joined
Jul 31, 2012
Messages
19,912
Motherboard
GA-Z97X-UD3H-BK
CPU
i5-4690K
Graphics
HD4600 / RX 570
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
„But why do you call it „Big Smurf“, rramon?“
„Because its design is intended for smurf usage – both technically and UI-wise – that’s why.“
To quote Youtuber Peter Paul Chato commenting on the default wallpaper...
"It looks like a clown barfed on my LCD screen."

Screen Shot 26.jpg
 
Top