[Q] Nexus 5 proximity sensor always active / on - Nexus 5 Q&A, Help & Troubleshooting

Hi all,
I've had this issue for about 2 weeks or so. The proximity sensor on my Nexus 5 randomly stays active no matter what app is on or if the screen is locked. So whenever the screen is active and I put my hand/finger near the proximity sensor it will blank the screen. You can see how this would be annoying when you're just checking notifications and the screen blanks out. Any thoughts or suggestions? It definitely seems software related as a reboot solves the issue until it happens again. I've tried to consistently recreate the issue, but I can't tie it to any one app that was/is active, or any combination of events that causes it. After a few hours when I unlock my phone to check a notification I notice it's active because the screen will go dark. Is there a way to see what app(s) could be doing this?
My phone is unlocked and rooted, but stock rom. No screen protector at all. I can't think of any non mainstream apps that I have installed.
Thanks!!

I have this issue exactly. Did you ever find the fix for it?

Are you using any app that uses the proximity sensor to turn on the screen? (e.g. Shake Screen-On). Those apps keep the proximity sensor on (if using near receiver mode).
One way to see if an app is using the proximity sensor is by checking the battery options. One of those apps might be the one draining your battery.

Same here. Reboot makes it work fine for a couple days, then the proximity sensor just stays active til the next reboot. Has done this on CM, PA, and Cataclysm.

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]How to Keep Proximity Sensor on?

Mods, please move if this isn't the right section (I contemplated the development section but opted against it).
I'll try to be short while providing enough background to get the more knowledgeable people here the info they need to help me with this problem. Essentially, i have a 32gb P6210 that I'm going to flush mount in my dash to use for in car entertainment. With no access to the hardware buttons I did some research on what would realistically meet my needs (especially getting the screen back on without the power button).
I found Tap Tap App on the market and the widget allows me to turn the screen off and waving my hand in front of the proximity sensor four times turns the screen back on. The issue is that, randomly (has ranged from 10 minutes to 17 hours), the proximity sensor is turned off when the screen is off, making the app inconsistent, even with "never turn off sensor" checked within the app. I'm in talks with the developer and he mentioned that the proximity sensor turning off with the screen off is dependent on the underlying rules built into individual ROMs. I'm on the stock ROM.
I need to know if anyone has info on how to keep the proximity sensor on indefinitely with the screen off so Tap Tap App has the input needed to continuing working as designed. I dont care about battery drain at all, the tab will have constant power. I'm rooted with clockwork mod recovery so if anyone has a system file I can edit, a zip i can flash, a tasker profile you know will work, etc, please post it up. Thanks in advance!
Kinda lonely in here...anyways, as an observation update, the app i was using, Tap Tap App, worked far less reliably using the Power button widget vs having the button in the notification area.
Conversely, I found a very similar app called "Soft Power" and have been using it the past 3 days with no issues. It has no widget option and only has the option for turning off via notification area. I'm thinking that always running the notification area by default means a background service is running to keep it there. I have not yet been able to not wake it up by waving my hand over the prox sensor. So for anybody with similar needs to mine in terms of not wanting or being able to access the power button, this has been a good alternative thus far.
I tried it on my phone. It does not work at all.
LG Optimus 2X 2.3.4
It looks like a promising application.
Perhaps it works on ICS ?

Proximity Sensor Problem

During calls the proximity sensor isn't working properly. The display keeps going on and off and many times you end up having accidental touches which can lead to the pulling down of the notification drawer and even cause apps to open randomly.
However, it behaves differently with every single occasion I get to make a call. Sometimes it works better and sometimes it's worse. It also seems to be influenced by the environment I'm in. If for example I'm inside my apartment talking on the phone, when I move from a darker area of the room towards the open window and vice-versa, it seems to be triggering the light sensor which is somehow communicating with the proximity sensor, thus causing the display to go on and off.
Can anyone confirm this issue?
Yes, even I have observed the same, sometimes it works like a charm and sometimes it just keeps toggling very badly.
Same thing happens with my device. It's comman with many Xiaomi devices I purchased in the past. Maybe a software update will fix it.
My Proximity Sensor always turn off screen after click "Call" without near my face. I just got a new redmi note 7 pro replacement because that.
Just updated to the latest MIUI China Stable 10.3.5.0 version and the bug appears to have been solved. I've tested it in different lighting conditions and the screen stays off in each and every scenario. So that's one less bug to deal with.

Double tap to wake working?

