This app was mentioned in 13 comments, with an average of 1.23 upvotes
This is why I use Sensor Disabler or Google Play link
I don't know why my phone needs sensors for proximity, acceleration, light sensor, gyroscopics, gravity, magnetic strength, barometric pressure, outside temp, humidity, etc.
If they can't get your location via cell/wifi/gps/bluetooth/IP address why would any device need all of that shit?
People keep forgetting we're walking around with a portable cash register- it ain't a free Android phone.
Let's infer a few things: Let's say an app logs every time the light sensor reads 300 lux and the gyroscope shows me moving in a certain way I must be walking with my phone out. My GPS is off yet the barometer shows I'm at 30,000 feet so I must be in an airplane 2 times a month.... let's show him a SkyMall ad for walking shoes or some shit.
Android doesn't provide a toggle for "gyroscope access", and I doubt external appli- Well what do you know? The actually is an application for disabling sensors. The problems with it are that it disables them for the whole system, requires root, and requires some framework to be installed on top of root.
It's probably better to follow Nurupoi's advice and disable L2D altogether, if it fits cause you pain.
After some research, I may have found a solution. Try this application-Sensor Disable from Google play store
You need to Root and install Xposed Framework for this application to work.
If you have root and xposed, this might help to disable the proximity sensor.
But first look around in the telephone app's settings. Some phones apparently have an option to let you disable this feature.
I am having the absolute same issue.
Currently have LineageOS version 14.1-20170405-NIGHTLY_klte
Something I have not tried yet but will try soon is this:
I could only disable the sensors using an Xposed module. Since Xposed for Nougat is still being worked on, we are out of luck for the time being, I think.
You could trick the stock one with Xposed: https://play.google.com/store/apps/details?id=com.mrchandler.disableprox&hl=de
Do you have a screen protector over the proximity sensor? Had a screen protector that messed mine up before.
Have you ruled out, that your rom isn't the problem? TWRP backup, test something else, restore backup.
I had a similar issue on my Nexus 5 and I used an xposed module. Install the Xposed framework and a Module called "Sensor Disabler" (LINK). The developer of that module had a module previous to that that was specifically for disabling the proximity sensor (which I used), but he expanded it into this current module. I used the older version that was just for the proximity sensor, but I assume this one should work.
If you don't use auto brightness, and you have root, you can disable the screen looking like that. Also requires xposed. It's not the best workaround, but it works for me. Just disable the light sensors, and it should work. The app crashes after disabling the LGE sensor though. Just wish LG would let us disable this "feature".
If you run xposed framework or are comfortable rooting and installing xposed framework, there is a module specifically for disabling the proximity sensor. I was in a similar situation on the original Nexus 5 and it works like a charm.
It looks like the developer has released a new app in place of it, with the capability to disable other sensors. https://play.google.com/store/apps/details?id=com.mrchandler.disableprox
One thing I use is Sensor Disabler for XPosed
You can use Xposed and https://play.google.com/store/apps/details?id=com.mrchandler.disableprox&hl=de Sensor Disabler to disable the proximity sensor completely.
Dangit. I had this whole eloquent response I wrote up but reddit didn't post it. 1st off - wow. Thank you for the post!
I think you were right to archive it because the hype train had already left the building when XPosed took off. Even now the new hotness is a modification called Magisk which mainly lets a person install system apps but also tries to get around Google's SafetyNet thing.
With Android becoming more restrictive (SELinux enforcing, ART, and SafetyNet) there's always going to be someone who wants to do something that cannot be done.
Personally, my favorite XPosed mods were ActivityForceNewTask, Crappalinks, Inspeckage, My Android Tools Xposed, MinminGuard, Sensor Disabler, XPrivacy. And this guy who made an app called DonkeyGuard seemed to have an interest in both methods.
I can live without them but I like that these unique ideas can exist for developers and researchers who need to dig a little deeper. As for me, I'm mainly interested in the random sorts of apps that let me see what other apps are doing and maybe stop the stuff I don't like them doing.
Anyways, I appreciate the sorts of ideas and approaches because they do fill a gap in the ecosystem. I give you my moral support either way. I'm just some dude who likes to read techie things and think about random stuff. Hopefully others will chime in. I saw /u/germainz chatting on here and I'm pretty sure he's the author of Crappalinks and prolific module developer. (also, this is pretty amazing seeing these developer celebrities all in one spot)