Question Hyperactive and misplaced Proximity Sensor - Google Pixel 7 Pro

Hey everybody,
from my P6P I was used to being able to navigate my smartphone whilst making a call over the speakers or listening to a voice message over whatsapp.
Now, when doing this, my 7P will again and again shut off the screen because the sensor is triggered. This seens really out of proportion, since it happens far down and only on the left site (i attached an image with the blue trigger zone).
Is this sth you experience as well and can check for me?
Thanks!!

I was also experiencing this annoying issue. It was driving me crazy.
Was able to find a fix though: activate Developers Options and open it. Look for Quick Settings Developers Tiles menu and tap to it. Then tap to Sensors Off to enable it. This will add Sensors Off tile in tiles list in the scroll down top menu of your phone. If you activate (tap on it) it will disable all sensors, proximity sensor included.
The changes will apply immediately so you can do this whilst on phone/video calls and then enable it back after the call. Works like a charm.
Whilst its tempting to leave it disabled all the time, I won't recommend it as it disables all the sensors, for example, automatic screen brightness sensor or auto rotate sensor, so not very convenient.

Yeah, the cut off point is pretty early. I'd recommend using one handed mode to reach for the top of the screen or just trigger speakerphone.

VirtualWaver said:
I was also experiencing this annoying issue. It was driving me crazy.
Was able to find a fix though: activate Developers Options and open it. Look for Quick Settings Developers Tiles menu and tap to it. Then tap to Sensors Off to enable it. This will add Sensors Off tile in tiles list in the scroll down top menu of your phone. If you activate (tap on it) it will disable all sensors, proximity sensor included.
The changes will apply immediately so you can do this whilst on phone/video calls and then enable it back after the call. Works like a charm.
Whilst its tempting to leave it disabled all the time, I won't recommend it as it disables all the sensors, for example, automatic screen brightness sensor or auto rotate sensor, so not very convenient.
Click to expand...
Click to collapse
Nice find and it may help some people some of the time. However, would it not be better to just turn on Screen Attention? YMMV

xflowy said:
Hey everybody,
from my P6P I was used to being able to navigate my smartphone whilst making a call over the speakers or listening to a voice message over whatsapp.
Now, when doing this, my 7P will again and again shut off the screen because the sensor is triggered. This seens really out of proportion, since it happens far down and only on the left site (i attached an image with the blue trigger zone).
Is this sth you experience as well and can check for me?
Thanks!!
Click to expand...
Click to collapse
I had that same issue on the P6P and the P7P. It's annoying

Related

[APP] Proximity Sensor for Screen Off v0.2

