Commit graph mbbpatch/MBCPApp
Message SHA1
patches: bypass_checksum: small stuff
- use `mkdir -p` to exit peacefully if dir already exist, also move it down after confirm()
- dont repeatedly download apksignaturekiller

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:42:18 +07:00
75ec8a7bab
feat: mbcpapp.sh: drop hardcoded branch name
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:42:06 +07:00
7c0b36a83b
feat: parse.sh: confirm() for repeated applying attempt
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:41:22 +07:00
3ba641df8d
{patches, common}: fry checkVtap
not effective: parser uses script name for .inf outputting, to correctly detect this, use the script name

also, it would be more effective to apply this directly to the parser for most/all patches

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:41:12 +07:00
41fdf1a28b
mbcpapp.sh: small cleanup
- wildcard shouldve included that wsl case

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:39:54 +07:00
29fe4fb562
patches: autopatch_strings: drop some duped entries
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:37:41 +07:00
6869a963b8
patches: autopatch_strings: drop g flags for most strings
these are, more than likely, only apply once
dont repeatedly scoop through the entire file

this should theoretically speed this patch up

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:37:41 +07:00
541b902ee8
patches: hook up confirm() for more patches
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:35:44 +07:00
00af9f95a2
fix: autopatch_strings.sh: drop autoally strings
fixes [Cause: null pointer dereference] error due to breaking ELF header

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

Cuynu   commited 2026-03-16 02:35:44 +07:00
233245880a
fix: target_sdk_34.sh: targetSdkVersion did not changed properly
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:35:44 +07:00
e237b2e4ba
fix: trungthu_theme: wrong path dir
my brain faults

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

Cuynu   commited 2026-03-16 02:35:44 +07:00
399f02246e
fix: trungthu_theme: missing resources
some place on the app still showing quockhanh background due to missing resources

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

Cuynu   commited 2026-03-16 02:35:44 +07:00
928b3b521f
feat: autopatch_strings.sh: modify more strings
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:35:44 +07:00
bd3e309158
feat: mbcpapp.sh: check for wget
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:35:14 +07:00
11a86c81d6
parse.sh: handle cancellation more peacefully
the patch didnt "fail"

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:34:23 +07:00
3c2976de87
patches: bypass_checksum: hook up confirm()
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:34:16 +07:00
5f5a719ea6
common.sh: introduce confirm()
bypass_checksum tends to be mistakenly applied

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:34:07 +07:00
ffb3a842fa
fix: modify_app_theme.sh: useless resources did not removed properly
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:32:34 +07:00
0fe061a9ca
feat: trungthu: add new bulit-in theme
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:32:27 +07:00
1be3fc4e2d
feat: mbcpapp.sh: add termux check & warn
no support from owner is provided for termux at all, maybe from contributor but not owner itself.

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

Cuynu   commited 2026-03-16 02:32:07 +07:00
a13bd24ff1
mbcpapp.sh: check for xmlstarlet existence
mandated after 311ab52eae6b7fc426317581ae6f193991e442f8

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-16 02:20:45 +07:00
1ddb47b430
[HACK] [2/2] Revert "feat(func)!: common.sh: temporarily disable manifest_remove function"
now its back to one line, though dirty and also needs an additional dependency
ideally we should have some apkeditor flag to unpack apktool-like ones

This reverts commit a89d47e280fa257b2499a82948902713e2486a30.

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-16 02:19:47 +07:00
19377a394c
[HACK] [1/2] mbcpapp.sh: reformat AndroidManifest.xml upon unpacking
restore one-line format used in apktool for easier sedding

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-16 02:19:35 +07:00
68d7fea1a6
fix: mbcpicons: wrong folder format
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:18:32 +07:00
e3396759f7
feat: mbcpicons: new trungthu logo
thanks to @minhwuangbeo (Telegram)

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

Cuynu   commited 2026-03-16 02:18:32 +07:00
621da07a6e
bypass_new_zimperium_detection.sh: limit max version
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:18:32 +07:00
4b7291e79b
parse.sh: bring back get_mb_ver
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:18:08 +07:00
c7ad7610e8
common.sh: restore get_mb_ver
directly fetch from AndroidManifest.xml
imported strip_all from dylanaraps/pure-bash-bible

couldve been more elegant

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:17:50 +07:00
3a036195f5
fix: compilation error after applying some specific logos
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:17:27 +07:00
c4d1ee753c
feat: bypass_checksum.sh: adapt with v6.4.66+ and warning
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:17:16 +07:00
66505fe7b1
feat: remove_new_zimperium_check.sh: adapt with v6.4.66+
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:17:16 +07:00
0f80ed796b
feat: mbcpapp.sh: adapt with v6.4.66+
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:16:59 +07:00
833e6dbfba
feat: legacy_patch.sh: adapt with new apkeditor
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:14:50 +07:00
dfbe1c0d90
feat(func)!: common.sh: temporarily disable manifest_remove function
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:13:46 +07:00
7b9d3ada2f
fix: mbcpapp.sh: incorrect path
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:13:37 +07:00
2687a60433
fix: remove_new_zimperium_check.sh: incorrect path
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:13:37 +07:00
08d47072ab
fix: bypass_checksum.sh: patch did not applied correctly
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:13:37 +07:00
3553ccf35b
feat: bypass_checksum.sh: introduce [Bypass GW934 checksum] patch
not usable yet, don't try, will fix later

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

Cuynu   commited 2026-03-16 02:13:09 +07:00
8958da5215
feat: partially move to apkeditor (1/2)
MB server-side now enforcing checksum checks, omehow it also make app doesn't work with GW934 error when logging in after compiled with apktool

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

Cuynu   commited 2026-03-16 02:11:24 +07:00
e4c15802b0
feat: remove_new_zimperium_check.sh: revive old legacy patch to normal patch
Picked up from (Remove v6.4.56 root detection) in legacy_patch.sh

Reported working with v6.4.60+

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

Cuynu   commited 2026-03-16 02:08:47 +07:00
71865517a6
feat: remove_mbstore.sh: add remove mb themes store patch
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:08:29 +07:00
68ed020f6b
feat: autopatch_strings.sh: spoof log header to MB Bank
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 01:54:45 +07:00
5cdced7cb4
feat: autopatch_strings.sh: change update btn url
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 01:53:34 +07:00
83f74b5ff2
feat: autopatch_strings.sh: modify changed theme toast
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 01:53:27 +07:00
6de6a4b0e1
chore: remove_custompfp.sh: also mention *.jpg files
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 01:53:20 +07:00
96d8dea9ef
feat: remove_custompfp.sh: disable_membership.sh: target_sdk_34.sh: introduce [Remove custom profile picture] and [Disable MB Membership] patch & rename back from target_sdk_36 to target_sdk_34
it's cuz ucrop activity on MB doesn't follow the new edge-to-edge, but the official ucrop repository does.

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

Cuynu   commited 2026-03-16 01:53:12 +07:00
5167b7297d
feat: remove_banner_miniapp.sh: declare demo screenshot on first startup
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 01:53:04 +07:00
decb3c2bde
feat: remove_banner_miniapp.sh: also redirect miniapp links to disroot
warning if users trying to access MiniApp with another way

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

Cuynu   commited 2026-03-16 01:52:58 +07:00
ed44752736
feat: modify_app_theme.sh: also apply patch_finish to themes
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 01:51:50 +07:00
3c387f85d6
fix: README.md: legacy_hide_vtap.sh: check if standard patch is applied & add missing patch to patches list
im dumb

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

Cuynu   commited 2026-03-16 01:51:35 +07:00
bd7bc0f986