diff --git a/MBCPApp/mbcpapp.sh b/MBCPApp/mbcpapp.sh index daa85c0..2fe9482 100755 --- a/MBCPApp/mbcpapp.sh +++ b/MBCPApp/mbcpapp.sh @@ -77,7 +77,7 @@ echo "Made possible by Cuynu with love <3" echo ------------------------------------------------------------- # Main functions PS3='Please select options to continue : ' -select opt in 'Pull latest commit' 'Unpack APK' 'Convert apks to apk' 'Repack APK' 'Copy patched app again' 'MBShield Check' 'Patch App' 'Extract assets [ROOT]' 'Launch MBCPApp/MBBank' 'Force close MBCPApp/MBBank' 'Clear MBCPApp/MBBank app data' 'Clean patched app' 'Download tools' 'Exit' +select opt in 'Pull latest commit' 'Unpack APK' 'Convert apks to apk' 'Repack APK' 'Install patched app' 'MBShield Check' 'Patch App' 'Extract assets [ROOT]' 'Launch MBCPApp/MBBank' 'Force close MBCPApp/MBBank' 'Clear MBCPApp/MBBank app data' 'Clean patched app' 'Download tools' 'Exit' do if [ "$opt" == 'Download tools' ]; then echo "Downloading apktool_2.11.1.jar..." @@ -301,15 +301,20 @@ done rm -rf mbapk/mbapk_unpacked echo "Cleared !" - elif [ "$opt" == 'Copy patched app again' ]; then - if [ -f ~/mbbpatch/MBCPApp/mbcpapp_apk/MBCP_Flutter.zip ] + elif [ "$opt" == 'Install patched app' ]; then + if [ -f ~/mbbpatch/MBCPApp/mbcpapp_apk/MBCP_Flutter_SelfPatched.apk ] then - adb push mbcpapp_apk/MBCP_Flutter.zip /sdcard - adb push mbsig/mbsig.apk /sdcard + echo "MBCP Helper / CorePatch must be installed with disable digest verify on !!!" + echo "You must have connected Android device with USB debugging turned on in order to install !!!" + adb kill-server + adb start-server + adb install 'mbcpapp_apk/MBCP_Flutter_SelfPatched.apk' + adb shell am start -n com.mbmobile/io.flutter.plugins.MainActivity else echo "Repacked app not found! Did you repacked apk?" fi + elif [ "$opt" == 'Exit' ]; then exit break diff --git a/README.md b/README.md index cc6eae5..1d32c46 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Lightweight "open source" tool for patching MB Bank Flutter (Android) app for ro - Licensed as MIT License : [View license.](https://gitlab.com/cuynu/mbbpatch/-/blob/mbflutter/LICENSE) ## Introduction +- This project was made to remove or limit annoying features & root detection & accessibility detection that implemented by the development team of "MB Bank" Android app with additional feature such as custom themes. It's not PoC project. - [MBCP (MBBank CorePatch)](https://t.me/mbbpatch) are closed source before, and many people don't like it cuz worry about security & privacy issues. - In order to support community and make MBCP open source, We spend days to rewritten whole `MBCPApp` patches in Bash and open it so you can patch it yourself on (Bare metal, not WSL) Linux environment (where we used to patch `MBCP`)