FORUMS

PSA: You Can Optimize Your Note 4’s Recents Menu & RAM

The Note 4 never had the fastest Recents Menu, and despite its 3GB of RAM, … more

XDA Picks: Best Apps of the Week (July 25 – Aug 1)

Apps are at the front and center of any smartphone experience, and with over a … more

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

[MOD] Turn off the light on the keys

19 posts
Thanks Meter: 0
 
By juanjitos, Junior Member on 27th June 2010, 03:58 PM
Post Reply Subscribe to Thread Email Thread
Hi, there if any of the xda developers can make an application to turn the light on the keys, because when you see a video is a bit annoying that are lit, battery-consuming as well.
Thank you very much for your cooperation.
Regards

Here you go(tnx to mercianary

1. install gscript lite from market and run it once, this should create a directory gscript on your sdcard

2. put memory card in pc

3. create a text file and put this command in it.

echo 0 > /sys/devices/platform/leds-microp/leds/button-backlight/brightness

4. save the file as "buttonled.sh" not "buttonled.sh.txt" in sdcard/gscript

5. put the card back in your phone, hold your finger on the home screen and select shortcut, gscript lite, menu, add script, load file, buttonled.sh, save, buttonled.

6. press the new icon on your screen.


this will only work on 2.1

everytime you press this icon the button lights turn off.

they will come back on after certain events, ie locking the screen.



if you know adb you could edit the file trigger in the same directory to permanently disable the light, i think. you will have to figure that out yourself.

Download of the market LEDs hack,that does exactly what we want.
Thanks to friend velazcod for the contribution.
Last edited by juanjitos; 30th June 2010 at 10:01 PM. Reason: New method
 
 
27th June 2010, 05:13 PM |#2  
mercianary's Avatar
Senior Member
Flag Brum
Thanks Meter: 72
 
More
using the following command in 2.1 turns on the blue led.

echo 1 > /sys/devices/platform/leds-microp/blue/brightness

there is a very similar command, cant tell you what it is cuz i am on 2.2 at the minute, that will turn off the key lights.

just change echo 1 to echo 0 and blue to keyled or something, you have too look in the leds-microp dir to find out.


when you have the right command install gscript lite from the market and add a shortcut to the homescreen to your command.

don't think it will work in 2.2 though.

easy peasy!


edit:i know it turns of the led but i'm not sure if it keeps it off, dont remember.
Last edited by mercianary; 27th June 2010 at 05:17 PM.
27th June 2010, 05:17 PM |#3  
OP Junior Member
Thanks Meter: 0
 
More
but I do not want the blue LED, what I want is a small application that allows me to turn off lights or turning on the power when I want to watch a video.
thanks anyway for your help
27th June 2010, 05:25 PM |#4  
mercianary's Avatar
Senior Member
Flag Brum
Thanks Meter: 72
 
More
Quote:
Originally Posted by mercianary

using the following command in 2.1 turns on the blue led.

echo 1 > /sys/devices/platform/leds-microp/blue/brightness

there is a very similar command, cant tell you what it is cuz i am on 2.2 at the minute, that will turn off the key lights.

just change echo 1 to echo 0 and blue to keyled or something, you have too look in the leds-microp dir to find out.


when you have the right command install gscript lite from the market and add a shortcut to the homescreen to your command.

don't think it will work in 2.2 though.

easy peasy!


edit:i know it turns of the led but i'm not sure if it keeps it off, dont remember.

read my post again
27th June 2010, 05:28 PM |#5  
OP Junior Member
Thanks Meter: 0
 
More
thanks again but I'm a rookie and I have no idea of why I say, anyway thank you very much for your attention, I would like is an app that does that, like the one made to turn the blue LED but for the keys.
Thanks
27th June 2010, 06:16 PM |#6  
mercianary's Avatar
Senior Member
Flag Brum
Thanks Meter: 72
 
More
Thumbs up solution:
Here you go.

1. install gscript lite from market and run it once, this should create a directory gscript on your sdcard

2. put memory card in pc

3. create a text file and put this command in it.

echo 0 > /sys/devices/platform/leds-microp/leds/button-backlight/brightness

4. save the file as "buttonled.sh" not "buttonled.sh.txt" in sdcard/gscript

5. put the card back in your phone, hold your finger on the home screen and select shortcut, gscript lite, menu, add script, load file, buttonled.sh, save, buttonled.

6. press the new icon on your screen.


this will only work on 2.1

everytime you press this icon the button lights turn off.

they will come back on after certain events, ie locking the screen.



if you know adb you could edit the file trigger in the same directory to permanently disable the light, i think. you will have to figure that out yourself.
Last edited by benko286; 27th June 2010 at 10:56 PM.
27th June 2010, 06:49 PM |#7  
OP Junior Member
Thanks Meter: 0
 
More
Ole Ole, hahahaha very good friend of mine works perfectly, many thanks for your great help, you're a crack mate.
a hug
27th June 2010, 06:53 PM |#8  
mercianary's Avatar
Senior Member
Flag Brum
Thanks Meter: 72
 
More
no problem.
27th June 2010, 08:10 PM |#9  
OP Junior Member
Thanks Meter: 0
 
More
the problem is that when putting a rock video with one player or the act, turn to turn on the lights again, is not likely to be permanent?.
Thanks
27th June 2010, 09:29 PM |#10  
Senior Member
Thanks Meter: 11
 
More
Quote:
Originally Posted by mercianary

Here you go.

1. install gscript lite from market and run it once, this should create a directory gscript on your sdcard

2. put memory card in pc

3. create a text file and put this command in it.

echo 0 > /sys/devices/platform/leds-microp/leds/button-backlight/brightness

4. save the file as "buttonled.sh" not "buttonled.sh.txt" in sdcard/gscript

5. put the card back in your phone, hold your finger on the home screen and select shortcut, gscript lite, menu, add script, load file, buttonled.sh, save, buttonled.

6. press the new icon on your screen.


this will only work on 2.1

everytime you press this icon the button lights turn off.

they will come back on after certain events, ie locking the screen.



if you know adb you could edit the file trigger in the same directory to permanently disable the light, i think. you will have to figure that out yourself.

next time use the "quote"
http://forum.xda-developers.com/show...91&postcount=4
27th June 2010, 09:47 PM |#11  
mercianary's Avatar
Senior Member
Flag Brum
Thanks Meter: 72
 
More
Quote:
Originally Posted by kingchris

next time use the "quote"
http://forum.xda-developers.com/show...91&postcount=4

Lol. I would have. But I didn't read that thread.

I noticed button-backlight when I was messing around with the blue led.

They say great minds think alike.

I suppose the moral of the story is to use the search button.


PS. Do you knowhow to get this or led to work on fro yo?

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes