Setting up Auto brightness for nAa MiniCM7 X10 MP - Sony Ericsson XPERIA X10 Mini

Ok, I haven't seen a topic on how to get this working, so I decided why not put this up. Mods you can remove this thread if it's already there or move it to the correct section (would help more people If it were in the X10 MP Development forum).
First off I should say I own 3 X10 Mini Pros with nAa's MiniCM7 2.2.0 with his kernel and that's what this guide is for. I have not tested this on any other device!
Auto brightness & keyboard lights work fine without any third party solution. The only problem I have (which happens rarely), is that the kb light doesn't come up after unlocking the phone and locking it right after then unlocking it again using the keyboard. And to fix that, just get the phone in some light to reset the sensor and bam it's working again, so that's no biggie. I think that's just a bug from the ROM itself since it happens on all 3 devices.
To get Auto Brightness working:
1. Goto Settings > Display > Brightness > Enable Automatic Brightness
2. Goto Settings > CyanogenMod Setting > Display > (I have ultra brightness disabled) > Automatic backlight >
Light sensor filter > Disabled
(Important ) Use Custom > Enabled
Edit Other levels:
Code:
Lower Upper Screen Buttons Keyboard
0 3 41 255 255
4 15 81 255 255
16 63 143 255 255
64 249 186 255 255
250 infinity 255 0 0
You can adjust the screen levels to your liking. Ranges 0-3 are in low light situations and 250-infinity is for bright (eg. outdoors) situations. You can also adjust the levels for keyboard to your liking (0 = off, 1-255=on). Leave the values for buttons at 255.
Allow light decrease > Disabled
Alternative:
An alternative to for fixing the keyboard lights (Just the Kb lights only, not auto brightness) is using D4rKn3sSyS' Kfix 2.3.
Just install that, turn the light levels all the way up and bring the light sensitivity all the way down (to the left), then adjust to your liking.
I don't use D4's Kfix since I have everything working fine without it. This is just for others who want to try fixing with a 3rd party solution.
Hit "Thanks" if I helped.

Noobonic said:
Ok, I haven't seen a topic on how to get this working, so I decided why not put this up. Mods you can remove this thread if it's already there or move it to the correct section (would help more people If it were in the X10 MP Development forum).
First off I should say I own 3 X10 Mini Pros with nAa's MiniCM7 2.2.0 with his kernel and that's what this guide is for. I have not tested this on any other device!
Auto brightness & keyboard lights work fine without any third party solution. The only problem I have (which happens rarely), is that the kb light doesn't come up after unlocking the phone and locking it right after then unlocking it again using the keyboard. And to fix that, just get the phone in some light to reset the sensor and bam it's working again, so that's no biggie. I think that's just a bug from the ROM itself since it happens on all 3 devices.
To get Auto Brightness working:
1. Goto Settings > Display > Brightness > Enable Automatic Brightness
2. Goto Settings > CyanogenMod Setting > Display > (I have ultra brightness disabled) > Automatic backlight >
Light sensor filter > Disabled
(Important ) Use Custom > Enabled
Edit Other levels:
Code:
Lower Upper Screen Buttons Keyboard
0 3 41 255 255
4 15 81 255 255
16 63 143 255 255
64 249 186 255 255
250 infinity 255 0 0
You can adjust the screen levels to your liking. Ranges 0-3 are in low light situations and 250-infinity is for bright (eg. outdoors) situations. DO NOT ADJUST THE LEVELS FOR BUTTONS AND KEYBOARD!
Allow light decrease > Disabled
Alternative:
An alternative to for fixing the keyboard lights (Just the Kb lights only, not auto brightness) is using D4rKn3sSyS' Kfix 2.3.
Just install that, turn the light levels all the way up and bring the light sensitivity all the way down (to the left), then adjust to your liking.
I don't use D4's Kfix since I have everything working fine without it. This is just fo others who want to try fixing with a 3rd party solution.
Hit "Thanks" if I helped.
Click to expand...
Click to collapse
I have the levels for keyboard to just turn on in when is almost in darkness, and not on full (255) and is working flawless. why do you say that mustn't be adjusted?

Please do not quote whole posts. You answered directly to the posts above yours. That is without any sense.
Or do you always repeat all the things your discussion partner said?

@anancr Any value from 1-255 is acceptable to make the lights turn on, what I meant was to not change the value to zero (which will turn the lights off). Hope that clarified it.
Hit thanks if this thread helped!

Thanks! That worked for me!

Thanks ! Also worked

Thank you, worked for me too!

Related

[Q] Brightness glitch for ICS

I am running siyah kernel b7 and CriskeloServanTeam V05 (Im not too sure if this works on any other roms). I figured out a glitch to get the brightness lowered than the default bightness settings.
First turn off automatic brightness in display.
Open default INTERNET browser, go to settings - Brightness/colour, Turn off automatic brightness (if its on).
There is 3 levels of brightness that are lower than the normal default brightness
Select 1 of them. It is a bit blue but it does work
Let me know if this works on other roms
If you wish to lower your brightness below standard 0% I would suggest you use Screen Filter, highly customizable. Free from Google Play.

