From bb82498d1c8e4c7524f55b795a785f410afa6379 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 17 Jul 2018 18:02:41 +0200 Subject: [PATCH] Fix https://github.com/phhusson/treble_experimentations/issues/68 --- rw-system.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 46220c0..1ba907a 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -78,3 +78,12 @@ fi if getprop ro.wlan.mtk.wifi.5g |grep -q 1;then setprop persist.sys.overlay.wifi5g true fi + +if grep -qF 'mkdir /data/.fps 0770 system fingerp' vendor/etc/init/hw/init.mmi.rc;then + mkdir -p /data/.fps + chmod 0770 /data/.fps + chown system:9015 /data/.fps + + chown system:9015 /sys/devices/soc/soc:fpc_fpc1020/irq + chown system:9015 /sys/devices/soc/soc:fpc_fpc1020/irq_cnt +fi