Contribute
Register

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

Joined
Mar 13, 2010
Messages
343
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 11.6 Big Smurf, ready for 12.x Monterey Jack.
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 on 11.2.3 (copycat hasslefree)

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
  • Monterey Jack-ready: HWTarget set to j160, ExtendedFirmwareFeatures for iMac 18,1 implemented, RestrictEvents.kext in CLOVER/kexts/Other folder, needed bootarg -revsbvmm set
  • Latest SMBIOS
  • F13 BIOS
  • Clover r5141
  • Quirks in config.plist, OpenRuntime.efi in CLOVER/drivers/UEFI folder
  • iMac 18,1 SysDef
  • Big Smurf Clover theme included in CLOVER/themes
  • 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:

If you want to keep receiving further Big Sur patches (like 11.6.1 at this point of time or future security updates) remove all config.plist entries and kexts mentioned in the bullet point „Monterey Jack-ready“ as these are only needed for updating to MacOS Monterey and/or receiving updates while on this OS.

Create your own custom boot entry for Big Sur Preboot partition following these steps.

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
    30.9 MB · Views: 9
Last edited:
Joined
Mar 13, 2010
Messages
343
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 11.6 Big Smurf, ready for 12.x Monterey Jack.
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 DEVICE
  • Mapped USB Ports on 11.2.3 (copycat hasslefree)

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
  • Monterey Jack-ready: HWTarget set to j160, ExtendedFirmwareFeatures for iMac 19,1 implemented, RestrictEvents.kext in CLOVER/kexts/Other folder, needed bootarg -revsbvmm set
  • Latest SMBIOS
  • F13 BIOS
  • Clover r5141
  • 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
  • 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:

If you want to keep receiving further Big Sur patches (like 11.6.1 at this point of time or future security updates) remove all config.plist entries and kexts mentioned in the bullet point „Monterey Jack-ready“ as these are only needed for updating to MacOS Monterey and/or receiving updates while on this OS.

Create your own custom boot entry for Big Sur Preboot partition following these steps.

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 an CustomUUID.

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 Pro_EFI_rramon.zip
    36.7 MB · Views: 5
Last edited:
Joined
Sep 28, 2018
Messages
54
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
opencore 0.7.4
z370n
Broadcom bcm94352z (DW1560)
MSI Radeon RX vega 56 Air Boost

  • DSDT (patched by MaLd0n) by rramon
  • Mapped USB Ports by Rajkhand
Thanks for sharing

Paste in MLB, Serial Number, Board Serial Number, SmUUID an CustomUUID.
 

Attachments

  • EFI.zip
    12.8 MB · Views: 12
Last edited:
Joined
Mar 13, 2010
Messages
343
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
@petro and anyone else who’s using OC with an iMac 18,1 and/or iMac 19,1 system definition and working SecureBootModel.

Could you please do us a favour and tell us the return value you get for the following terminal command (could be J137AP, for instance).

sysctl hw.target

TIA, lads.
 
Last edited:
Joined
Sep 28, 2018
Messages
54
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
You have to explain it to me easier, I'm very clumsy
 
Last edited:
Joined
Mar 13, 2010
Messages
343
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
@petro

The fact that you get a "no matches found" return value is rooted in SecureBootModel set to "Disabled", check your config.plist.

What happens if you set it to "Default" (without the "")?

For more in-depth coverage check this very useful post here.
 
Joined
Sep 28, 2018
Messages
54
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
it works perfectly

Captura de pantalla 2021-10-17 a las 14.32.53.png
Captura de pantalla 2021-10-17 a las 14.38.47.png
Captura de pantalla 2021-10-17 a las 14.47.26.png
Captura de pantalla 2021-10-17 a las 14.52.28.png

Captura de pantalla 2021-10-17 a las 14.52.00.png


default = X86LEGACYAP
 

Attachments

  • Captura de pantalla 2021-10-17 a las 14.39.30.png
    Captura de pantalla 2021-10-17 a las 14.39.30.png
    49.8 KB · Views: 12
Last edited:
Joined
Mar 13, 2010
Messages
343
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
@petro

You’re using iMac 19,1 system definition according to your screenshot when you get return value J137AP, correct?

Usually iMac Pro 1,1 returns J137AP that‘s why I‘m asking.

Take a look at system information -> general in case you‘re unsure.

TIA
 
Last edited:
Joined
Sep 28, 2018
Messages
54
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
hi rramon
if I put in "securebootmodel" imac pro 1,1 returns J137AP
if I put in "securebootmodel" default returns X86LEGACYAP

I am using iMac19.1
 
Joined
Dec 19, 2018
Messages
20
Motherboard
Gigabyte Z370N WiFi
CPU
i7 8700
Graphics
Gigabyte RX 5700 XT Gaming OC 8G
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Hello, everyone! Hope you are having a good time.

First of all I wanted to thank @rramon for keeping this thread alive and constantly posting/refining his EFI.

I've been able to update my Catalina 10.15.7 with the last EFI from @b166ar that he made while being active(I did some minor changes, but overall it was mostly his EFI) , to Big Sur 11.6 with the latest (please, keep them coming) EFI from @rramon. Before I was using iMac 18,3 now finally switched to 19,1.

And...It went surprisingly smooth, worked well almost everything from the very first try. Actually, I didn't really updated, I did a clean install on an external Samsung t5 ssd, then copied all the user files, and now system works pretty snappy.

I used this to generate new serial number, and added "agdpmod=pikera" since now I'm using not rx580, but 5700xt. And that's basically it.

I am a filmmaker, so using this mostly for editing in FCP, Adobe After Effects and other content creation related software. Hence, I only update once a year, but still trying to follow this thread to check what it going on, consider myself as a pretty advanced user, yet for many things guess need a bit deeper understanding, and now I have a few questions, that i haven't been able to find a solution.

1. I am still with BIOS F10 version, is there a really big need to update to F13? I have read the update notes, it is mostly like a security update, and will be also beneficial if I'm going to switch my CPU for 9th gen. But i think since it works, just leave it this way.

2. USB ports mapping, yeah, I know RTFM, I actually only need the backside ones, so I thought just to download @rramon's EFI for Hack Mini and take its "USBPorts.kext" then replace the same one in clover folder of Hack Pro's EFI, but after replacing - none of usb port works, which is weird, but I guess there's no need to do it from scratch since we have the same Motherboard and all need is this:
Enabled: 15 ports consisting of all backside ports including USB-C and internal BRCM20702 Hub for WiFi/BT functionality
Am I missing something?

3.My iMessage works and all other apple services also(I don't watch any DRM content though), but my CustomUUID is empty, I tried to search what it for , but haven't found anything. Does it matter or just leave it like this?

4.First I was booting from a thumb drive with Big Sur install, to an external SSD, once I realized that system is stable I have cloned(via Carbon Copy Cloner) this fresh Big Sur install to an internal NVME drive, then I copied EFI folder from thumb drive into NVME's EFI partition... and BIOS doesn't see Clover on it. I can still boot from thumb drive, but that means I have to keep it connected - which is not ideal. Now I think what can I do to make internal NVME have bootable EFI again.

Once more thanks to @rramon, even in this condition it is perfectly working editing machine, if you'll be passing by Shanghai I owe you a beer!
 
Top