Disable proximity sensor entirely - Nexus 4 Q&A, Help & Troubleshooting

Hello guys,
I cracked the screen of my Nexus 4 and ordered a replacement screen + digitizer from ebay. After waiting 2 months and putting the phone together, I realised the proximity sensor isn't working. I followed some guides and realised I've lost the little bit of rubber that goes in between. Is there something else I can use, or even better, can I disable the proximity sensor entirely as it's not important to me at all?
Thanks

Yes. There is Xposed Framework plugin which allows you to disable it. I use it and it works good. The name of the app is Disable Proximity Sensor.

Related

[HW] Fixing a proximity sensor

I found this topic about the design flaw:
http://forum.xda-developers.com/showthread.php?t=2129140&highlight=proximity
I've seen it myself, when I was reassembling my phone. Hardware design for that particular part is absolutely HORRIBLE.
It happened after changing the motherboard on my phone. In-call screen turns off immediately and doesn't turn on until the call ends.
Proximity sensor seems to work OK when it is out of its place on the phone, but after placing it back, the path is blocked somehow.
I got a spare part to interchange, but it behaves the exact same way the previous did.
There is a rubber gasket, it fits nicely and holds sensors in place, but it might block the sensor. Without the rubber gasket, sensors are not fixed in place and they work inconsistently.
I am curious, if it is a special way it is assembled, or I am a dumb ass can't figure out how to place it properly.
Please help, otherwise it would be great to know, if there is a way to turn it off in software. Thanks.
bump
Tasker can turn off your proximity sensor while on call.. I think some custom roms also have that feature..
Would be great.
u can use proximity disabler
i lost the rubber thing when i changed the screen!!
i followed these two methods
i used proximity disabler from xposed framework to stop the proximity sensor
you can get that from
http://repo.xposed.info/module/com.mrchandler.disableprox
or follow this tutorial
or
i fixed that using a small cardboard an made two holes exactly infront of the sensor
and that fixed my proximity sensor for my nexus 4 and even made a video for the same you can check that at

[Q] What mod allows you to disable the in-call proximity sensor?

Hi everyone,
Long story short, I got a used Nexus 4 off someone, everything works perfectly except the proximity sensor. During a call the screen blacks out and doesn't come back unless I hard reset the phone to hang up. I figured out it was a problem with the proximity sensor. Upon reading these forums and many other articles on Google about taking off the screen protector (which I don't have) and swapping the rubber "sensor" holder holes, I decided to open the phone up and take a look.
It appears that my phone is missing the rubber piece to hold the proximity and light sensors in place, making the sensor unusable and causing many issues with making calls. I've tried playing around with it using other peoples' suggestions and nothing has worked. I've decided to just find a way to disable the proximity sensor instead during a call, as I'll be quite satisfied with just a simple software fix.
Right now I am using Proximity Screen OFF to keep the screen on, but it drains my battery pretty hard. I was thinking to just flash my phone with a mod that allows me to turn the proximity sensor off during a call.
Any suggestions as to which mod contains this feature?
Thank you.

[Q] How to disable Proximity sensor in Nexus 4

