Jump to content

[Guide] How to Undervolt 8th-11th gen Intel Laptops

thekingofmonks

Undervolting 8th-11th gen Intel Laptops

 

Intel has at one point disabled undervolting features in newer bioses for Coffee Lake (8-9th gen) and newer mobile CPUs due to a security flaw. Reverting to an older bios does not get the features back.
Here's how to do it:

 

[Disclaimer]

- Do this at your own risk, I am not responsible for any mistake you might make. Follow the steps carefully.

- This method is not permanent. The values that enable undervolting may be reset following a bios reset, a bios flash or random firmware updates.

 

 

Prequisites

All of the following are easy to find:

  • Universal bios backup toolkit
  • UefiTool
  • IRFExtractor
  • Notepad++ (for opening very large text files)
  • grubx64.efi (NOT bootx64.efi)


Identifying the overlocking lock vars:

  1. Obtain your device's bios from the official site. Otherwise, use 'Universal bios backup toolkit' to save the bios while making sure that the backup ROM size corresponds to that of your bios chip.
  2. Open the bios in uefitool. Search for 'overclocking lock'. Extract this var's root, which is called 'Setup' (for Coffee Lake) or 'CpuSetup' (for Comet/Tiger Lake) into a .ffs file.
  3. Convert the .ffs file into a .txt file with IRFExtractor.
  4. Open the .txt file with a text editor (preferably notepad++).
  5. Search for 'CFG Lock' and 'Overclocking Lock' and identify each var's value. Make sure that they are set to 0x1 (= locks are enabled by default)

Example with my Asus G531GT :

CFG Lock, VarStoreInfo (VarOffset/VarName): 0x6F0, VarStore: 0x1
Overclocking Lock, VarStoreInfo (VarOffset/VarName): 0x78C, VarStore: 0x1

(here for instance, the CFG Lock is 0x6F0 and the Overclocking Lock is 0x78C)


Creating a bootable Grub usb and modifying the lock vars:

  1. Use a FAT32 flash drive and create the following directory: [Drive letter:]/EFI/Boot
  2. Paste the 'grubx64.efi' into the directory and rename it to 'bootx64.efi' so it gets recognized at boot
  3. Restart your laptop and disable secure boot in the bios
  4. Boot into the flash drive from the boot menu
  5. Once Grub has loaded, type and enter the following commands without quotation marks:
  • "setup_var Setup <your CFG Lock var value here> 0x0"
  • "setup_var Setup <your Overclocking Lock var value here> 0x0"

(Replace 'Setup' with 'CpuSetup' if you have a Comet/Tiger Lake CPU)

 

The console should respond to each command with the following:
successfully opened Setup/CpuSetup
Offset <var value> is 0x0
Writing 0x00 to offset <var value>

 

All done 🙂
And don't forget to re-enable secure boot in the bios afterwards

Edited by thekingofmonks
Some clarifications

Asus ROG G531GT : i7-9750H - GTX 1650M +700mem - MSI RX6600 Armor 8G M.2 eGPU - Samsung 16+8GB PC4-2666 - Samsung 860 EVO 500G 2.5" - 1920x1080@145Hz (172Hz) IPS panel

Family PC : i5-4570 (-125mV) - cheap dual-pipe cooler - Gigabyte Z87M-HD3 Rev1.1 - Kingston HyperX Fury 4x4GB PC3-1600 - Corsair VX450W - an old Thermaltake ATX case

Test bench 1 G3260 - i5-4690K - 6-pipe cooler - Asus Z97-AR - Panram Blue Lightsaber 2x4GB PC3-2800 - Micron CT500P1SSD8 NVMe - Intel SSD320 40G SSD

iMac 21.5" (late 2011) : i5-2400S, HD 6750M 512MB - Samsung 4x4GB PC3-1333 - WT200 512G SSD (High Sierra) - 1920x1080@60 LCD

 

Test bench 2: G3260 - H81M-C - Kingston 2x4GB PC3-1600 - Winten WT200 512G

Acer Z5610 "Theatre" C2 Quad Q9550 - G45 Express - 2x2GB PC3-1333 (Samsung) - 1920x1080@60Hz Touch LCD - great internal speakers

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 year later...

It's still locked for me. I've tried changing values and it tells me "successful change 0x0" after a reboot, but the issue persists. I've also checked the throttlecpu options and they're still disabled, that wasn't the solution.

 

CPU: i5 1135g7 gen11, Huawei Matebook D15

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×