From d479bfa178d95e09d359577148307a47e7d86f89 Mon Sep 17 00:00:00 2001 From: Cuynu Date: Tue, 5 May 2026 16:33:48 +0700 Subject: [PATCH] feat: zdefend-fix(customize.sh): check for older LSPosed and open link to install Vector other LSPosed can be used aswell, as long as it newer than 7199+ older LSPosed causes [Device is not compatible] dialog in app with VTAP 40202 error [Runtime Tampering] Signed-off-by: Cuynu --- module_new/zdefend-fix/customize.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/module_new/zdefend-fix/customize.sh b/module_new/zdefend-fix/customize.sh index 9a0c43d..2495921 100644 --- a/module_new/zdefend-fix/customize.sh +++ b/module_new/zdefend-fix/customize.sh @@ -65,6 +65,20 @@ tsnghma() { pm hide com.tsng.hidemyapplist >/dev/null 2>&1 } +oldlsposed() { + echo "--------INCOMPATIBLE LSPOSED DETECTED--------" + echo "You are using older version of LSPosed!" + echo "From MB v6.4.80+, you need to use LSPosed with 7199+" + echo "Please install newer LSPosed to continue." + echo "We recommend to use Vector, which is formly named as LSPosed." + echo "You can choose other LSPosed, as long as it newer than 7199+" + echo "---------------------------------------------" + am start -a android.intent.action.VIEW -d https://github.com/JingMatrix/Vector/releases >/dev/null 2>&1 + echo "Also remove old LSPosed module if you install Vector!" + echo "After installed, reboot your device, clear MBCP app data, then install this module again." + exit 1 +} + vtapfail() { echo "VTAP is not provisioned!" echo "App first normal launch required!" @@ -125,6 +139,8 @@ selinuxhandle() { [[ -d /data/data/io.github.x0eg0.magisk ]] && nonfosskitsune +[[ $(cat /data/adb/modules/zygisk_lsposed/module.prop | grep versionCode=7024) ]] && oldlsposed + # Check if MB is installed or nope # Remove this one can cause the module does not work properly! if [ -d /data/data/com.mbmobile ]; then