Post Reply

[Q] Galaxy S4 Proximity Sensor disable

OP Shiroh1ge

27th December 2013, 03:13 PM   |  #1  
OP Member
Thanks Meter: 3
 
64 posts
Join Date:Joined: Dec 2013
So I'm using the CM11 4.4 Kitkat on my Galaxy S4 and recently found out that my proximity sensor isn't working (when I dial the screen goes black and won't turn on until the call is over). I've read many threads about fixing it but I think it's broken. So all I want now is to disable it but there isn't such option in the Cyanogenmod. Is there anyway to disable it, like with a terminal or something?
27th December 2013, 07:18 PM   |  #2  
OP Member
Thanks Meter: 3
 
64 posts
Join Date:Joined: Dec 2013
bump
28th December 2013, 12:22 PM   |  #3  
OP Member
Thanks Meter: 3
 
64 posts
Join Date:Joined: Dec 2013
bump!
29th December 2013, 10:28 AM   |  #4  
Senior Member
Brooklyn
Thanks Meter: 37
 
412 posts
Join Date:Joined: Jul 2010
More
with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.
The Following 5 Users Say Thank You to qman66 For This Useful Post: [ View ]
12th May 2014, 01:52 AM   |  #5  
Member
Thanks Meter: 4
 
63 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by qman66

with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.

I know this is an old thread but qman66 you are AWESOME! Was going nuts trying to fix the proximity sensor problem. Ran the commands in terminal emulator that recalibrates the sensor, didn't work for me. Blasted the speaker with compressed air, also didn't work for me. But this method allowed me to disable the proximity sensor while still using an AOSP rom. I will send the phone in for warranty eventually, but I thought I was going to have to use a touchwiz rom until then (touchwiz has the option of disabling the proximity sensor in the call menu).

And I read like 5 or 6 different threads dealing with the Galaxy S4 proximity sensor issue and no one else posted this method before.
13th May 2014, 02:04 AM   |  #6  
Senior Member
Brooklyn
Thanks Meter: 37
 
412 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by kg2128

I know this is an old thread but qman66 you are AWESOME! Was going nuts trying to fix the proximity sensor problem. Ran the commands in terminal emulator that recalibrates the sensor, didn't work for me. Blasted the speaker with compressed air, also didn't work for me. But this method allowed me to disable the proximity sensor while still using an AOSP rom. I will send the phone in for warranty eventually, but I thought I was going to have to use a touchwiz rom until then (touchwiz has the option of disabling the proximity sensor in the call menu).

And I read like 5 or 6 different threads dealing with the Galaxy S4 proximity sensor issue and no one else posted this method before.

glad someone found this useful.
The Following 2 Users Say Thank You to qman66 For This Useful Post: [ View ]
16th July 2014, 09:12 AM   |  #7  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Feb 2011
While this fixed the call locking problem, it also disables a lot of other hardware sensors. The only one I'd care about is the gyroscope for rotating the camera and watching videos full screen. Any solutions?
24th July 2014, 09:01 PM   |  #8  
Member
Thanks Meter: 4
 
63 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by sjschoo

While this fixed the call locking problem, it also disables a lot of other hardware sensors. The only one I'd care about is the gyroscope for rotating the camera and watching videos full screen. Any solutions?

Yeah I noticed that, the best solution is to get the proximity sensor fixed in the end. Then you don't have to disable anything. If your lucky it doesn't even need to be replaced, just cleaned. For me I can live with no rotation, because the screen off during calls is a ridiculous PITA by comparison. Also apps can force landscape mode even with the gyroscope not working. I use force landscape for videos through mx player, and mango reader for manga.
25th July 2014, 02:23 AM   |  #9  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Feb 2011
I finally broke down and took the phone apart. There were no warranty stickers to break so assuming you don't mess up royally, it shouldn't effect your resale value. All it took was an eye glass screw driver and a q-tip. Once I was inside I tried the can of air first, but didn't help. Swabbed the back of the glass with the q-tip and that finally provided lasting relief.
Today, 11:50 AM   |  #10  
Junior Member
Thanks Meter: 0
 
16 posts
Join Date:Joined: May 2014
i9100 proximity sensor doesn't work
Hi to all!
I have the issue with proximity sensor and didn't manage to find a solution in other similar threads!
The matter is that it is always stay as Released.
In the same time in test screen (*#0*#) there are changing reading for PROXIMITY parameter from 2 up to 240 with no ADC parameter at all. Please look for screenshots. PROXIMITY parameter changes its value when I move my finger in front of the sensor, but as I can understand Android doesn't recognize it because of ADC absence.
Moreover I tried to change proximity sensor for working one (from another phone), but it shows the same as mine (with no ADC readings).
After all I think it is software problem, but I don't know how to solve it. I flashed different firmwares (now it is XWMSE NeatROM v.6.4), but nothing helped.
Please assist! Thanks!
Attached Thumbnails
Click image for larger version

Name:	Proximity issue 1_comments.png
Views:	1
Size:	72.9 KB
ID:	2992650   Click image for larger version

Name:	Proximity issue 2.png
Views:	1
Size:	66.3 KB
ID:	2992651  

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank