From 4427db873cc0ddc65b1e1423adbf8cb73d616d9a Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 12 Apr 2025 19:40:25 -0400 Subject: [PATCH] clarify web install text for unlock/lock success This doesn't wait until the user interacts with the prompt to approve unlocking or locking on modern Pixel devices. --- static/js/web-install.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/static/js/web-install.js b/static/js/web-install.js index 1ba6bb22..5668653f 100644 --- a/static/js/web-install.js +++ b/static/js/web-install.js @@ -217,7 +217,7 @@ async function unlockBootloader(setProgress) { } } - return "Bootloader unlocked."; + return "Bootloader unlocking triggered successfully."; } const supportedDevices = ["comet", "komodo", "caiman", "tokay", "akita", "husky", "shiba", "felix", "tangorpro", "lynx", "cheetah", "panther", "bluejay", "raven", "oriole", "barbet", "redfin", "bramble", "sunfish", "coral", "flame"]; @@ -366,10 +366,7 @@ async function lockBootloader(setProgress) { } } - // We can't explicitly validate the bootloader lock state because it reboots - // to recovery after locking. Assume that the device would've replied with - // FAIL if if it wasn't locked. - return "Bootloader locked."; + return "Bootloader locking triggered successfully."; } function addButtonHook(id, callback) {