How Do I Adjust the Proximity Sensor? - Android Software/Hacking General [Developers Only]

how do i adjust the proximity sensor to make it more sensitive? when on a call, many times the screen turns on even if i got it pressed on my ear. what file do i edit for this? thanks.

Related

[Q] Proximity sensor and home buttons

Hi, i change my digitizer and after my proximity sensor not working and home keys is without light. Maybe somebody know whats wrong? i try to test proximity sensors with some apps and it shows that it is connected.

Led

We have led at the bottom of the screen, so we can change from beside the proximity sensor below of the screen for notifications and charging ??

Double tap to wake with proximity check

Is there kernel on N5 that supports double tap to wake, but automatically disables that feature when proximity sensor is active, so it does not turn on in my pocket?
matejdro said:
Is there kernel on N5 that supports double tap to wake, but automatically disables that feature when proximity sensor is active, so it does not turn on in my pocket?
Click to expand...
Click to collapse
I don't think so but you can set a timeout or disable this feature if the screen is locked after pressing the power button. It should be enough IMO

Faint red (led) light next to camera when pressing the power button?

Has anyone noticed this, especially in the dark, whenever you'd press the power button to activate the screen again a dim red light can be seen right side of the camera. No idea what the purpose is as it's so dim...
gideonMorrison said:
Has anyone noticed this, especially in the dark, whenever you'd press the power button to activate the screen again a dim red light can be seen right side of the camera. No idea what the purpose is as it's so dim...
Click to expand...
Click to collapse
It's the proximity sensor. Detects whenever an object is nearby and performs it's action. It's the sensor that's needed to turn the screen off when you have it up to your ear while on a call to prevent any accidental touches from your cheek. The reason it turns on when pressing the power button is due to the adaptive brightness setting if enabled. It automatically dims/lights the screen depending on the environment and ambient lighting around you. The proximity sensor is what controls that.

Proximity sensor problem

Hi all
I have a Note 10+ (from launch, in the UK) and if I'm on a call and take the phone away from my ear to end the call or press a number the screen doesn't wake up at all, I have to press the power button to wake the screen.
Is there anything I can do to fix this as it's incredibly annoying
Thanks!
Easy, calibrate your sensor, check this:
https://forum.xda-developers.com/showthread.php?t=2568003

Categories

Resources