From d8e0d7b983acf6a720604132886c2ed7bfcaa8fd Mon Sep 17 00:00:00 2001 From: Cuynu Date: Sat, 9 Aug 2025 09:45:53 +0700 Subject: [PATCH] fix: legacy_patch.sh: also remove QUERY_ALL_PACKAGES permission fixes EKYC3002-MS6998 with DF16246.6 error on some rare cases Signed-off-by: Cuynu --- MBCPApp/legacy_patch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MBCPApp/legacy_patch.sh b/MBCPApp/legacy_patch.sh index 7094f9c..a2b67c9 100755 --- a/MBCPApp/legacy_patch.sh +++ b/MBCPApp/legacy_patch.sh @@ -67,6 +67,8 @@ fi echo "Moving from [libdesignersactivists.so] to [libweneedfreedom.so]..." mv 'mbapk/mbapk_unpacked/lib/arm64-v8a/libdesignersactivists.so' 'mbapk/mbapk_unpacked/lib/arm64-v8a/libweneedfreedom.so' mv 'mbapk/mbapk_unpacked/lib/armeabi-v7a/libdesignersactivists.so' 'mbapk/mbapk_unpacked/lib/armeabi-v7a/libweneedfreedom.so' + # Fixes EKYC3002-MS6998 (DF16246.6) error on devices with randomized apps + sed -i 's|||g' 'mbapk/mbapk_unpacked/AndroidManifest.xml' # Prevent "MB detected that the device is currently not secure for peforming transactions" dialog echo "Creating placeholder lib" rm -rf temp