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

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 if [ "$vndk" -le 28 ] && getprop ro.hardware |grep -q -e mt6761 -e mt6763 -e mt6765 -e mt6785;then
setprop debug.stagefright.ccodec 0 setprop debug.stagefright.ccodec 0
fi 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