yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] rohail6:
A problem that plagued me for a year, gone in 2 minutes. Thank you very much.
[Xposed Framework Modules] WardellBagby:
That's what I made it for! I'm very happy to help!
[Xposed Framework Modules] tdusen:
Instead of disabling the sensor, you could try recalibrating, as described in this post. it worked for my Sprint GN2.

http://xdaforums.com/showthread.php?t=2569141
[Xposed Framework Modules] cramu:
Since the N4 suffers an annoying bug which causes a crackling noise to the headset signal whenever the proyimity sensor is active, I'd like to request an option to disable the sensor only when headset is plugged.

It would be even better if you would consider to integrate your app with Tasker so we could disable the sensor on different contexts too.
[Xposed Framework Modules] WardellBagby:
I actually have been wanting to try out Tasker support, so I'll look into that. I think I can push an update that'll disable during headphone disconnected only in the next few days, then I'll work on Tasker support.
[Xposed Framework Modules] cramu:
Thanks for responding so quickly and for considering my suggestions.
[Xposed Framework Modules] Bino92:
Working on HTC Sensation XE running Vipers ROM 5.1.2 (Android 4.1.2)

Thank you very much!!! :good: I finally solved a problem due to the proximity sensor (probably broken) whose wakelock plagued my battery after a call or automatic brightness; thank you!

Noob question: can RILJ wakelock also be related to the proximity sensor?
[Xposed Framework Modules] WardellBagby:
To be honest, I don't know. I've never come across the RILJ wakelock issue (literally had to Google it to figure out what you meant) but it could be a possibility?

Although, according to this article here, it has something to do with accessing your location.

