diff --git a/usrlock/main.py b/usrlock/main.py index 15adef1..70f7c91 100644 --- a/usrlock/main.py +++ b/usrlock/main.py @@ -72,6 +72,7 @@ def write_nvme(key: str): fb = fastboot.Fastboot() fb.connect() fb.write_nvme("USRKEY", m.digest()) + fb.write_nvme("WVLOCK", key.encode()) ui.success("Bootloader code updated") ui.info("Rebooting device...") fb.reboot()