Preserving old mbbpatch (no other contributor code), only by @cuynu to prove myself.
- Smali 74.7%
- Shell 25.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- non-MBShield builds are store "MbbankUtilitiesPlugin" on classes3, so it must be put to "smali_classes3" instead. |
||
| MBCPApp | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
MBCPApp Patcher for MB Bank
Lightweight "open source" tool for patching MB Bank Flutter (Android) app, mostly written with Bash script, mainly made by Cuynu and MBCPApp Author (anonymous).
- Licensed as MIT License : View license.
Introduction
- MBCP (MBBank CorePatch) are closed source before, and many people don't like it because worry about security & privacy issues.
- In order to support community and make MBCP open source, We spend days to rewritten whole
MBCPApppatches in Bash and open it so you can patch it yourself on (Bare metal, not WSL) Linux environment (where we used to patchMBCP)
Requirements
- Actual Linux environment (not on virtualized environment like WSL) and any compatible distro (Arch Linux based recommended)
- Little knowledge about
bashcommands gitinstalledjavaorjdk-openjdkinstalled
Usage
- Go to home directory, then clone repository first
cd ~
git clone https://gitlab.com/cuynu/mbbpatch.git
cd ~/mbbpatch/MBCPApp
-
Since MB Bank are now using split APK (*.apks) since
v5.3 (135)so you have to convert it to regular APK first -
Get MB Bank apks from eMBee APKs and copy it to
~/mbbpatch/MBCPApp/mbapk -
Run bash
mbcpapp.shscript
cd ~/mbbpatch/MBCPApp
./mbcpapp.sh
- Download necessary tools first with
Download toolsfunction (otherwise other function with unlikely to work!) - Convert apks to apk first using
Convert apks to apkfunction - Unpack apk with
Unpack apkfunction - Check if MBShield present on unpacked APK with
Check MBShieldfunction (if MBShield present then you have to extract assets from Android device withExtract assets [ROOT]) - After extracted assets (if MBShield present), use
Patch Appfunction and select the patches you want to apply to unpacked app - When done, use
Repack APKfunction to recompile apk (You must have Android device connected with debugging mode enabled!) - Output will be
MBCP_Flutter.zipon~/mbbpatch/MBCPApp/mbcpapp_apk/andmbsig.apkwill be copied to Android internal storage - Use MT Manager, put all files inside
MBCP_Flutter.ziptombsig.apkand untickAUTO SIGN - Install it to your device (requires MBCP Helper / CorePatch ) due to unsigned APK
- Profit :)
TODO
- fully implement
Bypass signature checkfunction
External projects
MBCPApp Patcherproject won't be possible without those external projects !!- apktool
- APKEditor
- MT Manager to handle APK signature scheme v2/v3