diff --git a/conf/init.oriole.rc b/conf/init.oriole.rc index 8425b5a..c3e6976 100644 --- a/conf/init.oriole.rc +++ b/conf/init.oriole.rc @@ -31,6 +31,10 @@ on fs # Start the twoshay touch service start twoshay + # LHBM + # FIXME(b/183223359): Only grant write access to SystemUI. + chmod 0666 /sys/class/drm/card0/card0-DSI-1/panel/backlight/panel0-backlight/local_hbm_mode + # Toggle glove_mode according to touch_sensitivity_mode on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1 write /sys/class/spi_master/spi11/spi11.0/glove_mode 00 diff --git a/conf/init.raven.rc b/conf/init.raven.rc index e7ba699..5f6088b 100644 --- a/conf/init.raven.rc +++ b/conf/init.raven.rc @@ -31,6 +31,10 @@ on fs # Face exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/faceauth.app + # LHBM + # FIXME(b/183223359): Only grant write access to SystemUI. + chmod 0666 /sys/class/drm/card0/card0-DSI-1/panel/backlight/panel0-backlight/local_hbm_mode + on property:mfgapi.touchpanel.permission=1 chmod 0600 /sys/devices/virtual/sec/tsp/cmd chown system system /sys/devices/virtual/sec/tsp/cmd