feat: patches(remove_mbai): adapt newer resources & rename bullsh*t to slop

Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
Cuynu 2026-06-19 10:24:36 +07:00
commit 05c65d15df
Signed by: cuynu
GPG key ID: 1F01341D0B42B51A
2 changed files with 11 additions and 8 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# PATCHNAME: Fix VTAP certificate
# MAXVER:
# PATCHNAME: Fix outdated VTAP certificate
# MAXVER: 6.4.89
# MINVER:
# shellcheck disable=SC1091
. "$DIRPATH"/common.sh
@ -17,9 +17,8 @@ info "Not needed for newer app version (like v6.4.94)"
nofwfound() {
err "no VTAP firmware in [fixcert] folder found!"
info "copy [firmware] and [profile] file to [fixcert] folder to continue."
info "[firmware] and [profile] can be found in [assets], please find from newer or older app."
info "recommended app : v6.4.94 for fixing v6.4.67 ~ v6.4.91"
info "and v6.4.75 for v6.4.92+ for revert old detection behavior."
info "[firmware] and [profile] can be found in [assets], please find from newer app."
info "recommended app : v6.4.94"
exit 1
}
@ -36,4 +35,4 @@ cp -f "$DIRPATH"/fixcert/firmware "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/
cp -f "$DIRPATH"/fixcert/profile "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/
info "Remove [firmware] and [profile] file from [/data/data/com.mbmobile/files] or clear app data"
info "If the app still keep crashing or throwing expired certificate screen or the detection is still the same."
info "If the app still keep crashing or throwing expired certificate screen."

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
# PATCHNAME: Remove MB AI Bullshit resources
# PATCHNAME: Remove MB AI Slop resources
# MAXVER:
# MINVER: 6.4.73
# shellcheck disable=SC1091
@ -71,3 +71,7 @@ enforcemb
# Adapt with new animated search AI logo (v6.4.77+)
cp -f 'blob_patches/searchicon/search.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/static/search_ai.gif'
# Adapt with more new AI slop icons (v6.5.x)
rm -rf 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/mbai_img_camera.webp'
rm -rf 'mbapk/mbapk_unpakced/root/assets/flutter_assets/assets/images/dynamic/base/mbai_img_photo.webp'