Proximity sensor calibration? - Sony Xperia XZ1 Compact Themes, Apps, and Mods

Hello,
I've been inspired by this wonderful guide: https://forum.xda-developers.com/xp.../guide-simple-list-easy-quality-life-t3697439
So now I'm using the proximity sensor as a workaround to the absence of double tap to wake... the only problem is that now the screen turns on more often than I'd like because the proximity sensor is calibrated to trigger the NEAR setting at a too far away distance.
For example, if I'm walking with the phone in my hands i can't have the screen to stay off, it takes just a couple waving besides the thighs to turn on, an action very difficult to avoid while walking or even just standing with the phone in one hand.
Is there a way, with or without root, to change the distance at which the proximity sensor is set to NEAR?

Related

Dont cover your sensors when turning screen on

So I figured I would post this up just in case people are going crazy about turning on their display, and then having it turn right back off on them lol. There are sensors at the top of the device by the ear speaker. When turning on the device make sure your fingers remain clear of those sensors for 1 second, if those sensors do not pick up light source by being blocked off (try it, press the power button while covering the sensors), the display will turn back off. Same thing goes for Knock on, the display wont even turn on at all. Keep your fingers clear of those sensors!
I dont think this is a design flaw I think LG inadvertently did this to keep from the device from turning on in your pocket by accidentally hitting power on knocking on while in your pocket. it might also attribute to poor knock on feature in low light areas or night time.
Walter21026 said:
So I figured I would post this up just in case people are going crazy about turning on their display, and then having it turn right back off on them lol. There are sensors at the top of the device by the ear speaker. When turning on the device make sure your fingers remain clear of those sensors for 1 second, if those sensors do not pick up light source by being blocked off (try it, press the power button while covering the sensors), the display will turn back off. Same thing goes for Knock on, the display wont even turn on at all. Keep your fingers clear of those sensors!
I dont think this is a design flaw I think LG inadvertently did this to keep from the device from turning on in your pocket by accidentally hitting power on knocking on while in your pocket. it might also attribute to poor knock on feature in low light areas or night time.
Click to expand...
Click to collapse
There's also a bug which emulates the same symptoms,while the sensor is not blocked. Changing the screen-off effect to different effect, is a work around for those caught with the issue.
timsterzzz said:
There's also a bug which emulates the same symptoms,while the sensor is not blocked. Changing the screen-off effect to different effect, is a work around for those caught with the issue.
Click to expand...
Click to collapse
Its interesting that LG went with this sensor design. This sensor thing is kinda weird seeing as people will no doubt block this sensor and trigger this effect without even realizing what they are doing, making people think their device is broken. LOL im sure this is talked about in the instruction guide but who the heck reads those things now?

[Q] Screen turning off when making a call... Is this normal?

Does anyone else suffer from an issue where you make a call from contacts and screen turns itself off? It's really annoying, and sometimes pressing the home button doesn't work, it turns screen on and then it goes off again...
Is this really normal behavior for the s6 edge? Anyone?
The phone turns the screen off when making a call and putting something near the proximity sensor like your hear or your hand.......
Otherwise it stays on, unless you have a very short standby display time.
It was the screen protector covering the proximity. Even though it was clear seems to still block proper functionality of the sensor. I only just figured this out... Next time I'll get one with a cut out for the sensor.
Sent from my D6503 using XDA-Developers mobile app
That is normal for basically any phone due to the proximity sensor. It detects when an object is near it while making a call since it will think you are holding it up to your ear and it turns itself off to save battery life. The proximity sensor is not a camera, so it does not matter if the object it detects is clear.

G5 thinks it's in my pocket whenever it's dark, cant use fingerprint or tap to wake

