[ION] Totally disable auto-brightness on Stock ROM? - Sony Xperia S, Acro S, Ion

Hi, guys.
As you'll already know, Xperia Ion Stock ROMs have no auto-brightness toggle on settings, apparently. And even if you use a 3rd party app to fix the brightness at a value, it keeps blinking around that value according to light sensor.
Light sensor has always been told to be such a battery-drainer, so here's my doubt:
Would it be possible to create a mod, app, flashable ZIP or something to disable that auto brightness feature at all?
Thanks in advance.

Lol? Light Sensor isn't battery drainer. You have wrong informations.
Sent from my LT26i using xda developers-app

Light sensor constantly reads an input, that obviusly uses a substantial amount of battery.
Anyway, is there any toggle solution?

If you want to really disable it, try this -
0. MAKE A NANDROID BACKUP (VERY IMP)
1. Use a root file manager and go to /system/etc
2. Open hw_config.sh
3. Search for this line - echo 1 > $dev/lcd-backlight/als/enable
4. Change 1 to 0, then save and reboot
5. Hopefully it should disable als now.

Thanks for the method! But wouldn't that disable brightness at all? I want brightness on, but light sensor-based automatic brightness disabled.
Greetings.

Serede said:
Thanks for the method! But wouldn't that disable brightness at all? I want brightness on, but light sensor-based automatic brightness disabled.
Greetings.
Click to expand...
Click to collapse
No no, you can adjust brightness in settings. It only disables the ALS sensor(Ambient Light Sensor). I have tested it myself.

Related

Custom Auto Brightness on Evo

Hello,
Is there an app similiar to lumos for windows mobile on android. Lumos is a custom brightness setting app which uses the light sensor. Lets say it is dark or I turn the lights off. I can set a custom brightness level such as 1 percent battery backlight. I really hate the default setting for auto brightness and was just wondering if there was an app similiar to lumos that uses the light sensor. I already know there are widgets that u can press but is there a way to make it usr the sensor so it can do this automatically? thanks
There was a bounty thread a while back on this. We just ended up setting up Tasker to do it. It works really well, and tasker is a great app to play with.
Also, CM6 has the ability to adjust auto brightness setting built in
Hey... I think this thing makes phone calls too!

[Q] Always "low brightness" screen on option?

Is there an application or a mod to have this settings:
have automatic brightness when the phone in active
have low brightness when the phone is inactive BUT not showtdown the screen.
if i set up to "always screen on", screen is ALWAYS on HIGH brightness
thanks
...just use automatic brightness?
Sent from CM7
Meaple said:
...just use automatic brightness?
Sent from CM7
Click to expand...
Click to collapse
isn't the same!
You can set it to leave the screen on dim when it's plugged in, but I don't think that's what you mean is it?

Automatic brightness?

