Quote:
Originally Posted by jkc120
Works like a charm! I've never done android development, but I may make a simple widget that does this for rooted phones in case people want a quick way to toggle them on/off.
|
Awesome find! I didn't have the success that you had however. Can you please let me know what I did wrong?
I added this to the init.post_boot.sh file:
mount -o rw,remount /dev/block/mmcblk0p29 /system
chmod 777 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
echo 0 > /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
chmod 444 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
mount -o ro,remount /dev/block/mmcblk0p29 /system
It's not working for me, lights still come one. Is there a part of that block of text that I wasn't supposed to include?
If you can give me a quick step-by-step, that would be awesome!