android_device_oneplus_dre/rootdir/etc/init.qcom.rc
LuK1337 60d417a52f sdm845-common: Start using vendor_overlay
* This lets us override files in /vendor without
  relying on bind mounts ^.^

Change-Id: Ib0b173682a48836aeac97e2c3691176a44f13aab
2019-09-29 14:29:37 +02:00

22 lines
589 B
Text

on post-fs
mount none /system/lib/modules/wlan.ko /vendor/lib/modules-aging/qca_cld3_wlan.ko bind
mount none /system/lib/modules/wlan.ko /vendor/lib/modules/qca_cld3_wlan.ko bind
on boot
# Fingerprint
chown system system /sys/devices/platform/soc/soc:goodix_fp/proximity_state
# OTG
write /sys/class/power_supply/usb/otg_switch 1
on charger
write /sys/class/backlight/panel0-backlight/brightness 150
service dashd /sbin/dashd
class core
critical
seclabel u:r:dashd:s0
group root system
service factory-hal-1-0 /system/bin/true
disabled