Contribute
Register

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

Joined
Feb 7, 2018
Messages
12
Motherboard
Gigabyte Z370N WIFI
CPU
Coffelake Intel® Core™ i7-8700K Processor
Graphics
integrated
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
I think you are doing something wrong as the EFI for OC 0.6.4 works perfectly with BIOS 13. In OC you don’t require the special bootx64.efi
Well... Yeah looks like it...

I did not create the folder EFI inside the EFI partition :crazy:...
problem was I was labeling the EFI partition as EFI so my system was mounting it as EFI on linux...

anyways after almost a day debugging I am finally booting the MacOS Install..

Update: after I start the install the progress bar goes to about 20% and the system keeps resetting itself...

Any hints, I am using the EFI from the former post #873, updated the MAC on the Config.plist file. I also installed it on a new USB stick, and still have the same problem...

I am using '001-86606 - 11.1 macOS Big Sur' and the bios settings from #777

I have tried this on '001-68446 - 10.15.7 macOS Catalina' as well but same thing, however the installer goes to like 45% or so before resetting itself...

My take is there is something fishy in the BIOS settings...
WOuld appreciate if someone with a successful X370N-WIFI+BigSur can reconfirm, what settings they are using after doing "load optimized defaults"

G
 
Last edited:
Joined
Jul 30, 2018
Messages
190
Motherboard
GA-Z370N wifi
CPU
i7-8700K
Graphics
HD 630 - RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Well... Yeah looks like it...

I did not create the folder EFI inside the EFI partition :crazy:...
problem was I was labeling the EFI partition as EFI so my system was mounting it as EFI on linux...

anyways after almost a day debugging I am finally booting the MacOS Install..

Update: after I start the install the progress bar goes to about 20% and the system keeps resetting itself...

Any hints, I am using the EFI from the former post #873, updated the MAC on the Config.plist file. I also installed it on a new USB stick, and still have the same problem...

I am using '001-86606 - 11.1 macOS Big Sur' and the bios settings from #777

I have tried this on '001-68446 - 10.15.7 macOS Catalina' as well but same thing, however the installer goes to like 45% or so before resetting itself...

My take is there is something fishy in the BIOS settings...
WOuld appreciate if someone with a successful X370N-WIFI+BigSur can reconfirm, what settings they are using after doing "load optimized defaults"

G
This is the best guide you can follow to solve your problems

Open Core Install Guide
 
Joined
Feb 7, 2018
Messages
12
Motherboard
Gigabyte Z370N WIFI
CPU
Coffelake Intel® Core™ i7-8700K Processor
Graphics
integrated
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
This is the best guide you can follow to solve your problems

Open Core Install Guide
hi

I finally got Bigsur to install... Yeah....
But there are still some problems...
It did not install the bootloader to the EFI !,
I have a botched grub-efi Linux/Elementary OS on the same disk on a different partition...
I have fixed this by erasing(reformating) the EFI partition on the main disk, and cloning the Opencore from the USB down to this partition... Now BigSur loads by default with no issue.. I still have the "debug mode" Opencore, which I need to switchback to the release mode..

I also want to see how I can have Opencore load the ElementaryOS from the 3rd partition.

Also the wifi wont work...

I had this card, which worked for Mojave and before....
06:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter (rev 03)
Subsystem: Lenovo BCM4352 802.11ac Wireless Network Adapter
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at f7c00000 (64-bit, non-prefetchable) [size=32K]
Memory at f7a00000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [48] Power Management version 3
Capabilities: [58] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [68] Vendor Specific Information: Len=44 <?>
Capabilities: [ac] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Device Serial Number 48-xx-yy-zz-aa-bb-cc-dd
Capabilities: [150] Power Budgeting <?>
Capabilities: [160] Virtual Channel
Kernel driver in use: wl
Kernel modules: bcma, wl

I believe this is a
"Broadcom BCM94352Z 802.11ac WIFI Card For Lenovo Y50-80 Y50-70 Touch 04X6020" which I purchased off ebay a couple of years ago.
 
Last edited:
Joined
Jul 30, 2018
Messages
190
Motherboard
GA-Z370N wifi
CPU
i7-8700K
Graphics
HD 630 - RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
hi

I finally got Bigsur to install... Yeah....
But there are still some problems...
It did not install the bootloader to the EFI !,
I have a botched grub-efi Linux/Elementary OS on the same disk on a different partition...


Also the wifi wont work...

I had this card, which worked for Mojave and before....
send your EFI folder I have the same card and its working
 
Joined
Feb 7, 2018
Messages
12
Motherboard
Gigabyte Z370N WIFI
CPU
Coffelake Intel® Core™ i7-8700K Processor
Graphics
integrated
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Well got the Wireless to work right, I did not have the AirportBrcmFix earlier, the key here is to disable the other driver in the plist using MaxKernel, as mentioned in the READMe for the Kext for Big Sur.

