Commit graph

269 commits

Message SHA1
chore: legacy_patch.sh: add patch finish
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2025-08-08 08:15:14 +07:00
babeaea6cd
fix: mbcpapp.sh: typo fix
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2025-08-08 08:13:48 +07:00
dd225f75a2
feat: autopatch_strings.sh: redirect official faq url to mbcp faq url
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2025-08-07 09:21:10 +07:00
b1c7fc325d
feat: mbcpapp.sh: add install patched app option for v6.4.59+
same as v6.4.55 or lower xD

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

Cuynu   commited 2025-08-07 05:31:02 +07:00
a193d51f75
Revert "feat: bypass_new_zimperium_detection: also nuke libchecks.so"
mbbpatch_chat/95193
  deleting libchecks.so on latest commit impact to app patching on my
  case btw. after comment the code all going good VTAP work

This reverts commit 1005fd24f3.

Reported-by: chaadgrayson at Telegram
Signed-off-by: Cuynu <cuynu@proton.me>
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2025-08-05 18:40:16 +07:00
f98d6c3e28
feat: bypass_new_zimperium_detection: also nuke libchecks.so
seems like that library are not necessary to keep anymore, tested on AOSP ROMs with no crashes.

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

Cuynu   commited 2025-08-05 05:09:21 +07:00
1005fd24f3
feat: block_adjust_volume_sekyc: add new patches
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2025-08-04 16:51:33 +07:00
34bbb78018
README: bump suggested version to v6.4.61
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2025-08-04 04:42:21 +07:00
e2416d126c
feat: autopatch_strings.sh: modify more strings
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2025-08-04 04:36:57 +07:00
c591b1d28e
feat: autopatch_strings.sh: redirect accessibility url
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2025-07-31 17:08:28 +07:00
b4f4b84956
README: add disclaimer
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2025-07-31 14:47:41 +07:00
450a416415
fix: change_app_logo: semimonet: missing resources
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2025-07-31 12:16:26 +07:00
bcbfd4dc71
feat: change_app_logo: import semimonet logo
used to use on old discontinued MBRN app.

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

Cuynu   commited 2025-07-31 12:05:13 +07:00
0545fc0871
fix: mbcpapp.sh: SelfPatched apk did not deleted when repack apk multiple times
fixes file already exist when processing v2/v3 signature scheme after repack apk multiple times

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

Cuynu   commited 2025-07-31 11:45:16 +07:00
c10e984d15
Merge branch 'chore/repack_speedup' into 'mbflutter'
good morning ig

See merge request mbcp/mbbpatch!7

Cuynu   commited 2025-07-31 10:54:33 +07:00
d7969bb4db
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