chore: mbcpapp.sh: further simplify repacking
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-31 10:16:11 +07:00
f6e9970493
chore: mbcpapp.sh: Repack: directly restore sig with one apkeditor invocation
...
massively speed up repacking, again
on my Acer Aspire E1-471 with an i3-2328M and an HDD, repacking time
under apkeditor part is cut short from 2+ minutes to 3 seconds
Test: repack, app install successfully
Tested-by: fukiame <fukiame@proton.me>
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-31 09:51:39 +07:00
86818ccaaf
fix: mbcpapp.sh: [Install patched app] use break to exit, reset PS3
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-31 09:29:19 +07:00
4697030844
chore: common.sh: sed_*: operate both file in one invocation
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-31 09:09:40 +07:00
6353939746
chore: mbcpapp.sh: switch to new logging commons
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-31 09:03:17 +07:00
83bf7cf0b7
fixup! mbcpapp.sh: move common include sooner
...
make logging functions available earlier
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-31 08:58:10 +07:00
4fedad72f4
fixup! patches: modify_app_theme: drop patch_finish
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-31 08:45:21 +07:00
2427240cc9
Merge branch 'refactor/separation' into 'mbflutter'
...
im really sorry
See merge request mbcp/mbbpatch!6
Cuynu
commited 2025-07-31 01:09:38 +07:00
8d1c93bb66
fixup! patches: modify_app_theme: place wildcard outside of quotes
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-30 21:31:41 +07:00
d5e4a1d74b
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