Next,
1. I want to make sure all the USB ports in the front and back work
2. If possible get all of the Display-Port, HDMI0 and HDMI1 work
3. Get my Linux partition to boot in openCore/UEFI

Do folks (@Rajkhand) have all of these working ?

G
 
Joined
Jul 30, 2018
Messages
190
Motherboard
GA-Z370N wifi
CPU
i7-8700K
Graphics
HD 630 - RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Well got the Wireless to work right, I did not have the AirportBrcmFix earlier, the key here is to disable the other driver in the plist using MaxKernel, as mentioned in the READMe for the Kext for Big Sur.

Next,
1. I want to make sure all the USB ports in the front and back work
2. If possible get all of the Display-Port, HDMI0 and HDMI1 work
3. Get my Linux partition to boot in openCore/UEFI

Do folks (@Rajkhand) have all of these working ?

G
Good that you solved it because the problem was that with AirportBrcmFixup ver. 2.1.1 as told in the guide you could put brcmfx-driver=2 in your boot argument and it will work with Lilu 1.4.9, but NOT with ver. 2.1.2 and Lilu 1.5.0!!! It will mess up your boot process and Wifi & BT will not work.
It took me 2 day of trying out different things and I never assumed that the boot argument is not working in the latest 1.5.0 version to cut the story short the correct way is to use the following code
Code:
<key>Add</key>
        <array>
            <dict>
                <key>BundlePath</key>
                <string>Lilu.kext</string>
                <key>Comment</key>
                <string></string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/Lilu</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>BundlePath</key>
                <string>AirportBrcmFixup.kext</string>
                <key>Comment</key>
                <string></string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/AirportBrcmFixup</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>AirportBrcmFixup.kext/Contents/PlugIns/AirPortBrcmNIC_Injector.kext</string>
                <key>Comment</key>
                <string></string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string></string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>
            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>AirportBrcmFixup.kext/Contents/PlugIns/AirPortBrcm4360_Injector.kext</string>
                <key>Comment</key>
                <string></string>
                <key>Enabled</key>
                <false/>
                <key>ExecutablePath</key>
                <string></string>
                <key>MaxKernel</key>
                <string>19.9.9</string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>

First entry should be lilu and then the rest and remove the boot arg. It solved all the problems and made it future proof.
Just search for creating USBports.kext using hackintool for USB
for HDMI to work use whatevergreen.kext and in your config.plist under DeviceProperties ->Add
PciRoot(0x0)/Pci(0x2,0x0) Class Dictionary under that
AAPL,ig-platform-id class Data value 0300913E
Your SystemProductName should be iMac19,1
For your 3rd point I have no solution but there has to be one if you search.
 
Joined
Feb 7, 2018
Messages
12
Motherboard
Gigabyte Z370N WIFI
CPU
Coffelake Intel® Core™ i7-8700K Processor
Graphics
integrated
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
hi,
I have the USBPorts.kext, with the current setup the 4 port-set on the back, the USB-Type-C (3.0) and 2 ports on the front seem to work fine.. The 2-port-set which are next to the ethernet port are not being recognized... any hints/config/links etc to get this working ???

I have verified that both the HDMI ports work individually, and together... I have not been able to test the DisplayPort terminal yet as I don't have my cable handy...

Bluetooth is also now working..
 
Last edited:
Joined
Jul 30, 2018
Messages
190
Motherboard
GA-Z370N wifi
CPU
i7-8700K
Graphics
HD 630 - RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
hi,
I have the USBPorts.kext, with the current setup the 4 port-set on the back, the USB-Type-C (3.0) and 2 ports on the front seem to work fine.. The 2-port-set which are next to the ethernet port are not being recognized... any hints/config/links etc to get this working ???

I have verified that both the HDMI ports work individually, and together... I have not been able to test the DisplayPort terminal yet as I don't have my cable handy...

Bluetooth is also now working..
You should have maximum of 15 ports defined. USB 3 ports count as 2 so you have already 6x2=12 ports defined. You should define hs10 defined as internal for BT to work so will make 13 ports you can define one more USB 3 port now to make it to 15 not 2. As per my memory the ports next to the Ethernet ports are port no 3&4 so define any one of them as USB 3 port.
 
Joined
Dec 28, 2011
Messages
15
Motherboard
Gigabyte Z370N WiFi
CPU
i9-9900K
Graphics
RX 580
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.

Bring this post back from the dead, anyone have the downloadable bootx64.efi command line file? My MB reset itself when I swapped cases and I need to downgrade to F12 and rerun the CFG Lock command so I can boot back into macOS.

Note, I dug through some of the posts after the post above, and found this link, I tested it and it doesn't seem to work, not sure if this is the exact one or a newer version.

EDIT: Never mind, found it in post #879
 
Last edited:
Joined
Mar 13, 2010
Messages
334
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.
Should work with 11.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 DEVICES

  • 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 r5128
  • 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: -


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).

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.4 MB · Views: 30
Top