[Q] light sensor problem

Search This thread

JackYack13

Senior Member
Mar 12, 2013
76
10
0
I don't know if this is normal on the stock samsung rom because I've been using cyanogenmod for the last few months. But recently I flashed a stock jelly bean rom for sgs2 (XXMS1) and the light sensor doesn't work properly. When I download some app which shows output values from different sensors, such as "android sensor box" it always shows values of either 10, 100, 1000, or 10000 for the light sensor, which is pretty inaccurate (the same app would show very accurate values on cyanogenmod 10.1). It does that for any other app capable of showing light sensor output. However, when I use the built in sensor tool when you type *#0*# in the dialer app then it will show me quite accurate values only rounded by 5.

I also noticed that the automatic brightness feature is not working like it should, probably because of this. When the sensor shows 10 the screen will just go to the darkest possible mode and then it will go bright all of the sudden when it changes to 100. For example because of the lighting in my room, it will just keep changing depending on which way the screen is facing. It will just be a bit too bright and then suddenly become too dark. Has anyone ever had a similar problem? Why is the light sensor so inaccurate, even though it shows proper values in the sensor thing in *#0*# ?
 

slingswish

Member
Nov 21, 2011
15
1
0
singapore
i have the same problem...sometimes the sensor don't change the screen brightness . i have to manual adjust by adding widget on the main screen. any pro helping on this ? but sometimes its ok ...don't really knwo what happen. my SGS 2 flash to CM 10 .
 

immortalneo

Senior Member
Jan 25, 2011
4,425
1,929
0
Malappuram, Kerala
Wiped data, cache, dalvik cache and flashed it again. Nothing changed. The light sensor still shows only 10, 100, 1000 and 10000.
Check out this thread with the same problem:
http://forum.xda-developers.com/showthread.php?t=1643974

But its not on stock though.

"To err is human, to forgive is divine"
Sent from my SGS II

---------- Post added at 04:06 AM ---------- Previous post was at 03:52 AM ----------

So sorry mate, but that's normal I guess. Just checked mine using Andro Sensor app, and I get 10, 100, 1000 values!! However, I do not have the screen brightness issues that you have.

I did a search and found that this light sensor issue was very common in CM9. Samsung is to be blamed for it. :(

"To err is human, to forgive is divine"
Sent from my SGS II