android_device_oneplus_dre/rootdir/etc/init.qcom.rc
Danny Baumann 10c61538af sdm845-common: Add support for custom hwcomposer
The one in the vendor partition has broken color transformation.

Change-Id: I93e989af5573902eb7013656268e3298cba6c232
2018-07-20 12:26:22 +02:00

42 lines
1.8 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
service dashd /sbin/dashd
class core
critical
seclabel u:r:dashd:s0
group root system
service factory-hal-1-0 /system/bin/true
disabled