27 lines
767 B
Plaintext
27 lines
767 B
Plaintext
on boot
|
|
# Fix permissions of double tap node
|
|
chown system system /proc/touchpanel/double_tap_enable
|
|
chmod 0644 /proc/touchpanel/double_tap_enable
|
|
|
|
# Fix for AOD
|
|
write /sys/kernel/oppo_display/aod_area "290 414 699 1270 0 1 0 255"
|
|
|
|
# Vibrator node
|
|
chown system system /sys/class/leds/vibrator/vmax_mv
|
|
chmod 0644 /sys/class/leds/vibrator/vmax_mv
|
|
|
|
# OTG
|
|
chown system system /sys/class/power_supply/usb/otg_switch
|
|
chmod 0644 /sys/class/power_supply/usb/otg_switch
|
|
|
|
on property:ro.boot.product.hardware.sku=nfc
|
|
start secure_element_hal_service
|
|
start vendor.nfc_hal_service
|
|
|
|
service vendor.nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service
|
|
override
|
|
disabled
|
|
class hal
|
|
user nfc
|
|
group nfc
|