Disable Samsung malwares preinstalled in /odm partition

This commit is contained in:
Pierre-Hugues Husson 2020-04-04 23:57:10 +02:00
parent 64cb608f45
commit 01c61a68bb
1 changed files with 6 additions and 0 deletions

View File

@ -651,3 +651,9 @@ fi
if [ "$vndk" -le 28 ] && getprop ro.hardware |grep -q -e mt6761 -e mt6763 -e mt6765 -e mt6785;then
setprop debug.stagefright.ccodec 0
fi
if getprop ro.omc.build.version |grep -qE .;then
for f in $(find /odm -name \*.apk);do
mount /system/phh/empty $f
done
fi