These are scripts to be run with Script Manager.
led_on script: #!/system/bin/sh print 80 > /sys/class/leds/button-backlight-portrait/brightness print 80 > /sys/class/leds/button-backlight-landscape/brightness led_off script: #!/system/bin/sh print 0 > /sys/class/leds/button-backlight-portrait/brightness print 0 > /sys/class/leds/button-backlight-landscape/brightness
Obviously enable root browsing in SManager and run this as root. You can also run led_on at boot if needed. This is a fix when not using auto-brightness.
This will cause the capacitive buttons to ALWAYS be on, even when the screen is off. A simple idea is to check the status of the screen and then appropriately modify that file. But this means a service running in the background and is probably wasteful on resources. But if someone can help me out or have ideas, go ahead and do so. But once done, please lemme know as I am trying to learn.
Lemme know of other issues!