From 11862bbaee53151f2aebd9dde3682b4af0696954 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 3 Jan 2017 09:37:03 +0800 Subject: [PATCH] Remove apps from whitelist, causes issues --- scripts/magic_mask.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/magic_mask.sh b/scripts/magic_mask.sh index 13bd2b188..797182b5e 100644 --- a/scripts/magic_mask.sh +++ b/scripts/magic_mask.sh @@ -2,7 +2,7 @@ LOGFILE=/cache/magisk.log IMG=/data/magisk.img -WHITELIST="/system/app /system/priv-app /system/bin" +WHITELIST="/system/bin" MOUNTPOINT=/magisk @@ -418,7 +418,7 @@ case $1 in done # Check if the dummy /system/bin is empty, it shouldn't - [ ! -e $DUMMDIR/system/bin/sh ] && clone_dummy /system/bin + [ -e $DUMMDIR/system/bin -a ! -e $DUMMDIR/system/bin/sh ] && clone_dummy /system/bin # Stage 3 log_print "* Stage 3: Mount module items"