Disable initial blank, and set a default brightness that can be used by kernel to be written to panel when it's re-enabled. Change-Id: I35fbd0bc7e816a8833cbeda145415db4fe521adb
52 lines
2.4 KiB
Text
52 lines
2.4 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
|
|
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
|
|
# 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
|