summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorosm0sis <osm0sis@outlook.com>2020-01-15 11:04:36 -0400
committerosm0sis <osm0sis@outlook.com>2020-01-15 11:04:36 -0400
commit3f60a5e1e2eb4d695911f89d903b6f6319ffceb5 (patch)
treec9f97a5bea32a3382f40b7fdc6ef99b9650762b3 /tools
parentd3d853ac825561c74a0a0e58b63b5b6c90420e90 (diff)
AK3: fix false positive Magisk detection after reset_ak
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ak3-core.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ak3-core.sh b/tools/ak3-core.sh
index 8a7ffe7..a986ec8 100755
--- a/tools/ak3-core.sh
+++ b/tools/ak3-core.sh
@@ -650,6 +650,7 @@ reset_ak() {
else
rm -rf $patch $home/rdtmp;
fi;
+ unset magisk_patched KEEPFORCEENCRYPT KEEPVERITY SHA1 TWOSTAGEINIT;
setup_ak;
}