Commit graph mbbpatch/MBCPApp/mbcpapp.sh
Message SHA1
fix: patcher(mbcpapp.sh): wrong handling
separate function fixed it

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-09-09 15:50:46 +07:00
f413ecfb68
fix: patcher(mbcpapp.sh): use return 0 instead of exit
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-09-09 15:13:48 +07:00
bf39876c69
feat: patcher(mbcpapp.sh): confirmation before running patch app function
for v6.5.15+ with new checksum mechanism only

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-09-09 03:44:43 +07:00
45ec5e5e11
fix: patcher(mbcpapp.sh): warn does not show for v6.5.15+
it need to be displayed before run patcher.

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-08-31 01:12:23 +07:00
a21c61f40e
feat: patcher(mbcpapp.sh): check for v6.5.15+ and warn before run patch app func
since v6.5.15, the check is more stricter, extended to all files in assets and apk after converted to apk

it will trigger checksum fail error and throw GW934 error as response.

fix is not implemented yet, but it depends on new lib : `libnframes.so`, without that the login button is not clickable.

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-08-31 00:53:59 +07:00
bb01c94dfa
feat: patcher(mbcpapp.sh): show warn for v6.5.7+ when select specific install apk option
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-08-17 09:13:32 +07:00
5fbf2c74ce
refactor: patcher(mbcpapp.sh): move to new install patched app behavior
no longer requires specific app version

with [Install & delete local detection model & open app] option, it will check for su binary and warn if it's not found

also checks the commit id of repacked APK and warn before installing if it's mismatch

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-07-21 16:25:09 +07:00
00be518085
feat: patcher(mbcpapp.sh): adapt with v6.5.9+ behavior & condition when installing apk to device
also added new pattern to specific app version installation

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-07-10 04:29:08 +07:00
ecfded007a
fix: patcher(mbcpapp.sh): critical model still getting deleted & adapt new v6.5.7+ model
due to duplicate files in new zimperium for v6.4.66+

also delete `GXNv8xc5IcVF6TyUgjJpyYFeyHGqUqN7ZS0X_2WRbEE_` model

adapt newer model for v6.5.7+

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-06-29 21:05:38 +07:00
54d5855294
fix: patcher(mbcpapp.sh): don't delete critical local model for v6.5.7+
MB v6.5.7+ with new Zimperium need `fPGzhQFvISia1NiVGU8vQx9IpRm63E4_1Xv0Z2ypWUE_` and `GXNv8xc5IcVF6TyUgjJpyYFeyHGqUqN7ZS0X_2WRbEE_` to function correctly, without it the app will crash with native call error.

with older app version (v6.5.6 or older), it will continue to delete such local model

`libcode.so` is pattern to detect v6.5.7+

this commit should fix crashes with v6.5.7+ when working with Patcher.

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-06-29 00:08:27 +07:00
a0e0b5492a
chore: patcher(mbcpapp.sh): move from mbshield to zshield for resources extraction
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-06-28 17:40:41 +07:00
667940ccbe
feat: patcher(mbcpapp.sh): dump Tian37 lib sha256 hashes
this is not needed with older target (<v6.5.6) but need with (v6.5.7)

MB enhanced checksum to more libraries, including this Tian37 one in v6.5.7.

older target remain unaffected.

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-06-28 17:29:32 +07:00
cc5316f901
feat: patcher/patches(mbcpapp.sh/remove_new_zimperium_check.sh): adapt dumping sha256 hash for new zimperium library
exist since MB v6.5.7+

added condition check whether if older zimperium lib is present or not before dumping

limit zimperium bypass patch to v6.5.6 or older temporary

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-06-28 17:21:38 +07:00
1765a67d97
feat: patcher(mbcpapp.sh): use --no-check-certificate flag for wget
fixes download error for some Mac machines, confirmed working with my Intel Mac

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-06-28 16:30:43 +07:00
ae8eeda2db
chore: patcher/patches(etc): move from mbshield to zShield
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-06-28 15:56:34 +07:00
804e4aeb75
chore: patcher(mbcpapp.sh): rename mbshield to zshield
mbshield does not exist, MB does not have any such shield, they used zShield from Zimperium since v6.4.22, and rename the branding from zShield to [bank name + shield]

with new MB v6.5.7 update, there is a major changes to how zShield work, they randomized the name, not [mbshield] anymore

