Contribute
Register

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

Joined
Jul 24, 2018
Messages
30
Motherboard
GA-Z370N
CPU
i5-8400
Graphics
RX 570
Mobile Phone
  1. Android
in case someone is interested: using F11c, F11 and F12 is entirely possible using the following settings via the modified grub based efi shell (posting F10 CFG lock address as well).

WARNING don't use this if you don't know what you are doing!

How about a guide?
 
Joined
Aug 24, 2018
Messages
19
Motherboard
Gigabyte Z370N WIFI
CPU
i5
Graphics
RX 570
found this yet to be tested but should work.
 
Joined
Aug 24, 2018
Messages
19
Motherboard
Gigabyte Z370N WIFI
CPU
i5
Graphics
RX 570
in case someone is interested: using F11c, F11 and F12 is entirely possible using the following settings via the modified grub based efi shell (posting F10 CFG lock address as well).

WARNING don't use this if you don't know what you are doing!

check:

Code:
setup_var ADDRESS

set:

Code:
setup_var ADDRESS VALUE

example (F12 System Time and Alarm Source):

Code:
setup_var 0x507
returns 0x0
Code:
setup_var 0x507 0x1
sets Legacy RTC
Code:
setup_var 0x507
returns 0x1

# F10

CFG Lock
setup_var 0x585
Disabled => 0x0 (this is what you want)
Enabled => 0x1 (default)

# F11 / F12

System Time and Alarm Source
setup_var 0x507
ACPI Time and Alarm Device => 0x0 (default)
Legacy RTC => 0x1 (this is what you want)

CFG Lock
setup_var 0x5A4
Disabled => 0x0 (this is what you want)
Enabled => 0x1 (default)

worked with no problems f12 thanks for sharing.
 
Joined
Sep 7, 2018
Messages
146
Motherboard
Gigabyte Z370N WiFi
CPU
i5-8400
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
in case someone is interested: using F11c, F11 and F12 is entirely possible using the following settings via the modified grub based efi shell (posting F10 CFG lock address as well).

WARNING don't use this if you don't know what you are doing!

check:

Code:
setup_var ADDRESS

set:

Code:
setup_var ADDRESS VALUE

example (F12 System Time and Alarm Source):

Code:
setup_var 0x507
returns 0x0
Code:
setup_var 0x507 0x1
sets Legacy RTC
Code:
setup_var 0x507
returns 0x1

# F10

CFG Lock
setup_var 0x585
Disabled => 0x0 (this is what you want)
Enabled => 0x1 (default)

# F11 / F12

System Time and Alarm Source
setup_var 0x507
ACPI Time and Alarm Device => 0x0 (default)
Legacy RTC => 0x1 (this is what you want)

CFG Lock
setup_var 0x5A4
Disabled => 0x0 (this is what you want)
Enabled => 0x1 (default)

found this yet to be tested but should work.

Jeez this is some really sophisticated stuff, even for a pretty seasoned Hackintosh user. I am sticking with F10 for the time being.
 
Joined
Jul 1, 2018
Messages
390
Motherboard
GIGABYTE Z370N
CPU
i7-8700
Graphics
RX 560
Mac
  1. MacBook
Mobile Phone
  1. iOS
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.
 
Last edited:
Joined
Sep 7, 2018
Messages
146
Motherboard
Gigabyte Z370N WiFi
CPU
i5-8400
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
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 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 Flashdrive. Now you should see this command line.
5. Now enter
Code:
0x5A4 0x0
Code:
0x507 0x1

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

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.

@b166ar do you have to type any command before the hex codes, such as setup_var? Or you just need to type the codes?
 
Joined
Jul 1, 2018
Messages
390
Motherboard
GIGABYTE Z370N
CPU
i7-8700
Graphics
RX 560
Mac
  1. MacBook
Mobile Phone
  1. iOS
@b166ar do you have to type any command before the hex codes, such as setup_var? Or you just need to type the codes?
Oops, sorry. There is a command. I just edited my previous post.
 
Joined
Jun 4, 2016
Messages
135
Motherboard
Gigabyte Z370N-WiFi-F10-Clover
CPU
i5-8600
Graphics
HD 630
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. Android
Here is a simple step by step guide.

Great. Appreciate the simplification.

The boot64x.efi binary you link is the same as @themaxx32000 's which in turn is the same as the one jacyl4 links to in their blog (and is 6 years old). Wonder where it came from. Maybe from the clover dev people?

Screen Shot 2019-04-03 at 10.22.02.png
 
Joined
Jul 1, 2018
Messages
390
Motherboard
GIGABYTE Z370N
CPU
i7-8700
Graphics
RX 560
Mac
  1. MacBook
Mobile Phone
  1. iOS
Joined
Jun 4, 2016
Messages
135
Motherboard
Gigabyte Z370N-WiFi-F10-Clover
CPU
i5-8600
Graphics
HD 630
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. Android
@acidanthera, author of Lilu and WhateverGreen

Yes it's the same binary. Looks good. I'll try the upgrade.

Thanks for finding.

EDIT: have updated to F12. Only comment I have is you get an error message (GUID does not match expected GUID), but can see the new values. I do recommend to double check the variables have correctly been set in the Grub shell (command setup_var 0x507 without an argument will show the current setting, same for setup_var 0x5A4). I somehow didn't set them first time and had to anxiously repeat after a hanging reboot.

Thanks heaps to @b166ar & @themaxx32000.
 
Last edited:
Top