[Q] How To Disable Proximity Sensor - Atrix 4G General

Hi,
I've done a lot of search on Google and here on XDA on how to disable the erratic proximity sensor on my Atrix 4G.
It goes blank as soon as I dial a number.
I have changed the proximity sensor in the mot.proximity.delay= from 450 to 900 without any effect.
I have tried this on stock Gingerbread without any effect.
Whilst on Neutrino and CM9 I couldn't find the mot.proximity.delay= build prop.
Does anyone have any suggestions?
Thanks.

Related

[Q] Proximity sensor

Hi,
How proximity sensor should work in X10?
Apparently mine doesn't work.
While I talk screen is not blank and I wondering how to enable or adjust proximity sensor to disable touch screen during conversation.
Any ideas?
Cheers!
edit: never mind, i found solution forum.xda-developers.com/showthread.php?t=736654

[Q] Disable Proximity in call?

My proximity sensor is dead. Stuck in WinMo 6.5 and Android. Is there a way I can disable it and have the in call settings use the gyro instead? Or maybe not blank the screen at all?
Thanks!
Using: [JUN10]b AmeriCanAndroid AOSP HD2 GB234 CM71|bkup2sdext234 [KERNEL:AmCanAndroid r610]
http://forum.xda-developers.com/showthread.php?t=957652
I found a way to wake the screen back up without yanking the battery. I can give it USB power and it will wake. Still sucks but is better than reboot.
Anyone know how to kill prox?
TY
Same here, very anoying.
When headphone is plugged in i dont have any problems.
I had the same problem, so I got libsensors source from HyperDroid, commented out lines that do proximity sensor initialization and got sensors.leo.so that shows to phone that there are no proximity sensor.
There are 3 identical files in the attachment - simply copy them over into /system/lib/hw on the device.
But, actually, repairing sensor would be better solution...
PROBLEM SOLVED INSTALLING MIUI, OPTION TO COMPLETLY DISABLE THE PROXIMITY SENSOR.
TY galnetmiui
http://www.galnetmiui.co.uk/content...elcome-to-galnetmiui-twooey!/msg3602/#msg3602
brascodanny said:
PROBLEM SOLVED INSTALLING MIUI, OPTION TO COMPLETLY DISABLE THE PROXIMITY SENSOR.
TY galnetmiui
http://www.galnetmiui.co.uk/content...elcome-to-galnetmiui-twooey!/msg3602/#msg3602
Click to expand...
Click to collapse
That's what I've been doing. I sent it in to get the prox fixed and they shipped it back still broke.

[Q] Proximity sensor

The proximity sensor on my motorola droid pro running apex 2.0 don't work when i am on a call. I keep dialing number when it touches my face while i am on a call. I played around with the settings but nothing seems to work. How do i stop this?

Screen won't turn on when calling i9505, help

Hi,
i've always the pb of proximity sonsor or somthing in that field when i'm installing a custom rom of android 6.0, 7.0 or 7.1 such as (OptimizedCM-14.1-20161121-BETA1-AROMA, JDCTeam_jdc_jflte-7.1-20161117-BETA, MK60.1-jfltexx-201605070057-NIGHTLY)
so when i make a call, via messenger or my sim dialer, the screen turns off and won't turn on if i push power or home buttons.
so, what's the solution of this pb i'm suffering from, from a long time...
Does the phone work properly on a stock ROM? Did you try disabling the proximity sensor or disabling the screen-off function?
audit13 said:
Does the phone work properly on a stock ROM? Did you try disabling the proximity sensor or disabling the screen-off function?
Click to expand...
Click to collapse
Yes, i'm now on 5.0.1 (stock rom) it works fine
how can i disable the proximity sonsor or the screen-off function?
This sure looks as a problem with the proximity sensor, the s4 is known for accumulating dust and grease on top of it. Open your phone with a small Phillips tool, remove it and clean it. It will work as new.
Don't think it's a hardware problem since the sensor works properly on a stock ROM.
Sorry, I no longer have an s4 and I don't remember how to disable the proximity sensor in a custom or stock ROM.

[SOLVED] H872 - Updated HavocOS & now proximity sensor broke

Solution in post #4.
I have a H872. I had been running Havoc OS v3.1 10/01/2020 without any issues. This past weekend I decided to update to Havoc OS v3.4 21/04/2020 (clean flash) and everything was great until I realized that the proximity sensor wasn’t working. When I received a call the screen stayed black. Swiping down from the notification bar let me answer the call but the proximity sensor didn't work - screen stayed black. I couldn't even hang up - had to wait for the other caller to hang up. Same issue when I initiated the call.
I then tried Havoc OS v3.4 18/04/2020 (clean flash again) and the same calling/proximity sensor issue remained PLUS I could not send/receive MMS even though APN was set up exactly the same as my original configuration (I had taken screenshots of my original setup). I attempted Havoc OS v3.4 21/04/2020 once again and MMS stopped working too! As well as the proximity sensor issue.
I then restored my original nandroid of Havoc OS v3.1 10/01/2020. While it restored successfully in TWRP, it never booted into the system. It just hung on the last frame of the boot animation. I am at a complete loss as to how to fix this phone now. I have just installed MSM Xtended and the proximity sensor is still non-functioning. I have since switched my sim to my Xiaomi backup but really want to get back to my G6.
It worked perfectly…I attempted a simple upgrade and all hell has broken loose! Any tips? Please.
Update:
I completely restored the phone to stock with H872 20g kdz/LGUP and was able to send MMS but the proximity sensor was still not functioning. Can the sensor just suddenly go bad like that? It was working perfectly until I updated Havoc.
Anyway, I have re-rooted and reinstalled the latest havoc. I am hopeful that I will get MMS to work, however, am not sure the proximity sensor will. I have found here that Android 10 allows for all sensors to be disabled with a Quick Settings Tile. This would work for when I initiate a call (can use the power button to turn the screen off/on). But would not be able to activate it once a call comes in. Is there a way to automate the sensor to turn on/off automatically when a call comes in? Or better yet, just disable the proximity sensor, and only the proximity sensor, completely? Been Googling all morning but haven't found much aside from this toggle, and an Xposed mod that may not even work with Riru Xposed...not to mention I want to avoid Xposed if I can.
Still looking for advice if you have any.
Thanks!
Update 2:
I am now running the latest Havoc with working MMS but still the proximity sensor issue persists. I am getting around it by using the Quick Settings Tile/toggle that is activated in Developer Options. This turns off the proximity sensor, as well as compass, accelerometer, & gyroscope. So I have to remember to disable it after a call.
I have searched to no end for a way to disable the proximity sensor permanently but there is very little on the subject. I've tried some apps that claim to turn it off, but they have not worked for me. It seems to me it should be an easy thing to do...but no!
My request:
Someone that can explain how to disable the proximity sensor on Havoc, or someone that could maybe recompile the dialer.apk to not utilize the proximity sensor.
Thanks again!
Final update: Solved!
I decided to install EdXposed and Sensor Disabler. After a lot of experimenting I found settings that work. In Sensor Disabler I selected:
LGE Virtual Proximity Sensor & selected "Remove Sensor" and Saved
Proximity (There are 2 listed - I set both the same) & selected Mock Sensor Values & set them to the highest setting possible and Saved.
Now I can make & receive calls and have access to the Accept/Reject/Message functions, as well as the keypad to input if needed and can end calls. The power button is easily accessible on the back and turns the screen off & on during a call, so I can keep it off the whole time I'm talking.
Not the most ideal situation but works for me considering the proximity sensor is completely useless now. Hope this helps anyone else in the same predicament.
EDIT - Sensor Disabler doesn't appear to be the most reliable. After a reboot it's hit or miss if it will work. It seems that after rebooting it takes a couple minutes for the app to "kick" in and function...but then it only seems to work more for incoming calls. Ultimately I am still using the Quick Settings tile to turn off all sensors during calls.

Categories

Resources