Disable LED backlight - Galaxy Ace S5830i General

PHP:
chmod 666 /sys/class/leds/button-backlight/brightness
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 444 /sys/class/leds/button-backlight/brightness
This script only works for around 15 seconds, after which the "brightness" file reverts back to the default value, 255, instead of 0.
Is there any way to permanently disable the LED lights?

Put duct tape over the soft keys
If you have a screen protector use it under the duct tape
sorry for my bad english

Keyboard Backlight Controller is your answer.The app needs root tho.

Andrex1 said:
Keyboard Backlight Controller is your answer.The app needs root tho.
Click to expand...
Click to collapse
Thanks :good:

MWANTED said:
Put duct tape over the soft keys
If you have a screen protector use it under the duct tape
sorry for my bad english
Click to expand...
Click to collapse
That's like removing your car's windows and cutting its roof to get a convertible car.
Andrex1 said:
Keyboard Backlight Controller is your answer.The app needs root tho.
Click to expand...
Click to collapse
Thanks, will try it.

how to use?
thaks

1st click on off backlight key,,then do a fast reboot..
and then ur problem will definetly be solved..

rsrishabh said:
1st click on off backlight key,,then do a fast reboot..
and then ur problem will definetly be solved..
Click to expand...
Click to collapse
Please look at the date of the thread, it's almost 1 year old
Plus, I couldn't understand your solution too

Related

Stop screen powering on

How can I stop the screen from powering on when the keyboard is being slide out?
Kinda annoying when you slightly accidentally slide out the keyboard in you pocket
thank you
kaiser tweak -> keyboard -> slide wake -> disable
Why do you keep the kaiser in your pocket anyway many reports of cracked screens normally happen there.
ekw said:
kaiser tweak -> keyboard -> slide wake -> disable
Why do you keep the kaiser in your pocket anyway many reports of cracked screens normally happen there.
Click to expand...
Click to collapse
Thanks
Bu you mean I should have it in the carrier around the belt?
I had my Wizard for two years in my pocket, and the screen is still nice
Tec1106 said:
Thanks
I had my Wizard for two years in my pocket, and the screen is still nice
Click to expand...
Click to collapse
Ditto,
and the Kaiser is just as happy in my pocket
wizzzard said:
Ditto,
and the Kaiser is just as happy in my pocket
Click to expand...
Click to collapse
Yup
There is a reason the screen is slightly lower than the rest. For protection.
But hey, if you don't take care, things get broken. But I believe the Wizard was extremely well built. It could take practically any beating. Sometimes I even believed it was bulletproof!
Hope the Kaiser can live up to the Wizard ^^
ekw said:
kaiser tweak -> keyboard -> slide wake -> disable
Why do you keep the kaiser in your pocket anyway many reports of cracked screens normally happen there.
Click to expand...
Click to collapse
Hmm. I didn't get it to work. Any ideas why?
You have to soft reset for registry changes to take effect.
Tec1106 said:
How can I stop the screen from powering on when the keyboard is being slide out?
Kinda annoying when you slightly accidentally slide out the keyboard in you pocket
thank you
Click to expand...
Click to collapse
I don't know if it's what you want, but if you hold down the red Telephone button for a few seconds it will disable everything except for the telephone.
Dave... said:
I don't know if it's what you want, but if you hold down the red Telephone button for a few seconds it will disable everything except for the telephone.
Click to expand...
Click to collapse
Really? That's handy! Thanks

mute-when-flipped-face-down doesnt work

the mute-when-flipped-face-down doesnt work!! (new phone)
so i checked for this in the registry according to this well-known-tweak:
4. Switch Mute Call on phone flipped face down: HKLM\Software\HTC\PHONE : FaceDownMuteRing: change value to "0"
but it is set to 1, so it should work, but it just doesnt.
I have it lying flat face-down on a very horizontal desk, but it still rings!
any suggestions?
thanks!
Flip off
I had the same misunderstanding. The flip ringer silence functions by turning the phone when it begins to ring and laying it face down. Hope this helps.
pilib said:
I had the same misunderstanding. The flip ringer silence functions by turning the phone when it begins to ring and laying it face down. Hope this helps.
Click to expand...
Click to collapse
hi m8!
thanks for your reply
1. then this whole function becomes much less interesting i think
2. i tried your suggestion: didnt work as well.
it should be nice to have it muted while display face the table but the real usage gives sense as well ... the phone is ringing you look who is calling and then put it back on table to mute it ... if you want to have permanent mute then simply activate vibrate / silent mode ...
babedieboe said:
hi m8!
thanks for your reply
1. then this whole function becomes much less interesting i think
2. i tried your suggestion: didnt work as well.
Click to expand...
Click to collapse
4. Switch Mute Call on phone flipped face down: HKLM\Software\HTC\PHONE : FaceDownMuteRing: change value to "0"
andres_lol said:
4. Switch Mute Call on phone flipped face down: HKLM\Software\HTC\PHONE : FaceDownMuteRing: change value to "0"
Click to expand...
Click to collapse
FaceDownMuteRing is set to 1 default (as i have it now) and it doesnt work now.
You say i should set it to 0: that doesnt make sense. 1 = true,
in this case meaning to mute when facedown......
Not?
Mine is set to 0 and does not work....
R
babedieboe said:
FaceDownMuteRing is set to 1 default (as i have it now) and it doesnt work now.
You say i should set it to 0: that doesnt make sense. 1 = true,
in this case meaning to mute when facedown......
Not?
Click to expand...
Click to collapse
i have seted in 1 and works ok, already check it
Mine is set to 1 and works, if i set it to 0 it doesnt work.
Seems like you have a duff phone there, id send it back for a replacement or get them to fix it.
ok - set mine to 1, did not work. Figured a reg change might need a soft reboot - which I did and now - IT WORKS
R
rakh1 said:
Mine is set to 0 and does not work....
R
Click to expand...
Click to collapse
Are you aware that this doesn't work if you are called and your phone is already facing down!? This function requiers you to flip the phone face down when you get a call (from the starting position when it is on its back). If it is facing down already you need to flip the phone 360 degreeds over its longest axis to mute it.
This function is not suitable for meetings in which you cannot be disturbed. In that case you need to put it on silent or vibrate mode manually in the config menu.
aware of that yes.
set to 1, reboot, tried
set to 0, reboot, tried
set to 1, reboot, tried
nothing works.....mmm
Do your accelerometors work? Does the web and photos move around the screen as you rotate the device? Does the ball game work?
I simply changed the value from 0 to 1 and reset.
Left the phone face up on my desk and called it. Then turned it face down and the ring was muted...
R
yes, the game works....
IT WORKS NOW!
i reinstalled (hard reset) and all ok now.......mmm
babedieboe said:
yes, the game works....
IT WORKS NOW!
i reinstalled (hard reset) and all ok now.......mmm
Click to expand...
Click to collapse
i tried it after 3 hard resets! each time worked only once till the first soft reset. after a soft reset the value in the registry stayed "tweaked" but with no effect.
Mine is set to 1 and it works gr8
mine works no problem... make sure you are using the new ROM's. (and btw having the phone so that it is silent when ever the phone is face down is silly, coz it may be in you pocket (or hand bag 4 women) and face down and then it wont ring... no good. the default method, of looking at the screen and then turning in face down is a good idea tho...)
I had the same problem - didn't work no matter what i did. Recently i updated the ROM to 1.93 and this fixed the problem. Works like a charm now.
205_lacoste said:
This function is not suitable for meetings in which you cannot be disturbed. In that case you need to put it on silent or vibrate mode manually in the config menu.
Click to expand...
Click to collapse
You can set this to go to vibrate automatically if you're in a meeting (that's in your schedule)
KukurikU said:
i tried it after 3 hard resets! each time worked only once till the first soft reset. after a soft reset the value in the registry stayed "tweaked" but with no effect.
Click to expand...
Click to collapse
kukuriku, my dear friend let me help you:
in the tweaks thread there is a mistake. registry should be 1 not 0 (like somebody already write here). that's also the default. use your head m8!

Disable stylus control

My htc diamond has a problem that, sometimes the device will be turned on accidently, causing accendential phone calls, which is very annoying.
By then, I realised the problem was caused by the stylus control (which turn the device on when stylus is pulled out), that the problem never occur without the stylus. So, is there any way to disable the stylus sensor control that turn on the device?
When you remove the battery cover and the stylus there is a little black switch on the side.
Edit: Ahh well it aint a switch but it is the sensor for the stylus. Break it and you'll be fine
use a Password so you can't do anything when it is turned on
SurfHost said:
When you remove the battery cover and the stylus there is a little black switch on the side.
Edit: Ahh well it aint a switch but it is the sensor for the stylus. Break it and you'll be fine
Click to expand...
Click to collapse
is there any software to deal with, apart from breaking the physical component?
I had same problem before!
just use a plastic tape to cover the sensor is OK!
you will say bye to this problem
I was just looking for this and can't find it :/
I'm using the cdma diamond
I have the same problem - my Diamond sometimes wakes up in my pocket because of the stylus sensor . I've been looking for software solution, but nothing found... Is there a registry key that can turn the stylus sensor off? Or maybe a small program that does this...? Please, need your help...
senshiro87 said:
I have the same problem - my Diamond sometimes wakes up in my pocket because of the stylus sensor . I've been looking for software solution, but nothing found... Is there a registry key that can turn the stylus sensor off? Or maybe a small program that does this...? Please, need your help...
Click to expand...
Click to collapse
Use TouchLockPro and dissable the Stylus sensor in the program. When it wakes up in your pocket, it will lock your phone and go to sleep again after 30 seconds.
Any other way? TLP is too much for me, I look for something only for stylus sensor (I don't need to set light sensor, g-sensor, etc.). Otherwise I would like to completely turn it off (Diamond wouldn't wake up when the stylus is out). And of course I don't want to break it...
senshiro87 said:
Any other way? TLP is too much for me, I look for something only for stylus sensor (I don't need to set light sensor, g-sensor, etc.). Otherwise I would like to completely turn it off (Diamond wouldn't wake up when the stylus is out). And of course I don't want to break it...
Click to expand...
Click to collapse
A piece of paper or tape over the stylus sensor/notch will also do.....you do not have to break it, as described in post #5.
ZuinigeRijder said:
Use TouchLockPro and dissable the Stylus sensor in the program. When it wakes up in your pocket, it will lock your phone and go to sleep again after 30 seconds.
Click to expand...
Click to collapse
pretty good appz but none of them disables the sensor...im lookin for smth that disable the sensor,like stylus[out]=nothin happens,stylus[in]=nothin happens...
everytime i take my stylus out it unlocks the phone...i wanna disable this feature....i would rly appriciate any advice for solvin this issue...thx
I have the same problem with stylus sensor. I used a small piece of cellotape over the black part of stylus. This helped to avoid self unlocking. Hope there is also possibility to disable stylus sensor in the registry…
mlost said:
I have the same problem with stylus sensor. I used a small piece of cellotape over the black part of stylus. This helped to avoid self unlocking. Hope there is also possibility to disable stylus sensor in the registry…
Click to expand...
Click to collapse
hehe maan, ive done the same a few weeks ago)))...i just thought that it would b kinda weird presentin such a solution here)...thx for your reply anywai....

[Q] light in the buttons?