I miss the option for this...
The widget only makes the brightest or darkest setting... :-(
Sent from my LT15i using XDA App
when you use the standard "Power Control" widget you can toggle min/user/max
with user being the setting that you set in the display settings.
and if you have a user setting somewhere in the middle, then it will adjust to the ambient light.
If you install widgetsoid (a massively enhanced version of the powercontrol widget mentioned above) the brightness control has an auto option, which works fine.
For ARC, you can enable and disable by executing the following command in a terminal. You can write it in a script file and make it one-button action with the help of "gscript lite".
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
In addition, by adjusting cutoff frequency of low pass filter of ALS output, you can adjust the changing speed of brightness relative to ambient lighting. The command is listed below:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
cruxlin said:
For ARC, you can enable and disable by executing the following command in a terminal. You can write it in a script file and make it one-button action with the help of "gscript lite".
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
In addition, by adjusting cutoff frequency of low pass filter of ALS output, you can adjust the changing speed of brightness relative to ambient lighting. The command is listed below:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
Click to expand...
Click to collapse
I think I just fell in love. Thanks a lot!
daveybaby said:
If you install widgetsoid (a massively enhanced version of the powercontrol widget mentioned above) the brightness control has an auto option, which works fine.
Click to expand...
Click to collapse
I have widgetsoid installed and the auto brightness control just sets my brightness to the minimum..
DemonicHawk said:
I have widgetsoid installed and the auto brightness control just sets my brightness to the minimum..
Click to expand...
Click to collapse
Are you sure? Works here just fine.
Try holding your thumb over the light sensor, see what happens.
Yeah, i've tried covering it and putting a flashlight to it, neither do anything when on auto. I even went into the service menu to make sure it was working properly.
I guess i'll just have to stick with a fixed brightness and let it "auto adjust" as needed. Maybe its the generic .181 build im using?
Hmm, i don´t know who is wrong but i was thinking that the arc only has an automatic brightness that can not be disabled. I have a german arc (unbranded, .181 FW) and it doesn´t matter to which level the brightness is set the automatic is always active and permanently regulates the brightness. Woul be very gald if SE would integrate an automatic brightness on/off setting with the next firmware
cruxlin said:
For ARC, you can enable and disable by executing the following command in a terminal. You can write it in a script file and make it one-button action with the help of "gscript lite".
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
In addition, by adjusting cutoff frequency of low pass filter of ALS output, you can adjust the changing speed of brightness relative to ambient lighting. The command is listed below:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
Click to expand...
Click to collapse
Genius!! Many thanks
Strange! with the update to 2.3.3 it stopped auto-dimming (not sure if it was due to the update or due to me installing juice defender)
And i can not get turn it on with the Power Widget.
cruxlin said:
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
Click to expand...
Click to collapse
I get "permission denied" trying to do that
but "cat" ing the vqalue gives me a 0
do I have to root?
cruxlin said:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
Click to expand...
Click to collapse
cat /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
gain,filter_up,filter_down,offset
2,0,0,0
any clues what gain and offset are used for?
this works brilliantly
Thank you so much
And yes you need ROOT
cruxlin said:
For ARC, you can enable and disable by executing the following command in a terminal. You can write it in a script file and make it one-button action with the help of "gscript lite".
echo 1 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
1 to enable, 0 to disable
In addition, by adjusting cutoff frequency of low pass filter of ALS output, you can adjust the changing speed of brightness relative to ambient lighting. The command is listed below:
echo 2,4,2,0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/params
2nd figure "4" is to define cuf-off frequency to 4Hz for
increasing brightness. Range 0~7, larger value for faster change
3rd figure is for decreasing brightness. This example, 2, is to define 2Hz for cut-off frequency.
Click to expand...
Click to collapse
Hi cruxlin
Thanks allot for your information on how to change this. I have found on my ARC with 2.3.3 that als/enable is allways configured to "1". Doing echo "0" > als/enable will not change this value. It is working fine for als/params where I managed to change how fast the brightness are changing.
I also discovered an odd way of manually disabling/enabling the light sensor by using the default sony ericsson brightness toggle widget. Setting this to "dim" will disable the auto brightness and you can set the brightness manual to whatever level you wish. When you toggle the widget to enable brightness it will both enable auto brightness and change brightness to the value you previosly used as minimum.
I had for testing added echo 2,6,6,0 > als/params for fast brightness change and using a flashlight. This made the brightness update the same second I moved the flashlight over the light sensor.
I actually very much like the sony ericsson way of controlling this as it enables me to define minimum brightness with auto brightness enabled and very quickly use the dim toggle to quickly change to some other preffered value.
So with that second script you can also get rid of the backlight stuttering higher and lower in some situations?
Ambroos said:
So with that second script you can also get rid of the backlight stuttering higher and lower in some situations?
Click to expand...
Click to collapse
I do not think I have experienced this backlight stuttering, how do you notice this?
I have just yesterday managed to get my auto brightness working, my SE brightness widget had been set to dim shortly after I got the phone and I had not touched it until yesterday unknowing that this also controls the auto brightness
hygge said:
I do not think I have experienced this backlight stuttering, how do you notice this?
I have just yesterday managed to get my auto brightness working, my SE brightness widget had been set to dim shortly after I got the phone and I had not touched it until yesterday unknowing that this also controls the auto brightness
Click to expand...
Click to collapse
It's just that in some low-light situations the automatic brightness flips out, and switches between two settings at an extremely fast speed, creating a flickering effect. Doesn't happen a lot, but it is pretty annoying when it happens.
Ambroos said:
It's just that in some low-light situations the automatic brightness flips out, and switches between two settings at an extremely fast speed, creating a flickering effect. Doesn't happen a lot, but it is pretty annoying when it happens.
Click to expand...
Click to collapse
I do experience that on my Neo too, try to move your phone a bit, or hold your thumb over the light sensor and release it. Works sometimes.
I ran the script in glite and it makes no difference for me any pointers thx
hygge said:
I also discovered an odd way of manually disabling/enabling the light sensor by using the default sony ericsson brightness toggle widget. Setting this to "dim" will disable the auto brightness and you can set the brightness manual to whatever level you wish. When you toggle the widget to enable brightness it will both enable auto brightness and change brightness to the value you previosly used as minimum.
I had for testing added echo 2,6,6,0 > als/params for fast brightness change and using a flashlight. This made the brightness update the same second I moved the flashlight over the light sensor.
I actually very much like the sony ericsson way of controlling this as it enables me to define minimum brightness with auto brightness enabled and very quickly use the dim toggle to quickly change to some other preffered value.
Click to expand...
Click to collapse
It works perfectly for me, thank you.
After upgrading to 2.3.4 where power control widget is missing (I dont know why), I was not able to set auto-mode.
With this solution I recovered it and, more ahead, I have now something I was looking for, the way to set the low brightness intensity, that was very high when dark night.
I cannot set the other paramethers, since I lost root while updating (I'll need to fix this), but for the moment, it works fine.
Again, thanks a lot.
daveybaby said:
If you install widgetsoid (a massively enhanced version of the powercontrol widget mentioned above) the brightness control has an auto option, which works fine.
Click to expand...
Click to collapse
Even if you uncheck auto, it will use the light sensor to set the brightness, the input you give is just the minimal brightness. Try putting the brightness on ~8% in a place with light, then hold you hand above the light sensor. Screen will still become darker.

Stock ROM - Turning off Auto Brightness

Is their a way to turn off auto brightness? It is very annoying seeing the brightness level change so rapidly and I can't believe SE haven't picked up on this problem.
How do you guys manage with it?
Search the market for "Disable Auto Brightness Xperia", you'll need root though!
DemonicHawk said:
Search the market for "Disable Auto Brightness Xperia", you'll need root though!
Click to expand...
Click to collapse
Is it something you use? Do you notice the rapid brightness changing with autobrightness on to?
Thanks
Does anyone else notice the rapid changing of brightness?
Thanks
I dont have an automatic brightness option in display settings..
Sent from my MK16i using xda premium
Because there isn't.
I was just about to say... Cause I'd have it on and I can safely say there's no option for it on STOCK... It's manual control.

Are there any hacks to change the rules for auto brightness?

My tablet when on auto brightness becomes very dark in unlit rooms and I can barely see it videos or detail.
Sent from my GT-N5110 using Tapatalk
Mod to adjust auto brightness
6Flip9 said:
My tablet when on auto brightness becomes very dark in unlit rooms and I can barely see it videos or detail.
Sent from my GT-N5110 using Tapatalk
Click to expand...
Click to collapse
I am not sure if this works with stock roms, but if you install PhilZ touch recovery from the thread... http://forum.xda-developers.com/showthread.php?t=2367151
You have options in the advanced menu to change the response time for auto brightness. The default is 1 minute, you will need to tap about 4 times to get it down to 0, as it counts up to 5.
Which sped up the delay from going from one extreme to the other in ambient lighting.
If you install his custom roms you also get options to adjust the brightness intensity in 5 steps while auto brightness is on. I found this out after some time messing with my settings.
6Flip9 said:
My tablet when on auto brightness becomes very dark in unlit rooms and I can barely see it videos or detail.
Click to expand...
Click to collapse
Lux Auto Brightness - perfect app for brightness tuning - you can set you own profile - matching desired screen brightness to sensor reading, and the process is very easy.
Short info, taken from app description:
Lux isn't your ordinary brightness app. It intelligently adjusts the brightness of your display based on the environment you're in. If, for example, you step into a dimly lit room, Lux will automatically lower the brightness of your display to make it not only comfortable to read, but to also preserve battery power.
Lux provides the option to automatically adjust the backlight at fixed intervals (periodic mode), when a change in environment is detected (dynamic mode), or when the phone wakes from sleep. It's also possible to adjust the backlight manually. Simply disable automatic mode and you can use it like a traditional brightness tool!
Perhaps the best thing about Lux is that you can teach it how to behave. If the backlight is too bright or dim for your liking, simply open the provided Dashboard, adjust the brightness slider to the level you desire, then hold the link button. Lux will use this new 'link' as a reference in future.
lux and velis both work. i paid for both, but i prefer lux.

Categories

Resources