My two cents is, go ahead and give my app a try and if it works, great! But I don't know anything about the RILJ wakelock issue to provide any concrete data on whether this will fix it or not. Doesn't hurt to try!
[Xposed Framework Modules] MrHaroldA:
I don't have a solution, I have the exact same problem. In fact, it's really annoying so I even started to think about buying an other phone :(
[Xposed Framework Modules] dobermann24:
Works on my umi z. 7.1.1. but one Sensor crash.

[MENTION=5535147]WardellChandler[/MENTION] can you update the APP ?
[Xposed Framework Modules] MrHaroldA:
Did you check the updated version?
[Xposed Framework Modules] Giacomofal:
Same here on nexus 5 with various nougat and marshmallow roms. The problems are started few days ago after app updating from play store. Sorry for my bad english
[Xposed Framework Modules] WardellBagby:
Hey y'all, thank you so much for the detailed error messages there. I think I know exactly what the issue is; I'll push out an update super soon to fix that!
[Xposed Framework Modules] katzelad:
The latest update does not work (same NoSuchFieldError), and the phone started freezing so I removed the module.

Is it possible to use the old method for Lollipop devices?

Thanks
[Xposed Framework Modules] WardellBagby:
I just pushed out 2.1.1 which should fix that issue. Let me know if you have 2.1.1 and it doesn't.
[Xposed Framework Modules] WardellBagby:
D'oh. The trace tells me exactly what I missed. Expect another update in a few hours. Until then, the mocking values should work as expected.
[Xposed Framework Modules] prakhar1010:
The version 2.1.2 also does not work. It causes the phone to freeze.
[Xposed Framework Modules] katzelad:
On 2.1.2 there are no errors in the Xposed log, but 'Remove Sensor' still doesn't work, mocking works, and freezing after a few minutes occurs anyway (I think it only occurs in sleep).

I will probably go back to 2.0.1 for now and disable updates.
[Xposed Framework Modules] WardellBagby:
Ah. I was worried performance issues might happen, but I wasn't able to test that on my device. Let me look more into this.
[Xposed Framework Modules] prakhar1010:
2.0.1 does not work for Marshmallow. And 2.1.1 and 2.1.2 causes my phone (nexus 5) to freeze. I think the only alternative is to disable this as of now.
[Xposed Framework Modules] WardellBagby:
That's fine; sorry it's not working, though! Feel free to downgrade while I figure this out.
[Xposed Framework Modules] Blackwolf14:
The version 2.1.2, causes the phone to freeze. I have LG G2 D800 with 7.1.2.
[Xposed Framework Modules] Joseahfer:
Works great on my device, thanks!

S7 (G930-F) running Android 7.0 (SDK 24) with systemless Xposed 89.0 in Magisk 15.1. Sensor Disabler 2.1.3.
[Xposed Framework Modules] holymoz:
latest version 2.1.3 doesn't work on wiko fever (tested only proximity sensor).

previously I had 2.0.1 and worked good
[Xposed Framework Modules] antryout:
My phone is Sony Z3 Compact (D5803). Proximity sensor is out of order. The screen is off during calls. I installed Xposed Framework v87 and Sensor Disabler 2.0.1. I just removed proximity and my problem was solved. But a few days ago, after updating Xposed (v89) and a few modules including "Sensor Disabler" (2.1.3.), removing proximity sensor doesn't work at all, mocking value to 5.0 rarely works, not always. So I uninstalled 2.1.3 and installed 2.0.1 and it is working like a charm.

-----------------------------------------------------

MY D-5803 SENSOR INFORMATION

Name: APDS-9930/QPDS-T930

Proximity & Light

Type: Proximity

Vendor Avago

Range: 5.0

-----------------------------------------------------
[Xposed Framework Modules] holymoz:
Same problem as me, disabling proximity not works with latest 2.1.3
[Xposed Framework Modules] crackpot360:
Does mock sensor work for you on 2.1.3
[Xposed Framework Modules] holymoz:
Not tried, already installed 2.0.1
[Xposed Framework Modules] crackpot360:
Have you had any problems with 2.0.1 so far? when I tried it it would crash the phone app and other apps.
[Xposed Framework Modules] holymoz:
No, using 2.0 1 for a year without problems
[Xposed Framework Modules] نور الدين:
ماذا يفعل هذا البرنامج
[Xposed Framework Modules] ALLANOSAN:
could have this module in magisk
[Xposed Framework Modules] holymoz:
You have to install xposed in magisk and then this module in xposed
[Xposed Framework Modules] ALLANOSAN:
but if I do this the safetynet fails
[Xposed Framework Modules] holymoz:
Yes, there is no other way At least someone port this module on magisk
[Xposed Framework Modules] ALLANOSAN:
if I knew who did this module I would ask for port more nor do I know who did it

---------- Post added at 12:58 AM ---------- Previous post was at 12:52 AM ----------

you could port this module to the magisk if you do not ask for thank you right away
[Xposed Framework Modules] xringo:
What setting do I pick on the proximinty sensor? Do nothing, remove sensor or mock sensor values?

I'm on a pixel 2 xl 8.1 and my screen goes black second I get a call and can't do anything until the other party hangs up.
[Xposed Framework Modules] ValeV008:
Is it possible to downgrade to previous version? I updated and it ****ed up my settings, so I want to downgrade to the version that worked.
[Xposed Framework Modules] Letsa:
I also installed this, to hopefully work around my broken proximity sensor on an Xperia ZL running LineageOS 14.1 / Android 7.1.2. Unfortunately, not only didn't it work, but Android fails to keep my simcard detected since. I'd reboot & everything works. Then, hours or days later, service will have dropped due to nosimcard detected. Not sure if related to this app, uninstalling the module didn't fix it.
[Xposed Framework Modules] katzelad:
Any chance of oreo support?
[Xposed Framework Modules] triads:
Proximity settings are remembered but not (re-)applied after a reboot

My Galaxy S4 (GT-I9505) is running LOS 14.1 (weekly). The proximity "Mock sensor values" feature of Sensor Disabler 2.3.1 is used to prevent black screens during phone calls. However, the solution is not really convenient because the proximity settings must be reapplied manually each time the system is restarted. I.e. after a restart Sensor Disabler seems to remember the previous proximity settings ("Mock sensor values" is selected and "Distance (cm)" is set at maximum) but when making a call the screen turns black until the call has ended. In order to reactivate the proximity settings after a reboot I have to repeat the following two steps:

(1) Select "Do nothing" and push the save button

(2) Select "Mock sensor value" ("Distance (cm)" stays at maximum) and push the save button

Is there a way to get the proximity settings reapplied automatically after a reboot?
[Xposed Framework Modules] iamfarhanansari:
I have same problem
[Xposed Framework Modules] Kdemwa:
Oreo 8.1 Support Please
[Xposed Framework Modules] RogueTank:
Same thing for me!
[Xposed Framework Modules] iamfarhanansari:
Try modded dialer apk if u r using nougat rom

I am using
[Xposed Framework Modules] Mikee19:
Sensor disabler works on my LG V20, and modifies sensors accordingly... But I cannot get any sort of functionality using the tasker plugin! This frustrates me! Because I know that it can work on my phone, as the main app itself works!*

So here's what I tried...

I tried launching the activities for the app and for the plugin using shell commands to launch "com.mrchandler.disableprox.ui.TaskerSensorSettingsActivity" and "com.mrchandler.disableprox.ui.SensorSettingsActivity respectively". Values set in the Ui for the tasker activity "com.mrchandler.disableprox.ui.TaskerSensorSettingsActivity" DID NOT save when I opened the app to check. That activity DID NOT work at all! But using the app's normal activity, "com.mrchandler.disableprox.ui.SensorSettingsActivity" worked like a charm! So yes, it does work, just the tasker plugin does nothing at all!*

Pls how can this be fixed? running nougat 7.0 stock if that helps
[Xposed Framework Modules] Mikee19:
It appears that the tasker plugin now works to remove sensor values, but when I try to set a mock value in tasker it just stays on the "mock sensor value" radio, without actually setting the value (although it works just fine from the app itself for me)... how do I make it set the value I want?
[Xposed Framework Modules] RogueTank:
You mean one that has an option for not using proximity sensor? Is there such thing for watsapp too?
[Xposed Framework Modules] iamfarhanansari:
No, the apk is modded

It does not use proximity sensor values

It always keeps screen on
[Xposed Framework Modules] Mikee19:
This is such an awesome module which really has no other substitute...nothing else does exactly what it does. Wish it could be updated with the tasker support to be actually working, and maybe updated for Oreo. Version 2.1 and 2.1.1 actually worked *somewhat* with tasker, (but they froze too much to be of any real use) but even that is broken now... The source is on Github, but I do not have the expertise yet to do anything with. Wish someone would...
[Xposed Framework Modules] shayraz:
2.0.1 is the only version that works for me (MM Note 4)..every version after that does not work... disabling sensors does nothing and any app can still use them..
[Xposed Framework Modules] linolino:
Request for not (yet?) available features.

Would it be possible to add two more sensors?

Have got Sony Xperia Z3c.

+ audio jack is defective. Sense for plugged headset would be interesting for me to deactivate.

Audio is working in general, but on motion device "thinks" jack was un/replugged and stopps/starts playing on each bump.

So for my defective sensor/contact it would be great to disable just the "sense" for plugged jack.

Since the time audio jack(s sense contact) is broken I can just enjoy music with a BlueTooth headset.

+ Z3(c) has got the (magnetic) side pluggable charging contact. Intended by Sony for docking sation.

the disadvantage is the device on charging handles calls on speaker phone instead of earpiece.

So also this "sense" would be nice to be ignorable.
[Xposed Framework Modules] kevin.kvik:
Delete
[Xposed Framework Modules] maybeme2:
Nexus 5 running lineageos 14.1 (Andrew 7.1) with Xposed.

I installed Sensor disabler abt 2 months ago but proximity sensor is not disabled during phone calls. The screen still blanks out when they phones is brought to the ear. What am I doing wrong?
[Xposed Framework Modules] Mikee19:
Try setting mock values
[Xposed Framework Modules] maybeme2:
Thank you. Will try that.

Do you mean 'remove sensor' is not a functional option?
[Xposed Framework Modules] Fif_:
Try version 2.0.1, for me is the last version that works during phone calls. 2.1.x seems to work in some apps but fails to work for phone calls.
[Xposed Framework Modules] maybeme2:
Thanks.

I uninstalled the latest version and installed 2.0.1. Is selecting 'remove sensor' sufficient or do I need to add a mock sensor value to make it work for phones?
[Xposed Framework Modules] Fif_:
For me, disabling the sensor is enough.
[Xposed Framework Modules] Mikee19:
Unfortunately, this version you speak of doesn't work for nougat. I'm pretty sure that mock sensor values will work with the latest version
[Xposed Framework Modules] maybeme2:
What sensor values work to prevent blanking the screen during phone calls?
[Xposed Framework Modules] Mikee19:
Just set it at maximum. Let's see if that works
[Xposed Framework Modules] Mikee19:
Did you even try it? For some reason you seem not too eager to try mocking values.... I did not even have this mod installed anymore, but decided to reinstall it just to check again. Mocking values WORK for phone calls over here on nougat, where removing sensors did not
[Xposed Framework Modules] maybeme2:
Yes I have the mocking values set to max and it works. Thank you. I waiting to see if the effect persisted before writing back.

I appreciate your help.

May I ask why you didn't use this mod anymore?
[Xposed Framework Modules] Mikee19:
I actually needed it for the tasker plugin, but the plugin doesn't work
[Xposed Framework Modules] maybeme2:
Neither does the mocking values. I just got a phonecall and when I put the phone to my ear the screen went blank. I think I'll just uninstall it and live with the proximity sensor on. ?
[Xposed Framework Modules] Mikee19:
Did it work at all in the first place? Someone said it works for him till he rebooted, and then will have to set it to do nothing first, and then mock values again, before it works again, after each reboot. It's kinda buggy, and this might be the case with you... if it worked at all it might just not be holding after each reboot... try this and see if it works before finally giving up

---------- Post added at 04:40 PM ---------- Previous post was at 04:35 PM ----------

1) Do nothing 2) mock values

after each reboot (if it worked for you in the first place)... Tasker woulda been handy...

---------- Post added at 04:44 PM ---------- Previous post was at 04:40 PM ----------

This was the post that detailed it

https://xdaforums.com/showpost.php?p=76570216&postcount=215
[Xposed Framework Modules] maybeme2:
I thought it worked once before rebooting but I'm not sure. Anyway, it's not a big deal and I can live with the screen blanking as I have for a long time. I appreciate the help but it's not worth the time and effort. So I'll just uninstall it.
[Xposed Framework Modules] Mikee19:
Hopefully you don't have to live with it. I'm no developer (yet), but I do understand some java. I have also seen why it is the nougat versions do not work as expected... Due to new security measures on nougat, the mod changed the way it accessed it's settings stored in its shared preferences file, using a content provider "Remote preferences". It seems he was unable to fully implement it, and maybe I will try my hands on it someday. In the time being, I modified the apk version 2.0.1 which is the last one that works, so that it works for nougat. It works fine over here (android 7.0), settings stick on rebooting (mocking values alone... Remove doesn't work reliably yet). Please give me feedback. Might even work for Oreo
[Xposed Framework Modules] Mikee19:
Try mocking values on this one
[Xposed Framework Modules] jjcdennis:
I have an LG G4, running Oreo on the Lineage UsU rom.. I maxed the mocking values and saved. It takes a few shakes/seconds, but the phone screen turns back on = Eureka, I hope.
[Xposed Framework Modules] Mikee19:
Hopefully it is indeed Eureka! Thanks for the feedback
[Xposed Framework Modules] jjcdennis:
Post removed
[Xposed Framework Modules] retrolizard11:
I'm using a Sony Xperia z5 compact, Android 7.1.2, rooted, Xposed is installed. I set proximity sensor in the Sensor Disabler app to remove sensor (on both - proximity sensor is there twice) and still, my screen is black during a call. Any advice you can offer will be appreciated.
[Xposed Framework Modules] Mikee19:
Doesn't work over there?

