From 8c65273bedea84a4bbd7b0035dde077ee34d6da3 Mon Sep 17 00:00:00 2001 From: Woomymy Date: Fri, 3 Nov 2023 19:17:03 +0100 Subject: [PATCH] usrlock: Set WVLOCK too Change-Id: I4db9d2558c3a6f88317d213cf8605e011fa11eb1 Signed-off-by: Woomymy --- usrlock/main.py | 1 + 1 file changed, 1 insertion(+) 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()