Contribute
Register

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

Joined
Mar 13, 2010
Messages
342
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:

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: 0
Last edited:
Joined
Mar 13, 2010
Messages
342
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:

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: 0
Last edited:
Joined
Sep 28, 2018
Messages
49
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: 3
Last edited:
Joined
Mar 13, 2010
Messages
342
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
49
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
342
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
49
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: 8
Last edited:
Joined
Mar 13, 2010
Messages
342
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
49
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
 
Top