so I used regex* to look for it, more effective.

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-06-28 15:27:23 +07:00
ac845ff247
feat: patcher(mbcpapp.sh): rename useless to zimperium local model
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-06-27 18:11:18 +07:00
73e9bd4def
feat: patcher(mbcpapp.sh): adapt with dex6 for v6.5.2+
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-05-24 16:58:02 +07:00
0dc36c5ea4
fix: patcher(mbcpapp.sh): hash folder not getting deleted when use clean patched app function
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-05-24 16:51:00 +07:00
387d66993c
feat: patcher(mbcpapp.sh): also copy sha256 hashes to app assets
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-05-24 16:42:12 +07:00
1d55d49a3c
fix: patcher(mbcpapp.sh): typo fixes
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-05-24 15:58:08 +07:00
c0ba393845
feat: patcher(mbcpapp.sh): dump sha256 hashes after unpacking apk
helpful for future gw934 bypass

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-05-24 15:56:42 +07:00
c0828722c3
feat: patcher(mbcpapp.sh): warn for v6.4.98+
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-05-02 22:25:06 +07:00
11fc96dea0
fix: patcher(mbcpapp): app check grep output does not redirect to /dev/null
grep output is not needed in unpack stage where grep things is only used to check if the unpacked app is actually MB (Flutter) or not

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-04-25 14:47:31 +07:00
eaac6213fe
feat: mbcpapp: update apkeditor to 1.4.8
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-04-23 10:17:31 +07:00
69043c9b61
fix: typo fix p2
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-04-04 00:21:23 +07:00
c8ebd9e634
feat: mbcpapp.sh: check for flutter app after unpacking
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-25 18:25:49 +07:00
66d5f06c1a
fix: mbcpapp.sh: new branch name
`dev` is the new branch name, replacement for old `mbflutter` branch.

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 04:19:50 +07:00
bf8812d27d
fix: mbcpapp.sh: do not restore apk signature if apk repacking failed
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 04:15:20 +07:00
b0a47f3340
feat: mbcpapp.sh: bump apktool to 3.0.1 & update strings
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 04:12:17 +07:00
8de15395e2
feat: mbcpapp.sh: check for right app when convert apk or unpacking & refer to docs folder
prevent other apps from being accepted as the patcher is supposed to only works with MBBank `com.mbmobile`

im so bored and literally has nothing to do.

anything i can think right now is this commit, it works and makes me happy

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 04:08:19 +07:00
8f0d70cc28
feat: mbcpapp.sh: check for unpacked app before extract assets
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 04:06:54 +07:00
7e0500e526
feat: notice with extract assets for v6.4.86+
find `libvcm1.so` because it only exists as of v6.4.86+

not effective ig

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 04:06:48 +07:00
1891b7b2ae
fix: mbcpapp.sh: wrong filename
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 04:04:52 +07:00
43f64f8e34
feat: mbcpapp.sh: commit id in repacked app filename
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 04:02:54 +07:00
f9a4d9d741
feat: mbcpapp.sh: update apkeditor to 1.4.7
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 04:01:54 +07:00
865811f305
fix: mbcpapp.sh: no return 1 for unpack & repack
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:59:27 +07:00
312a0cd2ec
fix: mbcpapp.sh: incorrect gnu-sed path
darwin only

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:59:15 +07:00
ced9c25a66
fix: mbcpapp.sh: script exit when the apks files is not found
should be return 0 instead

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:58:28 +07:00
472afa488c
feat: mbcpapp.sh: unpack status & restart script
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:58:15 +07:00
a64cbbf42c
fix: mbcpapp.sh: too many arguments when unpack & convert apk
skill issues ahh moment

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:43:31 +07:00
1547607e96
feat: proper darwin support
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:42:50 +07:00
ee8a113e55
feat: mbcpapp.sh: download tools function also updating tools
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:41:29 +07:00
7040a0b17f
feat: mbcpapp.sh: new tg channel link & reference issues link
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:40:39 +07:00
5f5d96a8bf
feat: mbcpapp.sh: bump apkeditor dependency to 1.4.6
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:39:11 +07:00
bc980e0af3
feat: misc: check for [libZDefend.so] before requiring app resources extraction
app resources only encrypted inside [mbshield.szip] for v6.4.47 or older, which uses [libZDefend.so]

from v6.4.48 and above, the app resources no longer fully encrypted, and the old [libZDefend.so] is moved to [libdesignersactivists.so]

this will notice whether app resources extraction is required or not

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:33:55 +07:00
c2d2eea626
feat: mbcpapp.sh: add current user to [mbcp_info.txt] when repacking
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:33:55 +07:00
4321fef144
feat: mbcpapp.sh: set minSdkVersion to 28 after unpacking apk
corepatch and lsposed requires atleast android 9 to be fully functional.

so the support for older android versions such as Android 7/8 will be dropped.

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:33:55 +07:00
b91b3b5549
feat: mbcpapp.sh: adapt with new detection point
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:25:49 +07:00
77b7e3b225
feat: mbcpapp.sh: move to /data/data/ instead of /data/user/0/
allow extracting assets when using MB with multiple user & private space mode

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 03:19:31 +07:00
ae4d3216fb