May be this tool will be usefull.
It switch off screen using proximity sensor detection.
Like alternative power button.
After proximity detected - screen switched off and proximity sensor don't used until screen will be switched on again manualy.
No screenshots
Second time running will unload program from memory, it can be used for switching on/off proximity lock feature.
All settings in registry, settings reloaded on each program run.
HKEY_CURRENT_USER\Software\Exidler\Hd2ProximityScreenOff
AfterCallReactivateSensor = dword:150 - time in ms when activate proximity sensor after call ended
SensorOffWhenProximity = dword:0 - time in ms when disabling proximity sensor on proximity detected. May be useful for disabling accident detection. This time proximity sensor is still active and if no porximity detected with this time - screen will be switched on automatically
ActiveOnlyIfLocked = dword:0 - Activate Proximity sensor only if Phone locked.
HKEY_CURRENT_USER\Software\Exidler\Hd2ProximityScreenOff\Exceptions
Create any named sub keys with values:
ClassName = string - name of windows class
WndTitle = string - title of window
ProcName = string - name of process
For exception windows proximity sensor will be disabled if this one window is active.
All criterias are optional. For example create only one value ProcName="Explorer.exe" for disabling proximity lock when Resco Explorer is active.
Proximity sensor activated only in portrait mode.
Change log
2010-01-29: v0.2
- full uninstallable cab
- add options: After Call Reactivate Sensor, Sensor Off When Proximity, Active Only If Phone Locked, Exception windows
- disbaling Proximity lock when landscape mode
2010-01-28: v0.1 Test version. Bugs possible.
Great something to get us started, did you make this yourself? Are you willing to put some time in to perfect it & create some options etc. if we bug test it?
exidler said:
May be this tool will be usefull.
It switch off screen using proximity sensor detection.
Like alternative power button.
After proximity detected - screen switched off and proximity sensor don't used until screen will be switched on again manualy.
No screenshots, not settings, just install and reboot phone (or run tool manual from Install directory)
Second time running will unload program from memory.
Test version. Bugs possible.
Click to expand...
Click to collapse
How will this effect the screen turning on after a phonecall, i wan't the screen automatically turned on after a call without having to press a button.
Will this tweak allow default function in that case?
richardirv said:
Are you willing to put some time in to perfect it & create some options etc. if we bug test it?
Click to expand...
Click to collapse
I don't know which options may be added.
I'm can't full control proximity sensor. It's only possible to enable proximity sensor, and htc drivers switching off screen by itself. The i'm disable proximity sensor again
But if it's will be possible to implement some features - i can try to do this.
Ok this is a good start, for me the following things need to be worked out for this to work good.
1. Only works when phone is upright, ie. Portrait. Reason being is if the screen goes off via Proximity in when holding the phone in landscape there will be allot of accidental activations, especially while playing games etc. It is much less likely that proximity will be detected when holding the phone upright.
2. Screen needs to come back on when proximity not detected, as to not cancel out the in call screen off feature.
Will keep thinking! Really hope you can work some magic here exidler!! Thanks
ET said:
How will this effect the screen turning on after a phonecall, i wan't the screen automatically turned on after a call without having to press a button.
Click to expand...
Click to collapse
it will handle proximity sensor to default behavior after call. so i think (and shure) - screen will blink for short time (~200ms) and will be switched off by tool.
exidler said:
it will handle proximity sensor to default behavior after call. so i think (and shure) - screen will blink for short time (~200ms) and will be switched off by tool.
Click to expand...
Click to collapse
Let me test, I assume the cab can be de-installed and everything is back to default behaviour?
richardirv said:
1. Only works when phone is upright, ie. Portrait. Reason being is if the screen goes off via Proximity in when holding the phone in landscape there will be allot of accidental activations, especially while playing games etc. It is much less likely that proximity will be detected when holding the phone upright.
2. Screen needs to come back on when proximity not detected, as to not cancel out the in call screen off feature.
Click to expand...
Click to collapse
in call screen back on when no proximity
when not in call - it switch off. or you talking about switching on screen when not in call?
about landscape and portrait. it's make easy if screen orientation really changed (if not - polling g-sensor - is not a good idea for battery i'm think)
ET said:
Let me test, I assume the cab can be de-installed and everything is back to default behaviour?
Click to expand...
Click to collapse
Cab is Uninstallable, but you must close program manually before uninstalling: run program second time, it will show message about closing
exidler said:
in call screen back on when no proximity
when not in call - it switch off. or you talking about switching on screen when not in call?
about landscape and portrait. it's make easy if screen orientation really changed (if not - polling g-sensor - is not a good idea for battery i'm think)
Click to expand...
Click to collapse
I just ment you don't want it to interfere with the in call actions the HD2 already has.
As you say g-sensor polling etc. no good for battery. I have a feeling this maybe flawed before we get started.
richardirv said:
I just ment you don't want it to interfere with the in call actions the HD2 already has.
Click to expand...
Click to collapse
program know about call and not be interferace with HD2 proximity call actions.
Landscape alternative - Programs (windows) exceptions - when it's active - promity sensor may be disabled. (but this feature need more time for apply)
Just tested the app and maid an incomming call with an other phone, the screen will automaticly turn on after moving from my ear as should be.
Great app I must say!
My fear is when using apps like fpsece etc, the screen will keep going off. Need to put our heads together and brainstorm some ideas to prevent acidental proximity.
The landscape idea with g-sensor was the first thing that came to me but hopefully there will be a better idea. Maybe only when the phone is perfectly horizontal (i.e as it goes into a pocket) The problem is keeping the g-sensor active will drain battery....
Idea's peeps!!
Hmm no way of de-installing it. If I use the app and then push the on button and then try to remove the app via start/settings, after about 10 seconds the device freezes.
Even after trying to install the app again (wich usually workes to remove apps witch can't be completely removed via start/settings) the device freezes.
Taking battery out is only way to restart. App remaines on device though.
Noticed also that the app is flawed, trying to go with my right finger to the left top of the screen to push start makes the screen turn of and that simply sucks.
HOW TO REMOVE THIS APP?
ET said:
HOW TO REMOVE THIS APP?
Click to expand...
Click to collapse
Before uninstalling go to install folder (defaul is \Program Files\Hd2ProxmityScreenOff) and run exe file inside Hd2ProxmityScreenOff.exe
You will see message about that programe closed. Tap Ok and then uninstall.
All be fine.
about freezing when uninstalling without stopping in memory process i'm know.
exidler said:
Before uninstalling go to install folder (defaul is \Program Files\Hd2ProxmityScreenOff) and run exe file inside Hd2ProxmityScreenOff.exe
You will see message about that programe closed. Tap Ok and then uninstall.
All be fine.
about freezing when uninstalling without stopping in memory process i'm know.
Click to expand...
Click to collapse
OK thanks, it's de-installed correctly. Maybe will use it in the future when it has matured a bit.
The programm should look on proximity-sensor, when i turn on my phone with the power-button.
--> if proximity detectet, screen should be staying off
--> if no proximity, phone should be wake up
Is this possible with your app? This would be a very great feature off our hd2! Perfect locking solution!
Bib_x said:
The programm should look on proximity-sensor, when i turn on my phone with the power-button.
--> if proximity detectet, screen should be staying off
--> if no proximity, phone should be wake up
Is this possible with your app? This would be a very great feature off our hd2! Perfect locking solution!
Click to expand...
Click to collapse
it's not possible until full hack of promitiy sensor.
i'm not have a fule of knowlendge fo arm assembler interpereting.
it' not difficlt for poples, how have knowledge of arm programs research.
but for me, i'm only can handle simple events
We are waiting for full promitiy API
so all of yours requests is impossimle.
Its a good start. Keep the project on.
perhaps a little bit easier to develop and to get various possibilities:
could you add 2 parameters to your app:
-activate
-deactivate
or so.
then it could be called also from other apps depend on its needs and states.
And also one scenario: It should only work if screen is locked(using notification).Then it's sure,that it should switch off because sensor detection
Keep up your great work.A really good idea,which can be very useful, if adaptable and a little configurable.
Thanx
Micha

[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 ?

Tasker : Help needed to create profile

Hi,
I would like to use Tasker to control screen on/off times based on following conditions:
1) Keep screen on when reading/using mobile:
a)IF SCREEN IS ON: If handset is in vertical position (reading position), either in portrait or landscape depending on orientation set in android then screen should stay on. This would presume mobile is being used.
b) When handset is laid down on table then screen should turn off after 7 secs automatically or when screen is manually turned off.
note: It would be nice to have a window period of 10 secs after screen off wherein if the handset is picked up within that period, (after the initial 7 secs and before another 10 secs) then screen automatically turns on.
2) NOTIFICATIONS
If notifications are received, have a window period of 15-30 secs where if position of android is changed from desk horizontal to vertical then screen automatically comes on without the need to press power button.This presumes we picked up mobile to view the notification event.
Again first rule applies and screen stays on when reading and turns off auto or manually as per first rule
I have tried but not able to configure rules.
One conflict in mind:-
What if mobile is kept in trouser pocket and notifications are received? Here the gyro won't change as it will go from vertical to vertical position....how to deal with that? Also rule 2 should not auto trigger upon receiving notifications, sensing orientation is vertical when in trouser pocket.
Any help?
Thanks in advance
About the conflict, I think I saw that you can implement a profile that check if your face is in front of the tablet or not (like on S3).
As a personal comment, I would go all way to this aproach: check if you are in front of the camera and decide when to turn screen on.
okty2k said:
About the conflict, I think I saw that you can implement a profile that check if your face is in front of the tablet or not (like on S3).
As a personal comment, I would go all way to this aproach: check if you are in front of the camera and decide when to turn screen on.
Click to expand...
Click to collapse
Hi,
The problem with using the front camera is that it will cause battery drain. The camera would constantly have to keep checking for movement and this would definitely drain battery. I am more inclined to use the gyro for this.
I agree with you, but you can at least double the gyro with camera check. even if it will consume some battery, it will avoid other problems.
Or maybe you can also use the proximity sensor?
Another way I can think is to try and detect the shakes (combination of proximity and gyro). Considering the power of Tasker, I think it can be done.
If you manage to succeed, please let me know. I am also interested in something like this, I just never have the time to build such complex scenarios.
okty2k said:
I agree with you, but you can at least double the gyro with camera check. even if it will consume some battery, it will avoid other problems.
Or maybe you can also use the proximity sensor?
Another way I can think is to try and detect the shakes (combination of proximity and gyro). Considering the power of Tasker, I think it can be done.
If you manage to succeed, please let me know. I am also interested in something like this, I just never have the time to build such complex scenarios.
Click to expand...
Click to collapse
I could not get it to work thats why asking for help.

Ambient Display edit feature settings - turn touchscreen off

Could anyone help me solving this annoying useless bothering "issue" that activates the touchscreen whenever i use ambient sisplay ? What i mean is that, unlike before ( marshmallow i guess ), when you're using ambient display and a notification pops up or if you take out your phone out of your pocket, if you unavoidable touch the screen, it directs you into the lock screen. I want to disable this thing just like it used to be before. Unfortunately i have almost no start point. Afaik i have to edit some apks, i took a look into firmware-res.apk into values folder for some strings but i couldn't find anything related to ambient display which seems to be attached to doze. If anyone can help by any mean i would be very pleased. Thanks.

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

Categories

Resources