Improve detecting device status

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

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