I got my OP7 Pro today. Double tap to wake with screen off doesn't seem to work. Anyone know what the secret is? What am I missing?
jdgesmlls said:
I got my OP7 Pro today. Double tap to wake with screen off doesn't seem to work. Anyone know what the secret is? What am I missing?
Click to expand...
Click to collapse
You have to turn it on in display settings under ambient display. It's turned off by default, or at least mine was as well as pickup to show.
None of my screen off gestures are working...
truckerdewd said:
You have to turn it on in display settings under ambient display. It's turned off by default, or at least mine was as well as pickup to show.
Click to expand...
Click to collapse
I think he means the feature is broken. It's not working for a bunch of us after the day-one update. It works when it wants to. OnePlus has done nothing to fix this and I'm just about ready to get my money back. Just because it's working fine for you doesn't mean we're doing something wrong.
Yeah, lock screen gestures and single/double tap don't work on the latest update, but I believe they're working on fixing it, going through repro steps right now according to their bug page. I'm sure it'll get fixed soon, and it's not a make or break issue to me by any means.
What version are you guys on?
I'm on oxygen 9.5.5 T-mobile gm1915 not having any issues.
I came here to find this out. It's works randomly.
I don't know what I did, but it is working now. I have rebooted twice and it has persisted so +1 on the issue being random. I more wanted to know if others were experiencing the same behavior. Thanks for the replies!
Having tested this, It works randomly during low light situations, and all the time in normal/extreme light situations, such as outside in the sun or in a bright room.
EchoX860 said:
Having tested this, It works randomly during low light situations, and all the time in normal/extreme light situations, such as outside in the sun or in a bright room.
Click to expand...
Click to collapse
Yup. This is my issue.
So my double tap to wake completely stopped working. Single tap doesn't work at all either. Not happy at all right now. Completely stopped about a half hour ago. Reboots fix nothing.
Got my phone yesterday and rooted 10 min after opening it and took update to 9.5.3. no issues at work double or single tap to wake. Used it all night setting it up and playing with it. Lit room or dark. It's been pretty consistent so far. There is an occasional time I have to tap a second time but still work on the 2nd try.
Not sure why it's random like that. Only thing I can think of is after the update... Did any of you do a factory reset? Maybe some reminant install files are causing some issues
Eric214 said:
Got my phone yesterday and rooted 10 min after opening it and took update to 9.5.3. no issues at work double or single tap to wake. Used it all night setting it up and playing with it. Lit room or dark. It's been pretty consistent so far. There is an occasional time I have to tap a second time but still work on the 2nd try.
Not sure why it's random like that. Only thing I can think of is after the update... Did any of you do a factory reset? Maybe some reminant install files are causing some issues
Click to expand...
Click to collapse
I must be blind but how do you unlock the bootloader and root this phone? Thx
equlizer said:
I must be blind but how do you unlock the bootloader and root this phone? Thx
Click to expand...
Click to collapse
In developer options you have to turn on oem unlocking and USB defining. Have ADB and fastboot SDK installed on PC. Then while in the bootloader type... Fastboot oem unlock.
To root you need Magisk. Follow this thread
https://forum.xda-developers.com/oneplus-7-pro/how-to/guide-root-oneplus-7-pro-patched-boot-t3931205
The people here saying that it has to do with light are right. I have tested this myself. Even in fairly lit rooms, if the light isn't shining directly on the ambient light sensor, Ambient Display, double-tap-to-wake, and lift-to-wake are all completely disabled. If you shine a flashlight on the light sensor, they suddenly become available. This means that if you aren't using the phone in broad daylight or VERY well lit rooms, you have to hit the power button. Aside from the inconsistency of functionality that creates, I haven't used a power button to wake my phone in 3 years. I certainly hope they plan to fix this soon, as I'm of a mind to return the phone right now. This makes it very annoying to use on a daily basis for me. I keep my house fairly dark at night when I'm watching TV.
For some reason, OnePlus has it using the ambient light sensor rather than the proximity sensor and/or gyroscope for these features. This is not how it should work.
greyhulk said:
The people here saying that it has to do with light are right. I have tested this myself. Even in fairly lit rooms, if the light isn't shining directly on the ambient light sensor, Ambient Display, double-tap-to-wake, and lift-to-wake are all completely disabled. If you shine a flashlight on the light sensor, they suddenly become available. This means that if you aren't using the phone in broad daylight or VERY well lit rooms, you have to hit the power button. Aside from the inconsistency of functionality that creates, I haven't used a power button to wake my phone in 3 years. I certainly hope they plan to fix this soon, as I'm of a mind to return the phone right now. This makes it very annoying to use on a daily basis for me. I keep my house fairly dark at night when I'm watching TV.
For some reason, OnePlus has it using the ambient light sensor rather than the proximity sensor and/or gyroscope for these features. This is not how it should work.
Click to expand...
Click to collapse
But it seems it's different from device to device ? Double tap to wake, the lift feature and the only one tap to activate ambient light works in all light conditions for me.
Just a thought....is there an option to avoid accidental touches when in a pocket? This might explain why it works in well lit rooms and not in dark rooms.
greyhulk said:
The people here saying that it has to do with light are right. I have tested this myself. Even in fairly lit rooms, if the light isn't shining directly on the ambient light sensor, Ambient Display, double-tap-to-wake, and lift-to-wake are all completely disabled. If you shine a flashlight on the light sensor, they suddenly become available. This means that if you aren't using the phone in broad daylight or VERY well lit rooms, you have to hit the power button. Aside from the inconsistency of functionality that creates, I haven't used a power button to wake my phone in 3 years. I certainly hope they plan to fix this soon, as I'm of a mind to return the phone right now. This makes it very annoying to use on a daily basis for me. I keep my house fairly dark at night when I'm watching TV.
For some reason, OnePlus has it using the ambient light sensor rather than the proximity sensor and/or gyroscope for these features. This is not how it should work.
Click to expand...
Click to collapse
Yes! That reproduces the issue exactly for me. I am sure this is not the only one, but this thread on OnePlus support forums reports the issue.
https://forums.oneplus.com/threads/oneplus-7-pro-ambient-display-not-working.1034009/
You can see users reporting the problems inconsistency, and OnePlus seems to acknowledge the problem and they are "looking into it". Please go add your feedback as I am sure the more people that complain, the higher priority the bug will become.
.vermilion said:
But it seems it's different from device to device ? Double tap to wake, the lift feature and the only one tap to activate ambient light works in all light conditions for me.
Click to expand...
Click to collapse
This is where the inconsistency of the issue occurs... I am in my office which is lit the same way each day since I got the device (low light). The off screen gestures magically started working about 6 hours after I got the phone and were working up until this morning. Put the device close to a light source while the screen is dark, and you will see it wake up with no interaction with the screen. Screen off gestures work while in that lighting. I forced closed, cleared storage/cache of the Ambient display service and my phone now works in all lighting. It is almost as if the sensor becomes stuck in 'pocket mode' or something like that.
I noticed some funny:
Which cases are you using?
I was with the one in the box until now and everything worked fine (ambient display, double tap to wake, one tap to show fingerprint, wake when lifting up the phone,...). I'm with the Nylon case since a few minutes and since then the ambient display won't work anymore.
Maybe there's something related?
jdgesmlls said:
This is where the inconsistency of the issue occurs... I am in my office which is lit the same way each day since I got the device (low light). The off screen gestures magically started working about 6 hours after I got the phone and were working up until this morning. Put the device close to a light source while the screen is dark, and you will see it wake up with no interaction with the screen. Screen off gestures work while in that lighting. I forced closed, cleared storage/cache of the Ambient display service and my phone now works in all lighting. It is almost as if the sensor becomes stuck in 'pocket mode' or something like that.
Click to expand...
Click to collapse
Yes, you're totally right! I tested it! When light is shining on the display, my tap gestures will work again. I forced closed and cleared storage of ambient display but unfortunately it doesn't change my current situation, at the moment it won't work... ?
I can confirm this as well. In dark or even dim rooms, I must use the power button to turn the screen on, in well lit environments, I can use tap to wake. Hopefully this can be fixed in an upcoming update.
Sent from my GM1915 using Tapatalk

