Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFG Lock #2

Closed
pmdevita opened this issue Jun 2, 2020 · 2 comments
Closed

CFG Lock #2

pmdevita opened this issue Jun 2, 2020 · 2 comments

Comments

@pmdevita
Copy link
Owner

pmdevita commented Jun 2, 2020

Taking some notes about the CFG Lock here

Removing the CFG Lock enables better compatibility with Mac and better CPU and power management. If you are undervolting the laptop (and you probably should), the process is nearly identical. This is done by booting a modified version of the Grub EFI shell and changing the variables controlling the locks.

Sources:

Tools:

To boot the modified Grub shell, you can mount your EFI, create a folder in the EFI folder called GrubMod, and then place the grub mod EFI file there. Then, boot to your BIOS, add the file to your boot list, and then boot to it.

Here is the variable for the CFG Lock in a few versions of the BIOS.

  • 1.6.0 - 0x6ED
  • 1.9.1 - 0x6ED

Here is the variable for the overclocking (and underclocking) lock in a versions of the BIOS.

  • 1.6.0 - 0x789
  • 1.9.1 - 0x789

After booting, you run the command setup_var_3 <variable> 0x00 where <variable> is the hexadecimal number corresponding to your BIOS version and the lock you are removing. So, for example, if I am on BIOS 1.9.1, I would run two commands setup_var_3 0x6ED 0x00 and setup_var_3 0x789 0x00 to disable my CFG and overclocking locks respectively.

It is incredibly important that one uses the correct variable for their BIOS version as editing the wrong variable could result in bricking the computer. You may want to follow the instructions in the sources and double check that I found the right variables for the BIOS version you are running.

@pmdevita
Copy link
Owner Author

pmdevita commented Jun 2, 2020

Idle drain has not improved, I'm still losing 1%/5min or so. The CFG lock is definitely off now, I'm not sure if I was supposed to see an improvement in battery life or how much.

@pmdevita
Copy link
Owner Author

Moving to Wiki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant