Improve detecting device status

This commit is contained in:
topjohnwu committed 2018-06-17 17:59:24 +08:00
1 parent 838f3cc01e
commit d93fc67a75
2 files changed
+24 -25

No files matched your search

+3
View File
@@ -48,6 +48,9 @@ ui_print "************************"
is_mounted /data || mount /data || is_mounted /cache || mount /cache || abort "! Unable to mount partitions"
mount_partitions
find_boot_image
find_dtbo_image
# read override variables
getvar KEEPVERITY
getvar KEEPFORCEENCRYPT