mbbpatch/README.md

89 lines
6.1 KiB
Markdown
Raw Normal View History

2025-05-01 16:45:32 +07:00
# MBCPApp Patcher for MB Bank
2025-06-20 08:21:12 +07:00
Lightweight "open source" tool for patching MB Bank Flutter (Android) app for rooted user, mostly written in Bash, made possible by [Cuynu](https://gitlab.com/cuynu) (as a loser) with love <3
2025-06-10 03:54:46 +07:00
2025-06-20 08:21:12 +07:00
<img src="https://gitlab.com/mbcp/mbbpatch/-/raw/mbflutter/MBCPApp/mbcpicons/summer2025/mipmap-hdpi/ic_launcher_round.png?ref_type=heads&inline=false" style="width: 72px;" alt="2025_logo">
2025-06-10 03:54:46 +07:00
2025-06-20 08:21:12 +07:00
![GitLab Forks](https://img.shields.io/gitlab/forks/65209567?gitlab_url=https%3A%2F%2Fgitlab.com&style=for-the-badge&logo=gitlab)
![GitLab Stars](https://img.shields.io/gitlab/stars/65209567?gitlab_url=https%3A%2F%2Fgitlab.com&style=for-the-badge&logo=gitlab)
2025-05-01 15:52:10 +07:00
2025-05-01 16:45:32 +07:00
- Licensed as MIT License : [View license.](https://gitlab.com/cuynu/mbbpatch/-/blob/mbflutter/LICENSE)
2025-05-01 15:52:10 +07:00
## 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.
2025-05-01 16:45:32 +07:00
- 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`)
2025-06-14 23:10:33 +07:00
## Patches list :
### [📦 `MB Bank : com.mbmobile`](https://t.me/embeeapks)
<details>
| ⚙️ Patch | 📜 Description | 🏦 Suggested version |
|:--------:|:--------------:|:-----------------:|
| `Autopatch strings` | Modify the strings in-app within `libapp.so`, and also fixes some translation typo in-app. | v6.4.0 ~ v6.4.56 |
| `Change app logo` | Change the app logo with set of icons. | v6.4.0 ~ v6.4.56 |
| `Force portrait screen` | Force the screen always portrait on app, espcially when launching. | v6.4.0 ~ v6.4.56 |
| `Remove invoke to mbshield` | Make app don't invoke to mbshield when opening (MainActivity) and (MBBHomeWidgetQR) only | v6.4.22 ~ v6.4.56 |
| `Remove bulit-in fonts` | Remove app font and force to use device font for most app components. | v6.4.0 ~ v6.4.56 |
| `Modify app theme` | Modify the app theme in app from original one to others. Currently have MBClassic and SemiPriority. | v6.4.30 ~ v6.4.56 |
| `Remove garbage permission and activities` | Removes tracking permission & activities from app. | v6.4.0 ~ v6.4.56 |
| `Remove eMBee` | Removes eMBee options in app, alongside with Customer support. | v6.4.43 ~ v6.4.56 |
| `Revert old eMBee logo` | Revert old eMBee logo, specially on product consultation options. | v6.4.53 ~ v6.4.56 |
| `Remove animated QR background` | Remove the animated QR background on bottom navigation bar and replace with white background. | v6.4.43 ~ v6.4.56 |
| `Restore old registration resources` | Restore old resources on `onboarding` page. | v6.4.48 ~ v6.4.56 |
| `Remove banner & MiniApp` | Removes the banner and MiniApp on `homeLanding` page when logged in. | v6.4.43 ~ v6.4.56 |
2025-06-22 06:58:23 +07:00
| `Bypass accessibility & malicious apps check` | Remove the restriction of using the app when an app using accessibility service or "malicious apps" like (HideMyAppList) installed. | v6.4.25 ~ v6.4.54 |
| `Hide VTAP root detection activity & dialog` | Hide the old root detection screen and dialog showing "Device is rooted". | v6.4.0 ~ v6.4.56 |
| `Remove new root detection` | Remove the new Zimperium (ZDefend) root detection from app. | v6.4.15 ~ v6.4.56 |
| `Remove VPN detection` | Remove the VPN detection that warn users to turn it off on app bundle. Might doesn't works well | v6.4.52 ~ v6.4.56 |
| `Remove VNPAY VMB20` | Remove the VNPAY Airplane related activities. | v6.4.0 ~ v6.4.56 |
| `Add modified resources` | Adds the specific strings for MBCP on eKYC phase, and modify the DigiBank logo. | v6.4.0 ~ v6.4.56 |
2025-07-06 15:44:46 +07:00
| `Add anime resources` | Adds anime-related resources to some components inside app. | v6.4.45 ~ v6.4.56 |
2025-06-14 23:10:33 +07:00
| `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>
2025-05-01 16:45:32 +07:00
## Requirements
- Actual Linux environment (not on virtualized environment like WSL) and any compatible distro (Arch Linux based recommended)
- Little knowledge about `bash` commands
- `git` installed
- `java` or `jdk-openjdk` installed
2025-06-14 23:10:33 +07:00
2025-05-01 16:45:32 +07:00
## 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
2025-06-10 03:54:46 +07:00
- Grab MB Bank apks from [eMBee APKs](https://t.me/embeeapks) and copy it to `~/mbbpatch/MBCPApp/mbapk`
2025-05-01 16:45:32 +07:00
- Run bash `mbcpapp.sh` script
```
cd ~/mbbpatch/MBCPApp
./mbcpapp.sh
```
2025-06-27 10:09:35 +07:00
- Download necessary tools first with `Download tools` function (otherwise other function are unlikely to work!)
2025-05-01 16:45:32 +07:00
- Convert apks to apk first using `Convert apks to apk` function
- Unpack apk with `Unpack apk` function
- Check if MBShield present on unpacked APK with `Check MBShield` function
2025-06-27 10:09:35 +07:00
(if MBShield present then you may need to extract assets from Android device with `Extract assets [ROOT]`)
2025-05-01 16:45:32 +07:00
- After extracted assets (if MBShield present), use `Patch App` function and select the patches you want to apply to unpacked app
2025-06-27 10:09:35 +07:00
- When done, use `Repack APK` function to recompile patched app
- Patched app will be `MBCP_Flutter_SelfPatched.apk` on `~/mbbpatch/MBCPApp/mbcpapp_apk/`
- Install it to your device (requires [MBCP Helper](https://gitlab.com/cuynu/mbcp-helper/-/releases) / [CorePatch](https://github.com/lsposed/corepatch/releases) ) with enabled "Disable digest verify" option.
2025-05-01 16:45:32 +07:00
- Profit :)
2025-05-01 17:05:18 +07:00
## TODO
2025-05-01 15:52:10 +07:00
## External projects
2025-06-10 03:54:46 +07:00
MBCPApp Patcher project won't be possible without those external projects !!
2025-05-01 15:52:10 +07:00
- [apktool](https://github.com/iBotPeaches/Apktool)
- [APKEditor](https://github.com/REAndroid/APKEditor/)
2025-06-27 10:09:35 +07:00
- [MT Manager](https://mt2.cn/) to handle APK signature scheme v2/v3 (in the past)
2025-07-06 15:44:46 +07:00
- [Zhaxia CN](https://t.me/zhaxia_cn) for sticker packs (Add anime resources)
2025-05-01 15:52:10 +07:00
2025-05-01 16:45:32 +07:00