chore: treewide: switch shebang
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 19:12:15 +07:00
edc362127e
chore: mbcpapp.sh: cd to current dir
...
execute anywhere, works anywhere
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 19:12:15 +07:00
bf93764bfb
[SQUASH] refactor: treewide: separate patches, provide common common, refactor change_app_logo, commonize and enhance logging
...
adding new patches is now trivial:
cd patches
cp TEMPLATE patch_name_whatever.sh
# then just fill in patch name and ver clamp if desired
this gets rid of the need for excessive if-elses and not-so-pleasing indents
for logging, instead of using pure echo, 4 new "levels" can be utilized
- `info` : normal
- `good` : info but have green color?
- `warn` : warning
- `err` : error
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 19:10:49 +07:00
137e10222c
chore: patches: mv patches/ blob_patches/
...
preparing for separation
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 19:04:52 +07:00
f0d6863685
[DNM] refactor: patch.sh: drop
...
for the upcoming separation
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 19:04:48 +07:00
ba398faa1c
[DIRTY] fix: mbcpapp.sh: guard all guard clause usage with return
...
for whatever reason set -e does not work properly inside functions
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 11:04:11 +07:00
efa5e287b5
chore: mbcpapp.sh: commonize is_unpacked usage
...
the only oddball using this was purged out
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 10:29:48 +07:00
a42195d3e4
chore: mbcpapp.sh: fix remaining shellcheck warnings
...
- drop unnessecary condition for SC2015 on line 93 since rm -rf always return with status 0
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 10:25:15 +07:00
6155a7f879
chore: treewide: double quote all $DIRPATH usage
...
shouldve made this into the initial treewide sed me noob
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 09:53:39 +07:00
e97de9de89
chore: patch.sh: shellcheck -f diff | git apply
...
quote all $DIRPATH usage, fix SC2086
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 09:50:17 +07:00
f35d77b771
refactor: mbcpapp.sh: (3/3) remove leftover home dir notice
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 09:44:18 +07:00
1c5e95e38b
refactor: treewide: (2/3) break free from home dir restriction
...
git grep -lz . | xargs -0 sed -i -e 's|~/mbbpatch/MBCPApp|$DIRPATH|g'
now we can clone to whereever we want, not just $HOME
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 09:44:02 +07:00
7d8f06287d
refactor: mbcpapp.sh: (1/3) export script dir path
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 09:43:57 +07:00
fd6ce22267
README: bump suggested version to v6.4.60
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-29 02:41:00 +07:00
258d2a19e5
chore: mbcpapp.sh: remove continue echo after download tools
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-29 01:47:29 +07:00
1c975d1f39
README: remove extract assets in usage
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-29 01:17:32 +07:00
0e9827afa0
chore: remove fun fact
...
Well, this project no longer be maintained by just only me, it's contain real developer logic now, so this fact must be dropped
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-28 23:53:27 +07:00
c094544722
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