View Single Post
Old January 10th, 2012, 02:09 PM   #80 (permalink)
WizeGuyDezignz
Senior Member
 
WizeGuyDezignz's Avatar
 
Join Date: Apr 2010
Location: San Diego
Posts: 846
 
Device(s): HTC Rezound (Current), Samsung Droid Charge (Retired), HTC Thunderbolt (Early Retirement)
Thanks: 205
Thanked 179 Times in 111 Posts
Default

Quote:
Originally Posted by jkc120 View Post
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!
WizeGuyDezignz is offline  
Reply With Quote