2019-04-03 10:05:43 -04:00
|
|
|
on init
|
|
|
|
mount none /system/etc/audio_policy_configuration.xml /vendor/etc/audio/audio_policy_configuration.xml bind
|
2019-11-13 09:48:44 -05:00
|
|
|
mount none /dev/null /vendor/etc/init/vendor.oppo.hardware.biometrics.fingerprint@2.1-service.rc bind
|
2018-07-19 18:53:01 -04:00
|
|
|
mount none /system/lib64/hw/power.qcom.so /vendor/lib64/hw/power.qcom.so bind
|
2018-09-25 18:44:44 -04:00
|
|
|
mount none /system/lib64/soundfx/libvolumelistener.so /vendor/lib64/soundfx/libvolumelistener.so bind
|
|
|
|
mount none /system/lib/soundfx/libvolumelistener.so /vendor/lib/soundfx/libvolumelistener.so bind
|
|
|
|
|
2019-08-29 05:37:42 -04:00
|
|
|
on boot
|
2019-08-29 06:13:26 -04:00
|
|
|
mount none /system/overlay/BluetoothResCommon.apk /vendor/overlay/BluetoothResCommon.apk bind
|
|
|
|
|
2019-08-29 05:37:42 -04:00
|
|
|
# Touchscreen
|
|
|
|
chown system system /proc/touchpanel/double_tap_enable
|
|
|
|
chown 0660 /proc/touchpanel/double_tap_enable
|
|
|
|
|
2019-11-26 04:30:28 -05:00
|
|
|
# Update touchscreen firmware
|
|
|
|
chown system system /proc/touchpanel/tp_fw_update
|
|
|
|
write /proc/touchpanel/tp_fw_update 1
|
|
|
|
|
2019-08-29 05:37:42 -04:00
|
|
|
# OTG
|
|
|
|
write /sys/class/power_supply/usb/otg_switch 1
|
|
|
|
|
|
|
|
# FP
|
|
|
|
chown system system /dev/goodix_fp
|
2019-12-01 08:57:47 -05:00
|
|
|
chown system system /dev/esfp0
|
2019-08-29 05:37:42 -04:00
|
|
|
|
|
|
|
service oppo_fingerprints_sh /vendor/bin/sh /vendor/bin/init.oppo.fingerprints.sh
|
|
|
|
class main
|
|
|
|
user root
|
|
|
|
oneshot
|
|
|
|
|
2019-11-13 09:48:44 -05:00
|
|
|
service fps_hal /vendor/bin/hw/vendor.oppo.hardware.biometrics.fingerprint@2.1-service
|
|
|
|
class late_start
|
|
|
|
user system
|
2018-12-03 12:35:43 -05:00
|
|
|
group system input uhid
|
2019-11-13 09:48:44 -05:00
|
|
|
|
2019-08-29 05:37:42 -04:00
|
|
|
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
|
2019-12-01 08:57:47 -05:00
|
|
|
mkdir /data/vendor/egis 0770 system system
|