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
README: update suggested version for some patches to v6.4.59
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-25 05:18:19 +07:00
320f9d3608
chore: mbcpapp.sh: move clear down below after all checks
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
a60d120716
[TMP] fix: patch.sh: call self via bash
...
TODO either properly "goto" or make normal break works
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
c88b47c9e8
fix: mbcpapp.sh: explicitly use bash
...
posix sh != bash, avoid failing
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
fb40853f3a
fixup! mbcpapp.sh: fix $COMMIT
...
my eyes arent that good anymore
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
47f5389ad5
fix: mbcpapp.sh: use ls for glob existence checking
...
In mbcpapp.sh line 78:
if [ -f ~/mbbpatch/MBCPApp/mbapk/*.apk ]
^----------------------------^ SC2144 (error): -f doesn't work with globs. Use a for loop.
In mbcpapp.sh line 169:
if [ -f ~/mbbpatch/MBCPApp/mbapk/*.apks ]
^-----------------------------^ SC2144 (error): -f doesn't work with globs. Use a for loop.
we do not care about the actual result,
we just need to know whether the files exist,
tis probably fine
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
b799b0d8f3
chore: mbcpapp.sh: single quote all stray echo commands
...
fix tray SC2102
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
5af87b4ebc
chore: mbcpapp.sh: actually use $COMMIT
...
appears unused despite being set
also fix some stray SC2086
also move var down after all runtime checks
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
659cc4594a
chore: mbcpapp.sh: dont use /usr/bin as command check
...
command -v and or executing the binary itself is a good enough rudimentary check
"fix" "nonexistent" command on Termux
also drop redundant $JAVA
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
8a74c376cf
fix: mbcpapp.sh: use uname instead of catting /proc/version
...
"fix" permission denied on Termux
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
6f9e71c906
chore: mbcpapp.sh: cleanup startup
...
mkdir -p always exit successfully even if the dir already exist, and will not overwrite it
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-25 01:19:51 +07:00
759f1a8a67
feat: patch.sh: modify more strings
...
Signed-off-by: Cuynu <cuynu@proton.me>
Cuynu
commited 2025-07-24 21:19:12 +07:00
d91cd3230c
fixup! patch.sh: completely migrate to sed_libapp
...
- the filepath is unnessecary and does not do anything as $2 is unused
- since sed_libapp already do both armeabi-v7a and arm64-v8a, only one
command is needed per sed operation
gotta apologize for the sudden commonizing
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 02:10:29 +07:00
d077b0eaec
fixup! patch.sh: remove filepaths
Cuynu
commited 2025-07-23 02:07:42 +07:00
01bcfc0f7f
refactor: patch.sh: completely migrate to sed_libapp
Cuynu
commited 2025-07-23 01:54:03 +07:00
b0221fb7b6
fixup! patch.sh: correctly enforce ver restriction
...
me no have brain sar
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 01:27:25 +07:00
f482990ec7
chore: patch.sh: "Bypass accessibility & malicious apps check": enforce version restriction
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 01:05:52 +07:00
d30c120c4e
fix: patch.sh: "Remove VNPAY VMB20" restrict to v6.4.56+
...
causes issues on older versions
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:57:15 +07:00
99a919c927
feat: patch.sh: introduce get_mb_ver
...
apktool conveniently exports it out for us
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:42:27 +07:00
e3ee810029
chore: patch.sh: single quote all echo commands
...
fix false flagging SC2102
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:29:05 +07:00
c1e50fa9ed
fix: patch.sh: "Remove VNPAY VMB20": fix hanging single quotes causing SC1078
...
In patch.sh line 248:
rm -rf 'mbapk/mbapk_unpacked/smali/com/ay4
^-- SC1078 (warning): Did you forget to close this single quoted string?
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:29:05 +07:00
dce700d032
chore: patch.sh: "Modify app theme": drop redundant sleeps
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:29:05 +07:00
effde3d1d4
refactor: patch.sh: "Remove VNPAY VMB20": use for loops instead of repeating 70 times
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:29:05 +07:00
7162a2c5a1
refactor: patch.sh: migrate to patch_finish
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:29:05 +07:00
b988e1ad14
refactor: patch.sh: introduce patch_finish function
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:29:05 +07:00
3a59fd2178
refactor: patch.sh: migrate some manifest nukes to manifest_remove
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:29:05 +07:00
f7fb71e02f
refactor: patch.sh: introduce manifest_remove function
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:29:05 +07:00
0908d50b81
refactor: patch.sh: "Autopatch strings" : migrate to str_sed
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:28:59 +07:00
d5afe552cd
refactor: patch.sh: introduce sed_libapp
...
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-23 00:28:59 +07:00
f8cf060b5d
chore: patch.sh: include vim formatting
...
make this consistent, maybe
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-22 19:06:44 +07:00
578d1f5bfa
chore: patch.sh: fix some small grammar mistakes
...
this patch should incur no functional changes
Signed-off-by: fukiame <fukiame@proton.me>
fukiame
commited 2025-07-22 17:23:50 +07:00
1788f83b59
feat(patch)!: drop macOS support
...
- MB development team are working on macOS, so it must be dropped to prevent another patch fixes on future.
Cuynu
commited 2025-07-21 19:21:41 +07:00
3c8eade821
fix: typo fix
Cuynu
commited 2025-07-19 03:19:20 +07:00
e9f04e1f85