| on property:sys.boot_completed=1 |
| # Sysfs |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/force_active |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/fw_ver |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/interactive_calibrate |
| chmod 666 /sys/devices/virtual/goog_touch_interface/gti.0/interactive_calibrate |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/panel_id |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/offload_id |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_base |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_diff |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_raw |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/self_test |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_base |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_diff |
| chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_raw |
| |
| # Procfs |
| chown system system /proc/goog_touch_interface |
| chown system system /proc/goog_touch_interface/gti.0 |
| chown system system /proc/goog_touch_interface/gti.0/dump |
| chown system system /proc/goog_touch_interface/gti.0/ms_base |
| chown system system /proc/goog_touch_interface/gti.0/ms_diff |
| chown system system /proc/goog_touch_interface/gti.0/ms_raw |
| chown system system /proc/goog_touch_interface/gti.0/ss_base |
| chown system system /proc/goog_touch_interface/gti.0/ss_diff |
| chown system system /proc/goog_touch_interface/gti.0/ss_raw |
| |
| on property:vendor.touch.gti0.ical=* |
| setprop vendor.touch.gti0.ical.state init |
| start touch_gti0_ical |
| wait_for_prop vendor.touch.gti0.ical.state done |
| |
| service touch_gti0_ical /vendor/bin/touch_gti_ical 0 ${vendor.touch.gti0.ical} |
| class main |
| user system |
| group system shell |
| disabled |
| oneshot |