disable sensors - Google Pixel XL Questions & Answers

I've got an issue with my proximity sensor. My phone screen likes to turn off and on by itself randomly.. I can find no way on pie to disable sensors, forcing me to revert to Oreo for Xposed to get the job done.. screen stays on now but I don't have Android 9. And I won't be able to get 10 either unless I fix it or there's a way to disable the sensor I didn't find. Can anyone out there help?

Solved. I opened the phone and physically disconnected.

Related

[Q] Phone Call Proximity Sensor

Noticed recently that When a phone call is in progress, the screen will go black no matter what and to get it to come back i have to manual hit the top power button.
I first noticed it with energy rom. When autobacklight was enabled, their was no getting back to screen at all. Disabling autobacklight at least allowed me to get the screen back after clicking the power button.
I switched to core cell rom and noticed the same issue, however, i can manually turn the screen on again even if autobacklight is enabled.
I have no further problems with the proximity sensor, just this one.
Is their perhaps some sort of proximity app that i could use to diagnose whether this is a hardware problem or software problem?
Ok, I had a similar issue, where the phone screen would turn off as soon as the "send" button was pressed, and the only way to turn it back on was either hanging up, or waiting till it felt like coming back on.
My proximity sensor was stuck "on". I could see the sensor status in the registry (don't remember offhand the reg entry, but it's a live reading of the sensor, 1 or 0). I installed "Proximity Sensor for Screen Off v0.2" from http://forum.xda-developers.com/showthread.php?t=624206
That was a mistake on my part, though... then the screen wouldn't come back on! It took some real finagling to get the screen on.
To fix it (temporary? permanent? dunno...) I waved a small neodymium magnet over the sensor (near the ear speaker). I have no clue why that worked. I don't know why it stopped. I *definitely* don't know if that's the issue you are having. But it's worth a shot
I've never had this issue after many different iterations of the Energy ROM.
Do you run Task29 when you flash ROMs?
Yeah i always task29. I don't believe it is the rom since i have tried another rom and the problem persisted. I tried the magnet idea but it didn't work. It was a refrigerator magnet though so i didn't expect it to. Anything else that requires the prox. sensor to work, has no problems and that is why this is weird to me.

Proximity Sensor Broken - Nokia XL

Hello!
I've started to have a problem with proximity sensor. While calling, the screen get black and there is no way to turn it on (it turn if the other persone close the call only).
I tried to install a proximity sensor controller utility and it says it's always 0cm distance. By touching it I found it unlocks sometimes under pression or temporarily if I blow in it (but after a little it locks again).
I searched in settings an options to deactivate it but I really can't find it..
Can you tell me where I can find the option to turn off the proximity sensor, please?
And is there any way to fix this problem eventually? However I'd be happy if I can just deactivate the sensor..
Thanks

Screen does not turn on while charging on making a call

Hi,
I have a strange problem. My LG-G3 (D855) screen, running on Android 6.0, does not turn on during a call.
It is working fine otherwise.
I entered the secret menu, and applied the proximity / ALC under HW test. Apparently, the sensor is locked to "NEAR" state.
How do I recalibrate it? Is it a Marshamllow issue? Is there any volunteer who can test this setting on his/her device?
There has been a few people with this issue that ive seen common fix is clean the prox sensor. Some screen protectoers interfere

Proximity Sensor does not turn off screen during calls Please Help...

After every reboot,the proximity sensor works fine for the first few calls. It properly turns off the screen during a call when the device is near your ears & turns the screen on when it is moved away.
But post 4-5 calls, the sensor stops working. Irrespective of how you hold the device, the screen does not get turned off. User needs to manually turn the screen off & on using the lock button. This continues for all calls after that.
Rebooting the device fixes this problem again but only for 4-5 calls...
Can Anyone Found The Fix???
xaamaa said:
After every reboot,the proximity sensor works fine for the first few calls. It properly turns off the screen during a call when the device is near your ears & turns the screen on when it is moved away.
But post 4-5 calls, the sensor stops working. Irrespective of how you hold the device, the screen does not get turned off. User needs to manually turn the screen off & on using the lock button. This continues for all calls after that.
Rebooting the device fixes this problem again but only for 4-5 calls...
Can Anyone Found The Fix???
Click to expand...
Click to collapse
Try an app called gravity screen. If it still does the same thing - works for a bit and then stops working - you may have to flash some stock software and start fresh or you may have a hardware issue. It could also be something simple like some dirt or dust in/around your proximity sensor that needs to be cleaned out; you'd have to be brave and open the phone to blow the debris out though. But try the gravity screen app first because it may be all you need.
And are you on stock ROM or AOSP/CM? Because AOSP/CM has always been wonky with the proximity sensor during calls.
startswithPendswithOOH said:
Try an app called gravity screen. If it still does the same thing - works for a bit and then stops working - you may have to flash some stock software and start fresh or you may have a hardware issue. It could also be something simple like some dirt or dust in/around your proximity sensor that needs to be cleaned out; you'd have to be brave and open the phone to blow the debris out though. But try the gravity screen app first because it may be all you need.
And are you on stock ROM or AOSP/CM? Because AOSP/CM has always been wonky with the proximity sensor during calls.
Click to expand...
Click to collapse
Thanks for your Reply i am on Stock rom i reflash it again but same thing happens i also tried gravity screen app but proximity sensor is not working may be you are right its a hardware issue...
Sent from my LG-D850 using XDA Forums Pro.

