Proximity Sensor Bug/Glitch - Maybe Hardware or Kernel issue - Any Solution?

Shwanz

Member
Aug 31, 2009
39
0
0
Gaia
The Tampered, Unclocked, S-Off, Cid-11111111, HBoot 2.22, Rooted HTC One Mini that I have doesn't ring when Proximity Sensor reads "NEAR".

I'm aware of Sense 6 options like "Ring louder when in pocket" but none of them worked on making the phone ring when a call is received.

That happened when the phone was completely stock, so recently I went through all the process of S-Offing it to install a new Rom. I choose the latest Insert Coin 5.0.8, but the problem persists. so now I'm almost certain it's an hardware issue...

The phone has several years old and returning it for repair/replaced isn't really an option.

Since I'm giving this phone to my mother, I really need it to ring and vibrate when someone calls her or else she'll never pickup any calls with the phone in her purse.

I've tried installing Xposed Framework to have a try at the sensor disabling app, but the whole rom crashed badly and I needed to reinstall everything.

Other usefull info:
Kernel: [email protected] [email protected] #1 SMP FREEMPT

Is there a way to override proximity sensor when a call is received and/or making the phone ring regardless of proximity sensor state?

Looking foward for an expert tip. Thanks.
 

Shwanz

Member
Aug 31, 2009
39
0
0
Gaia
I've installed "[ROM][M4 - 4.14.401.1] Official Stock Sense 6 Rom v3 & Firmware" from xXminiWHOOPERxX -> Installed xPosed -> Sensor Disabler

Then I tried to Disable Proximity, Disable Light sensor, Mock Proximity to FAR, Disable both proximity and Light, Block Call app from accessing Proximity....nothing worked: Meaning the sensors still function normal...

BUT then I noticed something strange:

Running "Sensors Test" app,
IF I put my finger just over light sensor -> proximity reads "NEAR"
IF I put my finger just over proximity -> proximity reads "NEAR"
....Meaning that the light sensor is acting as proximity!

My next step was to identify which "dot" was the light sensor, since both acted as proximity and I used some black tape covering one of the sensors (that I've identified as the proximity)...and now the proximity sensor always reads "FAR"!!

To be sure it wasn't xPosed doing the trick I reset all things to normal and uninstalled everything...and with the black tape covering the sensor it still reads "FAR" thus resolving my issue of the phone not ringing when a call is received...

I now have to figure out if painting the sensor black has the same result, because tape looks ugly. I'll make a vídeo and post the link here.