Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,935 Members 52,658 Now Online
XDA Developers Android and Mobile Development Forum

Any ways to disable proximity sensor in cm9?

Tip us?
 
hoyinboy
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 11
Join Date: Jun 2012
Default Any ways to disable proximity sensor in cm9?

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
Old
(Last edited by GobletSky31689; 22nd July 2012 at 04:08 AM.)
#2  
Senior Member
Thanks Meter 119
Posts: 116
Join Date: Mar 2012
Found this in [DICUSSION][UNOFFICIAL][CM9][WEEKLIES]Android ICS 4.0.4
Quote:
Originally Posted by ravitkhurana View Post
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\
Quote:
Originally Posted by ravitkhurana View Post
here's the edited version
Btw you can also try power button to disconnect if it only happens during calls
Settings>>accessibility>>Power button ends call
"Very occasionally, if you really pay attention, life doesn't suck."
Oh ****, I forgot, how'm I supposed to send this **** out?
The Following User Says Thank You to GobletSky31689 For This Useful Post: [ Click to Expand ]
 
hoyinboy
Old
#3  
Junior Member - OP
Thanks Meter 1
Posts: 11
Join Date: Jun 2012
Quote:
Originally Posted by GobletSky31689 View Post
Found this in [DICUSSION][UNOFFICIAL][CM9][WEEKLIES]Android ICS 4.0.4

File is in system\lib\hw\


Btw you can also try power button to disconnect if it only happens during calls
Settings>>accessibility>>Power button ends call
Thanks so much! Is this applicable to cm7?

Sent from my LG-P500 using xda app-developers app
 
GobletSky31689
Old
#4  
Senior Member
Thanks Meter 119
Posts: 116
Join Date: Mar 2012
Quote:
Originally Posted by hoyinboy View Post
Is this applicable to cm7?
I think it should be....coz cm7.2 has this same file (though its named sensors.thunderg.so and its the only file in the folder thats same)
"Very occasionally, if you really pay attention, life doesn't suck."
Oh ****, I forgot, how'm I supposed to send this **** out?
The Following User Says Thank You to GobletSky31689 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes