On some Oppo devices, we can NOT load firmware. Oppo engineers realized that and kept the line in rc script, but simply commented it out. so check this

This commit is contained in:
Pierre-Hugues Husson 2021-05-11 06:20:40 -04:00
parent 80281b21ab
commit 07e17110ca
1 changed files with 3 additions and 1 deletions

View File

@ -799,7 +799,9 @@ if [ -f /proc/oppoVersion/prjVersion ];then
fi fi
echo 1 > /proc/tfa98xx/oppo_tfa98xx_fw_update echo 1 > /proc/tfa98xx/oppo_tfa98xx_fw_update
echo 1 > /proc/touchpanel/tp_fw_update if ! grep -q -E -e '.*#write .*tp_fw_update' /vendor/etc/init/hw/*touch*;then
echo 1 > /proc/touchpanel/tp_fw_update
fi
if getprop ro.build.overlay.deviceid |grep -qE '^RMX';then if getprop ro.build.overlay.deviceid |grep -qE '^RMX';then
chmod 0660 /sys/devices/platform/soc/soc:fpc_fpc1020/{irq,irq_enable,wakelock_enable} chmod 0660 /sys/devices/platform/soc/soc:fpc_fpc1020/{irq,irq_enable,wakelock_enable}