blob: 9ee3b385378ef888bc008cb3ecb5313968006086 [file] [log] [blame]
# Cheetah specific init.rc
import /vendor/etc/init/hw/init.gs201.rc
import /vendor/etc/init/hw/init.pantah.rc
on property:ro.boot.cdt_hwid=0x00030303000100010001000000000000
setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
on property:ro.boot.cdt_hwid=0x00030303000100000000000000000000
setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
on property:ro.boot.cdt_hwid=0x00030303000100000100000000000000
setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
on property:ro.boot.cdt_hwid=0x00030303000100000200000000000000
setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
# Display
on property:graphics.display.kernel_idle_timer.enabled=true
# Enable aggressive idle mode switching
write /sys/devices/platform/exynos-drm/primary-panel/panel_idle "1"
on property:graphics.display.kernel_idle_timer.enabled=false
write /sys/devices/platform/exynos-drm/primary-panel/panel_idle "0"
# Toggle high_sensitivity according to touch_sensitivity_mode
on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1
write /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs/high_sensitivity 0
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
write /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs/high_sensitivity 1