Also, always on display turns completely off.
Not sure what's going on here, but it's extremely annoying. If I'm outside at night or in a dark room or area my phone thinks it's in my pocket so the fingerprint sensor, tap to wake, and always on display don't work. I have to press the power button extremely hard to get it to turn on.
Also, not sure if related but when I make a phone call, as soon as I dial the number my screen will turn off completely before I even bring the phone up to my ear.
Any ideas?
Make sure there's nothing in front of the proximity sensor. When that is triggered and it's dark, it disables the fingerprint reader and always on display. I use a Life proof case and when I had a screen protector on with that, it caused issues.
Definitely nothing on it. Not using a case or screen protector.
brian85 said:
Definitely nothing on it. Not using a case or screen protector.
Click to expand...
Click to collapse
Download a sensor test app, there are many of them on the play store, check the proximity sensor with one of that apps, if it doesn't work then your g5 is faulty
Sent from my LG G5 using XDA Labs
Also noticed when I cover up the sensor my brightness immediately jumps to 0%. It's no longer a slow and steady drop down to 0, it just immediately goes to 0. Like and on/off switch
Just downloaded a lightand proximity sensor test and it seems to work perfect. So I'm not sure what's up.
OK this is weird,there must be a setting I messed up. My auto brightness jumps from 0% to 51% to 100% depending on the lighting I'm in. Nothing in between and no more smooth transitions.
Looks like my proximity sensor is dead. Tested it through and app and it says "near" and never changes.

Huawei Nova 5T Proximity sensor problem

I have a problem. It's the Nova 5T. It was bought on the of this month and I was not able to follow the situation as it was on Android 9 / EMUI 9.1 or 10.0 because EMUI 10.1 arrived soon! It literally went uodate for an update! I don't even know how I noticed, but there is a problem with the proximity sensor. Namely, when the phone is in a horizontal position, for example on a desk, and a call is in progress, the proximity sensor does not respond, ie the phone turns on the screen regardless of the proximity sensor being covered and in that case it should keep the screen off. In a horizontal position and a little when the phone is lifted, a few millimeters, the sensor does not seem to be covered by a finger, it does not react but the screen is on, which should certainly not happen. I tried with a hard reset but everything is the same. Can you tell me, how is it with you who have this phone? I wonder, is this a possible bug in EMUI 10.1, is it a normal function in EMUI 10.1 or is the proximity sensor on the phone simply broken? In case I do the same only the other way around, then I turn the phone screen towards the floor, e.g. I cover the proximity sensor with my finger and hold the phone horizontally. The phone and sensor respond normally and the phone screen does not light up during a call. Let me note that the proximity sensor in the upright position of the phone, for example when the call takes place and the phone is on the ear, normally turns off the screen and everything is fine. The phone is not as agile as the carousel rotates in different slits, poses and angles to test its correctness, this problem was noticed quite by accident. If someone has this phone, it would be helpful for me to write if it is the same with him or if there is a problem in my phone! I would ask someone from Huawei to answer me. Sorry for my poor English. Thank you

Question Proximity sensor problem

Hi,
I have problem with the proximity sensor, that automatically start other calls.
How can i solve the problem?
tks
I don't know if it can be calibrated or there are some rom where it works better, what I do to mitigate the problem is turn off the screen after I answer/start a call.
robibg said:
... automatically start other calls ...
Click to expand...
Click to collapse
Why are you convinced it's due to the proximity sensor?
The proximity sensor does nothing during a call other than turn off the screen when the speaker comes close to your ear.
StaryMuz said:
Why are you convinced it's due to the proximity sensor?
The proximity sensor does nothing during a call other than turn off the screen when the speaker comes close to your ear.
Click to expand...
Click to collapse
Probably because screen stays on during a call and you do all sort of crazy things with your ears.
Calibrating proximity sensor from my experience does very little to help with this problem.
What @MrCrayon suggested is probably the best solution
slickw said:
Probably ...
Click to expand...
Click to collapse
So the problem is that it doesn't turn off the screen and touching your face to the display triggers what you don't want.
The proximity sensor of our phone has a very narrow detection area. The space is located in the area below the top speaker outputs (top left). The ear should preferably be attached at this point during a call. So not in the middle of the top edge of the phone as usual. It is definitely uncomfortable. In addition, the sensor is less responsive if the phone is not in a vertical position. The proximity sensor is probably the biggest weakness of this phone.
The best way to check its function is to use the AndroSensor app.

Categories

Resources