File is in system\lib\hw\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.
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:good:
Settings>>accessibility>>Power button ends call
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:silly
File is in system\lib\hw\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.
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:silly