I find it annoying when reading ebooks so I decided to turn it off. The setting is located at: sys/class/leds/button-backlight/brightness. Unfortunately the program I'm using, root explorer, won't let me access this value although I have rooted my phone. Is there any editor program for android like regedit for windows or is there any other way to do this?
Thank you!
I managed to "open as text" (cannot be edited) and the value is 255. I want to change it to 0. Anybody????
I would like this aswell for when im reading.
Thanks
here is a way to do:
load the program called "Gscript Lite" from the market
create a new script called
"keybacklight_off"
type in
echo 0 > sys/devices/platform/leds-microp/leds/button-backlight/brightness
create a new script called
"keybacklight_onn"
type in
echo 1 > sys/devices/platform/leds-microp/leds/button-backlight/brightness
klick on you homescreen klick on "links" (i have a german Phone dont know how it's called on your Phone)
click on Gscript Lite and select you script
kingchris said:
klick on you homescreen klick on "links" (i have a german Phone dont know how it's called on your Phone)
Click to expand...
Click to collapse
"program" on my phone
and.....
it works!!!!!!!!!!!!!!!!!!!!!!!
danken kingchris
sky|ined said:
"program" on my phone
and.....
it works!!!!!!!!!!!!!!!!!!!!!!!
danken kingchris
Click to expand...
Click to collapse
no not Programm.
the next point (the 3rd)
Widgets
Program
shortcut
folder
I have a problem. The script definitely works, but as soon as I open an ebook with aldiko reader the backlight turns on again and the same thing happens when I power the screen off and then back on. Is there a way to permanently turn off the backlight?
Thanks for your idea! Why not post it in dev forum, so they can build it in new roms
-------------------------------------
Sent via the XDA Tapatalk App
brianius said:
Thanks for your idea! Why not post it in dev forum, so they can build it in new roms
Click to expand...
Click to collapse
Thank you. You have my "permission" to do so if you want.
matter to me that when I'm going to watch a video again I turn back, there is some way to turn them off permanently?
thanks
Hi, is there a permanent fix now?
Every time my screen turns off the backlight comes back on
bemymonkey said:
Hi, is there a permanent fix now?
Every time my screen turns off the backlight comes back on
Click to expand...
Click to collapse
That's not how it should be unless something is keeping it awake.
-----------------------------------
- Sent via my HTC Desire -
th3 said:
That's not how it should be unless something is keeping it awake.
-----------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
I think you've misunderstood me (or rather, I just said it wrong ): The lights turn back on when the display has been off... they're not on while the display is off, but if I turn the display off and back on again, they're back on.
Maybe it's because the Desire doesn't have read/write access to the system files?
Is there a way to turn off the HOME, MENU, BACK, SEARCH button light permenatly? I just want the screen on and the buttons to remain off.
thanks
Yes, install "LEDs hack" from the market. Will turn off button lights but needs root.
Sent from my HTC Desire using XDA App
Tried this app
It's doing its job but keeps annoying me with a warning "... has been granted superuser ..." every 10 seconds or so.
Uninstalled immediately !
Works great for me running Leedroid 2.2e. Check your superuser is up to date as per the initial screen.
Sent from my HTC Desire using XDA App
Got it working without notifications now. Great app. I'll just keep an eye on the battery usage when the phone is on standby.
Sent from my HTC Desire using XDA App
Awesome! Thank you for mentioning LEDs Hack. Works like a charm.
Great App!! Thx for mention it!!!!
Related
$1m reward for information leading to turning off the lights in the home/menu/back/search buttons. They waste power and more important when I read at night with low light red render, the bright button lights are blinding.
Hmm. It depends in the rom you are using.
If it is a cyanogen kind rom you simply change the settings.
Kind regards Holger.
Sent from my HTC Desire using XDA App
If you like to read at night SCREEN FILTER (free from market) is a great program.
Where is my $1m?
artukas613 said:
If you like to read at night SCREEN FILTER (free from market) is a great program.
Click to expand...
Click to collapse
Yep, it can switch off both lights and it's an excellent program.
------------------------------
- Sent via HTC Desire -
SUPERB!!!!
For so long I have been wondering could I switch off the softkey lights while watching media. It's a waste of battery and not needed.
Watching a TV show with 3 bright lights lit up on the phone. argh... I use this app now to keep brightness for screen at 100% but just to turn off annoying button lights while watching movie etc.
Nice.
Thanks Artukas
kastenfroschhonk said:
Hmm. It depends in the rom you are using.
If it is a cyanogen kind rom you simply change the settings.
Kind regards Holger.
Click to expand...
Click to collapse
Where abouts in thge setting are you talking about?
And hey all you guys thanks for telling me about the app!
Menu..settings..cyanogenmod settings..display..automatic backlight..Tick use custom..edit other levels..change button values to 0..save and apply.
Note, this only works when backlight is set to automatic.
Sent from my HTC Desire using XDA App
answered
Thanks everyone.. the app is great and the setting ididnt even know
artukas613 said:
If you like to read at night SCREEN FILTER (free from market) is a great program.
Where is my $1m?
Click to expand...
Click to collapse
thanks for the app!
Is there an app which can restart the phone but without rooting the phone..
Why do you need that ? Just press and hold the power button for a few second, the Phone options will pop-up, just choose restart to restart the device.
ckpv5 said:
Why do you need that ? Just press and hold the power button for a few second, the Phone options will pop-up, just choose restart to restart the device.
Click to expand...
Click to collapse
Lol I know that mate but isn't there some application or widget..The button looks delicate to me so I dun want to keep pressing it and have it broken...
Also does using this app https://play.google.com/store/apps/details?id=it.android.smartscreenoffpro&feature=search_result#?t=W251bGwsMSwxLDEsIml0LmFuZHJvaWQuc21hcnRzY3JlZW5vZmZwcm8iXQ..
makes the proximity sensor weak..??I mean it's designed for detection this this create extra pressure??
try looking in the play store. there are several to choose from
https://play.google.com/store/search?q=reboot&c=apps
rayford85 said:
try looking in the play store. there are several to choose from
https://play.google.com/store/search?q=reboot&c=apps
Click to expand...
Click to collapse
I do appreciate your help but I was trying to know if there is any application that does "Without rooting the phone"
Steve Stiffler said:
I do appreciate your help but I was trying to know if there is any application that does "Without rooting the phone"
Click to expand...
Click to collapse
look at the first app in the list dude. You just might have to actually READ the Apps description. other than that you have to root.
rayford85 said:
look at the first app in the list dude. You just might have to actually READ the Apps description. other than that you have to root.
Click to expand...
Click to collapse
This application does not actually reboot it just refreshes the phone..it's not even close to rebooting I am using this app from par three days it's basic function is to free up the space in RAM..try it out u'll know
Why do you even need to reboot your phone that much?
Sent from my Galaxy Nexus using xda premium
You could Quick Boot if you wish. Can also reboot straight to recovery and bootloader. Unfortunately I can't link to it as I've only recently joined XDA.
Mixxxy said:
You could Quick Boot if you wish. Can also reboot straight to recovery and bootloader. Unfortunately I can't link to it as I've only recently joined XDA.
Click to expand...
Click to collapse
Quick Boot works on rooted phone only. He is asking for reboot app with no root access required.
joshnichols189 said:
Why do you even need to reboot your phone that much?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I dun reboot that much..Just once a day..but I dun want my power button to get depressed because I have to rely on unlocking on the same button..which gets pressed quite a lot of times...
Also if you could suggest me some widgets or apps that can help me to lock my phone..I used extended controls which was not a great experience because when I unlocked the screen remained black till I switched on to some other application ..
Steve Stiffler said:
Also if you could suggest me some widgets or apps that can help me to lock my phone..I used extended controls which was not a great experience because when I unlocked the screen remained black till I switched on to some other application ..
Click to expand...
Click to collapse
This is my favorite, screen off and lock
https://play.google.com/store/apps/details?id=com.katecca.screenofflock&hl=en
you're so lazy pal
ckpv5 said:
This is my favorite, screen off and lock
https://play.google.com/store/apps/details?id=com.katecca.screenofflock&hl=en
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=it.android.smartscreenoffpro&feature=search_result#?t=W251bGwsMSwxLDEsIml0LmFuZHJvaWQuc21hcnRzY3JlZW5vZmZwcm8iXQ..
I am using this application..
Check this app as I posted this earlier and asked if this does any harm to proximity sensor..
flexiloan said:
you're so lazy pal
Click to expand...
Click to collapse
Dude I searched the google play before posting I wanted to know if there is something I missed nothing else if you can't write anything useful,why waste time typing unnecessarily
Steve Stiffler said:
https://play.google.com/store/apps/details?id=it.android.smartscreenoffpro&feature=search_result#?t=W251bGwsMSwxLDEsIml0LmFuZHJvaWQuc21hcnRzY3JlZW5vZmZwcm8iXQ..
I am using this application..
Check this app as I posted this earlier and asked if this does any harm to proximity sensor..
Click to expand...
Click to collapse
I don't think it will harm the proximity sensor, it just that I don't like to see a red light on the proximity sensor light up when using this app as I guess it use more battery...and that's maybe the reason why they have a time-out to kill the app after certain time. Once the app is killed, you still need to press power on. Anyhow, this is my personal opinion only, nothing against the app; I maybe wrong.
ckpv5 said:
I don't think it will harm the proximity sensor, it just that I don't like to see a red light on the proximity sensor light up when using this app as I guess it use more battery...and that's maybe the reason why they have a time-out to kill the app after certain time. Once the app is killed, you still need to press power on. Anyhow, this is my personal opinion only, nothing against the app; I maybe wrong.
Click to expand...
Click to collapse
Thanks tell me since when are you using this phone??do you find your power button by any chance pressed inside even a little??Also I dun think that it uses much battery as the Statistics posted by the App developer state..it would be great if someone would throw some light on it though..
Steve Stiffler said:
Thanks tell me since when are you using this phone??do you find your power button by any chance pressed inside even a little??Also I dun think that it uses much battery as the Statistics posted by the App developer state..it would be great if someone would throw some light on it though..
Click to expand...
Click to collapse
Since Apr 3rd, two days after the HOX officially launched in my country. Do not really notice that, maybe because I seldom use the power button as my device is rooted, using quick boot for reboot, reboot to bootloader & recovery, swipe to power on and so on.
Why are you even rebooting once a day? It isn't necessary and will solve all of your problems.
Sent from my Galaxy Nexus using xda premium
I see a few people asking about this and I found this app that works on my HTC One X.
Screen Filter:
https://play.google.com/store/apps/details?id=com.haxor&hl=en
If you just want to switch the lights off, set the filter to 100% then un-tick the enable softkey back light. It works great when watching videos or using it as a nightstand clock.
Hope their wasn't a thread about his. I did a few searches and couldn't find anything, hope this helps a few people.
Does it save the preference after reboot? I use Adjbrightness and after rebooting I have to load the app up again.
Sent from my HTC One X using xda app-developers app
I will have a look but I think you have to reopen it.
Sent from my HTC One X using xda app-developers app
I had a test now and it doesn't start on boot. But when you start the app after a boot it then knows what your last settings were. Hope that helps.
Sent from my HTC One X using xda app-developers app
K, when I have the time I was thinking of writing my own app that does this.
Sent from my HTC One X using xda app-developers app
If u put the app (screenfilter) in some autostart program it will work fine, if u dont wanna enable it manually.
This text was generated by a HoX device, in symbiosis with thoughts from someone else
ououououo said:
If u put the app (screenfilter) in some autostart program it will work fine, if u dont wanna enable it manually.
This text was generated by a HoX device, in symbiosis with thoughts from someone else
Click to expand...
Click to collapse
That is a great idea, I was wondering if there was an app like that I will have a look and see how well that works. But it's really nice to disable those lights, gives the phone a really neat appearance.
Roars21 said:
That is a great idea, I was wondering if there was an app like that I will have a look and see how well that works. But it's really nice to disable those lights, gives the phone a really neat appearance.
Click to expand...
Click to collapse
I did this on my previous device (xperia u, to get rid of the annoying LED-bar )
NOTE:
*** If you accidentally make your screen go BLACK ***
1. Pull your battery
2. Uninstall the app to reset your bad brightness setting
3. Reinstall the app and use it normally again"
Click to expand...
Click to collapse
I am kinda worried about this happening on my HOX...the fist step is already too much trouble to go through.
jimmy2027 said:
I am kinda worried about this happening on my HOX...the fist step is already too much trouble to go through.
Click to expand...
Click to collapse
Don't worry if you hold down the power button for a couple seconds it simulates a battery pull. Then when you start up, provided you don't have it on a autostart app you can then go in and change the settings. Also if you do set the brightness too low it gives you 10 seconds to approve it or it will just revert your settings. If that makes sense.
Make a new file, call it 99KeyOff.sh and put this in it:
#!/system/bin/sh
# ========================================
# init.d script for key light off. ONE X.
#BACKFROMTHE[/QUOTE]STORM
# ========================================
#disable Key Backlight
echo begin set Key Backlight - KB
echo KB - set permissions rw
chmod 0666 /sys/class/leds/button-backlight/brightness
echo KB - set Key Backlight 0
echo "0" > /sys/class/leds/button-backlight/brightness
echo KB - set permissions ro
chmod 0444 /sys/class/leds/button-backlight/brightness
echo KB - done!
Put it in the init.d folder or run it manually in a terminal emulator or script manager.
Unfortunately that doesn't work on the Maximus ROM. I think it's because the rootfs mounts read only. I tried adding a remount line to the top but nothing happened.
Sent from my HTC One X using xda app-developers app
Hi,
Just a little trick for those who want the "capacitive" buttons always on (maybe not very battery friendly but...) Remember someone asked this a few weeks ago somewhere...
Obviously you need root and init.d support... You can also edit directly the brightness file in /sys/class/leds/button-backlight/brightness but the modification will not survive after a reboot so you need to use an init.d script to load the modified value at each boot.
Put the init.d script below in /system/etc/init.d set the permissions to rwxrwxrwx, reboot, done
Here's the script: http://www.multiupload.nl/SMQWQQVBTJ
If you want to return back to stock: rename the init.d script with the .back extension or delete it.
If you want to set the "capacitive" buttons always off you need to edit the value, open the init.d script with notepad++ (on PC) or with a file explorer directly on your phone and set the value to "0" instead of "255", save, reboot, done.
Hoping that it will be useful,
Won't be using but thanks anyways, one question though, when do the HTC one buttons come on and off normally? They seem to have no specific interval
Sent from my HTC One using xda app-developers app
Hi,
No worries , it works with the ambiant light so with the sensor (light->off / night->on), even if the auto brightness is on or off the capacitive buttons vary in brightness so this part is independant...
After that I'm not a dev, the only solution I found is to modifie the value by the user in one file. Maybe it's set in the framework, or kernel? i don't realy know. The auto brightness values can be changed with a modified framework-res.apk, maybe it's the same thing for the capacitive buttons . In any case I have not the knowledge and skills for this part about the "automatic" dimming...
Capacitive button in Play works well and less cumbersome. Am using it with Pie. Automatic dimming would be cool though Thanks for looking into this.
Sent from my HTC One using Tapatalk 2
Stea1thmode said:
Capacitive button in Play works well and less cumbersome. Am using it with Pie. Automatic dimming would be cool though Thanks for looking into this.
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
Hi,
Sorry but I don't know what you mean... or you mean a kind of greater "light graduation", not on or off like stock, at least it looks like this for me (for example some values like 0 / 100 / 200 / 255), depending of the ambient light?
Like I said, for this I have not the knowledge, maybe a dev can take a look . In any case I don't think you will see a big difference between 100 and 255 for example...
And in the path /sys/class/leds/button-backlight/ there is nothing related to the graduation, it's in the framework stuff I think...
Stea1thmode said:
Capacitive button in Play works well and less cumbersome. Am using it with Pie. Automatic dimming would be cool though Thanks for looking into this.
Click to expand...
Click to collapse
This app now officially supports the HTC One in the latest beta version. I'm the developer of the app and I'd love to hear feedback from HTC One owners to know if it really works (since I don't have a device of my own to test on). See this thread: http://forum.xda-developers.com/showthread.php?t=2402153. Thanks!
denversc said:
This app now officially supports the HTC One in the latest beta version. I'm the developer of the app and I'd love to hear feedback from HTC One owners to know if it really works (since I don't have a device of my own to test on). See this thread: http://forum.xda-developers.com/showthread.php?t=2402153. Thanks!
Click to expand...
Click to collapse
Thanks I've just tested it. It has 3 settings right? Seems to be working well. It would be cool though to have an auto brightness feature.
Sent from my HTC One using Tapatalk 4 Beta
Stea1thmode said:
Thanks I've just tested it. It has 3 settings right? Seems to be working well. It would be cool though to have an auto brightness feature.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
That would be pretty cool.
Sent from my HTC One
Stea1thmode said:
Thanks I've just tested it. It has 3 settings right? Seems to be working well. It would be cool though to have an auto brightness feature.
Click to expand...
Click to collapse
Yep, it has 3 settings. Thanks for the idea about auto-brightness. You are definitely not the first person to pose that idea!
Hi all,
I am also missing a notification LED for incoming messages et al.
Well, the following might be of interest for some of you. Let me explain: I took a closer look at Automate and the flows provided by the user community there. Unfortunately all the flows for controlling the AOD there do support Samsung and LG devices only. By chance I stumbled across the correct name for the Huawei-specific variable that needs to be triggered. So, I took a working flow for LG, simply replaced the variable's name and voila, a working flow, without the need for root or something.
And it works like this: each time an incomming message (or something similar) triggers a notification, the stock AOD gets switched on, showing you the usual clock and notification icon. As soon as you are disabling the notification (by reading the message etc. pp.) the AOD gets switched off again. This works quite well, saves some battery (compared to having AOD constantly on), and you can clearly see when a new message arrives. I also didn't need to put Automate in the battery white list, it simply works as intended.
The necessary steps to get this working are as follows:
Install Automate from play store
Install the Automate extensions "network permissions", "settings permissions" and "superuser permissions" (the latter does not need root for granting the permissions indeed)
Enable "superuser permissions" via adb:
Code:
adb shell pm grant com.llamalab.automate.ext.superuser android.permission.WRITE_SECURE_SETTINGS
Switch off the AOD functionality in your devices settings
Download the (zipped) flow I have attached to this post and install it
Start the flow and grant the permissions you are asked for
If you use flow v01 switch off the logging of that flow, there are tons of data generated while the device is plugged in via USB, flow v02 works fine with loggin enabled
Enable "Automate" in Settings -> Accessibility features -> Accessibility -> Downloaded Services
I have been running this solution since late November. For me it runs smoothly, stable and battery friendly. Maybe it's also helpful for some of you. Just let me know when you have questions.
Disclaimer: I have published the flow on 25th November at android-hilfe.de and in the Automate community only recently.
Cheers.
Update:
@RoteDose has been so kind and had a closer look at the old flow and completely reworked the power charging check, so there's no log flooding anymore. So he created a v02, that I have attached here now. Thanks a bunch for your support, mate!
To do: research for AOD icons to be refreshed after disabling the notification
- Found a list of Huawei specific settings here.
- And you can list the settings by
Code:
adb shell settings list system|global|secure
Hi. I tried this for the Mate 20 X and got the following error when trying to enable superuser permissions using Terminal Emulator:
adb: inaccessible or not found
I am not rooted - any idea what the issue might be?
praveen6585 said:
Hi. I tried this for the Mate 20 X and got the following error when trying to enable superuser permissions using Terminal Emulator:
adb: inaccessible or not found
I am not rooted - any idea what the issue might be?
Click to expand...
Click to collapse
Hi. I would recommend to use adb from your PC. Here's a XDA how-to: https://www.xda-developers.com/install-adb-windows-macos-linux :good:
beggar23 said:
Hi. I would recommend to use adb from your PC. Here's a XDA how-to: https://www.xda-developers.com/install-adb-windows-macos-linux :good:
Click to expand...
Click to collapse
Thanks.. I'll try this and revert
Hi can you please give more details on no. 5, 6 and 7?
galaxy16 said:
Hi can you please give more details on no. 5, 6 and 7?
Click to expand...
Click to collapse
You can download to your phone the file "Huawei AOD switch.zip" I attached and unpack it to a path of your choice. In the Automate app you can import the unpacked "*.flo" file through the dots menu on the top right. You are then able to give permissions, switch logging and start/stop the flow.
Hope this helps. Just let me know. Cheers.
Is there anything else to do after the upload? Unfortunately, it doesn't work for me. I get a notification and nothing happens. But when I turn on the screen and lock the AOD shows. But that's not how it's supposed to work.
beginner user said:
Is there anything else to do after the upload? Unfortunately, it doesn't work for me. I get a notification and nothing happens. But when I turn on the screen and lock the AOD shows. But that's not how it's supposed to work.
Click to expand...
Click to collapse
Have you switched off AOD before starting the flow?
beggar23 said:
Have you switched off AOD before starting the flow?
Click to expand...
Click to collapse
Yes, it's still off.
beginner user said:
Unfortunately, it doesn't work for me. I get a notification and nothing happens. But when I turn on the screen and lock the AOD shows. But that's not how it's supposed to work.
Click to expand...
Click to collapse
Alright. Let's check some things. First question: How do you know, that you got a notification, when the screen or AOD doesn't light up?
beggar23 said:
Alright. Let's check some things. First question: How do you know, that you got a notification, when the screen or AOD doesn't light up?
Click to expand...
Click to collapse
I was writing a message from my wife... Generally speaking, now it's working. I don't know what was wrong before. That's great
beginner user said:
I was writing a message from my wife... Generally speaking, now it's working. I don't know what was wrong before. That's great
Click to expand...
Click to collapse
Glad to hear that! :good:
Its not working o my P30, Emui 10. I followed instruction everything allowed, AOD stock deactivated, but nothing......Automate works fine, flow is active, but...… What could be wrong......
First of all, thank you for this solution.
But I have a little problem. I don't know why, but for me doesn't work :/
AOD switched off -> started the flow (granted all the permissions) -> lock the screen -> i got a message (the phone vibrated), but the AOD doesn't switch on -> unlock the phone, just to the home screen (doesn't read the message) and lock again -> and now the AOD is switched on
The problem is solved.
Just need to enable this:
Settings -> Accessibility features -> Accessibility -> scroll down and enable Automate
razer91 said:
The problem is solved.
Just need to enable this:
Settings -> Accessibility features -> Accessibility -> scroll down and enable Automate
Click to expand...
Click to collapse
Thank you for that. I will add it to the OP.
Alexxxx1 said:
Its not working o my P30, Emui 10. I followed instruction everything allowed, AOD stock deactivated, but nothing......Automate works fine, flow is active, but...… What could be wrong......
Click to expand...
Click to collapse
Let's stop, switch on logging and restart the flow. Try enabling Automate in "Downloaded Services" as @razer91 described below your post. Maybe the log info will then help you finding out what goes wrong. Just let me know.
beggar23 said:
Let's stop, switch on logging and restart the flow. Try enabling Automate in "Downloaded Services" as @razer91 described below your post. Maybe the log info will then help you finding out what goes wrong. Just let me know.
Click to expand...
Click to collapse
Thank You very much! It works, great!
I hope that Automata will not affect on battery life.
Alexxxx1 said:
Thank You very much! It works, great!
I hope that Automata will not affect on battery life.
Click to expand...
Click to collapse
I don't think so. At least here it's all fine. Automate is not even in the battery saver white list, and going to sleep perfectly. Also, I detected no CPU wakelocks.
Yes, I checked too. The consumption of battery by Automata is minor.
Excellent work man [emoji106][emoji108]
Sent from my ELE-L29 using Tapatalk