[FIX] screen blink during/when on call (proximity sensor) - Blade General

I finally fixed this issue with my Blade.
I was getting furious about the screen going on and off when I took my phone away from my ear during a call.
Turns out, all you need to do is calibrate the proximity sensor and the Blade has an build in app to do this!
Menu » ZTE Emode Helper
» Menu (20:Battery/OLED/Back Light/Vibrator/Ringer/LED/Key/OLED off/SD/BT address/Radio Info/Memory/Touchpaint Test/Audio Loop/FM/Camera/GPS Test/IMEI/IMSI [*983*0#]
» Sensor
» Calib (the sensor will now be calibrated)
DONE!
If you don't have a Blade (I know, Blade forum) or are on Cyanogenmod, you can also try the DHD Proximity Sensor Recalibrator.
I've seen some reports about the DHD Recalibrator not working on the Blade; in that case you can also try to find ZTE Emode Helper. It is included in the Ginger Stir Fry ROM.
keywords: android, proximitysensor, screen flash on call

Related

[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.

Disabling the proximity sensor

Got my screen replaced at a local shop after it cracked.
But now the proximity sensor is not working properly as it always detects that it is covered.
Proximity testing apps show that the sensor always shows the value as 0.0 (covered).
can someone help me on how to disable the proximity sensor completely as i face black screen during calls and can't record/hang-up/put on speaker....
I'm rooted and running cosmic os 7.1.1 so xposed is not a solution
Need help disabling it.
:bump:

Disable proximity sensor ZE552KL

Hi everyone,
I own a Zenfone 3 ZE552KL that recently showed an issue with the proximity sensor.
It always returns positive, i.e. as if something is close.
I tried an application to recalibrate the sensor and I also asked a repair shop to clean the sensor itself but no luck.
Also, since the proximity sensor is soldered to the mainboard it's not possible to change it.
As a workaround I used the function from the dialer to set the screen always on during calls. However, after having moved to LineageOS 16 (with Android 9) I am not able to find the same option.
Do you know any workaround to disable the proximity sensor?
Maybe there is another ROM who gives you the possibility to set screen on during calls?
I will be happy to discuss and receive few suggestions on the topic
Thanks!
J.

[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.

How to disable proximity sensor?

I've got a faulty proximity sensor which just turns off the screen at all times when playing a voice message from WhatsApp or even just on a phone call. I can get around this by using the Sensors Off developer option but that disables everything.
Is there any adb shell script I could use to disable the proximity sensor specifically?
I'm on a N910CQ running LineageOS Android 11 (issue persists on stock software so it's just the sensor's fault)

Categories

Resources