diff --git a/MBCPApp/patches/disable_membership.sh b/MBCPApp/patches/disable_membership.sh new file mode 100644 index 0000000..f1bb60b --- /dev/null +++ b/MBCPApp/patches/disable_membership.sh @@ -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" diff --git a/MBCPApp/patches/remove_custompfp.sh b/MBCPApp/patches/remove_custompfp.sh new file mode 100644 index 0000000..df63423 --- /dev/null +++ b/MBCPApp/patches/remove_custompfp.sh @@ -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 !" diff --git a/MBCPApp/patches/target_sdk_36.sh b/MBCPApp/patches/target_sdk_34.sh similarity index 54% rename from MBCPApp/patches/target_sdk_36.sh rename to MBCPApp/patches/target_sdk_34.sh index 6a7735a..9023054 100644 --- a/MBCPApp/patches/target_sdk_36.sh +++ b/MBCPApp/patches/target_sdk_34.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -# PATCHNAME: Set targetSdkVersion to 36 +# PATCHNAME: Set targetSdkVersion to 34 # MAXVER: # MINVER: # shellcheck disable=SC1091 . "$DIRPATH"/common.sh -sed -i 's|targetSdkVersion: 35|targetSdkVersion: 36|g' "$DIRPATH"/mbapk/mbapk_unpacked/apktool.yml +sed -i 's|targetSdkVersion: 35|targetSdkVersion: 34|g' "$DIRPATH"/mbapk/mbapk_unpacked/apktool.yml diff --git a/README.md b/README.md index 3107685..18385bf 100644 --- a/README.md +++ b/README.md @@ -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 |