Commit graph mbbpatch_oldest/MBCPApp/mbcpapp.sh
Message SHA1
fix: mbcpapp.sh: Convert apks to apk: drop multi threading flag
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-15 00:04:36 +07:00
98ec1a66ba
fix: mbcpapp.sh: drop multi-threading for apkeditor
this flag does not exist on APKEditor.

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

Cuynu   commited 2026-03-15 00:03:13 +07:00
cf091759e0
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 2026-03-15 00:01:32 +07:00
39a33d0392
refactor: mbcpapp.sh: unpack: move out to separate func
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-14 23:44:52 +07:00
7be718be7d
refactor: mbcpapp.sh: repack: move out to separate func
set -e to catch error properly

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

fukiame   commited 2026-03-14 23:38:59 +07:00
15695aa39f
chore: wrap su -c commands in quotes for consistency and safety
Signed-off-by: NgankBakaa <ngankbakaa@gmail.com>

NgankBakaa   commited 2026-03-14 23:35:24 +07:00
33d65d19c3
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 2026-03-14 23:34:47 +07:00
3afe6d6341
refactor: mbcpapp.sh: introduce copy_assets
small shorthand for an uh

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

fukiame   commited 2026-03-14 23:34:17 +07:00
98762d2fb9
refactor: enable multi-threading for apktool
Signed-off-by: NgankBakaa <ngankbakaa@gmail.com>

NgankBakaa   commited 2026-03-14 23:32:52 +07:00
3d0675ec93
refactor: mbcpapp.sh: move tool downloading to separate funcs, commonize filename
reduce bumping efforts

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

fukiame   commited 2026-03-14 23:23:14 +07:00
89e47b9844
chore: mbcpapp.sh: include vim formattings, tidy up some comments
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-14 23:17:08 +07:00
71b075af54
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 2026-03-14 23:12:16 +07:00
57cf28a431
fix: mbcpapp.sh: wrong APKEditor download link
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-14 23:09:48 +07:00
e22e5b9ff1
feat: legacy_patch.sh: add back [Remove v6.4.56 root detection] patch
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-14 23:00:12 +07:00
b2b8aa6dad
chore: mbcpapp.sh: move clear down below after all checks
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-14 21:40:29 +07:00
714d8b6904
fix: mbcpapp.sh: explicitly use bash
posix sh != bash, avoid failing

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

fukiame   commited 2026-03-14 21:36:26 +07:00
c13a0812b0
fixup! mbcpapp.sh: fix $COMMIT
my eyes arent that good anymore

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

fukiame   commited 2026-03-14 21:35:16 +07:00
1c19df530a
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   authored and   Cuynu   commited 2026-03-14 21:24:04 +07:00
e1b4f0e88b
chore: mbcpapp.sh: single quote all stray echo commands
fix tray SC2102

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

fukiame   authored and   Cuynu   commited 2026-03-14 21:23:46 +07:00
2cb040dffd
chore: mbcpapp.sh: actually use $COMMIT
appears unused despite being set

also fix some stray SC2086

also move var down after all runtime checks

fukiame   commited 2026-03-14 21:20:44 +07:00
011ba1b8c7
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   authored and   Cuynu   commited 2026-03-14 20:29:12 +07:00
5726882cc9
fix: mbcpapp.sh: use uname instead of catting /proc/version
"fix" permission denied on Termux

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

fukiame   authored and   Cuynu   commited 2026-03-14 20:25:01 +07:00
023adce1a9
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   authored and   Cuynu   commited 2026-03-14 20:24:55 +07:00
d85a209930
patch: improve [Install patched app] logic
Cuynu   commited 2026-03-14 18:03:02 +07:00
1b984d15dc
build: update apktool to 2.12.0
Cuynu   commited 2026-03-14 18:01:53 +07:00
1a524eb776
fix: legacy patches option missing from main functions
Cuynu   commited 2026-03-14 17:52:45 +07:00
debe4e7f06
refactor: move some patches to legacy patch
Cuynu   commited 2026-03-14 17:47:48 +07:00
203eb46678
patch: improve download tool function
Cuynu   commited 2026-03-14 17:39:19 +07:00
e434f7dcb3
chore: move from "patched" to "compiled"
Cuynu   commited 2026-03-14 17:36:34 +07:00
fdfbe217f8
fix: wrong path
Cuynu   commited 2026-03-14 17:36:27 +07:00
f3a5444580
feat: save patch info to "mbcp_info" dir instead
Cuynu   commited 2026-03-14 17:35:29 +07:00
67cba60792
feat: move from copy patched app again to install patched app
Cuynu   commited 2026-03-14 17:33:46 +07:00
123b1460b2
fix: unsigned apk not removed correctly
Cuynu   commited 2026-03-14 17:26:19 +07:00
177f1c9e5e
feat: preserve apk signature scheme v2/v3 after repacking apk
Cuynu   commited 2026-03-14 17:25:11 +07:00
7cc8b27d09
fix: improve build info
Cuynu   commited 2026-03-14 17:25:01 +07:00
b3121133af
feat: add patched app info to assets
Cuynu   commited 2026-03-14 17:24:06 +07:00
4bbb579cea
feat: add pull latest commit function
Cuynu   commited 2026-03-14 17:23:30 +07:00
956ee7741e
refactor: minor changes
Cuynu   commited 2026-03-14 17:19:03 +07:00
26223d3865
fix: remove "Flutter" from figlet banner
Cuynu   commited 2026-03-14 17:15:04 +07:00
2ebaa78284
chore: add a fun fact xD
Cuynu   commited 2026-03-14 17:12:00 +07:00
7f990e10ea
feat: add [Copy patched app again] function
Cuynu   commited 2026-03-14 17:10:56 +07:00
beb2dcb5a3
build: update APKEditor to 1.4.3
Cuynu   commited 2026-03-14 17:04:46 +07:00
08b09da706
fix: don't launch patch.sh with "sh"
Cuynu   commited 2026-03-14 16:50:30 +07:00
fc39cd4772
don't exit when running under WSL
- This will allow to run under WSL environment, but any support or issues reported under WSL environment will not be supported at all.

Cuynu   commited 2026-03-14 16:49:57 +07:00
f11fa8d8ec
remove useless files after unpacking apk
Cuynu   commited 2026-03-14 16:43:17 +07:00
4053b8715c
change repo url
MBCPApp   authored and   Cuynu   commited 2026-03-14 16:40:31 +07:00
be434dcf99
improvements
MBCPApp Author   authored and   Cuynu   commited 2026-03-14 16:39:36 +07:00
2d24709bb9
warn WSL users
MBCPApp Author   authored and   Cuynu   commited 2026-03-14 16:39:28 +07:00
3697e6960d
add convert apks to apk function
MBCPApp Author   authored and   Cuynu   commited 2026-03-14 16:30:44 +07:00
d7db68d2ad
add "force portait screen" patch & improvements
MBCPApp Author   authored and   Cuynu   commited 2026-03-14 16:28:05 +07:00
62e367eaf4