Commit graph mbbpatch/MBCPApp/patch.sh
Message SHA1
chore: patch.sh: shellcheck -f diff | git apply
quote all $DIRPATH usage, fix SC2086

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 01:04:41 +07:00
5470fd718f
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 2026-03-16 01:03:28 +07:00
6714f1450d
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 2026-03-16 00:56:44 +07:00
6adee9ae20
chore: patch.sh: update some strings
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-15 00:05:56 +07:00
361794a074
fix: patch.sh: Remove protection shield: shield doesn't actually disabled
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-15 00:04:22 +07:00
784aa3f3a5
fix: patch.sh: Remove protection shield: patch doesn't work
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-15 00:04:06 +07:00
2e407bf555
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 2026-03-15 00:03:42 +07:00
28392bbaa0
feat: mbcpapp.sh: Bypass new zimperium detection: also remove related libraries
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-15 00:03:27 +07:00
491264f50c
feat: patch.sh: Autopatch strings: modify more strings
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-15 00:03:01 +07:00
9ddcc3a2e8
fix: patch.sh: Autopatch strings: modify more strings
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-15 00:02:53 +07:00
8311bc5650
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 2026-03-14 23:12:26 +07:00
4d4c11ecea
fix: patch.sh: Bypass new zimperium detection: missing patch_finish
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-14 23:11:52 +07:00
a31f781b53
feat: patch.sh: introduce bypass new zimperium detection patch
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-14 23:10:52 +07:00
0a8a7f84bd
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 2026-03-14 23:04:25 +07:00
e3cc418478
chore: patch.sh: "Remove new root detection": enforce version restriction
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-14 23:03:30 +07:00
23125cda7e
feat: patch.sh: introduce sed_libzdefend
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-14 23:02:58 +07:00
39811a1fbd
feat: patch.sh: modify more strings
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-14 22:54:01 +07:00
456d39b39f
[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 2026-03-14 22:01:22 +07:00
9b7945dce8
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 2026-03-14 22:01:04 +07:00
37d6b47978
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 2026-03-14 22:00:52 +07:00
a0a03510a2
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 2026-03-14 22:00:32 +07:00
e7c0bbafa8
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 2026-03-14 21:59:45 +07:00
c18491e28c
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 2026-03-14 21:58:12 +07:00
ca46d9cc02
chore: patch.sh: fix some small grammar mistakes
this patch should incur no functional changes

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-14 21:56:33 +07:00
2e2a627f1b
feat: patch.sh: "Remove invoke to mbshield": also remove unnecessary EP*.smali
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-14 21:44:42 +07:00
92708130ad
[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 2026-03-14 21:36:48 +07:00
f20b4e39aa
feat: patch.sh: modify more strings
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-14 20:24:45 +07:00
cb2b492160
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   authored and   Cuynu   commited 2026-03-14 20:24:38 +07:00
4c028cf2bb
fixup! patch.sh: remove filepaths
Cuynu   commited 2026-03-14 20:24:28 +07:00
a9df617934
refactor: patch.sh: completely migrate to sed_libapp
Cuynu   commited 2026-03-14 20:24:21 +07:00
55f2299373
fixup! patch.sh: correctly enforce ver restriction
me no have brain sar

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 20:24:13 +07:00
9334abbadc
chore: patch.sh: "Bypass accessibility & malicious apps check": enforce version restriction
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 20:24:06 +07:00
3ed4a18530
fix: patch.sh: "Remove VNPAY VMB20" restrict to v6.4.56+
causes issues on older versions

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 20:23:53 +07:00
21738b396f
feat: patch.sh: introduce get_mb_ver
apktool conveniently exports it out for us

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 20:23:46 +07:00
7f71355b91
chore: patch.sh: single quote all echo commands
fix false flagging SC2102

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 20:23:40 +07:00
b7959e3520
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   authored and   Cuynu   commited 2026-03-14 20:23:35 +07:00
ad19045248
chore: patch.sh: "Modify app theme": drop redundant sleeps
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 20:23:28 +07:00
132e038151
refactor: patch.sh: "Remove VNPAY VMB20": use for loops instead of repeating 70 times
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 19:58:57 +07:00
104b0de63d
refactor: patch.sh: migrate to patch_finish
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 19:58:50 +07:00
f55bce562d
refactor: patch.sh: introduce patch_finish function
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 19:58:44 +07:00
5b583f72d0
refactor: patch.sh: migrate some manifest nukes to manifest_remove
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 19:58:39 +07:00
c14a94c9ce
refactor: patch.sh: introduce manifest_remove function
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 19:58:32 +07:00
0dd27ac4fa
refactor: patch.sh: "Autopatch strings" : migrate to str_sed
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 18:56:18 +07:00
0d084f961b
refactor: patch.sh: introduce sed_libapp
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-14 18:55:05 +07:00
f9c6a261c6
fix: typo fix
Cuynu   commited 2026-03-14 18:04:13 +07:00
c54a1e942e
feat: add [Set targetSdkVersion to 35] patch
Cuynu   commited 2026-03-14 18:02:53 +07:00
fdeef25e17
feat: add [Remove app from launcher] patch
Cuynu   commited 2026-03-14 18:02:46 +07:00
297e152195
patch: modify gw908 dialog strings
Cuynu   commited 2026-03-14 18:01:19 +07:00
cf435b4f13
patch: modify more strings [Autopatch strings]
Cuynu   commited 2026-03-14 18:00:44 +07:00
04daf1e6c2
patch: improve [Remove VNPAY VMB20] patch
Cuynu   commited 2026-03-14 17:57:32 +07:00
7808e01bfa