Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,481 Members 54,268 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Proximity sensor problem

Tip us?
 
sixline
Old
#1  
sixline's Avatar
Senior Member - OP
Thanks Meter 150
Posts: 461
Join Date: Mar 2010
Location: Mangla Cantt
Default [Q] Proximity sensor problem

Hi there, I think my DHD's proximity sensor is not working, i.e. screen is not turning off during calls resulting in disconnections. I installed Android Sensor Box from play store. Its indicating that proximity sensor is present but always at 9 cm even I covered the top portion of the screen. What do you guys suggest, is it a faulty sensor? I am using latest cm10.1 nightly.
My Devices:

HTC Desire HD S-OFF running CM11 Android 4.4.4
LG Optimus LTE LU6200 running CM10.1 Sixline Edition
 
mrjhnn
Old
#2  
mrjhnn's Avatar
Senior Member
Thanks Meter 17
Posts: 110
Join Date: Jul 2012
Hey have you tested this proximity sensor app?

http://forum.xda-developers.com/showthread.php?t=951858


Sent It From Outer Space.
The Following User Says Thank You to mrjhnn For This Useful Post: [ Click to Expand ]
 
sixline
Old
#3  
sixline's Avatar
Senior Member - OP
Thanks Meter 150
Posts: 461
Join Date: Mar 2010
Location: Mangla Cantt
Thanks for the suggestion, I'll definitely try it and report back.
My Devices:

HTC Desire HD S-OFF running CM11 Android 4.4.4
LG Optimus LTE LU6200 running CM10.1 Sixline Edition
 
alkemicar1
Old
#4  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Dec 2013
Hi,

disassemble the phone and clean up sensor
it work for me
 
namanarora14
Old
#5  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Jan 2014
Location: Visakhapatnam
I face the same problem and the app also always shows far
 
sixline
Old
#6  
sixline's Avatar
Senior Member - OP
Thanks Meter 150
Posts: 461
Join Date: Mar 2010
Location: Mangla Cantt
Yeah same problem. Its always showing far except 0,0

Sent from my Desire HD using Tapatalk 2
My Devices:

HTC Desire HD S-OFF running CM11 Android 4.4.4
LG Optimus LTE LU6200 running CM10.1 Sixline Edition
 
dr.patron99
Old
#7  
Senior Member
Thanks Meter 204
Posts: 285
Join Date: Dec 2013
Location: Dortmund
Smile Easy Way Out!

Possible calibration procedure:

1. Put both values high (will show FAR).
2. Cover sensor with finger.
3. Lower High threshold till it says NEAR.
4. Lower Low threshold by a notch or 2.
5. Test behavior.

Different person will guide you different ways.....that's their way to explain,no offence here.And sometimes different ROM could also requires different calibration,best way to do it is mentioned above.

Example: I'm on AoCP my own custom way made look of 4.2.2 kitkat*
I've OK Google working and Everything as stated in KitKat.But obvious im on 4.2.2 instead of 4.4.2!
In this ROM ive sets Lower @ 13 and Higher @15 but it could be different by user to user.

Thanks.
 
namanarora14
Old
#8  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Jan 2014
Location: Visakhapatnam
the other sensor test app shows 9.0 cm always

Tags
proximity sensor
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA Xposed Tuesday: How to Shut Up Your Phone – XDA Developer TV

So many different applications want to send us notifications that … more

Add Some Power to First Generation Snapdragon CPUs

Some older devices still remain very popular. Phones like theHTC Desire, Sony Ericsson … more

Android M Mentions Spotted in Android Code Review

While we are still waiting for Android L to be officially released, the first mentions of … more

Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more