android_device_oneplus_dre/rootdir/etc/init.qcom.rc
Danny Baumann c162e21253 sdm845-common: Add support for display modes and HBM
Change-Id: Ic93612e6ffeb0103778bd05bfd1c2921e433cd9f
2018-07-20 13:37:35 +02:00

47 lines
2.1 KiB
Text

on init
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/lib64/hw/hwcomposer.qcom.so /vendor/lib64/hw/hwcomposer.sdm845.so bind
on boot
# 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
service dashd /sbin/dashd
class core
critical
seclabel u:r:dashd:s0
group root system
service factory-hal-1-0 /system/bin/true
disabled