From 55ad8701c3af19520a2fe961a333888c71bf3e53 Mon Sep 17 00:00:00 2001 From: Cuynu Date: Mon, 28 Jul 2025 14:16:17 +0700 Subject: [PATCH] feat: patch.sh: introduce [Remove protection shield] patch This patch does not remove app protection patch, it's just remove the MIC Shield protection, which appears on the left side of profile picture. Signed-off-by: Cuynu --- MBCPApp/patch.sh | 19 ++++++++++++++++++- README.md | 1 + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/MBCPApp/patch.sh b/MBCPApp/patch.sh index b6f13f0..8384538 100755 --- a/MBCPApp/patch.sh +++ b/MBCPApp/patch.sh @@ -66,7 +66,7 @@ patch_finish() { echo --------------------------- echo 'Patch list for MBCPApp :' PS3='Select patch options : ' -select opt in 'Autopatch strings' 'Change app logo' 'Force portrait screen' 'Remove invoke to mbshield' 'Remove bulit-in fonts' 'Modify app theme' 'Remove garbage permission and activities' 'Remove eMBee' 'Revert old eMBee logo' 'Remove animated QR background' 'Remove banners & MiniApp' 'Remove VPN detection' 'Remove VNPAY VMB20' 'Restore old registration resources' 'Bypass accessibility & malicious apps check' 'Hide VTAP root detection activity & dialog' 'Remove new root detection' 'Bypass new zimperium detection' 'Remove app from launcher' 'Set targetSdkVersion to 35' 'Add modified resources' 'Add anime resources' 'Exit' +select opt in 'Autopatch strings' 'Change app logo' 'Force portrait screen' 'Remove invoke to mbshield' 'Remove bulit-in fonts' 'Modify app theme' 'Remove garbage permission and activities' 'Remove eMBee' 'Revert old eMBee logo' 'Remove animated QR background' 'Remove banners & MiniApp' 'Remove VPN detection' 'Remove VNPAY VMB20' 'Restore old registration resources' 'Bypass accessibility & malicious apps check' 'Hide VTAP root detection activity & dialog' 'Remove new root detection' 'Bypass new zimperium detection' 'Remove app from launcher' 'Remove protection shield' 'Set targetSdkVersion to 35' 'Add modified resources' 'Add anime resources' 'Exit' do if [ "$opt" == 'Autopatch strings' ]; then if [ -d ~/mbbpatch/MBCPApp/mbapk/mbapk_unpacked/lib ] @@ -186,6 +186,23 @@ do echo "ERROR : [mbapk_unpacked] folder not found, please unpack APK first !" fi + elif [ "$opt" == 'Remove protection shield' ]; then + if [ -d ~/mbbpatch/MBCPApp/mbapk/mbapk_unpacked ] + then + echo "Apply patch [Remove protection shield]..." + sed_libapp 's|get_protective_cyber_risk|get_protective_cyber_none|g' + sed_libapp 's|Activate for Protection|Protection are disabled|g' + rm -f 'mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/khien_*.webp' + rm -f 'mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/shield_*.webp' + # Priority exclusive + rm -f 'mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/priority/khien_*.webp' + rm -f 'mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/shield_*.webp' + echo "NOTE : This doesn't remove the app protection shield, it just disable and remove the MB Protection Shield, which literally is the MIC Shield !" + echo "Applied [Remove protection shield] patch !" + else + echo "ERROR : [mbapk_unpacked] folder not found, please unpack APK first !" + fi + elif [ "$opt" == 'Remove app from launcher' ]; then if [ -d ~/mbbpatch/MBCPApp/mbapk/mbapk_unpacked ] diff --git a/README.md b/README.md index 5e7c26a..9b813ef 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ Lightweight "open source" tool for patching MB Bank Flutter (Android) app for ro | `Hide VTAP root detection activity & dialog` | Hide the old root detection screen and dialog showing "Device is rooted". | v6.4.0 ~ v6.4.59 | | `Remove new root detection` | Remove the new Zimperium (ZDefend) root detection from app. (Now requires workaround for v6.4.56+) | v6.4.15 ~ v6.4.58 | | `Bypass new zimperium detection` | Bypass the root check from Zimperium within app. | v6.4.56 ~ v6.4.59 | +| `Remove protection shield` | Remove the MIC protection shield on profile picture and login screen. (not app protection) | v6.4.0 ~ v6.4.59 | | `Remove app from launcher` | Remove the app icon from launcher, and start with `am start` or with MBZDefend-Fix Action/Termux. | v6.4.0 ~ v6.4.59 | | `Set targetSdkVersion to 35` | Set the `targetSdkVersion` to 35 (Android 15). | v6.4.10 ~ v6.4.59 | | `Add modified resources` | Adds the specific strings for MBCP on eKYC phase, and modify the DigiBank logo. | v6.4.0 ~ v6.4.59 |