---------- Post added at 09:25 PM ---------- Previous post was at 09:23 PM ----------

See my post 5 posts before yours. Download and mock values as stated
[Xposed Framework Modules] Mikee19:
Actually I'm not the developer of the module. I was struggling to get it to work on my phone running nougat (it worked fine on marshmallow). I merely decided to share the results here as others seemed to need it as well, with the developer no longer responding.

So then, whatever works for you!
[Xposed Framework Modules] Nixda99:
Works top with 8.1

Works nice for me with Lineage 15.1 (Android 8.1, Patch Level 2019-02-05).

Have disabled Gyroscope, Accelerometer, Linear Acceleration, Orientation, Step counter & - Detector, because these ones were defect and

causes reboots. After disabling these sensors with this Xposed Module, the reboots are away:D.

"GPS Status & Toolbox" shows these sensors now as not available (not as defect like before, see attachments) and "Sensoren Multitool" hide these sensors now in popup menu.

My last problem: the camera makes the pictures always in a wrong orientation. Because I hold the smartphone for pictures always horizontal/landscape (looks better on TV without big black stripes), I would mock the values for orientation

for camera app, but mocking this sensor is not possible. I have also the app "Rotation control" to change the orientation via notification dropdown, but this wont help here.

Somebody an idea? :confused:

