• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Disable soft key light

I absolutely hate that they have to stay on all the time. Makes it so distracting when I'm trying to read anything at night. Anyone know of a way to disable them? :banghead::D

I'll look into it, and see what I can find. Gets on my nerves a little too, and I'm sure that'll help with the already shitty battery life (minuscule, but it will help.)
 
  • Like
Reactions: KrazeeCracker
Upvote 0
In case this helps anyone, I figured out a temp application whenever I want it off for a while (usually when the room is dark). I've been using ES File Explorer to go to /sys/class/leds/button-backlight and change the value in max_brightness to 0. After that the next time the leds go out they stay out (such as turning off the display and turning it back on). It changes back if you change the value to anything except 0 or just reboot your phone.

I tried changing the brightness file (also found in that folder) but with my limited skill I couldn't make the change stick. The max_brightness is an alternative that worked well enough for me.

I'm sure someone knows of a better method for applying this for people that want to more easily turn it on or off or just keep it off, but since I've been doing this for a while I thought I'd share.
 
Upvote 0
In case this helps anyone, I figured out a temp application whenever I want it off for a while (usually when the room is dark). I've been using ES File Explorer to go to /sys/class/leds/button-backlight and change the value in max_brightness to 0. After that the next time the leds go out they stay out (such as turning off the display and turning it back on). It changes back if you change the value to anything except 0 or just reboot your phone.

I tried changing the brightness file (also found in that folder) but with my limited skill I couldn't make the change stick. The max_brightness is an alternative that worked well enough for me.

I'm sure someone knows of a better method for applying this for people that want to more easily turn it on or off or just keep it off, but since I've been doing this for a while I thought I'd share.

def. a solution. idk why we would even need the backlight im sure we have 4 buttons memorized by now
 
Upvote 0
there are apps that attempt to do it but each phone/rom combo would change whether it works or not. as for the file issue make sure that you set the files permissions to read only to prevent them from being temporary changes. just make sure to reapply write permissions before changing applicable settings in the stock menu or otherwise.
rooted applications could cause issues with this process.
as for a perm removal i am sure that would require a ramdisk change hence playfulgods tenacity and ferocity in his post xD
 
Upvote 0
there are apps that attempt to do it but each phone/rom combo would change whether it works or not. as for the file issue make sure that you set the files permissions to read only to prevent them from being temporary changes. just make sure to reapply write permissions before changing applicable settings in the stock menu or otherwise.
rooted applications could cause issues with this process.
as for a perm removal i am sure that would require a ramdisk change hence playfulgods tenacity and ferocity in his post xD

Yeah, I had tried a number of apps with both the stock and Broken Rom. I'm sure we'll have a ROM capable of it later on, just not yet. No idea if it is possible with this particular phone, but I'd be happy just being able to dim them down a little (any attempts to apply an in between value didn't work). Also I tried setting the file permissions to read only, but after a reboot it was still changing it back to the default value and was setting the permissions back like they were. If you have any ideas on how to get that change to stick I'm sure that would work for us less skilled individuals until PG blesses the Connect with CM (I have to give credit to MT's work so far, but I'm still missing CM).
 
Upvote 0
Yeah, I had tried a number of apps with both the stock and Broken Rom. I'm sure we'll have a ROM capable of it later on, just not yet. No idea if it is possible with this particular phone, but I'd be happy just being able to dim them down a little (any attempts to apply an in between value didn't work). Also I tried setting the file permissions to read only, but after a reboot it was still changing it back to the default value and was setting the permissions back like they were. If you have any ideas on how to get that change to stick I'm sure that would work for us less skilled individuals until PG blesses the Connect with CM (I have to give credit to MT's work so far, but I'm still missing CM).

It will change back on reboot no matter what, because there are other files that control it's permissions. Getting them to stick on reboot would require blocking the startup script for the ROM's portion that controls that file, and doing that would keep the phone from booting properly. The only real option you have is setting it, and not rebooting.
Other than that, I'm sure it's safe to assume the next best thing is coding it into the ROM, and that would require doing it from the source code and both android, and LG have published, and I'm not all too good with android, so that's out of my league.
As for getting Cyanogen to work on LG I'm sure that it's possible, but it could require quite a bit of work. To quote Gameloft (as shitty as they are, and as much as I hate them) Every android device is different, and has different hardware/software combos. It's because of that compatibility issues are a large-scale concern across the entire android market.