Is there any way to control button light, it would be great to have them on when using the device in the dark. Maby a way to change the timeout or somthing.
+1... also BLN (backlight notifications) wouls be a really nice addition...
+anudder 1. Been thinking the same since I got mine. Always hit the wrong button, since I'm so used to my EVO. Would be great if they slapped the retina so I'd pay more attention! Thanks for posting!
Sent from my PC36100 using XDA App
2token2 said:
Is there any way to control button light, it would be great to have them on when using the device in the dark. Maby a way to change the timeout or somthing.
Click to expand...
Click to collapse
echo -n 255 > /sys/class/leds/button-backlight/brightness
anything but 255 turns it off
cheers
Does not really help, it.s reset after 8 sec or somthing any way, but thanx, nice try.
Sent from my GT-P1000 using XDA App
2token2 said:
Does not really help, it.s reset after 8 sec or somthing any way, but thanx, nice try.
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Thats because there is some Samsung's code to turn it off after a while. Cant do anything about that.
what about a quick app to cycle that whenever the screen is on?
drksilenc said:
what about a quick app to cycle that whenever the screen is on?
Click to expand...
Click to collapse
That could work, but it will eat cpu time and battery.
Technomancer said:
That could work, but it will eat cpu time and battery.
Click to expand...
Click to collapse
any idea how this would work? i am able to write small programs in jva but not more than that!
Landroid said:
any idea how this would work? i am able to write small programs in jva but not more than that!
Click to expand...
Click to collapse
It would have to be a service probably with small JNI module.
Let it sleep for button light timeout-1 seconds, and then check state of lcd brightness and if it is nonzero, set button brightness to 255. repeat forever.
There is also define KEY_LED_CONTROL in the kernel in drivers/input/touchscreen/qt602240.c. So I think it should have all worked in the kernel but somehow it doesn't. Maybe it could be possible to fix it all in the kernel.
PS. I have analyzed the code in the kernel. All it does is to handle /sys/class/leds/button-backlight/brightness so it is up to user-space to turn the buttons on and off.
Interestingly, there is some unused code that suggest it should be possible to turn the 4 leds on/off individually but there is no user space inteface for that and the init code sets them to lowest brightness.
I guess we got lucky http://forum.xda-developers.com/showthread.php?t=917441
That should work on the tab too.
Doesn't work on my ATT tab.
Does not work on my tab. :-(
Technomancer said:
PS. I have analyzed the code in the kernel. All it does is to handle /sys/class/leds/button-backlight/brightness so it is up to user-space to turn the buttons on and off.
Interestingly, there is some unused code that suggest it should be possible to turn the 4 leds on/off individually but there is no user space inteface for that and the init code sets them to lowest brightness.
Click to expand...
Click to collapse
The relly exellent thing would be to be able to have the ligts at lhe lowest brigtness.
Sounds promesing.
/ToKeN
I got in the habbit of scrolling the screen a little when i need the buttons , that turns the button lights on.
There is a chance that these lights are controlled by the code in bootloader, because when i flashed 1000l firmware , it almost bricked my tab, there was nothing on the screen, not even the trinagle, but i think i saw these lights come on, i could be wrong though.

Dt2w always wakes in my pocket.

Hello guys, as the title says my phone always wakes up in my pocket and starts dialing and doing stuff...
Any way to fix that?
ProRules said:
Hello guys, as the title says my phone always wakes up in my pocket and starts dialing and doing stuff...
Any way to fix that?
Click to expand...
Click to collapse
When there is something magnetic in your pocket the phone is activated by the magnet sensor.
When you carry the phone in the pocket with screen turned to the skin then the phone is activated by yourself, because the screen is capacitative.
Belt case ?
NLBeev said:
When there is something magnetic in your pocket the phone is activated by the magnet sensor.
When you carry the phone in the pocket with screen turned to the skin then the phone is activated by yourself, because the screen is capacitative.
Belt case ?
Click to expand...
Click to collapse
Can't I somehow make it work with proximity sensor?
I dont have magnets i n my pocket.
ProRules said:
Can't I somehow make it work with proximity sensor?
I dont have magnets i n my pocket.
Click to expand...
Click to collapse
Turn the screen away from your body/skin.
The proximity sensor works when activated after dialing to turn the screen OFF.
Or turn ambient display off
Sent from my Nexus 6 using XDA-Developers mobile app
ProRules said:
Hello guys, as the title says my phone always wakes up in my pocket and starts dialing and doing stuff...
Any way to fix that?
Click to expand...
Click to collapse
Try this
http://forum.xda-developers.com/android/apps-games/app-wake-gestures-t3030399
NLBeev said:
When there is something magnetic in your pocket the phone is activated by the magnet sensor.
When you carry the phone in the pocket with screen turned to the skin then the phone is activated by yourself, because the screen is capacitative.
Belt case ?
Click to expand...
Click to collapse
blanco2701 said:
Try this
http://forum.xda-developers.com/android/apps-games/app-wake-gestures-t3030399
Click to expand...
Click to collapse
Thanks man! That fixes the issue, BTW I know it might be a bit off topic but.. What is xposed? I've seen it everywhere and in that link too, cheers.
ProRules said:
What is xposed? I've seen it everywhere and in that link too, cheers.
Click to expand...
Click to collapse
Xposed*is a framework for mod's that change the behavior Android. Root needed and downloading xposed-modules.
Never tried it, because I prefer a system close to stock. Therefore I use the prerooted lite stock rom of Danvdh.
http://forum.xda-developers.com/showthread.php?p=59561445/
I personally use Sweep to wake (up) rather than double tap to wake. It seems more reliable and doesn't trigger by accident.
Dopamin3 said:
I personally use Sweep to wake (up) rather than double tap to wake. It seems more reliable and doesn't trigger by accident.
Click to expand...
Click to collapse
That's right. But it works well with 4 taps
NLBeev said:
Turn the screen away from your body/skin.
The proximity sensor works when activated after dialing to turn the screen OFF.
Click to expand...
Click to collapse
This is my best suggestion. Turn the back of the phone towards your skin in your pocket. Absolutely the simplest solution.
Never had this happen nor should it happen. Ambient display is normally the cause and why most people turn it off. It is more likely that you are hitting the power button while it is in your pockets. Mainly to those dumb enough to keep it in their back pocket.

Categories

Resources