Skip to content

Commit ef0e22c

Browse files
committed
Slightly update scripts
1 parent 62db65b commit ef0e22c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/src/main/res/raw/nonroot_utils.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
mount_partitions() {
2-
[ "`getprop ro.build.ab_update`" = "true" ] && SLOT=`getprop ro.boot.slot_suffix` || SLOT=
2+
[ "`getprop ro.build.ab_update`" = "true" ] && SLOT=`getprop ro.boot.slot_suffix`
33
[ "`getprop ro.build.system_root_image`" = "true" ] && SYSTEM_ROOT=true || SYSTEM_ROOT=false
44
}
55

66
get_flags() {
77
$SYSTEM_ROOT && KEEPVERITY=true || KEEPVERITY=false
88
[ "`getprop ro.crypto.state`" = "encrypted" ] && KEEPFORCEENCRYPT=true || KEEPFORCEENCRYPT=false
9+
RECOVERYMODE=false
910
}
11+
12+
run_migrations() { return; }

0 commit comments

Comments
 (0)