That is geek for shit can get really complicated depending on what you're branching off from if anything at all, and/or what you're coding for.

Like I said, the best thing to do is just set it, mount that directory as read only with root permission, and hope that it works 'till reboot.
 
Upvote 0
It will change back on reboot no matter what, because there are other files that control it's permissions. Getting them to stick on reboot would require blocking the startup script for the ROM's portion that controls that file, and doing that would keep the phone from booting properly. The only real option you have is setting it, and not rebooting.
Other than that, I'm sure it's safe to assume the next best thing is coding it into the ROM, and that would require doing it from the source code and both android, and LG have published, and I'm not all too good with android, so that's out of my league.
As for getting Cyanogen to work on LG I'm sure that it's possible, but it could require quite a bit of work. To quote Gameloft (as shitty as they are, and as much as I hate them) Every android device is different, and has different hardware/software combos. It's because of that compatibility issues are a large-scale concern across the entire android market.

That is geek for shit can get really complicated depending on what you're branching off from if anything at all, and/or what you're coding for.

Like I said, the best thing to do is just set it, mount that directory as read only with root permission, and hope that it works 'till reboot.


I was hoping that wasn't the answer I'd get, but honestly I kind of expected it. I do appreciate the explanation though.

As far as CM, it looks like that is on PG's radar once he has the bugs out of CM9 on the Esteem. In time I'm sure he'll pull it off, and I hope that I won't be the only one to show some monetary appreciation when he does.

I absolutely agree that the lack of standardization is a real killer, but outside of Apple (although nice, way too restrictive for my taste and jailbreaking only helps so much) I haven't seen any alternatives to my liking. I like how the Android platform is so open, but I guess that comes at a price.
 
Upvote 0
I was hoping that wasn't the answer I'd get, but honestly I kind of expected it. I do appreciate the explanation though.

As far as CM, it looks like that is on PG's radar once he has the bugs out of CM9 on the Esteem. In time I'm sure he'll pull it off, and I hope that I won't be the only one to show some monetary appreciation when he does.

I absolutely agree that the lack of standardization is a real killer, but outside of Apple (although nice, way too restrictive for my taste and jailbreaking only helps so much) I haven't seen any alternatives to my liking. I like how the Android platform is so open, but I guess that comes at a price.



Indeed. while open source is a great thing it allows so many branches versions and standardizations that it corners itself into a non fully compatible product BECAUSE of the fact that it gives coders the ability to modify it in its entirety without a hitch.
i agree that while ios is a beatifully coded piece of art its restictiveness by nature prevents a lot of the abilities for localizational efforts that android allows.
hopefully cm will be a forseeable option but you must understand there are many differences in resolution hardware screen size etc that needs to get tested and changed so it will be jothing instant even with PGs extensive abilities.

sorry for any typos...mobile with big thumbs...
 
Upvote 0
Indeed. while open source is a great thing it allows so many branches versions and standardizations that it corners itself into a non fully compatible product BECAUSE of the fact that it gives coders the ability to modify it in its entirety without a hitch.
i agree that while ios is a beatifully coded piece of art its restictiveness by nature prevents a lot of the abilities for localizational efforts that android allows.
hopefully cm will be a forseeable option but you must understand there are many differences in resolution hardware screen size etc that needs to get tested and changed so it will be jothing instant even with PGs extensive abilities.

sorry for any typos...mobile with big thumbs...

Oh I don't doubt that getting CM on the Connect will be far from a simple task (hence my prior comment about monetary appreciation), but based on PG's other work I have faith that if anyone will make it happen for the Connect it'll be him. Just to be clear, I don't expect any guarantees of this or any short-term results. I see no harm in keeping a positive outlook on the subject.
 
Upvote 0
Unless someone beats me to it I'd like to make a script that when opened puts Max brightness to 0 and option to revert back.

Go for it. I'm watching all sorts of vids, and reading tuts out the ass to learn android since I've already got previous java, c, c++, mysql, sqlite etc. experience.
I'm certain that once I familiarize myself with it I can be a formidable asset to any project in existence but right now you'd be able to get it done way faster than I.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones