diff --git a/README.md b/README.md index fbe1b04..1400ae2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Dump MB Logs +Author : Cuynu - Since v6.4.60+, MB hidden the `client.log` under `/data/data/com.mbmobile/cache` or `/data/data/com.mbmobile/app_flutter` even without internet connection. This make debugging even more harder for us. - The only place where logs exists since v6.4.60+ is `/data/data/com.mbmobile/app_flutter/hive_databases` but it's encrypted and cannot be read. @@ -6,6 +7,41 @@ # [Download from releases](https://git.disroot.org/mbcp/logmb/releases) +# Usage +- Reproduce bugs from current app if you have need to +- Download from release above or made module manually +- Flash it as a Magisk module. App will open and hang on MB logo for 20 seconds, don't close it. +- Logs will dump automatically in the background, once it's done, app will be closed. +- After dumped logs, it's will on [`/sdcard/client.log`]. + +# Example +- Contents inside `client.log` after dumped from app will be like this one +- This is the example from MBCPApp v6.4.63 (688) with a bit modified to hide IP address and RefNo/Hash + +``` +24/08/2025 17:14:52 840, INFO, SYSTEM, ==========Open app MBCPApp v6.4.63 (688) (mbcpreleases) BUILD_OPTION:() UserAgent:(MBF)========== +24/08/2025 17:14:53 467, INFO, SCREEN, / +24/08/2025 17:14:53 754, INFO, API, REQUEST /common/clientLog | RefNo: 00000000-0000-0000-0000-0000000000000-0000000000000 | Hide URL: https://mobile.***** | Hash: 000000000000000000000000000000 +24/08/2025 17:14:53 948, INFO, API, RESPONSE /common/clientLog | RefNo: 00000000-0000-0000-915e-d1b6aa5161b8-0000000000000 | Result: 00 - OK | TimeTaken: 200 +24/08/2025 17:14:54 226, INFO, SYSTEM, IP Public: 127.0.0.1 +24/08/2025 17:14:55 177, INFO, VTAP, Setup VTap: 40200 +24/08/2025 17:14:55 177, INFO, VTAP, Setup VTap: 40200 +24/08/2025 17:14:55 363, INFO, THEME, classic +24/08/2025 17:14:55 872, INFO, NFC_SUPPORT, available +24/08/2025 17:14:56 094, INFO, VTAP, Setup TAO: 60200 +24/08/2025 17:14:56 100, INFO, APPSFLYER, init +24/08/2025 17:14:56 105, INFO, INSIDER, init +24/08/2025 17:14:57 205, INFO, SECURITY_APP_INTEGRITY, 3c20203bb60cde9d70923a76e97601fc91f6379c87d0da85f211b575e9843390 +24/08/2025 17:14:57 277, INFO, API, REQUEST /getDomainConfig | RefNo: 00000000-0000-0000-0000-0000000000000-0000000000000 | Hide URL: https://mobile.***** | Hash: 000000000000000000000000000000 +24/08/2025 17:14:57 520, INFO, API, RESPONSE /getDomainConfig | RefNo: 00000000-0000-0000-0000-0000000000000-0000000000000 | Result: 00 - OK | TimeTaken: 247 +24/08/2025 17:14:57 563, INFO, GNS, https://mobile.***** +24/08/2025 17:14:57 657, INFO, API, REQUEST /common/doCheckConnection | RefNo: 00000000-0000-0000-0000-0000000000000-0000000000000 | Hide URL: https://mobile.***** | Hash: 9025b236e116092d9042a22bf4c5cc2e +24/08/2025 17:14:57 661, INFO, API, REQUEST /checkDevice | RefNo: 00000000-0000-0000-0000-0000000000000-0000000000000 | Hide URL: https://mobile.***** | Hash: 000000000000000000000000000000 +24/08/2025 17:14:57 838, INFO, API, RESPONSE /checkDevice | RefNo: 00000000-0000-0000-915e-0000000000000-0000000000000 | Result: 00 - Success | TimeTaken: 186 +24/08/2025 17:14:57 895, INFO, API, RESPONSE /common/doCheckConnection | RefNo: null | Result: 00 - OK | TimeTaken: 246 +24/08/2025 17:14:57 920, INFO, SCREEN, /onboard/signin +``` + ## Made module manually - Grab v6.4.59 apks from [Telegram : eMBee APKs](https://t.me/embeeapks) or [Lotus Chat: MB Bank APKs](https://lotuschat.vn/w/+anSH1BbDbAYn54JC9nIC9A) diff --git a/customize.sh b/customize.sh index edc2700..149dcc5 100755 --- a/customize.sh +++ b/customize.sh @@ -29,6 +29,7 @@ cp -f '/data/data/com.mbmobile/cache/client.log' '/sdcard/' && echo "Success dum echo "Restoring original libraries [libapp.so] to lib path..." cp -f "/data/local/tmp/libapp.so" "$LIBPATH/arm64" rm -f "/data/local/tmp/libapp.so" +rm -f "/data/local/tmp/path.txt" echo "Forcing stop app..." am force-stop com.mbmobile && echo "Done!" diff --git a/module.prop b/module.prop index 46fdf0c..9b11134 100755 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=mblog name=Dump MB Logs -version=v1.1-mbcp -versionCode=11 +version=v1.2-mbcp +versionCode=12 author=cuynu description=Dump MB Logs for v6.4.60+ where log is hidden updateJson=