Contribute
Register

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

Joined
Jul 12, 2016
Messages
22
Motherboard
GA-Z370N-WIFI
CPU
i5-8400
Graphics
UHD 630
Mobile Phone
iOS
Thank you themaxx32000, this is very helpful.
Hopefully Gigabyte will release the next BIOS updates with a dedicaded entry to choose the System Time and Alarm Source from. This would make things easier in the future...
Maybe its a good idea to write them a ticket about this. If we as a hackintosh scene mention this to Gigabyte they should consider implementing this...

Do you know if the address 0x507 is consistent on past and future the Bios versions?
 
Last edited:
Joined
Sep 21, 2013
Messages
4
Motherboard
Gigabyte Z370N WIFI
CPU
i5-8600T
Graphics
UHD 630
Mac
Mac mini
as there are hundreds of options of which Gigabyte chose to not display them in their latest BIOS versions – including cfg lock – I highly doubt this will change with upcoming releases. as for your second question:

the address is very likely to change so always extract IFRs and double check addresses before re-applying any settings via setup_var!
 
Joined
Jul 24, 2018
Messages
25
Motherboard
GA-Z370N
CPU
i5-8400
Graphics
RX 570
Mac
MacBook Air
Mobile Phone
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
10
Motherboard
Gigabyte Z370N WIFI
CPU
i5
Graphics
RX 570
found this yet to be tested but should work.
 
Joined
Aug 24, 2018
Messages
10
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
106
Motherboard
Gigabyte Z370N WiFi
CPU
i5-8400
Graphics
RX 580
Mac
MacBook Pro
Mobile Phone
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
396
Motherboard
GIGABYTE Z370N
CPU
i7-8700
Graphics
RX 560
Mac
MacBook
Mobile Phone
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
106
Motherboard
Gigabyte Z370N WiFi
CPU
i5-8400
Graphics
RX 580
Mac
MacBook Pro
Mobile Phone
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
396
Motherboard
GIGABYTE Z370N
CPU
i7-8700
Graphics
RX 560
Mac
MacBook
Mobile Phone
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
MacBook, MacBook Pro
Mobile Phone
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
 
Top