Share your experience!
I have an Xperia m4 aqual dual and its proximity sensor is not working after searching on net I have made an service test which says proximity sensor "not detected" what should I do to fix it
Hi @Shubhamilu,
The test you are doing should say not detected unless you cover the proximity sensor on your device. If you put your hand over the sensor, does the text change to detected? You can see the where the sensor is located in the picture bellow, it is number 2.
How does the screen behave while you are in a call and are using the ear speaker? Does it light up if you don't block the proximity sensor?
Get back to me how you get on and I will do my best to assist you. 
I have done that and it still shows the same and while calling the screen doesn't go black that is why I have done the service test
I'm sorry for the late reply. I recommend that you try and reboot your device to safe mode to see if this behavior may be caused by one of your downloaded apps as these will be temporarily disabled in this mode.
If the same behavior persists in safe mode I'd recommend that you do a software repair using Xperia Companion.
Let me know how it goes!