Thank you. That's exactly what I was looking for. Just wanted the LEDs off. They are blinding at night and unneeded.
Sent from my VS920 4G using Xparent Green Tapatalk 2
No problem. I just rebooted though and the change didn't persist. May need to make an init script to effect the changes on boot.
Alright, so here's what I've got... and I'm hitting a bit of a snag. Maybe someone can offer some insight.
In /system/etc/init.d/S99Button_Backlight_Disable (permissions 777) I have:
#!/system/bin/sh
echo 0 > /sys/class/leds/button-backlight/max_brightness
chmod 755 /sys/class/leds/button-backlight/max_brightness
This doesn't work during boot like I would expect that it should.
However, running this file from script manager manually disables my button backlight. Would S99 not be the right runlevel to try running this at? I figured trying to run it last would be the best bet so that if something else was setting the max brightness beforehand, I could overwrite it.
Any Ideas?
*edit*
Alright, So I figured it out... I didn't have init.d support enabled, usually I do. Apparently, it isn't enabled in the PACman Rom by default. The setup above works fine to persist the lights once init.d support is enabled. Most custom kernels/roms have this enabled already. *shrug* You can use an app like PimpMyRom to enable init.d or any of the other methods out there.
Either way, creating that file with those contents works.
Sent from my VS920 4G using Tapatalk 2