Anyone know if it is possible to
a. disable the proximity detector from turning off the screen
b. toggle the screen on and off without the proximity detector ?
Cheers
Paul.
I'm found interesting reg value:
[HKEY_LOCAL_MACHINE\Drivers\BuildIn\RIL]
IsTestSIM=dword:0
this value reseted to 0 after every soft reset, BUT, if you set this one before soft reset to 1 => proximity sensor will not work after soft reset (reboot)
so, if make a simple script to change this value on every boot to 1, then proximity sensor will not work forever
After two weeks testing I found out that the original screen protector with the two holes for the sensor makes the problems!!!
thake the screen protector out or cut it and the proximity sensor will work perfect.
Kochavy
Related
Hi! I have a problem with my N1, the proximity sensor don't work good, when it isn't under a light, if I cover it the screen shutting down, but when i discover it, the screen stay shut down; however if the sensor is under an high light like sun it work good and the screen lighting up instantly.
I don't have any screen protector on the glass, so i don't understand the problem , can someone tell me why and if i can resolve?
The other question is: it is a software or hardware problem??
thanks Mattia
EDIT: I have the original rom, with the update 1, and i've not unlock bootloader.
Did you recently put a screen protector on your phone?
How did you solve it?
i hadn't solved it, i have that problem.. and i have never put any screen protector.
Try hard-resetting the phone. It may work if its any software glitch.
i've already tryed hard reset too, for 2 or 3 times...
i have done a test with an app called "sensor test" and i have found that the sensor start with 1 status and then covering the sensor, it change to 0, but when I discover it, the status stay on 0.
if i restart the app, bit status come back to 1. it had problem returning to 1 value automatically when i discover the sensor... always using it in a dark ambient.
otherwise if i test it under a light it work great!
masca88 said:
i've already tryed hard reset too, for 2 or 3 times...
i have done a test with an app called "sensor test" and i have found that the sensor start with 1 status and then covering the sensor, it change to 0, but when I discover it, the status stay on 0.
if i restart the app, bit status come back to 1. it had problem returning to 1 value automatically when i discover the sensor... always using it in a dark ambient.
otherwise if i test it under a light it work great!
Click to expand...
Click to collapse
Looks like your phone is busted.
Is it a huge deal to you? If so, call up HTC and send it back.
http://www.htc.com/www/support/nexusone/
If not, replace it in 364 days for a brand new one
hello,
I have a problem with the proximity sensor when I call someone the screen turns black and it won't turn on, only when I press the 'hang up' button.
I have read all posts about this problem and can't find the solution. I'm using the Energy Leo Denik themed rom.
Tried:
- Different roms
- Turn off all tweaks
- Hard reset
I don't use a case or screen protector.
Is there a possibilty to find out if the sensor is broken (hardware problem) with a test program?
I would really appreciate any help!
Are you using any sort of case that obstructs the sensor, and have you made sure that the area in front of the sensor is not dirty?
No, I don't use a case or a screen protector and the screen is very clean. thanks for replying
Hi all,
I think my Proximity sensor is broken..... can one try the following:
*#0588# (Proximity Sensor Test Mode)
And tell me what happens when the sensor is covered?
Also anyone got suggestions on how I can fix this?
Thanks
Tony
It works for me with *#0*# then select sensors and then move your hand close to the phone.
It also works with your code, the phone vibrates and the background changes colour when my hand is 5cm above the sensor.
LouisJB said:
It works for me with *#0*# then select sensors and then move your hand close to the phone.
Your code did not start anything running.
Click to expand...
Click to collapse
Can you please tell me what it says in Sensor?
In Proximity Sensor I have:
Proximity Sensor (Min/Avg/Max)
------------------------------------------
PROXIMITY: null ADC: 0 (0,0,1)
and sometimes when I cover the sensor it changes to : ADC: 2 (0, 1, 2)
Thanks
Looks like it is broken ACC 78(83,85,89) with my thumb over the sensor.
The important number is the first number (78). This must go over 10 to register as near at about 5cms , then the background turns green.
LouisJB said:
Looks like it is broken ACC 78(83,85,89) with my thumb over the sensor.
The important number is the first number (78). This must go over 10 to register as near at about 5cms , then the background turns green.
Click to expand...
Click to collapse
Thanks for that. Do you know if it's a firmware (I do have original Firmware on it but had CM7 on it for a while)
Looking like a faulty phone to me. These are hardware sensor tests.
a friend of mine has the same problem. We bought the telephone together but , after 1 month, his proximity sensor stopped working.
We tried the samsung diagnostic tool receiving the same information (ADC reach maximum 4).
we noticed that it stopped working after the change of the rom (with the installation of the clock recover) but I'm sure this is the real cause.
Is there a configuration file where proximity sensor parameter like gain/offset are stored?
Maybe some buggy application has changed these values.
if you have no warrenty, you can buy a replacement sensor, only about £10, it's front cam/sensors in one component
problem fixed!
Using phonetester it took 5 minutes to connect to the sensor (while with my phone it took 1 minute) but once connected , the proximity sensor started to work again also with samsung diagnostic and phone application.
donomark said:
problem fixed!
Using phonetester it took 5 minutes to connect to the sensor (while with my phone it took 1 minute) but once connected , the proximity sensor started to work again also with samsung diagnostic and phone application.
Click to expand...
Click to collapse
what did u use to repair ?, mines says proximity: null ADC range from 1 when nothing is in it;s way to 255 when coverd...
install only apps that you trust fully
Sent from my GT-I9100 using xda premium
I dont know if this is an issue with other handsets.
I installed proximity screen off application . The purpose was to have the phone turn the screen off when i close my flip case.
However i found something strange.
When the flip case is very close to the screen the proximity sensor does not seem to detect that there is something covering it.
Is this an issue with every one ?
Any solution
Please see the videos
As you can see from the videos when i bring the shield very close the proximity sensor does not seem to detect the sheild.
Edit : However if u use ur finger this is not seen
I've noticed the same behavior, it's quite annoying because it kills one of NoLed's best features (screen off using prox. sensor).
[deleted]
Still really annoying that the original flip cover won't work with the proximity sensor. A workaround might be a third party flip case. A diy modification of to the original one won't work since if I close it AND hold whatever object that alone is enough for a positive result over the flip cover, the sensor will still not register positive [because a minimal distance between an object and the glass surface is required, see below].
mine works even with a finger...
I've done it a few times accidently when i was trying to access the notification bar while on the phone
ph00ny said:
mine works even with a finger...
I've done it a few times accidently when i was trying to access the notification bar while on the phone
Click to expand...
Click to collapse
Thats the thing i was saying.
With finger i works great even if u touching the screen
Dial *#0*# and press sensor. If it vibrates, the proximity sensor is registering an object.
Maybe it comes in handy with testing.
It's working for me, thanks for the tip about the app!
edit:
Okay, I tested and found that indeed when you set the app to:
"Cover an hold to lock the screen" to say 5 seconds.
Close the flipcover.
It does not register.
However. If I set:
"Disable Accidental Lock" to .25 seconds.
Close the flipcover.
It works quite well.
Coming back to the sensor. It indeed does not register the flipcover when it's closed and touching the screen.
Weird thing is it does not register your hand anymore either.
Recreating issue:
Remove flipcover and lay it completely flat over the sensor.
Dial *#0*#.
Press "Sensor".
No registration.
Now hover your hand over where the proximity sensor is, and... How about that, no registration.
This indeed messes up NoLed's battery saving feature.
This can also be a problem when:
You set screen timeout to 10 min.
In the app's settings set "Disable in landscape" to on.
Then use an app in landscape mode.
Close flipcover while in landscape mode.
Then rotate to portrait. At this point it should start registering again and turn off screen..
The sensor does not register and screen stays on.
Drains battery.
It is a really cool idea, but it does not function properly.
It's too flaky, also when just handling your phone. I find myself accidentally turning off the screen.
Maybe if you use a case or some other cover with a different or thicker material it would work better.
I ordered a Zenuscase, I'll give it a try with that one.
Don't know how long it'll take to arrive though
reflective color
heey i found the problem , the sensor is working fine ... but when so close with any black object the light is not reflected back to the proximity sensor.(black color absorbs light).
Repeat your video with any white object and you will notice the difference..
Now i am using Autostart and it works great with samsung original flip cover (white flipcover).
you can use any white sticker on the black one.
ahmedtaha7 said:
heey i found the problem , the sensor is working fine ... but when so close with any black object the light is not reflected back to the proximity sensor.(black color absorbs light).
Repeat your video with any white object and you will notice the difference..
Now i am using Autostart and it works great with samsung original flip cover (white flipcover).
you can use any white sticker on the black one.
Click to expand...
Click to collapse
ya correct, just few day back i have asked this issue to developer
http://forum.xda-developers.com/showpost.php?p=22170417&postcount=5
But it will work perfact if you use proximity + light both sensor enabled.
Color has no influence, distance between an object and the proximity sensor is what matters. I've just tested this using pieces of paper, cloth, metal and wood in white and black colors. The sensor seems unable to correctly register anything that is less than approximately 1 mm away from the glass (it may report 0 cm or jump to 5 cm). Also it seems it only reports changes of a certain minimal distance between two readings, even if the reported value remains the same as the old one. Anything below the threshold of the 5 cm reading will always result in a reported value of 0 cm, but if the effective distance between reading A and reading B was below a certain threshold, the sensor will not report a new reading of 0 cm (thus an object hovering stable over the sensor will not produce a 2nd post). I'm not sure if the sensor has a state that can be read at any time. From my tests using AutomateIt Pro, it seems only new posts can be used by apps. And if the delta between two readings is to small to make the sensor post a "new" result, then this can be problematic under certain circumstances (like trying to turn the screen off after the flip cover got closed (prox. sensor = 0 for 0 sec) and stays closed (light sensor = 10 for 5 sec) while preventing the screen from going off after an accidental wipe over the prox. sensor e.g. with the hand).
@Dr. Ketan: I've tested Power Switch (again) and I'm quite certain that for the Note + Flip Cover it only works through the light sensor (which is unsatisfying since it then won't work correctly in the dark). Covering the proximity sensor only doesn't make the app reliably react.
Power switch works ok for me with the Samsung flip cover. I have the confirmation set to minimum Abe theactivation delay set to 0 seconds.
It doesn't always work from the lock screen but works fine from the home screen or apps
Sent from my GT-N7000 using xda premium
so is it a hardware issue of software?
might it be fixes in ICS? it's fu***ng annoying! just bought the flip cover(black) yesterday and also bought smart cover app, my note's screen keeps on turn off (when flip closed) then it turns back on (flip still closed)!
Any solution for gingerbread? like proximity calibrator perhaps? (while waiting for final version of ics to come out)
Power switch will work if you use proximity + light sensor both.
Sent from my GT-N7000 using xda premium
dr.ketan said:
Power switch will work if you use proximity + light sensor both.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
It's so sensitive that the moment my finger move over the sensor, the shutdown menu pops up.
Any app that works with the flip cover?
I bought a screen/digitizer from eBay and replaced the screen. Everything works great.
However, looks like the Proximity Sensor isn't!
I am suspecting the screen itself, as in any angle, those holes for proximity sensor (as I see in my older screen and other photos) is missing! (Photo attached)
While closing the phone, I used SUPER GLUE on the small area above and below the digitizer. So, I am convinced that removing the screen again is going to crack the screen, as it is glued tight.
What is the fix now? I have Magisk Manager installed via the Resurrection Remix Custom ROM, but it doesn't seem to have any sensor related modules.
I did install XPOSED and via the "Sensor Disable" module, I set the value of the Proximity Sensor to 5 (instead of 0) and saved it, but still the Proximity Sensor distance shows as 0 and screen is always off during a call!
PLEASE help me fix this. I am okay with the screen being ON all the time during the call. Regards.