Disable Hardware Lock Kinetix 3d Max
# Fixing CFG Lock
This guide is only recommended for users who have already installed macOS, for users who are installing for the first time enable AppleCpuPmCfgLock
and AppleXcpmCfgLock
under Kernel -> Quirks
- Annotation that this guide is simply applicable for Intel users. AMD users don't have whatever type of CFG Lock
# What is CFG-Lock
CFG-Lock is a setting in your BIOS that allows for a specific register(in this case the MSR 0xE2) to be written to. Past default, most motherboards lock this variable with many fifty-fifty hiding the pick outright in the GUI. And why we care about it is that macOS actually wants to write to this variable, and not just one office of macOS. Instead both the Kernel (XNU) and AppleIntelPowerManagement want this register.
Then to ready it we have two options:
# i. Patch macOS to work with our hardware
- This creates instability and unnecessary patching for many
- The 2 patches nosotros use for this:
-
AppleCpuPmCfgLock
for AppleIntelPowerManagement.kext -
AppleXcpmCfgLock
for the Kernel(XNU)
-
# two. Patch our firmware to back up MSR E2 write
- Very much preferred, as avoids patching assuasive for greater flexibility regarding stability and OS upgrades
Note: Penyrn based machines actually don't demand to worry most unlocking this register
# Checking if your firmware supports CFG Lock unlocking
Before proceeding with the rest of this guide, you'll first demand to bank check if your firmware supports CFG Lock unlocking. To check it, you can go along into 2 means:
- Use the DEBUG version of OpenCore and cheque what the log says most CFG Lock
- Utilize a tool called
ControlMsrE2
which will speed up the whole checking process
# Checking via OpenCore logs
For users who adopt using DEBUG release, you'll desire to enable the DEBUG variant of OpenCore with Target
set to 67
and boot OpenCore. This should provide you with a file in the format of opencore-YYYY-MM-DD-hhmmss.txt
on the root of the drive.
Within this file, search for OCCPU: EIST CFG Lock
:
If information technology returns 1
, and so you proceed with this guide here: Disabling CFG Lock.
Otherwise(ie. 0
), no reason to go along and you lot tin only disable Kernel -> Quirks -> AppleCpuPmCfgLock
and Kernel -> Quirks -> AppleXcpmCfgLock
.
# Checking via ControlMsrE2
To start, download ControlMsrE2 (opens new window) and add this tool inside EFI/OC/Tools
and config.plist
(this can be done with ProperTree's snapshot role(ie. Cmd+R)). Adjacent, boot OpenCore and select the ControlMsrE2.efi
entry. This should provide you one of the following:
- CFG-Lock is enabled:
- CFG-Lock is disabled:
For the former, delight go on here: Disabling CFG Lock.
For the latter, you don't need to do any CFG-Lock patches and can just disable Kernel -> Quirks -> AppleCpuPmCfgLock
and Kernel -> Quirks -> AppleXcpmCfgLock
.
# Disabling CFG Lock
And so you've created the EFI folder but you can't still kicking without unlocking before CFG Lock. In order to practise this y'all'll demand the following:
Inside your EFI/OC/Tools
folder and config.plist
, add the following tool(this can be washed with ProperTree'south snapshot function(ie. Cmd+R)):
- Modified GRUB Shell (opens new window)
And some apps to help the states out:
- UEFITool (opens new window) (Brand sure information technology'south UEFITool and not UEFIExtract)
- Universal-IFR-Extractor (opens new window)
And the terminal function, grabbing your BIOS from the vendors' website.
Now the fun part!
# Turning off CFG-Lock manually
Please note that the simply firmwares that can be directly opened past UEFITool are ASUS, MSI and ASRock. Other firmwares need a special procedure which we'll not straight cover into this guide. For Dell firmwares, please refer to dreamwhite's guide (opens new window)
- Open your firmware with UEFITool and so discover
CFG Lock
as a Unicode cord. If nothing pops upwards and then your firmware doesn't supportCFG Lock
, otherwise continue on.
-
You lot'll discover that this cord is found within a Setup binder, right-click and consign equally
Setup.bin
(or evenSetup.sct
) -
Open your setup file with
ifrextract
and export every bit a .txt file with last: -
Open up the text file and search for
CFG Lock, VarStoreInfo (VarOffset/VarName):
and annotation the offset right after it (ie:0x43
) and the VarStore ID right afterward the get-go (ie:0x3
) -
Search for
VarStoreId: 0x3
where0x3
is replaced with the value of the VarStoreId you found and annotation theName
later it (ie:CpuSetup
)
-
Run the Modified GRUB Shell and write the following command where
CpuSetup
is replaced with the VarStore Proper noun you've previously extracted and0x43
is replaced with the starting time you've previously extracted:
At this bespeak, run either reboot
in the shell or simply reboot your car. And with that, you lot should have CFG Lock
unlocked! To verify, you tin run over the methods listed at Checking if your firmware supports CFG Lock unlocking to verify whether the variable was fix correctly then finally disable Kernel -> Quirks -> AppleCpuPmCfgLock
and Kernel -> Quirks -> AppleXcpmCfgLock
.
- Do annotation that variable offsets are unique not simply to each motherboard but even to its firmware version. Never attempt to use an first without checking.
And you're washed! At present you'll have right CPU ability direction
-
Note: Every time you reset your BIOS you will need to flip this bit again, make certain to write it down with the BIOS version so you know which.
-
Annotation 2: Some OEMs like Lenovo may take the variable ready but cannot unlock information technology without physically modding the BIOS, for these situations yous may need to use a tool similar RU (opens new window) : CFG LOCK/Unlocking - Alternative method (opens new window)
Last Updated: 3/9/2022, 6:57:15 AM
0 Response to "Disable Hardware Lock Kinetix 3d Max"
Post a Comment