From f6ad0c98b7f546ac85a8c21d359ce83aa9a7f8f1 Mon Sep 17 00:00:00 2001 From: Gustave Monce Date: Sun, 12 Jan 2020 15:46:40 +0100 Subject: [PATCH] Disable re-unlocking functionality for Spec B --- ViewModels/LumiaUnlockBootViewModel.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ViewModels/LumiaUnlockBootViewModel.cs b/ViewModels/LumiaUnlockBootViewModel.cs index 4a92792..7d6a045 100644 --- a/ViewModels/LumiaUnlockBootViewModel.cs +++ b/ViewModels/LumiaUnlockBootViewModel.cs @@ -210,7 +210,9 @@ namespace WPinternals GPT GPT = FlashModel.ReadGPT(); if ((GPT.GetPartition("IS_UNLOCKED") != null) || (GPT.GetPartition("BACKUP_EFIESP") != null)) { - AlreadyUnlocked = true; + ExitMessage("Phone is already unlocked", null); + return; + //AlreadyUnlocked = true; } }