Took me a while to figure this out, but here is how to turn off backlight on the hard keys permanently so they don't light up. Makes it much easier on the eyes in the dark,watching movies, etc...probably saves a little bit of battery too.
I used tasker for this, but any compatible program should do. I could change the values manually, but it would not stick after reboot, so here's the solution:
1. Get root
2. get secure settings app from store(free)
3. Get tasker/locale, other compatible free app(you can see compatible list inside of secure settings app.
4. From inside tasker create a task -> plugin->secure settings-> click edit->run command->check "use root"->enter command just like this: echo "0" > /sys/devices/platform/leds-pm8058/leds/button-backlight/max_brightness ->save(bottom left)->save task.
5. create a tasker shortcut on homescreen for 1-click off or what i did, create a profile so it runs automatically each boot/screen on so you never have to mess with it again.
6. enjoy less eyestrain
I'm sure you can use any script program for this too and just set it to run on boot as root.
I used tasker for this, but any compatible program should do. I could change the values manually, but it would not stick after reboot, so here's the solution:
1. Get root
2. get secure settings app from store(free)
3. Get tasker/locale, other compatible free app(you can see compatible list inside of secure settings app.
4. From inside tasker create a task -> plugin->secure settings-> click edit->run command->check "use root"->enter command just like this: echo "0" > /sys/devices/platform/leds-pm8058/leds/button-backlight/max_brightness ->save(bottom left)->save task.
5. create a tasker shortcut on homescreen for 1-click off or what i did, create a profile so it runs automatically each boot/screen on so you never have to mess with it again.
6. enjoy less eyestrain

I'm sure you can use any script program for this too and just set it to run on boot as root.