Any ways to disable proximity sensor in cm9?

Search This thread

hoyinboy

Member
Jun 17, 2012
11
1
Brothers, my lg p500 got blackscreen bug for all custom roms, the only solution is to disable proximity sensor. I know how to do it in cm7, but the same method cannot be used on cm9. Any idea??? Thanks!!

Sent from my LG-P500 using xda app-developers app
 

GobletSky31689

Senior Member
Mar 22, 2012
118
122
Found this in [DICUSSION][UNOFFICIAL][CM9][WEEKLIES]Android ICS 4.0.4
Just hex-edit the sensors.p500.so and replace all the occurrences of "Proximity" with "Proximiti" (or anything else).

For me this disabled the proximity sensor while the other sensors (acc. meter and magnetic) are still functional.
File is in system\lib\hw\

Btw you can also try power button to disconnect if it only happens during calls:good:
Settings>>accessibility>>Power button ends call
 
Last edited:
  • Like
Reactions: hoyinboy

Top Liked Posts