P
__PG__
Guest
#!/system/bin/sh
# [email protected]
open android terminal emulator and type these command
It would be helpful to many people as its not a hardware limitations and I trust XDA _/\_"
# [email protected]
Code:
ledsdir="/sys/devices/soc/78b6000.i2c/i2c-2/2-0045/leds"
echo testing solid led colors : blue cyan green purple red yellow white
for leds in blue cyan green purple red yellow white
do
echo led color : $leds on
echo 255 > $ledsdir/$leds/brightness
sleep 3
echo led color : $leds off
echo 0 > $ledsdir/$leds/brightness
sleep 1
done
echo testing solid led colors : cyan purple yellow white
for leds in cyan purple yellow white
do
echo led color : $leds on
echo 255 > $ledsdir/$leds/brightness
sleep 3
echo led color : $leds off
echo 0 > $ledsdir/$leds/brightness
sleep 1
done
echo testing blinking led colors combination
for leds in cyan yellow purple cyan purple yellow cyan
do
echo led blink : $leds
echo 255 > $ledsdir/$leds/blink
sleep 10
done
for leds in cyan purple yellow white
do
echo 0 > $ledsdir/$leds/blink
done
open android terminal emulator and type these command
Code:
su
sh /sdcard/leds-test
It would be helpful to many people as its not a hardware limitations and I trust XDA _/\_"