[Q] Is there an app for setting your own Auto brightness levels?

Quick question -
I have a rooted HTC DesireHD & sometimes I'd like to use the 'Auto brightness' feature - especially if moving indoors/outdoors quite regularly.
However I've noticed that the screen brightness seems a little 'too' bright compared to how I usually have it (indoors I usually have it ~12%, outdoors ~90%) - In 'auto mode' the 'indoors' seem to be about 20-25%
I pretty sure that there is a way to telling the Android system the level to have the screen depending on how much light the light sensor picks up - but I think that involves editing certain files & 'ADB' command etc (which I'm not totally confident I could do)
Does any1 know of an App (preferably free) that shows the current light level picked up by the phone & the brightness level that's been currently used, which also allows you to alter (& save) a lower value for that light level (perhaps with a slider or value box ??)
Thanks in advance
Well despite 130 views - seems like no-one has any suggestions
Anyway, I persevered with Google play search & it seems I may've found a couple possibilities (Avaliable as 'free' and 'paid for') so I thought I'll post them here in case any1 else wants them
There's Custom Auto Brightness (free) here
AND
Lux Auto Brightness here (Lux has paid version that allows even darker levels of screen display)
I've tried out 'Custom Auto Level' but either I was doing something wrong, but on occasions it would'nt dim the screen in bright light (I tested by shining a torch onto the sensor), however I'm currently trying out the LUX [Free] version to see if it'll do the job
(Took a while to actually figure out that you had to use the 'Link' option to actually SET the brightness of screen to Level of light detected )

[REQ] Ultrabrightness widget/app

Hey
Is there anyone who can make a widget or app with widget support for toggling ultrabrightness in CM roms with just a one click?
It is not nice on very sunny days to search options in our phones even with 100% brightness, can't see screen sometimes
Thanks in advance.
Cheers.
you can do the following settings:
enable ultra brightness
go to automatic backlight, enable use costum
screen dim level to 4
edit other levels:
0-3 screen 4
4-15 screen x (you choose)
16 - 63 screen x
64 -249 screen x
250-infinite screen 255
when your sensor detects 250, you will have ultrabrightness+255 screen level.
when your sensor detects lesser light, it willh ave ultrabrightness, but the low dim compensates.
post here if you have anymore questions regarding this issue
I know that i can get this work with this way (autobrightness enabled) but maybe someone can do this what i'm asking..
If not, i'll must use this solution.

Automatic Brightness problem - Sensitivity? Gain? Offset?

Hi guys,
I've got problem on my Xperia Go ST27i (with lastest FXP CM10) with the automatic brightness control.
The sensor reports slightly changes from 2 to 3 even in a varying light envirronement. I've got an increasing (to 80-100 max) only when the sensor is exposed to direct sunlight.
> I've got no screen protection or film
I've tried to set different custom levels, but The sensor always go back to a very low value even in a bright envirronement. The backlight becomes always too low again.
This makes backlight dimming very uncomfortable when ambient light changes. The backlight never increase.
>It worked great on my old Xperia Active ST17i on lastest stable FXP CM10 4.1
I've searched for solutions, like trying different apps, but the sensor values are always the same.
I've found that thread:
http://forum.xda-developers.com/showthread.php?t=1445546
I thought maybe I could change the sensor gain/offset/... but in my hw_config.sh file I've got no "# LMU AS3676 Configuration" or "ALS" or whatsoever...
"Sensor Test" app reports light sensor:
Vendor: Sony Mobile
Version: 104
Max range: 900 lx (I manage to reach 100-120 max with a VERY bright direct summer sun exposition)
Can someone tell if it's possible to change the sensor gain value?

Light sensor and calibration not working

Hello!
I have rooted chinese Conquest S8 (MTK chip, Droid 5.1) phone in one year. After half year not working proximity sensor, used recalibration soft (Proximity Sensor Reset), reboot, work again... reboot and not working again (Proximity Sensor Reset say after boot: settings loaded... and not loaded). Run again, reboot, working again to first reboot.
This problem 50% be settled.
Big problem: Light sensor reset/calibration not working with any soft.
Light sensor still in 125 lx.
MTK engineering mode (see attachement):
PS Calibration
Infos:
PS: -1
Threshold High: 0
Threshold Low: 0
calculate failed (back button --> engineering mode crashed)
Change threshold menu:
set any number (0-65535) and set button --> "Set threshold failed" popup message
PS Data collection: always still -1
How to write manually good (default) rate in settings file? Which this file (proximity, light sensor information file)?
Factory reset not good method, too much settings loss.
Any method (text edit the configuration file or software automatic repair)??? (Quick Tune-Up Pro not repaired this problem.)
Thanks!
Thread closed as per OP's request.

Categories

Resources