device_lenovo_sdm710-common/rootdir/etc/init.qcom.rc
luk1337 78c5637be5 sdm710-common: Start using vendor_overlay
* This lets us override files in /vendor without
  relying on bind mounts ^.^

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-17 11:25:54 +05:30

53 lines
2.2 KiB
Text

on boot
# Touchscreen
chown system system /proc/touchpanel/oppo_tp_limit_enable
chown system system /proc/touchpanel/oppo_tp_limit_area
chown system system /proc/touchpanel/oppo_tp_limit_enable
chown system system /proc/touchpanel/oppo_tp_limit_area
chown system system /proc/touchpanel/double_tap_enable
chown 0660 /proc/touchpanel/double_tap_enable
write /proc/touchpanel/double_tap_enable 1
# Update touchscreen firmware
chown system system /proc/touchpanel/tp_fw_update
write /proc/touchpanel/tp_fw_update 1
# OTG
write /sys/class/power_supply/usb/otg_switch 1
# FP
chown system system /dev/goodix_fp
chown system system /dev/esfp0
service oppo_fingerprints_sh /vendor/bin/sh /vendor/bin/init.oppo.fingerprints.sh
class main
user root
oneshot
service fps_hal /vendor/bin/hw/vendor.oppo.hardware.biometrics.fingerprint@2.1-service
class late_start
user system
group system input uhid
on post-fs-data
mkdir /data/gf_data 0700 system system
mkdir /data/system/gf_data 0700 system system
mkdir /data/images 0700 system system
mkdir /data/system/silead 0770 system system
mkdir /persist/silead 0770 system system
chown system system /sys/bus/platform/devices/fpc_interrupt/clk_enable
chown system system /sys/bus/platform/devices/fpc_interrupt/wakelock_enable
chown system system /sys/bus/platform/devices/fpc_interrupt/irq
chown system system /sys/bus/platform/devices/fpc_interrupt/irq_enable
chown system system /sys/bus/platform/devices/fpc_interrupt/irq_unexpected
chmod 0200 /sys/bus/platform/devices/fpc_interrupt/irq_enable
chmod 0200 /sys/bus/platform/devices/fpc_interrupt/clk_enable
chmod 0200 /sys/bus/platform/devices/fpc_interrupt/wakelock_enable
chmod 0600 /sys/bus/platform/devices/fpc_interrupt/irq
chmod 0660 /sys/bus/platform/devices/fpc_interrupt/irq_unexpected
mkdir /data/vendor/fingerprint 0770 system system
mkdir /mnt/vendor/persist/fingerprint 0770 system system
chown system system /sys/kernel/oppo_display/hbm
mkdir /data/vendor/silead 0770 system system
mkdir /mnt/vendor/persist/fingerprint/silead 0770 system system
mkdir /data/vendor/egis 0770 system system