• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Proiximity Sensor - black screen problem

I've scoured the boards and internet to no avail.

My phone is now rooted, it did not use to be. I've had this problem even before I rooted.

By checking the proximity sensor with different apps, it does not respond. It keeps a value of 0.0.
The light sensor DOES react.

The phone goes black and is unresponsive during calls. Nothing will wake it up except plugging in to USB (strangely).

Screen On, Keep Screen apps do not work.

I've used 'Hardware disable' software and checked the 'capella 3602.0' driver to disable. Still doesnt work.

I've also edited the build.prop file and added the line'gsm.proximity.enable=false' and that doesnt work.

I'm running android 2.2.2.

'Proximity screen off' app DOES work, it keeps the screen on during calls. BUT it kills my battery in 8 hours - sitting idle. I've disabled all settings in that app that say it will drain battery, but still does.

SO- ANY SUGGESTIONS :)

I'm assuming this phones screen was replaced before I bought it, and I'm not good enough to take it apart.
I'm looking for a Software work around.

Thank you!!!
 
This worked for me anyway.

HTC ARIA

Android version 2.2.2

Rooted

I installed 'File Manager' and 'Hex Editor'. I also ended up installing 'Root Explorer'.

I used file manager to copy the file from Android's system:

sensors.liberty.so from the directory

/system/lib/hw

to my SD card.

I then opened it and edited it with hex editor. Somewhere around line 209b where it begins to list the sensors, I changed the name of the 'proximity' sensor from saying 'cm3602' to 'zm3602'.
Leave the light sensor name alone.
Then, using 'root explorer' I copied the edited 'sensors.liberty.so' file and pasted/replaced the original one under /system/lib/hw.

This no longer uses the proximity sensor!

I hope this helps SOMEBODY because I've spent days on this.

It works for me at least :)
 
  • Like
Reactions: 1nv1n
Upvote 0
Any clues as to how I could try this on a Huawei Ascend G300 running B934 as I am having the same issues - ie black screen and none of the screen-on apps work?

Thanks in advance!

Edit - I have managed to rename it, but get an error when trying to overwrite the current file (I have used the file r/rw app) - (I get the error Permission denied)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones