feat: zdefend-fix(customize.sh): check for built-in magisk systemless hosts and disable it
it conflict with this module and need to be disabled Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
f55c7a5674
commit
83787fa675
1 changed files with 8 additions and 0 deletions
|
|
@ -135,6 +135,14 @@ selinuxhandle() {
|
|||
rm -rf /data/local/tmp/lastappfail
|
||||
}
|
||||
|
||||
magiskhosts() {
|
||||
echo "Magisk systemless hosts detected!"
|
||||
echo "This module should be disabled to work with this module!"
|
||||
touch /data/adb/modules/hosts/disable && echo "Disabled systemless hosts module!"
|
||||
}
|
||||
|
||||
[[ -d /data/adb/modules/hosts ]] && magiskhosts
|
||||
|
||||
[[ -d /data/adb/modules/bindhosts ]] && bindhostfound
|
||||
|
||||
[[ -d /data/data/com.tsng.hidemyapplist ]] && tsnghma
|
||||
|
|
|
|||
Loading…
Reference in a new issue