Fixing CFG Lock
Last editied: January 13, 2020
Disabling CFG Lock
So you've installed macOS but you're using those pesky
CFG-Lock patches that we want to get rid of, well to do this is fairly simple. You'll need the following:
Inside your EFI/OC/Tools folder and config.plist:
And some apps to help us out:
And don't forget to disable the following from your config.plist:
And the final part, grabbing your BIOS from the vendors' website.
Now the fun part!
Checking if CFG-Lock can be turned off
Boot OpenCore and select the
VerifyMsrE2 option in the picker. This tool will tell you whether your BIOS supports CFG-Lock and if it can be unlocked.
Turning off CFG-Lock manually
- Open your firmware with UEFITool and then find
CFG Lockas a Unicode string. If nothing pops up then your firmware doesn't support
CFG Lock, otherwise continue on.
You'll find that this string is found within a Setup folder, right-click and export as
Open your setup file with
ifrextractand export as a .txt file with terminal:
path/to/ifrextract path/to/Setup.bin path/to/Setup.txt
Open the text file and search for
CFG Lock, VarStoreInfo (VarOffset/VarName):and note the offset right after it(ie:
Run the Modified GRUB Shell and paste the following where
0x5A4is replaced with your value:
setup_var 0x5A4 0x00
Do note that variable offsets are unique not just to each motherboard but even to its firmware version. Never try to use an offset without checking.
And you're done! Now you'll have correct CPU power management
Note: Every time you reset your BIOS you will need to flip this bit again, make sure to write it down with the BIOS version so you know which.