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 <cuynu@proton.me>
This commit is contained in:
parent
4b8fe99842
commit
176aafafa8
1 changed files with 2 additions and 0 deletions
|
|
@ -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|<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>||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
|
||||
|
|
|
|||
Loading…
Reference in a new issue