From a8e8ac6233d947bbbcc8cd3a885247ce9962c705 Mon Sep 17 00:00:00 2001 From: Cuynu Date: Tue, 21 Jul 2026 15:32:00 +0700 Subject: [PATCH] feat: patches(add_modified_resources): adapt with v6.5.7+ strings Signed-off-by: Cuynu --- .../blob_patches/resources/strings_newapp.xml | 378 ++++++++++++++++++ MBCPApp/patches/add_modified_resources.sh | 7 + 2 files changed, 385 insertions(+) create mode 100644 MBCPApp/blob_patches/resources/strings_newapp.xml diff --git a/MBCPApp/blob_patches/resources/strings_newapp.xml b/MBCPApp/blob_patches/resources/strings_newapp.xml new file mode 100644 index 0000000..47b50cf --- /dev/null +++ b/MBCPApp/blob_patches/resources/strings_newapp.xml @@ -0,0 +1,378 @@ + + + OPC_NAME_NOT_SET_KEY + OPC_NETWORK_KEY + OPC_NETWORK_NAME_KEY + NO_OPC_SET + OPC_SHARED_PREFERENCES_FILE + OPC_SHARED_PREFERENCES_KEY + OPC_TOKEN_SERVICE_PROVIDER_KEY + OPC_TOKEN_SERVICE_PROVIDER_NAME_KEY + + Navigate home + Navigate up + More options + Done + See all + Choose an app + OFF + ON + Alt+ + Ctrl+ + delete + enter + Function+ + Meta+ + Shift+ + space + Sym+ + Menu+ + Search… + Clear query + Search query + Search + Submit query + Voice search + Share with + Share with %s + Collapse + + + Understand and continue + Please move the face into the frame + You will have to speak loudy these numbers on the screen + Please look straight + Please look straight + Your face is in the frame. Please hold your hand steady! + Please keep your face upright + Please keep your face upright + Please put the camera further away + Please put the camera closer + Please look straight + Please look straight + Please move your face fit in the frame + Found many faces in the frame. Please retake the selfie + Agree + Please remove scarf, mask, sunglasses, hat and take a photo in well-lit condition + Keep your face steady during video recording + Speak loudly and clearly the number on the screen + Hold your phone as high as your face + Video recording tutorial + Please take a video of your face to verify no one is impersonating you + Biometric information + Start demonstration + Verify information + Please watch the tutorial to know how to record video with the best quality + Cancel + Retry + Record selfie video failed + Please move your face fit in the frame + Your facial data does not match. Please try again + Your video is in low quality + Your facial data does not match + Failed. Please record the video again + Error. Please record your voice again + Recording + Speak loudly the number on the screen + androidx.startup + mbbank.onelink.me + MB Bank + This is an app widget description + com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior + com.google.android.material.bottomsheet.BottomSheetBehavior + Expand halfway + Characters entered %1$d of %2$d + Character limit exceeded %1$d of %2$d + %1$d/%2$d + Clear text + Tap to setup QR + Tap to setup QR + cca90e65-5805-4c06-bc2d-930595fb2cf4 + a4f49867dfa64435bea0bafc1f437f34 + Enable + %1$s can't work properly unless you enable GMS/microG. + Enable GMS/microG + Install + GMS/microG is missing from your device. %1$s still runs without it but some features will be broken. + GMS/microG missing + Google Play services availability + Google Play services error + %1$s is having trouble with Google Play services. Please try again. + %1$s won't run without Google Play services, which are not supported by your device. + Update + %1$s won't run unless you update Google Play services. + Update Google Play services + %1$s won't run without Google Play services, which are currently updating. + New version of Google Play services needed. It will update itself shortly. + Open on phone + Sign in + Sign in with Google + Use password + Copy + Link copied to clipboard + Unknown error + 162583259686-erd52s6o9832jno1lpa9on8t2djnicie.apps.googleusercontent.com + . + . + Error + Advanced + Show dropdown menu + com.google.android.material.transformation.FabTransformationScrimBehavior + com.google.android.material.transformation.FabTransformationSheetBehavior + Copy link + Open in browser + Share link + Miscellaneous + Touch the fingerprint sensor + Fingerprint hardware not available. + This device does not have a fingerprint sensor + Too many attempts. Please try again later. + No fingerprints enrolled. + Fingerprint operation canceled by user. + Not recognized + https://mbmobilebanking6789.firebaseio.com + 162583259686 + You cannot go back to the previous step. Please continue + Warning + Processing... + No PIN, pattern, or password set. + This device does not support PIN, pattern, or password. + Authentication canceled by user. + The server response is invalid or missing. Please try again + Please check your internet connection + AIzaSyAcxvc0vK4vJ3TzLe0PI9gqNIq8ZxmL5NI + 1:162583259686:android:884f0ccb6ad5e1ed + AIzaSyAcxvc0vK4vJ3TzLe0PI9gqNIq8ZxmL5NI + mbmobilebanking6789.appspot.com + + com.google.android.material.behavior.HideBottomViewOnScrollBehavior + Dialog Icon + SDK initialization failed + SDK initialization success + https://mobile.useinsider.com/api/v1/test_device/add + https://mobile.useinsider.com/api/amplification/v1/poll + https://mobileanalytics.useinsider.com + /api/v1/test_device/add + /api/amplification/v1/poll + /api/v1/privacy/gdpr/consent/get + /api/v1/privacy/gdpr/consent/set + /api/v1/geofences + /api/v1/geofences/notify + /api/identity/v3/get + /api/message_center/v2/sdk/get + https://mobile.useinsider.com/api/v1/privacy/gdpr/consent/get + https://mobile.useinsider.com/api/v1/privacy/gdpr/consent/set + https://mobile.useinsider.com/api/v1/geofences + https://mobile.useinsider.com/api/v1/geofences/notify + https://mobile.useinsider.com/api/identity/v3/get + https://mobile.useinsider.com/api/logging/sdk/v2 + https://mobile.useinsider.com/api/message_center/v2/sdk/get + Android + /api/v3/session/start + /api/v3/session/stop + https://mobile.useinsider.com/api/v3/session/start + https://mobile.useinsider.com/api/v3/session/stop + /api/gandalf/v2/live_push + /api/gandalf/v2/start_connection + /api/gandalf/v2/stop_connection + https://mobile.useinsider.com/api/gandalf/v2/live_push + https://mobile.useinsider.com/api/gandalf/v2/start_connection + https://mobile.useinsider.com/api/gandalf/v2/stop_connection + Tab + sans-serif + sans-serif-medium + sans-serif + : + Select AM or PM + Select hour + %1$s o'clock + Select minutes + %1$s minutes + cubic-bezier(0.4, 0.0, 1.0, 1.0) + cubic-bezier(0.0, 0.0, 0.2, 1.0) + path(M 0,0 C 0.05, 0, 0.133333, 0.06, 0.166666, 0.4 C 0.208333, 0.82, 0.25, 1, 1, 1) + cubic-bezier(0.0, 0.0, 1.0, 1.0) + cubic-bezier(0.4, 0.0, 0.2, 1.0) + Range end, + Range start, + AM + Switch to clock mode for the time input. + Hour + Minute + PM + Select time + Switch to text input mode for the time input. + New notification + Remove %1$s + More than %1$d new notifications + %1$d%2$s + Change to next month + Change to previous month + Current selection: %1$s + @android:string/cancel + OK + %1$s + Select Date + Selected date + Column of days: %1$s + Invalid format. + Example: %1$s + Use: %1$s + Invalid range. + Navigate to year %1$s + Out of range: %1$s + Start date – %1$s + %1$s – End date + %1$s – %2$s + Select Range + Start date – End date + Save + Date + End date + Start date + d + m + y + Switch to calendar input mode + Tap to switch to selecting a day + Switch to text input mode + Tap to switch to selecting a year + OK + Next + Kết thúc + Not set + Agree + Please move the ID card into the frame + Make sure the photo is easy to read, with no blur or loss of angle or flare + Make sure your ID card is valid + Tutorial for taking photo of ID card + Please take a photo of your ID card to verify your information + ID card information + Change + Start capturing + Please select the type of document + Continue + Cancel + Do you want to continue to register? + Verify information + - + Back + Accept + Capture + Retake + Retry + Front + Page 2 + Capture + Citizen identification + Citizen identification + Identification documents + Passport + Military ID card + You took the wrong side of the ID card. Please try again + Your photo is unqualified. Please retake a photo of ID + Cannot find the face on your ID card. Please retake the photo + Your ID card is not fully captured. Please try again (OCR005) + Your facial data on ID card and video do not match. Please try again + Your photo is unqualified. Please retake a photo of ID + Make sure your photos are easy to read, with no blur, loss of corners, or glare + Please move the ID card into the frame + Continue + Stop + Do you want to continue to register? + Yes + No + Do you want to go back to previous step? + Please keep your ID straight + Cannot find the face on your ID card + Authentication failed + Authentication successfully + Cannot receive the data of identification session. Please try again + Identifier and bioID do not match + Cannot find the identifier + Your data is being manually reviewed + Cannot identify your data on video and ID card + Authentication failed + Successful registration with highest level + You have tried more than the permitted. Please contact the call center + Please try again. If not successful, please contact the call center + Cannot verify your data + You have exited the identification process + You are not qualify to take the next step + Show password + M12,4.5C7,4.5 2.73,7.61 1,12c1.73,4.39 6,7.5 11,7.5s9.27,-3.11 11,-7.5c-1.73,-4.39 -6,-7.5 -11,-7.5zM12,17c-2.76,0 -5,-2.24 -5,-5s2.24,-5 5,-5 5,2.24 5,5 -2.24,5 -5,5zM12,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3 3,-1.34 3,-3 -1.34,-3 -3,-3z + M2,4.27 L19.73,22 L22.27,19.46 L4.54,1.73 L4.54,1 L23,1 L23,23 L1,23 L1,4.27 Z + M2,4.27 L2,4.27 L4.54,1.73 L4.54,1.73 L4.54,1 L23,1 L23,23 L1,23 L1,4.27 Z + M3.27,4.27 L19.74,20.74 + Agree + Close + Go to "Settings" + Please allow [APP_NAME] to access the camera and microphone for recording the video + Please allow [APP_NAME] to access the camera and microphone + Please allow [APP_NAME] to access the camera for taking selfie + Please allow [APP_NAME] to access the camera + Please allow [APP_NAME] to access the microphone for recording + Please allow [APP_NAME] to access the microphone + Please allow [APP_NAME] to access the camera and microphone in "Settings" + "%1$s" copied to clipboard. + mbmobilebanking6789 + QR Image + Receive QR + This app may not work correctly without the requested permissions. + This app may not work correctly without the requested permissions. Open the app settings screen to modify app permissions. + . + . + . + . + Search + Please keep the card +until the process is completed + Your current device is not currently compatible + with NFC mode. + +Please try on another device. or restart. + Current device is not compatible + Check your ID card + Notes + Watch the instruction video before proceed + 1. Prepare vaild ID card + 2. Remove the phone case. + 3. Enable NFC and accept the permission if asked. + 4. Do like the video. + 1. Prepare the ID card. + 2. Put it to your phone backcover. + 3. Move the ID card from bottom slowly until the device recognize it. + 4. Keep the card scanning for 5-10 seconds. + 1. Put the ID card to your phone backcover. + 2. Slowly moving the ID card, until the device recognize it, then keep the card until the process is complete. + 999+ + %1$s, %2$s + + Tap to setup QR + Online loan + Phone Topup + Phone Topup + Scan QR + Transfer + + VideoPreviewActivity + Permissions Required + Loading… + Crop + Both input and output Uri must be specified + Edit Photo + Original + Crop + Therefore, override color resource (ucrop_color_toolbar_widget) in your app to make it work on pre-L devices + Rotate + Scale + OFF + ON + Copied "%1$s" to clipboard. + Search + 999+ + %1$s, %2$s + Loading… + OFF + ON + diff --git a/MBCPApp/patches/add_modified_resources.sh b/MBCPApp/patches/add_modified_resources.sh index 250704d..688eca0 100644 --- a/MBCPApp/patches/add_modified_resources.sh +++ b/MBCPApp/patches/add_modified_resources.sh @@ -15,11 +15,18 @@ nochiptext() { rm -rf strings_temp } +no_resolution() { + warn "App newer than v6.5.7+ ! Using specific strings file instead..." + cp -f 'blob_patches/resources/strings_newapp.xml' 'mbapk/mbapk_unpacked/resources/package_1/res/values/strings.xml' +} + info "Copying modified resources..." cp -r -f 'blob_patches/resources/raw' 'mbapk/mbapk_unpacked/resources/package_1/res/' cp -f 'blob_patches/resources/strings-vi/strings.xml' 'mbapk/mbapk_unpacked/resources/package_1/res/values-vi/' [ $(cat mbapk/mbapk_unpacked/resources/package_1/res/values/strings.xml | grep chip_text) ] && cp -f 'blob_patches/resources/strings/strings.xml' 'mbapk/mbapk_unpacked/resources/package_1/res/values/' || nochiptext +[ $(cat mbapk/mbapk_unpacked/resources/package_1/res/values/strings.xml | grep -q RESOLUTION) ] && cp -f 'blob_patches/resources/strings/strings.xml' 'mbapk/mbapk_unpacked/resources/package_1/res/values/' || no_resolution + info "Copying bootleg_ekyc..." cp -f 'blob_patches/bootleg_ekyc/dotp1_ekyc.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/digitalOtp_img_authenguide01.webp' cp -f 'blob_patches/bootleg_ekyc/dotp2_ekyc.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/digitalOtp_img_authenguide02.webp'