Disable Samsung malwares preinstalled in /odm partition

This commit is contained in:
Pierre-Hugues Husson 2020-04-04 23:57:10 +02:00 committed by tboy1991
parent d84983edd2
commit 264137a948

View File

@ -659,3 +659,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