feat: remove_custompfp.sh: disable_membership.sh: target_sdk_34.sh: introduce [Remove custom profile picture] and [Disable MB Membership] patch & rename back from target_sdk_36 to target_sdk_34
it's cuz ucrop activity on MB doesn't follow the new edge-to-edge, but the official ucrop repository does. Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
decb3c2bde
commit
5167b7297d
4 changed files with 45 additions and 3 deletions
27
MBCPApp/patches/disable_membership.sh
Normal file
27
MBCPApp/patches/disable_membership.sh
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/env bash
|
||||
# PATCHNAME: Disable MB Membership
|
||||
# MAXVER:
|
||||
# MINVER:
|
||||
# shellcheck disable=SC1091
|
||||
. "$DIRPATH"/common.sh
|
||||
|
||||
warn "You won't be able to use any of Membership benefits if you already subscribed to !"
|
||||
|
||||
sed_libapp 's|get-customer-subs|get-customer-apps|g'
|
||||
sed_libapp 's|upsale|saleup|g'
|
||||
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/sub_img_hoSoNguoiDungBasic.webp"
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/sub_img_hoSoNguoiDungPlus_.webp"
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/sub_img_hoSoNguoiDungPre.webp"
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/sub_img_hoSoNguoiDungPro.webp"
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/sub_img_goiHoiVien.webp"
|
||||
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/sub_illus_membership.webp"
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/sub_img_membership.webp"
|
||||
|
||||
# Priority exclusive
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/priority/sub_illus_membership.webp"
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/priority/sub_img_goiHoiVien.webp"
|
||||
|
||||
# Private exclusive
|
||||
rm -f "mbapk/mbapk_unpacked/assets/flutter_assets/assets/images/dynamic/base/sub_img_goiHoiVien.private.webp"
|
||||
13
MBCPApp/patches/remove_custompfp.sh
Normal file
13
MBCPApp/patches/remove_custompfp.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
# PATCHNAME: Remove custom profile picture
|
||||
# MAXVER:
|
||||
# MINVER:
|
||||
# shellcheck disable=SC1091
|
||||
. "$DIRPATH"/common.sh
|
||||
|
||||
warn "This will force the default app profile picture instead of the one you already set before on the MB server-side!"
|
||||
|
||||
sed_libapp 's|getPhoto|nonPhoto|g'
|
||||
sed_libapp 's|savePhoto|nonePhoto|g'
|
||||
|
||||
info "In order to force this, you can just remove *.png files from [/data/data/com.mbmobile/cache] where contain your current profile picture, or clear the app data !"
|
||||
8
MBCPApp/patches/target_sdk_34.sh
Normal file
8
MBCPApp/patches/target_sdk_34.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# PATCHNAME: Set targetSdkVersion to 34
|
||||
# MAXVER:
|
||||
# MINVER:
|
||||
# shellcheck disable=SC1091
|
||||
. "$DIRPATH"/common.sh
|
||||
|
||||
sed -i 's|targetSdkVersion: 35|targetSdkVersion: 34|g' "$DIRPATH"/mbapk/mbapk_unpacked/apktool.yml
|
||||
|
|
@ -39,9 +39,11 @@ That applies for following folder :
|
|||
| `Block adjust volume on sEKYC` | Prevent the device volume from being adjusted when entering eKYC activity. | v6.4.0 ~ v6.4.64 |
|
||||
| `Change app logo` | Change the app logo with set of icons. | v6.4.0 ~ v6.4.64 |
|
||||
| `Change widget background to dark ` | Change widget background to dark if you use MBBHomeWidget. | v6.4.0 ~ v6.4.64 |
|
||||
| `Disable MB Membership` | Disable the MB Membership badge below pfp and all of it's features. | v6.4.0 ~ v6.4.64 |
|
||||
| `Force portrait screen` | Force the screen always portrait on app, espcially when launching. | v6.4.0 ~ v6.4.64 |
|
||||
| `Remove invoke to mbshield` | Make app don't invoke to mbshield when opening (MainActivity) and (MBBHomeWidgetQR) only | v6.4.22 ~ v6.4.64 |
|
||||
| `Remove bulit-in fonts` | Remove app font and force to use device font for most app components. | v6.4.0 ~ v6.4.64 |
|
||||
| `Remove custom profile picture` | Force the use of default profile picture instead of your current one on MB's server side. | v6.4.0 ~ v6.4.64|
|
||||
| `Modify app theme` | Modify the app theme in app from original one to others. Currently have MBClassic and SemiPriority. | v6.4.30 ~ v6.4.64 |
|
||||
| `Restore old 682 lib` | Restore old v6.4.61 `libapp.so` to prevent enforced `quockhanh` theme changes on v6.4.62. | v6.4.62 |
|
||||
| `Remove garbage permission and activities` | Removes tracking permission & activities from app. | v6.4.0 ~ v6.4.64 |
|
||||
|
|
@ -59,7 +61,7 @@ That applies for following folder :
|
|||
| `Bypass new zimperium detection` | Bypass the root check from Zimperium within app. | v6.4.56 ~ v6.4.64 |
|
||||
| `Remove protection shield` | Remove the MIC protection shield on profile picture and login screen. (not app protection) | v6.4.0 ~ v6.4.64 |
|
||||
| `Remove app from launcher` | Remove the app icon from launcher, and start with `am start` or with MBZDefend-Fix Action/Termux. | v6.4.0 ~ v6.4.64 |
|
||||
| `Set targetSdkVersion to 36` | Set the `targetSdkVersion` to 36 (Android 16). | v6.4.10 ~ v6.4.64 |
|
||||
| `Set targetSdkVersion to 34` | Set the `targetSdkVersion` to 34 (Android 14). | v6.4.10 ~ v6.4.64 |
|
||||
| `Add modified resources` | Adds the specific strings for MBCP on eKYC phase, and modify the DigiBank logo. | v6.4.0 ~ v6.4.64 |
|
||||
| `Add anime resources` | Adds anime-related resources to some components inside app. | v6.4.45 ~ v6.4.64 |
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue