Sony Xperia Z3 Lollipop Framework Ported to CM12

Android 5.0 for Xperia has a unique look and feel. You don’t have to get a Sony … more

Do You Use Recents as a Task Switcher?

Google introduced a revamped Recents interface with Lollipop in the hopes of making it easier for … more

YU Yureka All-in-One ToolBox (CM12S Only)

This packed toolbox by XDA Senior Member gohel.vishal makes many useful tweaks … more

Sony Xperia Z4 Forum Now Available

Sony’s Xperia line has seen plenty of development on XDA, and now that the Xperia Z4 has been … more
Post Reply Subscribe to Thread Email Thread

[GUIDE] S4 Proximity Sensor Fix (Blank Screen During Calls)

22nd June 2014, 02:23 AM |#11  
Thanks Meter: 5
34 posts
Join Date:Joined: Dec 2011
it was driving me nuts! this worked and thanks so much!
9th July 2014, 01:50 PM |#12  
dagentooboy's Avatar
OP Senior Member
Flag Kansas
Thanks Meter: 140
516 posts
Join Date:Joined: Feb 2008
Originally Posted by djdivan

This guide solve my problem.
I noticed about the problem when flashed AOSP based Rom. So, thinked it was a rom bug.
Then, flashed stock again and find the issue was still there.
After trying whit compressed air, and nothing changes, rooted my phone (again) and follow this guide, and proximity sensor is working again.

I am glad it worked for you. I have heard that this is a huge issue for the S4. Not sure about other models.
The Following User Says Thank You to dagentooboy For This Useful Post: [ View ]
19th July 2014, 10:57 AM |#13  
Thanks Meter: 4
97 posts
Join Date:Joined: May 2012
Manual method worked perfectly fine. You SAVED my LIFE! Tons of thanks from the Philippines!
22nd August 2014, 07:57 PM |#14  
Junior Member
Flag Weston, FL
Thanks Meter: 2
21 posts
Join Date:Joined: Dec 2008
You're awesome! Been using this phone without a proper sensor for almost a year!
29th August 2014, 09:14 AM |#15  
Senior Member
Thanks Meter: 11
124 posts
Join Date:Joined: Feb 2009
Originally Posted by Skipjacks

I believe it's only in TouchWiz roms.

Cleaning the dirt out of the sensor is the only long term solution to fix it. But even then it's not permanent. It will eventually get dirty again.

I'm using an AOSP ROM ( and worked for me.

But the point of my post (and I have the Verizon edition BTW) is to say THANK YOU! I got to the point where every time I made a phone call I knew almost certainly my screen wouldn't turn on and even half the time hitting the home button wouldn't do the trick. I know the issue is my otter box defender series, which never caused this problem until about a month or two ago. But I need the otter box and this fixed my problem... Thank you thank you! No more random voice mails from me because my screen won't turn on haha

Edit: For those on AOSP, if you type the value in the calculator, swipe left and hit HEX, it will give you the hexadecimal value you need
Last edited by parrotheadmjb; 29th August 2014 at 09:18 AM.
29th August 2014, 06:50 PM |#16  
Junior Member
Thanks Meter: 1
4 posts
Join Date:Joined: Jun 2013
Thumbs up
Ever since I flashed any custom ROM on my tmo S4, the proximity sensor hasn't worked right. Screen would never wake after a call ended, even the app I use to keep the screen off in my pocket (Gravity Screen, pretty cool app) wasn't working. I used the little app referenced in the OP, and it all works again! Thanks!
Last edited by red_five_1976; 29th August 2014 at 06:58 PM. Reason: adding smilies
2nd December 2014, 09:37 PM |#17  
fincan's Avatar
Senior Member
around VA
Thanks Meter: 83
282 posts
Join Date:Joined: Dec 2007
Originally Posted by fincan

FYI, this file (/efs/prox_cal) does not exist in Google Edition S4.

Previously I wrote that that file and value does not exist in S4 GPE (Google Play Edition), but just for the heck of it I gave it a shot and created the file, and what do you know, it works. Since you saved my sanity and also my phone from being smashed with a hammer, I purchased the app to show my support. Thank you dagentooboy.
2nd January 2015, 04:20 AM |#18  
jakeinator21's Avatar
Senior Member
Thanks Meter: 53
150 posts
Join Date:Joined: Dec 2011
Thank you so much you saved my life!!!!!
1st February 2015, 02:32 AM |#19  
Thanks Meter: 18
59 posts
Join Date:Joined: Apr 2010
Thank you! i bought the app & in about 1-2 min it was fixed! im on 5.0.1 awesome!!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes