fix: mbcpapp.sh: use return instead of exit when applicable
...
avoid exiting the entire script when one func fails
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-28 23:44:01 +07:00
3eba2a7e0d
refactor: mbcpapp.sh: move more thing out to func
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-28 23:19:08 +07:00
e6ab66e6ef
refactor: mbcpapp.sh: use case switch instead of if-else
...
also move mbshield check strings out as vars
still ongoing
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-28 23:14:44 +07:00
6704773582
chore: patch.sh: update some strings
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-28 20:12:16 +07:00
8cae8ea8c3
fix: mbcpapp.sh: Convert apks to apk: drop multi threading flag
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-28 17:53:21 +07:00
f5aee4d214
fix: patch.sh: Remove protection shield: shield doesn't actually disabled
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-28 14:53:54 +07:00
13513b89e3
Revert "refactor: simplify commands using wildcards"
...
This reverts commit 2766526929 .
Cuynu
commited 2025-07-28 14:42:29 +07:00
47e85fa120
fix: patch.sh: Remove protection shield: patch doesn't work
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-28 14:42:25 +07:00
53c0989770
feat: patch.sh: introduce [Remove protection shield] patch
...
This patch does not remove app protection patch, it's just remove the MIC Shield protection, which appears on the left side of profile picture.
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-28 14:16:17 +07:00
55ad8701c3
feat: mbcpapp.sh: Bypass new zimperium detection: also remove related libraries
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-27 23:09:00 +07:00
6e6321586b
fix: mbcpapp.sh: drop multi-threading for apkeditor
...
this flag does not exist on APKEditor.
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-27 17:04:29 +07:00
e3ec3269f8
feat: patch.sh: Autopatch strings: modify more strings
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-27 01:37:36 +07:00
bb1828fa4b
fix: patch.sh: Autopatch strings: modify more strings
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-27 00:46:25 +07:00
d5f8c6c0c6
Merge branch 'rf1' into 'mbflutter'
...
does this look maintainable to you
See merge request mbcp/mbbpatch!4
Cuynu
commited 2025-07-26 22:39:52 +07:00
6e14eb400d
refactor: mbcpapp.sh: commonize more stuff and move some more stuff to func
...
commit message does not make sense
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-26 22:24:59 +07:00
b3a1a58f2c
refactor: mbcpapp.sh: unpack: move out to separate func
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-26 21:51:56 +07:00
c989ac7ebc
refactor: mbcpapp.sh: repack: move out to separate func
...
set -e to catch error properly
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-26 21:35:23 +07:00
5924f37ab7
Merge branch 'mbflutter' into 'mbflutter'
...
refactor: simplify commands using wildcards
See merge request mbcp/mbbpatch!3
Cuynu
commited 2025-07-26 21:24:27 +07:00
8872270a76
refactor: simplify commands using wildcards
...
Signed-off-by: NgankBakaa <ngankbakaa@gmail.com>
NgankBakaa
commited 2025-07-26 21:23:12 +07:00
2766526929
Merge branch 'mbflutter' into 'mbflutter'
...
impr logging and fix some shellcheck warn?
See merge request mbcp/mbbpatch!2
Cuynu
commited 2025-07-26 21:17:33 +07:00
b945f25e96
refactor: impr logging
...
Signed-off-by: NgankBakaa <ngankbakaa@gmail.com>
NgankBakaa
commited 2025-07-26 21:14:53 +07:00
2182b5df6e
chore: wrap su -c commands in quotes for consistency and safety
...
Signed-off-by: NgankBakaa <ngankbakaa@gmail.com>
NgankBakaa
commited 2025-07-26 21:11:41 +07:00
13eb89c55f
refactor: mbcpapp.sh: "Extract assets": move to copy_assets
...
ideally id push a script to /data/local/tmp to reduce overhead but tis aint that noticeable anyways
also remove redundant sleeps
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-26 21:04:18 +07:00
0c8a81714a
refactor: mbcpapp.sh: introduce copy_assets
...
small shorthand for an uh
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-26 20:59:15 +07:00
d4ea853aed
Merge branch 'mbflutter' into 'mbflutter'
...
refactor: enable multi-threading for apktool
See merge request mbcp/mbbpatch!1
Cuynu
commited 2025-07-26 20:53:21 +07:00
8c5ef99080
refactor: enable multi-threading for apktool
...
Signed-off-by: NgankBakaa <ngankbakaa@gmail.com>
NgankBakaa
commited 2025-07-26 20:48:46 +07:00
b2466fc2d5
chore: legacy_patch.sh: move to commonized tools name
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-26 20:39:20 +07:00
f6419dcd66
refactor: mbcpapp.sh: move tool downloading to separate funcs, commonize filename
...
reduce bumping efforts
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-26 20:39:20 +07:00
426e2d089e
chore: mbcpapp.sh: include vim formattings, tidy up some comments
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-26 20:02:12 +07:00
9a0d5fadc1
fix: patch.sh: Bypass new zimperium detection: missing manifest_remove
...
Fixes EKYC3002-MS6998 error with DF16246.6 when processing eKYC
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 17:35:19 +07:00
aa6d1dd96f
refactor: patch.sh: also remove unpacked app if unpack apk function is used
...
If you already unpacked APK, then if you use unpack apk function again, it will remove the unpacked app, and you will be able to unpack again without copying apks once again.
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 15:21:05 +07:00
4eaadaf0f5
README: add [Bypass new zimperium detection] patch to patches list
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 15:02:34 +07:00
63ee43eb17
fix: patch.sh: Bypass new zimperium detection: missing patch_finish
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 14:58:10 +07:00
ff09118633
feat: patch.sh: introduce bypass new zimperium detection patch
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 14:54:06 +07:00
f38633132b
fix: mbcpapp.sh: wrong APKEditor download link
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 13:58:35 +07:00
744886bd11
README: minor changes
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 05:20:46 +07:00
568de9612c
chore: legacy_patch.sh: fix grammar mistakes
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 04:54:20 +07:00
d0b124d22a
chore: patch.sh: quote get_mb_ver invokes
...
In patch.sh line 540:
if [ $(get_mb_ver) -lt 59 ] ; then
^-----------^ SC2046 (warning): Quote this to prevent word splitting.
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 04:20:19 +07:00
2f5e1dfb9a
chore: patch.sh: "Remove new root detection": enforce version restriction
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 04:15:47 +07:00
d4d3980467
feat: patch.sh: introduce sed_libzdefend
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 03:42:25 +07:00
e44ede274b
feat: legacy_patch.sh: add back [Remove v6.4.56 root detection] patch
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 02:57:01 +07:00
0e55eff233
feat: patch.sh: modify more strings
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-26 02:33:39 +07:00
a70470e815
[TMP] chore: patch.sh: "Exit": just exit
...
no frills
we probably have to redesign the UI, hence TMP
this patch clears out the last remaining shellcheck warning
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 09:34:12 +07:00
1703f4b11c
chore: patch.sh: "Remove VNPAY VMB20": satisfy SC2164
...
In patch.sh line 261:
cd ~/mbbpatch/MBCPApp
^-------------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 09:31:56 +07:00
d8e377087e
chore: patch.sh: quote get_mb_ver invokes
...
In patch.sh line 163:
if [ $(get_mb_ver) -lt 55 ] ; then
^-----------^ SC2046 (warning): Quote this to prevent word splitting.
In patch.sh line 234:
if [ $(get_mb_ver) -gt 56 ] ; then
^-----------^ SC2046 (warning): Quote this to prevent word splitting.
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 09:30:09 +07:00
16412d7d58
chore: patch.sh: get_mb_ver: drop useless echo and double quote properly
...
In patch.sh line 47:
echo $(bb_split "$a" '.' '2')
^----------------------^ SC2046 (warning): Quote this to prevent word splitting.
^----------------------^ SC2005 (style): Useless echo? Instead of 'echo $(cmd)', just use 'cmd'.
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 09:28:58 +07:00
84eb42811b
chore: patch.sh: get_mb_ver: drop useless cat
...
In patch.sh line 45:
a="$(cat ~/mbbpatch/MBCPApp/mbapk/mbapk_unpacked/apktool.yml | grep -m1 'versionName')"
^-- SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 09:26:02 +07:00
72e0e5859a
chore: patch.sh: silence shellcheck SC2016
...
In patch.sh line 894:
rm -f 'mbapk/mbapk_unpacked/smali_classes4/com/vtap/MaintenanceActivity$1.smali'
^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
since this behavior is intentional ($1 is part of the filename), silence it
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 09:24:21 +07:00
059c0187e4
feat: patch.sh: "Remove invoke to mbshield": also remove unnecessary EP*.smali
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-25 05:52:05 +07:00
450336aeb4
README: reorder patches list
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-25 05:29:19 +07:00
266d37b9d4