Thanks [MENTION=5535147]WardellBagby[/MENTION]
[Xposed Framework Modules] MDV106:
Has anybody tried this on Pie with EdXposed? Does it work?
[Xposed Framework Modules] Fahrialubis:
Which sensor should i remove or motion to keep doze wihtout interupt by any motion i mean
[Xposed Framework Modules] Dhicky:
Been looking for this, a mod that automatically saved and apply the setting anf doesn't require me to set it up manually everytime I restart my device. Thanks so much
[Xposed Framework Modules] relaxs6:
On my S6 I changed the light sensor value to 50.000 for getting the supermax brightness mode, but it doesnt work. Every app show the 50.000 value.

What do i wrong?
[Xposed Framework Modules] GrippingSphere:
Working fine on my POCO F1 running lineageos16 android 9 with EdXposed. Tested on Step Counter/Detector, Proximity, Gravity, Geomagnetic, and Magnetic sensors.

Thanks to the Dev for this module.
[Xposed Framework Modules] ssurell:
Not working to disable proximity on RR/LOS 16, LG V20.
[Xposed Framework Modules] xytkhi:
How to disable update ?
[Xposed Framework Modules] loopypalm:
Please update for A10
[Xposed Framework Modules] Wenamcz:
Hello, please is mod compatible with LSPosed? Thank you.

I am still getting message that Xposed is not installed.
[Xposed Framework Modules] wparad:
[OG Pixel Sailfish] [Lineageos 18.1] [Android 11]

Is this working on Android 11?

I know my proximity sensor is broken (phone calls go to a black screen), and I'm able to disable the sensor (and set the mock value at 5mm). However, all sensor diagnostic tools still display the sensor set at 0mm, and phone calls still go to a black screen.
[Xposed Framework Modules] pizmak:
I am in the same boat, I have LGE V50 running Lineage 18.1 (android 11). My sensor is stuck at 0cm and I cannot make this module work, I set it to remove the sensor, set it to mock a value of few cm, does not make any difference. Checking with some sensor tester still gives 0cm and screen still goes black right after a phone call is started :/
[Xposed Framework Modules] pepperjones:
I'm running Resurrection Remix Q V8.7.3 (Android 10) on Galaxy Note 4 and I'm also facing this issue. Any help/alternative appreciated 😞.
[Xposed Framework Modules] kos25k:
Hello.Is it possible to disable also gps sensor?
[Xposed Framework Modules] mebitek:
app is not working. I'm with lsposed, android 12 e/os/

