Modifying the BIOS can be dangerous! Use these scripts at your own risk. I'm not responsible in any way for lost data, damage to software or hardware or anything else that might go wrong.
IMPORTANT: Thes scripts only work on the Xiaomi Mi Notebook air 13,3" 2018 Model (TM1703)
These Unlock scripts only run under Windows. Tested under latest Windows 10.
- Read this entire How To before you start and know what you are doing!
- Make a backup of your BIOS bin using
Backup.cmdand savemybackup.binto a cloud (Google Drive, Dropbox, Email to yourself etc.)
- Open Windows PowerShell as Administrator and run:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
- Close PowerShell
- Run
bios_unlock.cmdas Administrator (This unlocks your BIOS to change settings) NOTE The first time you might get a warning and a notification from Windows Defender (or other virus scanner) that the executable was blocked. Go in to the Defender settings and make sure that the exe is allowed. - Reboot
- Run
CFG_unlock.cmdas Administrator (This unlocks the CFG Lock) - Reboot
- (optional) Run
voltage_unlock.cmdas Administrator (This unlocks the CPU core voltage lock, possibility to undervolt the CPU using VoltageShift) - Reboot
- (optional) Run
speedshift_unlock.cmdas Administrator (This enables SpeedShift, normally already enabled) - Reboot
- If everything still works, then you can lock your BIOS again for security reasons. Run
bios_lock.cmdas Administrator - Reboot
Now that we have native CPU power management, we can remove the normally applied 'hacks' in Opencore.
Open /EFI/OC/config.plist, find the following code:
<key>AppleCpuPmCfgLock</key>
<true/>
<key>AppleXcpmCfgLock</key>
<true/>
Change to:
<key>AppleCpuPmCfgLock</key>
<false/>
<key>AppleXcpmCfgLock</key>
<false/>
- Thanks to FallenChromium and Cyb for writing the script and instruction.