Disable flip cover sensors, booting into TWRP without fastboot,camera apk,quickcharge

This weekend I unlocked the bootloader and installed LineageOS 14.1 (rooted) on my LG G4 / UK h815. I have a flipcover case and I want to stop the screen turning on/off when I open/close the cover. There doesn't seem to be an option within Nougat/LOS 14.1 to disable this feature. I've found a few apps that claim to disable the proximity sensor but none fixed this issue so I presume it must depend on the magnet sensor instead? Has anyone else been successful in disabling this? How did you do it?
I flashed TWRP to my recovery partition following the instructions here:
https://wiki.lineageos.org/devices/h815/install
fastboot said it flashed OK but I have not been able to enter into TWRP by doing the VOLUME DOWN + POWER BUTTON dance. All I get when doing that is the stock factory reset menus so I have only been able to boot into TWRP by using fastboot. Is there something missing from that guide or is there a better guide thats guaranteed to enable me to boot into TWRP by using the boot button trick?
I knew the LOS camera wasn't going to be as good as the stock one so I used ES File Manger to dump the camera apk from the stock rom but the apk failed to install, claiming it was corrupt. Maybe it would've worked if I dumped it using a different app or maybe its not compatible with Nougat? Can I download a working apk of the stock camera from somewhere?
Finally, does Quick Charge work under LOS? Under the stock rom it would say 'Fast charging' when I use my quick charge charger and cable but it always says 'Charging slowly' under LOS whether I use quickcharge gear or not.
Thanks
The first showstopping (really annoying) bug I've come across with LOS 14.1 is that the screen randomly goes very dim, even when the battery is fully charged, and adjusting the screen brightness slider (if you can make it out) has no effect. The only fix when this happens seems to be rebooting.
I won't be putting up with that happening multiple times a day so unless someone has a fix I'll be looking for another ROM.
pfmdan said:
The first showstopping (really annoying) bug I've come across with LOS 14.1 is that the screen randomly goes very dim, even when the battery is fully charged, and adjusting the screen brightness slider (if you can make it out) has no effect. The only fix when this happens seems to be rebooting.
I won't be putting up with that happening multiple times a day so unless someone has a fix I'll be looking for another ROM.
Click to expand...
Click to collapse
Thats Live Display. Sensor is Reading Brightness and Adjust Screen brightness. Sometimes that takes 2-3 Sec.
With case You should disable it in Options otherwise you will deal with it most everytime.
Next:
Did you know what you are doing? Stock camera on custom rom? really?!! With LOS 14 u installed a custom kernel, so stock camera isnt supported anymore. NO driver / different Driver for camera as cause. Use Google Camera or other. use Search.
next:
Quick Charge work, but it is only a flaw of los that it shows slow charging.
other suggestions would be it is a kernel setting.
Hi uweork
Sounds like I need to disable live display to avoid the dim screen problem then. The screen brightness slider shouldn't stop working though, surely?
You say I should be able fix my flipcase screen problem by disabling it in options (do you mean Settings?) but where exactly? I have tried disabling 'Flip cover' under settings but that doesn't stop the cover turning the screen on/off when I open/close the flip cover. The only solution I can think of is working out which devices (under /dev/input probably) are used for the magnet and proximity sensors then writing a script that will delete them at boot but that seems like an awful hack to me - I'm hoping there is a nicer fix.
Thanks!
pfmdan said:
Hi uweork
Sounds like I need to disable live display to avoid the dim screen problem then. The screen brightness slider shouldn't stop working though, surely?
You say I should be able fix my flipcase screen problem by disabling it in options (do you mean Settings?) but where exactly? I have tried disabling 'Flip cover' under settings but that doesn't stop the cover turning the screen on/off when I open/close the flip cover. The only solution I can think of is working out which devices (under /dev/input probably) are used for the magnet and proximity sensors then writing a script that will delete them at boot but that seems like an awful hack to me - I'm hoping there is a nicer fix.
Thanks!
Click to expand...
Click to collapse
About your Problem with Flipcase is didn´t mention a thing. so ich dont know what to do.
But live display you find in Settings-> Display (i didn´t use Los 14 so maybe someone other can be of more help here)
pfmdan said:
Hi uweork
Sounds like I need to disable live display to avoid the dim screen problem then. The screen brightness slider shouldn't stop working though, surely?
You say I should be able fix my flipcase screen problem by disabling it in options (do you mean Settings?) but where exactly? I have tried disabling 'Flip cover' under settings but that doesn't stop the cover turning the screen on/off when I open/close the flip cover. The only solution I can think of is working out which devices (under /dev/input probably) are used for the magnet and proximity sensors then writing a script that will delete them at boot but that seems like an awful hack to me - I'm hoping there is a nicer fix.
Thanks!
Click to expand...
Click to collapse
Live display is a colour temp change (basically a night mode). Sounds more like a bug that you can't change brightness manually.
As for the flip cover, why do you want to disable it fully? I don't think you can even on stock LG can you?
I've fixed my screen woes with xposed and the Magnet Sensor Control module 1.1. It only claims to support Nexus devices but it seems to work fine with the G4 too.

Categories

Resources