So i recently upgraded to Lollipop but my proximity sensor is broken. I used an app called Proximity Screen off lite but it is not working on latest android lollipop. So now when i make a call my screen goes dark until the call is disconnected from other party. same is the case with incoming call. Please help
I was in the same situation as you last weekend. Unfortunately, there's no way to get around it in software that I know of. I even went as far as developing an app from scratch to duplicate Proximity Screen Off Lite's functionality, but ended up hitting a road block on the OS level. Another option that would've worked pre-5.0 was to use an xposed mod to disable the proximity sensor, but of course that doesn't work in 5.0 now. Hopefully someone else can chime in with a software solution that I couldn't figure out.
Did you replace your phone's screen by any chance?
Shimakaze said:
I was in the same situation as you last weekend. Unfortunately, there's no way to get around it in software that I know of. I even went as far as developing an app from scratch to duplicate Proximity Screen Off Lite's functionality, but ended up hitting a road block on the OS level. Another option that would've worked pre-5.0 was to use an xposed mod to disable the proximity sensor, but of course that doesn't work in 5.0 now. Hopefully someone else can chime in with a software solution that I couldn't figure out.
Did you replace your phone's screen by any chance?
Click to expand...
Click to collapse
Yes i did :/ nownfed up and hating it. there has to be someway which disable the hardware :/
sink1991 said:
Yes i did :/ nownfed up and hating it. there has to be someway which disable the hardware :/
Click to expand...
Click to collapse
I replaced the original screen with an after-market one as well, and that's what caused my proximity sensor issue. There is a good chance your proximity sensor is actually working perfectly, but the after-market screen is blocking it from reading a "far" value. If you're comfortable with taking your phone apart, you could fix it without replacing anything. There were two things that I did to fix mine, but I'm not sure which of the two actually did the trick. 1) I repositioned the sensor so that it sits further away from the glass, and 2) I scratched off the black paint on the back side of the glass around the two clear sensor holes. Obviously you should attempt option 1 first, because the second option is permanent and will damage the aesthetics of your phone. Others have reported success with option 1, by gluing a thin spacer with two holes to the front of the sensor, but I did not have any luck with it when I tried initially. You will find that it helps a lot to do this while the phone is on, and you can see the results of your changes immediately with the Proximity Sensor Finder app.
Edit: Before you attempt any of the fixes, you should verify that your sensor is in fact working by pointing it away from the phone after opening up the back.
I had the same problem, I gave up on a software fix and I ended up taking the phone apart and fixing it outright. It's not too difficult, all you need is a plastic tool to open the case and a T5 and a 00 screwdriver.
There's a good youtube video (I can't link - see /watch?v=AZDAIgwbXk4) showing how to do it. Skip the battery section, you can keep that in place. At 9:00 he indicates where the proximity sensor and light sensor are. Take the small rubber gasket that covers the two sensors, and flip it around so that the larger hole is over the proximity sensor. Put it back together and turn it on, it should work perfectly.
Also, in the interim, you may wish to have your phone end calls with the power button, it can be found under accessibility settings. At least that way you won't be stuck waiting for the other party to pick up or hang up.
Admiral Nelson said:
I had the same problem, I gave up on a software fix and I ended up taking the phone apart and fixing it outright. It's not too difficult, all you need is a plastic tool to open the case and a T5 and a 00 screwdriver.
There's a good youtube video (I can't link - see /watch?v=AZDAIgwbXk4) showing how to do it. Skip the battery section, you can keep that in place. At 9:00 he indicates where the proximity sensor and light sensor are. Take the small rubber gasket that covers the two sensors, and flip it around so that the larger hole is over the proximity sensor. Put it back together and turn it on, it should work perfectly.
Click to expand...
Click to collapse
I did the same thing. It's a common issue, and that's the typical fix.
Planterz said:
I did the same thing. It's a common issue, and that's the typical fix.
Click to expand...
Click to collapse
I had the same problem, solved by a thin plastic sheat that I drilled two holes in and then cut to the right size.
I placed the plastic part in the bottom of the hole, where to fit the sensor. I also shaved of aboute 1 mm on the part that presses the sensor from the back.
( I hade already taken the blackish film away in a own attempt to fix the problem, at least the light sensor seems to meassure more accurat)
Hi all, I've similar problem on my LG G2 D802. I have tempered glass with covered prox. On KK everything was OK, but unfortunately Lollipop has much more intensivity on prox
and I had the same issue as you, I mean - turned screen while I maked call and vice versa. Moreover, I can't get in to the service menu on LP (AOSP 5.1.1).
I bought new tempered glass with uncovered prox but fortunately Xposed has working old module: Disable proximity sensor.
I don't know about what module you guys talked about but this module works very well.

I'm rooted but no idea how to disable proximity sensor

