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 <cuynu@proton.me>
This commit is contained in:
Cuynu 2025-07-28 14:16:17 +07:00
commit 28392bbaa0
2 changed files with 19 additions and 1 deletions

View file

@ -67,7 +67,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 ]
@ -187,6 +187,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 ]

View file

@ -39,6 +39,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 |