disabling sensors do nothing
[Xposed Framework Modules] amn1987:
I had to finally use an alternate dialer which includes the option to disable the use of the Proximity Sensor during calls. Right Dialer, Simple Dialer etc. For call recording the Basic Call Recorder module works well. I had cooked up a workaround with the help of Tasker so that I could keep using the stock AOSP dialer but it didn't cover every scenario. @pepperjones
[Xposed Framework Modules] sayon12gh:
It's not working android 13 lspose
[Xposed Framework Modules] Big Dumb Object:
Confirming this. And it is sad, because the development of another module with this function (XPrivacuLua) has also been discontinued.
[Xposed Framework Modules] BMANGOAT:
Not work for Android 11 realme x2 pro i tried to disable proximity sensor and gyro but can't i use lsposed does it effect?!
[Xposed Framework Modules] phanitej:
RILJ is used by location based apps. Mostly google apps. Try disabling location based services when not in use. Check for the links in my signature. They might help you fix it
[Xposed Framework Modules] Bino92:
Sorry, I didn't express myself correctly, it's not an issue which was raised by this app; at the contrary is an issue solved by your app I think. I'm not an expert and I asked you this because since I installed this mod the RILJ wakelock (that drained my battery quite a lot) dropped from an average of 2 hours per day to 5 minutes!! For this reason I asked you if there's a correlation between proximity sensor and RILJ... Nevermind, thank you :thumbup:
[Xposed Framework Modules] visualmog:
Doesnt seem to be functioning on my verizon htc one max. Running rooted nusensesix rom. Xposed 2.6.1/andriod 4.4.2
[Xposed Framework Modules] jiannist:
[MENTION=5535147]WardellChandler[/MENTION] could you add an option to disable/enable the sensor without the need to disable/enable the module and reboot the device? Like a checkbox within the module.
[Xposed Framework Modules] nebulah:
Thank!

This was the only the wakelock I couldn't find a way around until now.

Much appreciated!
[Xposed Framework Modules] chef_diese:
touchscreen

I´d buy you a sixpack if you could do a version of this that will cause the phone to not accept touch inputs instead of completely turning the screen off, when the proximity sensor is covered. because stupig lg e460 cuts off all data transfer which makes voip virtually impossible.
[Xposed Framework Modules] xTPTBx:
Have a question. Though I haven't tried this yet. I plan to use it on my S3 mini with Cyanogenmod 11 by novafusion , I'd there a chance it will work?
[Xposed Framework Modules] todobarato:
Hello,

I have installed in my Motorola Atrix, running Android 2.3.7 CM, but doesn't work.

If you need more information let me know.

Best regards,

Ferenc.
[Xposed Framework Modules] KaliKot:
I'm trying to disable proximity so that i will be able to unlock the G3 while the proximity sensor covered with Knock on but it doesnt seem to work.

Does it only work when screen is unlocked? Thanks
[Xposed Framework Modules] chat2tanuj:
dosent work :(

I use canvas magnus a117 android 4.2.1

Pls help
[Xposed Framework Modules] katiebee:
Help with Nexus 5

My proximity sensor is broken as it is always set to 'Near'. Downloaded your app to solve this however it doesn't come up as an app that I can open - it is not on my app screen. How do I find the app on the phone & activate it?
[Xposed Framework Modules] rignfool:
Question for OP

What is the location of the driver you're disabling...

I have an HTC and I'm wondering if your mod is disabling the right location for me... Since my proximity sensor still shows in a couple of hardware monitors