I tried installing the xposed framework but that threw a little notice saying it wasnt going to work. I looked for apps ont he app store but that didnt work as well..
Any ideas on how to disable the proximity sensor so when I turn the screen on it doesnt turn right back off?
Any help is greatly appreciated.
the issue might be your proximity sensor's alignment. it might not have aligned properly. there is a small black rubber holder to hold the proximity sensor. may be you might be missing it or might have loosen it. you can easily fix/align it, if you can open the back cover.
you can install a custom rom to overcome this sudden screen off issue. but when you taking a call your screen will be turning off until other user disconnect the call..
I suggest you fix/align the proximity sensor..
P.S:
There is a small troubleshooting step you can do to see whether your proximity sensor has a slight alignment issue. get a torch or good direct light source and point it directly at proximity sensor. if you can turn your screen on while pointing that light towards proximity sensor, you should have a very small alignment issue. there are plenty of proximity sensor test apps on play store too.
appsmarsterx said:
the issue might be your proximity sensor's alignment. it might not have aligned properly. there is a small black rubber holder to hold the proximity sensor. may be you might be missing it or might have loosen it. you can easily fix/align it, if you can open the back cover.
you can install a custom rom to overcome this sudden screen off issue. but when you taking a call your screen will be turning off until other user disconnect the call..
I suggest you fix/align the proximity sensor..
P.S:
There is a small troubleshooting step you can do to see whether your proximity sensor has a slight alignment issue. get a torch or good direct light source and point it directly at proximity sensor. if you can turn your screen on while pointing that light towards proximity sensor, you should have a very small alignment issue. there are plenty of proximity sensor test apps on play store too.
Click to expand...
Click to collapse
Interseting... My screen broke so I had it replaced and its been having an issue ever since. Also, I don't use it for calls. It is just sitting on a mount in my car most of the day running a few car apps. But it is in airplane mode basically all day lol.
Pr3dict said:
Interseting... My screen broke so I had it replaced and its been having an issue ever since. Also, I don't use it for calls. It is just sitting on a mount in my car most of the day running a few car apps. But it is in airplane mode basically all day lol.
Click to expand...
Click to collapse
that makes sense.. you also replced front housing too right? that's where that rubber proximity sensor holder attached.. if you replace original front housing with aftermarket housing that rubber holder probably won't come with it. most of the repair technicians don't know this.. if you still have the old front housing you should be able to recover it and attach to your new housing..
p. s:
or you should be able to buy it.
here it is
http://rounded.com/lg-g2-d802-rubber-proximity-sensor-module-mbl65540401.html#/product/21920 (also try ebay or aliexpress )
appsmarsterx said:
that makes sense.. you also replced front housing too right? that's where that rubber proximity sensor holder attached.. if you replace original front housing with aftermarket housing that rubber holder probably won't come with it. most of the repair technicians don't know this.. if you still have the old front housing you should be able to recover it and attach to your new housing..
p. s:
or you should be able to buy it.
here it is (also try ebay or aliexpress )
Click to expand...
Click to collapse
Honestly, if its possible I'd rather just disable it completely. I'd rather not open the phone up again if I don't have to and I will never use it for calls anyway.
Pr3dict said:
Honestly, if its possible I'd rather just disable it completely. I'd rather not open the phone up again if I don't have to and I will never use it for calls anyway.
Click to expand...
Click to collapse
if you're not using your g2 for calls, I'd recommend flashing a custom aosp rom. so you wouldn't get in to this sudden screen off issue while unlocking it..
appsmarsterx said:
if you're not using your g2 for calls, I'd recommend flashing a custom aosp rom. so you wouldn't get in to this sudden screen off issue while unlocking it..
Click to expand...
Click to collapse
That sounds exciting.. Lets do it!!!!!!!!!!!!

Disable proximity sensor

Hi guys,
MyHi guys,
PH-1 fell and broke the screen but it still works, I already ordered the new screen but while it arrives I need to use it anyway. Except that the screen goes out when I'm going to make a call and listen to audio on Whatsapp, my frintal camera is pretty dusty. I believe it is the dust that is in the sensor so the tel is erasing. Does anyone know of any apk that disables the sensor so that it does not erase?
appreciate

Categories

Resources