vvb2060
2021-03-14 00:32:30 +08:00
committed by John Wu
parent 0783f3d5b6
commit 7a007b342a
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -528,9 +528,8 @@ check_data() {
if grep ' /data ' /proc/mounts | grep -vq 'tmpfs'; then
# Test if data is writable
touch /data/.rw && rm /data/.rw && DATA=true
# Test if DE storage is writable
# Test if data is decrypted
$DATA && [ -d /data/adb ] && touch /data/adb/.rw && rm /data/adb/.rw && DATA_DE=true
# Some recovery have broken FDE implementations, which cannot access existing folders
$DATA_DE && [ -d /data/adb/magisk ] || mkdir /data/adb/magisk || DATA_DE=false
fi
NVBASE=/data