[Q] Disable the Light sensor Galaxy s - Android Software/Hacking General [Developers Only]

My Galaxy S has a problem with the Light Sensor, every time i make a call my phone freezes or black screen, I tried running some sensor tests but also does same when i try the light sensor, so that must be it. have this problem for a year, at first i thought it was the proximity sensor.
When my headphone is plugged in, i dont have this problem because the light sensor wont interfear then.
I want to disable the startup of the light sensor,
I already setup ADB, so im ready to push and pull, but i don't know wich file i need to edit. remove a # here and there
Can anyone tell how wich file it is?
Got inspired by :
http://forum.xda-developers.com/archive/index.php/t-764368.html

Sure its not the proximity sensor? Cause I got the same problem. When I accept a call screen goes black, the upper bar is visible and after a while the screen turns off. Im ceratin that is a problem with the proximity sensor or not?

Same here, yeah think its the proximity, but my light sensor also doesn't function properly, auto brightness adjustment doesnt work also.
Very anoying problem.

Related

Screen off via light sensor?

I need an app that would switch off my galaxy tabs screen whenever I shut the case (its a book-type from SGP). I assume the light sensor would do this just fine.
Any apps out for that?
Surely that would make it impossible to use your device in a darkened room or outside at night? Wouldn't the screen keep turning itself off?
Hmm, I didn't think of that. Any suggestions? Maybe the magnetometer or front camera?
http://forum.xda-developers.com/showthread.php?t=876945
try this if it works ...

[Q] light sensor doesn't work?

Hello everybody. Firstly I'd like to sorry but my English is poor. Ok, so what's going on? One day I saw that 4 touch buttons don't have backlight. So I tought it could be that light sensor. I've gone to the display settings and I set up auto brightness. And nothing has changed... No matter where I go, brightness doesn't change at auto. And this no backlight of 4 touch buttons... My question is: what it could be? What is wrong with my HTC? Could it be software issue or rather hardware?
the autobrightness setting your messing with is for the backlight of the screen, not the 4 buttons. as for the 4 buttons, what kernel and rom are you on? newer xe kernels have brightness setting for the buttons (if its bright outside itll turn off, if its dark then itll turn on). does the backlight of the 4 buttons never work or just sometimes?
I use stock 1.50~~ ROM with stock htc kernel. Sometimes (as now for example) 4 buttons backlight works, sometimes not, it's lottery... Now there is working also light sensor. I woke up today and it has been working, but since monday to yesterday it didn't work. Strange issue...
Try check tour sensors with androsensor from Market/Google Play.
It shows you whats sensors do work.
Light sensor is at the top left hand side of the phone at the front beside the speaker. Put your thumb over it and see if the buttons light up. If they do light sensor is working!
My sensors are still not working to all the time.
I did edit the build.prop with this line at the botten:
ro.mot.buttonlight.timeout=0
Reboot 2x
Wich helped .
But now its gone again,it drives me nuts
There is shortcut for light sensor check, for example on Samsung i9001 I can use *#*#0588#*#* - Proximity sensor test
hope this can help
addisuw said:
There is shortcut for light sensor check, for example on Samsung i9001 I can use *#*#0588#*#* - Proximity sensor test
hope this can help
Click to expand...
Click to collapse
And what should happen ?
Tried it,nothing.
Thanks tho.
Do you have it in a case? I put mine in a gel case and although it didn't appear to block the sensor I was finding that when I finished a call the screen didn't light up again. I trimmed the case so that it had much more clearance around the sensor and it works well now.
xynox93 said:
Hello everybody. Firstly I'd like to sorry but my English is poor. Ok, so what's going on? One day I saw that 4 touch buttons don't have backlight. So I tought it could be that light sensor. I've gone to the display settings and I set up auto brightness. And nothing has changed... No matter where I go, brightness doesn't change at auto. And this no backlight of 4 touch buttons... My question is: what it could be? What is wrong with my HTC? Could it be software issue or rather hardware?
Click to expand...
Click to collapse
Is your proximity sensor working during calls?
Not for me
(Ps.factory reset in total dark worked till reboot)
Did anyone figure this out?
I bought a used phone for a great price but my light sensor and proximity sensor dont work. Confirmed with androsense.
I would really like to just have the buttons light up all the time when the screen is on. Anyone know how to make that possible?

[Q] Proximity sensor problem is there a way to calibrate it

my proximity sensor has been acting up since the 4.3 OTA update, my screen stays black after calls, sometimes after screen time outs and I normally have to wait awhile before it'll turn back on, The infra red light for the proxy sensor stays on as well, it used to just blink occasionally. and yes I can see the infra red light, first sensor to the right of the speaker, for those of you who cant see it try looking at it with a camera and it'll become visible. since this seems to control my screen even while not making a call I need to disable it or calibrate it, I have already disabled it at phone, call settings, turn off screen during calls.
johnwilliams-84 said:
my proximity sensor has been acting up since the 4.3 OTA update, my screen stays black after calls, sometimes after screen time outs and I normally have to wait awhile before it'll turn back on, The infra red light for the proxy sensor stays on as well, it used to just blink occasionally. and yes I can see the infra red light, first sensor to the right of the speaker, for those of you who cant see it try looking at it with a camera and it'll become visible. since this seems to control my screen even while not making a call I need to disable it or calibrate it, I have already disabled it at phone, call settings, turn off screen during calls.
Click to expand...
Click to collapse
The option has been removed from 4.3 OTA, there's no way to calibrate them. Also none of the third part apps are compatible with this. :crying:

[Q] Light Sensor + Auto Brightness (sometimes) not working

I tried different roms (cm10.2, cm11, ls3.1, ...) all the same. Sometimes the light sensor seems not working. After reboots it may be found/activated or even not.
Yesterday i found the solution: If i reboot my Relay 4G in broad daylight or in the near of a lamp the light sensor (and therefore also the display auto brightness) works.
Maybe there is a test at bootup if sensor returns "0" the light sensor wont be activated? Anybody else have problems with auto brightness?
Regards
I have had similar experience when booting the phone in a dark environment. When the light gets bright it starts working again.

light sensor on u11 not working?

I was playing around with my phone and i was checking to see if all my phone sensors are working and turns out the light sensor isnt..
Care to explain how sensor isn't working? Hand on sensor(pocket mode) the screen won't turn on with correct fingerprint? Slightly covering the proximity sensor screen dims? Is auto brightness on? Doesn't help anyone help you just by saying it doesn't work. It is all in the details
So OP, you did the hardware diagnostics and it shows that the light sensor isn't working?

Categories

Resources