The proximity sensor is not turning the screen back on when the phone is lifted away

Apparently this is a fairly common issue with the Samsung Galaxy S10 range and after doing some simple tests I'm hoping my insight can help.
The first test I did was to dial *#77692# to access the proximity sensor test menu. While I was on this menu I covered the sensor with my hand and got a proximity reading of 1.0 everytime the sensor was covered and 0 when it wasn't, which to me suggests that the sensor is working fine.
the second test involved ringing up my voicemail and basically doing the same thing, now here is where it gets interesting; if I cover the sensor for a few seconds and then lift my hand the screen stays turned off. But if I then recover the sensor an inconsistent number of times (sometimes once, sometimes a bunch of times) it'll turn the screen back on.
Additional: I also tested this on Skype and the behaviour was identical.
To me it looks like the issue is purely on a software level rather than a hardware level as this only seems to happen during phone and Voip calls, but not during tests.
Now I'm not a developer so I can't begin to understand how this issue could be fixed, but I'm hoping my little tests can help matters along.
Had the Problem also, fixed it by rebooting into recovery and wipe cache partition.
Same issue here..
I have had S10e, but i sold because of this issue.. now i want to buy it again, but i don't know if exists an S10E series without the proximity sensor issue.. anyone with ans S10E without this bug? (just try to hear a whatsapp audio near the ear)

Categories

Resources