I'm using Sony Xperia Z3 compact running Lollipop 5.1.1. My proximity sensor is really faulty (Works only when I press hard on the top left corner of the phone). I'm sure it's the proximity sensor because I used test apps and I can see it's detecting proximity all the time (unless I press hard on the corner).

Obviously, my biggest problem with that is that my screen goes dark when I make a call (Because the proximity sensor think the phone is near my ear). Trying to use the power button to turn on the screen didn't work so I set the power button to hangup calls (Otherwise I had to wait for the other side to hang up!).

I've seen many (many!) posts about this issue and tried all the apps who claimed to turn off the proximity sensor and non worked (including using the service setting at *#*#7378423#*#*) :

  • KeepScreen
  • Screen On Call
  • Screenbl - Screen On/Off Sensor
  • Smart Screen On Off
  • Disable Proximity Sensor
  • Proximity Fix
  • Proximity Screen Off Lite
  • On Call Proximity

I gave them all admin permissions and whatever they asked, but they all failed... The proximity sensor is just too strong for them I guess...

My only hope is to find an actual dialer app that has an option to ignore the proximity sensor (Used to be a popular option in the past). The Xperia Z3 compact default dialer does not have this option, nor the following dialers I've tried (At least I couldn't find that option):

  • Turedialer
  • DW Contacts & Phone & Dialer
  • Dialapp: KitKat Dialer
  • Reactiv Phone Dialer
  • Contacts+
  • KK Phone (KK Dialer, Lollipop)
  • Ready Contacts + Dialer
  • pixelPhone Pro

The only app I've found to have this option and it actually worked really well was: Viber, but unfortunately Viber cannot be used as a regular dialer but only as viber-to-viber dialer or viber-out dialer (like Skype credit).

So please, if you know of a dialer which you're sure has the option to ignore proximity sensor (or: 'keep screen on during call' as it sometimes called), please share it with. Any other original ideas will be welcomed as well.

  • Are you familiar with Tasker? Commented Jan 6, 2016 at 5:58
  • @ProductManager I'm sorry, I thought you could maybe disable the sensor during call but turns out it's not possible that way. I'm looking for other ways though. Are you having any problems after setting Power button to disconnect? Commented Jan 6, 2016 at 16:28
  • @ProductManager I was trying to setup screen on when proximity sensor covered, and when Phone app in use. But it seems that the default setting overrides this. Quick question: is your phone rooted? Commented Jan 6, 2016 at 16:38
  • 1
    If you're willing to root Android and install Xposed Framework, then I can say that the module, Disable Proximity, worked perfectly on my Android 5.1.1 (non-Sony device)
    – Firelord
    Commented Jan 6, 2016 at 20:38
  • @AmanThakkar and Firelod Thanks for trying to help. My phone is not rooted but as 'Firelord' mentioned it might be worth to root it.
    – DMEM
    Commented Jan 7, 2016 at 21:05

7 Answers 7


I'm sure some of the solutions that were mentioned here will work for other people but unfortunately, the only solution that worked for me was a hardware solution. I took my phone to a lab and they pressed the screen to the back of the phone with some extra glue. After 24 hours the phone was good as new. As a programmer I was disappointed that no software solution could solve my problem, but I still feel obligated to share my solution.

  • Thanks for the visual explanation about the glue - despite the fact that pressing the corner worked, I still hadn't understood to what extend the screen was completely loose!
    – Tao
    Commented Jun 25, 2016 at 14:36
  • @Tao I think it was a few millimeters. It was impossible to see when looking at the phone from the front but a little visible when looking from the side.
    – DMEM
    Commented Jul 5, 2016 at 20:30
  • Yep, exactly the same here.
    – Tao
    Commented Jul 6, 2016 at 6:46
  • 1
    The software solution which worked for me was [installing Xposed framework](v), and then using this Sensor Disabler app. As I say, this has worked for me in the past, but right now I'm struggling to free up the /system space to install xposed framework. Very frustrating. Commented Jul 15, 2016 at 12:32
  • the problem just happened to me exactly the same few days ago, I don't know the main reason but it is so ! and actually I don't want to trick my device using some (disabler, tasker app or something like that) then is the problem unsolvable unless I take the device to some repair stores ? is it sensor calibration error and needs to be re-adjusted or what ?
    – wisdom
    Commented Oct 23, 2016 at 14:10

The only way I managed to work around this issue with Macrodroid was to:

  • put the trigger to volume button (up)
  • put the action to reject call.

So when I make/receive a call, I can end it with volume up button.

Works on Z3 Compact.

  • Ran into a fun related option today "global settings -> accessibility" "use power button to end calls". Still doesn't let you use the touch pad during the call tho :|
    – rogerdpack
    Commented Sep 20, 2019 at 18:38

You could try this solution to keep screen on during call using MacroDroid automation app (Root not required)

To get an idea of how it works, settings required, testing/ troubleshooting, see my answer.

Additional setting for this solution is from main panel of app SettingsTrigger OptionsProximity Sensor TriggerEnable Work with Screen off

Your macro would look like this (gets activated once the call is active )


Proximity Sensor → select Far (can be tried with near also)


Screen On/offScreen on


Call StateIn call (Macro runs when you are in call)


  1. Tested on Huawei Honor 6, running Kitkat
  2. @Firelord had confirmed, it is not working on his Lollipop version. Don't know if it is Lollipop / ROM / Device related. In the MacroDroid forums, reference is made in one post only to not working satisfactorily on Moto G but confirms working fine on Samsung S5, both running Lollipop. Request OP to confirm, whether it works or not on his device
  • Nice try but unfortunately didn't work. Cool app though... I did managed to control other phone settings like the torch or the Bluetooth but couldn't keep my screen on or cancel the affect of the proximity sensor (even after the special settings you've mentioned).
    – DMEM
    Commented Jan 7, 2016 at 20:33
  • the macro has being called. I've emailed you and the developers, the log.
    – DMEM
    Commented Jan 9, 2016 at 16:07
  • No love for me on a Nexus 5, sadly.
    – rogerdpack
    Commented Sep 20, 2019 at 18:37

Have you tested the Proximity sensor on the device, as this sounds like it may be related.

Try the following.

Menu > Settings > About phone > Diagnostics > Test Device > Tap Ear Proximity

If this fails, make sure to remove any covers or Screen protectors and then test again, if it does work, then the Proximity sensor was being covered or obstructed.


Using Tasker:

Profile name: Screen on


  1. Call Any, * +
  2. Proximity Sensor


  1. Menu (any title, any settings. This is to turn the screen on to show a menu. You can also use Pop-up if you want, though it may not work)

  2. Display Timeout (To keep screen on immediately after menu has popped up. Set it to any suitable time you wish to)

This worked for me, and lights up the screen during call. It is tough to replicate your problem because I don't have it myself, but you can try it out.

Edit: If you're considering rooting, I guess many apps will work. Also, please check if you have the option of : Turn on and Stay on. They aren't available on my phone but may be available on yours. Or maybe you will need root access for that.

This is what I mean:


  • The simplification it requires can be represented this way: Profile: Event -> Call Any, Profile: State -> Proximity Sensor. The location may differ, but the point is to make it easier to follow. How does a person is supposed to know where is Call Any or Proximity sensor located?
    – Firelord
    Commented Jan 8, 2016 at 17:35
  • @AmanThakkar - Tried but did not work. 'Stay On' and 'Turn On' are red for me as well and trying to open a menu and timeout did not work (Screen turned off and no menu was opened). Thank you 'Firelord' for the simplification. Indeed not an easy app for beginners...
    – DMEM
    Commented Jan 9, 2016 at 16:37
  • Actually it's very easy, you can get used to it very quickly. Your problem is a tough one to solve :P Should I delete my answer now? Commented Jan 9, 2016 at 16:41
  • @AmanThakkar I wouldn't delete it as it might work for other people but I would add Firelord's simplification, to make it easier for beginners like me.
    – DMEM
    Commented Jan 9, 2016 at 18:53

Yeesss! I had the same problem and plan to waste my phone!

Macrodroid help me to resolve issue with proximitity! Proximity sensor - always tell - NEAR. And i can`t finish a call or input digit - screen was locked.

Remedy is - install Macrodroid and create macros Trigger: Proximity Sensor → select Near Action: Screen on Thats all! My phone working fine now!!!!!! Beeshyams, thank you very match for your cool mind and big heart! p.s I can swith off screen by botton!

  • What type of phone is this? Doesn't work for me whether I set the proxomity sensor to be a "trigger" or a "constraint" (Sony Z3 Compact) Commented Jun 13, 2016 at 17:01
  • Not working here Nexus 5
    – rogerdpack
    Commented Sep 20, 2019 at 18:26

I have actually been having this issue since i bought this phone in February and i have been to lazy to take it back. I decided to call sony after my phone irritated me beyond explainable today and he asked me to go into - Settings - About phone (if it is your first time in there click agree) - Diagnostics - You then need to select the test tab - Scroll down all the way to the end and select 'ear proximity' - Now it will tell you to place your hand over the sensor and if it vibrates it means your sensor is fully functional. If it vibrates from the moment you select ear proximity then your SENSOR IS FAULTY :(

He told me that if i bought it out wright i have to send it to sony for about 14 days so they can see what is wrong with it and if it is repairable... Never again will i make the mistake of buying anything other than apple.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .