feat: add [Set targetSdkVersion to 35] patch

This commit is contained in:
Cuynu 2025-07-16 02:37:32 +07:00
commit 85165618f7
2 changed files with 11 additions and 1 deletions

View file

@ -16,7 +16,7 @@ fi
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' 'Remove app from launcher' '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' 'Remove app from launcher' '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 ]
@ -592,6 +592,15 @@ fi
echo "[anime_resources] not found !"
fi
elif [ "$opt" == 'Set targetSdkVersion to 35' ]; then
if [ -d ~/mbbpatch/MBCPApp/mbapk/mbapk_unpacked ]
then
echo "Applying patch..."
sed -i 's|targetSdkVersion: 34|targetSdkVersion: 35|g' ~/mbbpatch/MBCPApp/mbapk/mbapk_unpacked/apktool.yml
else
echo "ERROR : [mbapk_unpacked] folder not found, please unpack APK first !"
fi
elif [ "$opt" == 'Remove animated QR background' ]; then
if [ -d ~/mbbpatch/MBCPApp/patches/qr_white ]
then

View file

@ -48,6 +48,7 @@ Lightweight "open source" tool for patching MB Bank Flutter (Android) app for ro
| `Add modified resources` | Adds the specific strings for MBCP on eKYC phase, and modify the DigiBank logo. | v6.4.0 ~ v6.4.57 |
| `Add anime resources` | Adds anime-related resources to some components inside app. | v6.4.45 ~ v6.4.57 |
| `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.57 |
| `Set targetSdkVersion to 35` | Set the `targetSdkVersion` to 35 (Android 15). | v6.4.10 ~ v6.4.57 |
| `Bypass signature check` | Not implemented | v6.4.0 ~ v6.4.21 |
| `Bypass 1200 error` | Workaround for 1200 error that happening on original MB app with specific version, now discontinued. | v6.4.45 |
</details>