f369b61ff6
This isn't used on SDM710 and spams logs as it continues to try to start. Change-Id: I16928663232d5b4e9d005c60dfe080f9cc596d32 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
83 lines
3 KiB
Text
83 lines
3 KiB
Text
on late-fs
|
|
write /sys/block/sda/queue/iostats 0
|
|
write /sys/block/sda/queue/scheduler cfq
|
|
write /sys/block/sda/queue/read_ahead_kb 2048
|
|
write /sys/block/sda/queue/nr_requests 256
|
|
write /sys/block/dm-0/queue/read_ahead_kb 2048
|
|
write /sys/block/dm-1/queue/read_ahead_kb 2048
|
|
|
|
on property:sys.boot_completed=1
|
|
write /sys/block/sda/queue/iostats 1
|
|
write /sys/block/sda/queue/scheduler noop
|
|
write /sys/block/sda/queue/read_ahead_kb 512
|
|
write /sys/block/sda/queue/nr_requests 128
|
|
write /sys/block/dm-0/queue/read_ahead_kb 512
|
|
write /sys/block/dm-1/queue/read_ahead_kb 512
|
|
write /dev/blkio/blkio.weight 1000
|
|
write /dev/blkio/background/blkio.weight 200
|
|
write /dev/blkio/blkio.group_idle 2000
|
|
write /dev/blkio/background/blkio.group_idle 0
|
|
|
|
on boot
|
|
# Touchscreen
|
|
chown system system /proc/touchpanel/double_tap_enable
|
|
chown 0660 /proc/touchpanel/double_tap_enable
|
|
write /proc/touchpanel/double_tap_enable 1
|
|
|
|
# Disable edge limit control interface
|
|
write /proc/touchpanel/oppo_tp_limit_enable 0
|
|
|
|
# Enable oppo touchpanel direction
|
|
write /proc/touchpanel/oppo_tp_direction 1
|
|
|
|
# Update touchscreen firmware
|
|
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
|
|
|
|
service face_hal /system/bin/true
|
|
disabled
|
|
|
|
service cvphalservice /system/bin/true
|
|
disabled
|
|
|
|
service vendor.power-hal-1-0 /system/bin/true
|
|
disabled
|