Disabling the proximity sensor - OnePlus 2 Q&A, Help & Troubleshooting

Got my screen replaced at a local shop after it cracked.
But now the proximity sensor is not working properly as it always detects that it is covered.
Proximity testing apps show that the sensor always shows the value as 0.0 (covered).
can someone help me on how to disable the proximity sensor completely as i face black screen during calls and can't record/hang-up/put on speaker....
I'm rooted and running cosmic os 7.1.1 so xposed is not a solution
Need help disabling it.

:bump:

Related

[Q] Proximity sensor

Hi,
How proximity sensor should work in X10?
Apparently mine doesn't work.
While I talk screen is not blank and I wondering how to enable or adjust proximity sensor to disable touch screen during conversation.
Any ideas?
Cheers!
edit: never mind, i found solution forum.xda-developers.com/showthread.php?t=736654

Galaxy S4 Call Distortion Problem

I just switched out my GS4 proximity sensor cause it wasnt working but I think I might messed up the mic or something cause when im in a call sometimes while in the call it sound like raspy or like auto tune I was wondering did i mess something up and what I should do to fix it.Also,it seems that even after i put in the new proximity sensor my air gestures still arent working could it be blocked or something cause my screen was cracked but the LCD was perfect and got someone to replace it but after he replaced it my air gestures just stopped working could it be when he replaced the screen he b locked the sensor from being read should i replace the screen again what should I do.I thought the proximity sensor was the sensor that controlled the air gestures too.And when i use *#0*# under sensor the proximity sensor reads
Proximity 1.0
TSP Color ID 1.0
ADC 228(228,228,229) and it changes to 230,250,255 Please Help I really want to get this fix or imma just sell it.

Proximity sensor not working after update to mm

As in the title proximity sensor stopped working during call, but only when taking from the ear. It don't wake up screen anymore. Anybody facing same problem? Is there a solution?
me too, all other sensor works except proximity that works one tiem then nothing
Waiting for asus fix the proximity sensor can be disabled from dialer settings to avoid the black call screen.
For me too!! It's very annoying . i have used xposed "sensor Disabler" module as a work around to completely disable proximity sensor!
I had the same on Android 5. Double tap the power button wakes it up.

Proximity sensor says 0.0 cm. And phone screen is always off during call. How to fix?

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.

How to disable proximity sensor?

I've got a faulty proximity sensor which just turns off the screen at all times when playing a voice message from WhatsApp or even just on a phone call. I can get around this by using the Sensors Off developer option but that disables everything.
Is there any adb shell script I could use to disable the proximity sensor specifically?
I'm on a N910CQ running LineageOS Android 11 (issue persists on stock software so it's just the sensor's fault)

Categories

Resources