Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 0df48a3f authored by Rohit Sekhar's avatar Rohit Sekhar Committed by Nicolas Gelot
Browse files

FP4: Wipe stored SPL on each run

* We don't want to have any cached values from previous runs
parent 9bd86dc8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ echo "MURENA__SECURITY_PATCH=$MURENA__SECURITY_PATCH"

# For FP4 on stock ROM the key [ro.build.device] is [FP4] let's use this to check if we are on stock ROM
# On Murena OS the return is empty

echo "" > $SECURITY_PATCH
if "$ADB_PATH" shell getprop ro.build.device 2>&1 | grep "$device_model"
then
	if "$ADB_PATH" shell getprop ro.boot.vbmeta.device_state 2>&1 | grep "unlocked"