+Wow. The level of ignorance in this post is beyond comprehension.
Yes, because the two things are totally comparable.
You know, I would've totally taken a 12MP camera over a hole for phone straps.
Disable the button leds automatically at every boot:
- Save the following as noled.sh somewhere on your SD card.
It's not my script, it's just the minimum you need for the button leds
Code:#! /system/bin/busybox sh DIR=$(cd /sys && find | grep brightness | cut -c 3- | cut -d : -f 1 | head -n 1) LED=/sys/$DIR LEDB=$LED:sled/brightness echo 0 > $LEDB chmod 00444 $LEDB exit
- install script manager from Market, open it, browse to noled.sh, open it as script, check "run at boot" and "run as root", save.
What would people ask next, I really cannot believe that someone want to turn them off :-D
sorry but i get this error :
cannot create device/plateform...../leds directory nonexistent
unable to chmod /sys/...: no such a file or directory
any idea ?
thanks
I use my phone for astronomy and the white leds destroy my night vision so being able to turn them off really would be useful.
Is there any solution for this. When I use aldiko for reading ebooks this leds are very irritating when reading in dark.
Touch the power button to bring up lock screen(dont unlock).
Touch power button again, led's should turn off.
Sorry, I forgot to mention you had to save the file with the Unix end of line style.
I edited the post, get the attached noled.zip file, there's no reason it wouldn't work now!
Sorry, I forgot to mention you had to save the file with the Unix end of line style.
I edited the post, get the attached noled.zip file, there's no reason it wouldn't work now!
Indeed, I updated the post with steps for the init.d way, although less advanced users may still prefer the comfort of a GUI.Placing the noled script in init.d with the correct name also works. No need for script manager.
#! /system/bin/busybox sh
DIR=$(cd /sys && find | grep brightness | cut -c 3- | cut -d : -f 1 | head -n 1)
LED=/sys/$DIR
LEDB=$LED:sled/brightness
echo 0 > $LEDB
chmod 00444 $LEDB
exit
I use my phone for astronomy and the white leds destroy my night vision so being able to turn them off really would be useful.