android_device_oneplus_dre/rootdir/etc/init.qcom.rc
Luca Stefani 066ab27624 sdm845-common: Switch back to vendor HWComposer
* Starting from Open Beta 6 we can use OP HAL

Change-Id: I11f62cee8bd512c928724f385b4851b0504b753d
2018-12-23 20:17:39 +01:00

55 lines
2.5 KiB
Text

on init
mount none /system/etc/audio_policy_configuration.xml /vendor/etc/audio/audio_policy_configuration.xml bind
mount none /system/lib64/hw/power.qcom.so /vendor/lib64/hw/power.qcom.so bind
mount none /system/lib/hw/power.qcom.so /vendor/lib/hw/power.qcom.so bind
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
# Touchpanel
chmod 0660 /proc/touchpanel/double_swipe_enable
chmod 0660 /proc/touchpanel/down_arrow_enable
chmod 0660 /proc/touchpanel/down_swipe_enable
chmod 0660 /proc/touchpanel/left_arrow_enable
chmod 0660 /proc/touchpanel/left_swipe_enable
chmod 0660 /proc/touchpanel/letter_m_enable
chmod 0660 /proc/touchpanel/letter_o_enable
chmod 0660 /proc/touchpanel/letter_s_enable
chmod 0660 /proc/touchpanel/letter_w_enable
chmod 0660 /proc/touchpanel/right_arrow_enabl
chmod 0660 /proc/touchpanel/right_swipe_enabl
chmod 0660 /proc/touchpanel/up_arrow_enable
chmod 0660 /proc/touchpanel/up_swipe_enable
chown system system /proc/touchpanel/double_swipe_enable
chown system system /proc/touchpanel/down_arrow_enable
chown system system /proc/touchpanel/down_swipe_enable
chown system system /proc/touchpanel/left_arrow_enable
chown system system /proc/touchpanel/left_swipe_enable
chown system system /proc/touchpanel/letter_m_enable
chown system system /proc/touchpanel/letter_o_enable
chown system system /proc/touchpanel/letter_s_enable
chown system system /proc/touchpanel/letter_w_enable
chown system system /proc/touchpanel/right_arrow_enabl
chown system system /proc/touchpanel/right_swipe_enabl
chown system system /proc/touchpanel/up_arrow_enable
chown system system /proc/touchpanel/up_swipe_enable
chmod 0660 /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/main_display/display_mode
chmod 0660 /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/main_display/hbm
chown system system /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/main_display/display_mode
chown system system /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/main_display/hbm
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