FORUMS
Remove All Ads from XDA

[MOD] Sensor Disabler

56 posts
Thanks Meter: 104
 
By WardellBagby, Member on 29th June 2014, 08:35 AM
Post Reply Email Thread
Now with Nougat Support!

Shout to Rovo89 for the Xposed Framework, and the various people who inspired this.

Sensor Disabler (previously known as Disable Proximity) is an Xposed application that allows you to disable or modify most of the sensors on your device, including the proximity sensor. It supports Tasker for changing the sensor status (via In-App Purchase), a blacklist/whitelist for choosing how certain apps will respond to Sensor Disabler, and a reliable and efficient way of modifying and disabling sensors without causing unnecessary slowdown on the device.

I can't offer support for phones that I don't own, but if your phone runs a close to AOSP ROM (for instance Nexus devices) or a CM-based/Lineage ROM (which I can easily see the sources for), this should work. If you're having issues, try to gather the logs from the Xposed app that relate directly to this app and post them here as well as your issue. I recommend reading over the logs yourself to see if the issue might be with your Xposed installation and not the app itself.

Links:
Source Code
Module
Google Play Link

This has been tested on:
Nexus 5 running 4.4.2.
Nexus 5 running 5.0.1.
Nexus 5 running 5.1.
LG G2 running 4.2.2.
OnePlus One running CM11S.
OnePlus One running COS12.
Nexus 6P running 6.0
OnePlus One running LineageOS 14 (Nougat)


Currently, this mod works on 4.2 - 7.1.

Post any questions/requests/etc in this thread, and I'll attempt to get to them in a timely manner.

- Wardell Bagby.
The Following 62 Users Say Thank You to WardellBagby For This Useful Post: [ View ] Gift WardellBagby Ad-Free
 
 
29th June 2014, 09:11 AM |#2  
ravijani's Avatar
Senior Member
Thanks Meter: 4,111
 
More
Thumbs up
here's link : http://repo.xposed.info/module/com.m...er.disableprox

and there is any ways to disable it totally??
The Following 8 Users Say Thank You to ravijani For This Useful Post: [ View ] Gift ravijani Ad-Free
29th June 2014, 01:52 PM |#3  
defim's Avatar
Senior Member
Thanks Meter: 1,498
 
More
Quote:
Originally Posted by WardellChandler

I saw a fairly important need for this app, so I decided to make it.

Why could I need this app and want to disable proximity?
The Following 3 Users Say Thank You to defim For This Useful Post: [ View ] Gift defim Ad-Free
29th June 2014, 03:16 PM |#4  
phanitej's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 323
 
More
Quote:
Originally Posted by defim

Why could I need this app and want to disable proximity?

Someone like me who does not find much of a use of the proximity sensor which has been eating up battery while im on call, would be interested in this feature
The Following 5 Users Say Thank You to phanitej For This Useful Post: [ View ] Gift phanitej Ad-Free
29th June 2014, 03:40 PM |#5  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,644
 
More
Don't work with Themasek KK 4.4.4 v105. Galaxy S3

HGT - Galaxy S3 S5 blue - any KK ROM
The Following User Says Thank You to HorstiG For This Useful Post: [ View ] Gift HorstiG Ad-Free
29th June 2014, 04:42 PM |#6  
Junior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by defim

Why could I need this app and want to disable proximity?

If, like me, your Nexus 4's proximity sensor is dead and you're unable to wake up your phone during calls!
The Following 7 Users Say Thank You to AlJoelson For This Useful Post: [ View ] Gift AlJoelson Ad-Free
29th June 2014, 05:40 PM |#7  
OP Member
Thanks Meter: 104
 
More
Quote:
Originally Posted by HorstiG

Don't work with Themasek KK 4.4.4 v105. Galaxy S3

HGT - Galaxy S3 S5 blue - any KK ROM

Alrighty, thanks for that!
The Following User Says Thank You to WardellBagby For This Useful Post: [ View ] Gift WardellBagby Ad-Free
29th June 2014, 05:49 PM |#8  
OP Member
Thanks Meter: 104
 
More
Quote:
Originally Posted by ravijani

and there is any ways to disable it totally??

Thanks. Possibly, using the Hardware Disabler app on the Play Store. I've never gotten that to work for me, though.
There might also be a way to truly truly disable it using Xposed, but I'd need to delve extremely deep into the Android sources. I'll look more into it, but definitely no promises.
The Following User Says Thank You to WardellBagby For This Useful Post: [ View ] Gift WardellBagby Ad-Free
29th June 2014, 06:12 PM |#9  
kamikaze702k's Avatar
Senior Member
Flag London
Thanks Meter: 725
 
More
Could you make an app that has an interface and that can disable touch?

Basically when I put YouTube on my device and give it to my daughter to watch her cartoons she presses the screen and videos go back and forth and even exit, I've tried searching everywhere for a touch disable option, there's 2 apps on the play store but don't work, are very old and outdated...

If anybody knows where I can find one please let me know....

Sent from my GT-I9195 CarbonKat 4.4.4
The Following 2 Users Say Thank You to kamikaze702k For This Useful Post: [ View ] Gift kamikaze702k Ad-Free
29th June 2014, 07:10 PM |#10  
OP Member
Thanks Meter: 104
 
More
Quote:
Originally Posted by kamikaze702k

Could you make an app that has an interface and that can disable touch?

To get OT for a minute, while this might be possible, there are some inherent difficulties associated with this. You should look into an app like Live Lock: YouTube & Kids Lock for Android. Best of luck!
The Following 5 Users Say Thank You to WardellBagby For This Useful Post: [ View ] Gift WardellBagby Ad-Free
29th June 2014, 09:35 PM |#11  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,644
 
More
Update 1.01 don't work. S3 Temasek KK 4.4.4 v1.05, Boeffla Omni Kernel.

HGT - Galaxy S3 S5 blue - any KK ROM
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes