No need for source code(tasker doesn't give code) , all it does sets /sys/class/leds/button-backlight/lut_coefficient to X on screen-on event. Maybe this file exists only on JB Firmwares. I can't remember I updated 2 months ago.
echo 10 > /sys/class/leds/button-backlight/lut_coefficient
with root permission
Sent telepathically from my brain.
echo 10 > /sys/class/leds/button-backlight/lut_coefficient
with root permission
Sent telepathically from my brain.
Last edited: