Created
January 5, 2021 02:41
-
-
Save FlyGoat/5f0dba5b5ccc1b6ab73023489e1e989a to your computer and use it in GitHub Desktop.
Lenovo Yoga14s BIOS unlock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import portio | |
portio.iopl(3) | |
portio.ioperm(0x72, 2, 1) | |
portio.outb_p(0xf7, 0x72) | |
portio.outb_p(0x77, 0x73) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment