diff --git a/init/init.mmi.overlay.rc b/init/init.mmi.overlay.rc index 43a08e9..474d948 100644 --- a/init/init.mmi.overlay.rc +++ b/init/init.mmi.overlay.rc @@ -1,52 +1,8 @@ -on post-fs - chown system system /sys/devices/platform/soc/4804000.ufshc/clkgate_enable - chown system system /sys/devices/platform/soc/4804000.ufshc/devfreq/4804000.ufshc/min_freq - - # Sensors - chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/double_tap_enabled - chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/double_tap_pressed - -#fps dual sensor -service chipone_ident /vendor/bin/hw/chipone_ident - class late_start - user system - group system - oneshot - disabled - -service vendor.ident-fps-overlay-sh /vendor/bin/init.oem.fingerprint.overlay.sh - class core - user root - group drmrpc system - oneshot - disabled - on post-fs-data - exec_start vendor.ident-fps-overlay-sh - chown system system /dev/fpsensor - chmod 0660 /dev/fpsensor - chown system system /sys/devices/platform/soc/soc:fm_wcn39x0/elna_en - - # touch api - chown system system /sys/class/touchscreen/primary/interpolation - chmod 0660 /sys/class/touchscreen/primary/interpolation - chown system system /sys/class/touchscreen/primary/first_filter - chmod 0660 /sys/class/touchscreen/primary/first_filter - chown system system /sys/class/touchscreen/primary/edge - chmod 0660 /sys/class/touchscreen/primary/edge + # touch chown system system /sys/class/touchscreen/primary/gesture chmod 0660 /sys/class/touchscreen/primary/gesture - # change permission for stylus - chown system system /sys/class/touchscreen/primary/palm_settings - chmod 0444 /dev/moto_penraw - - # Change ownership and permission for cp-standalone factory testing - chown system system /sys/class/power_supply/cp-standalone/voltage_now - chown system system /sys/bus/iio/devices/iio:device5/in_index_sc8549_cp_enable_input - chmod 0644 /sys/class/power_supply/cp-standalone/voltage_now - chmod 0664 /sys/bus/iio/devices/iio:device5/in_index_sc8549_cp_enable_input - on early-init insmod /vendor/lib/modules/leds_aw99703.ko insmod /vendor/lib/modules/mcDrvModule.ko @@ -54,9 +10,6 @@ on early-init on init insmod /vendor/lib/modules/${ro.vendor.mot.gki.path}/nova_0flash_mmi.ko -on boot && property:ro.vendor.mot.gki.path=5.4-gki - insmod /vendor/lib/modules/${ro.vendor.mot.gki.path}/nfc_i2c.ko - on late-init insmod /vendor/lib/modules/${ro.vendor.mot.gki.path}/mmi_charger.ko insmod /vendor/lib/modules/${ro.vendor.mot.gki.path}/mmi_discrete_charger_class.ko