Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD][XPOSED] MotoMagnetOff - Disable magnet sensor

OP dubidu

15th October 2014, 05:07 PM   |  #81  
Junior Member
Thanks Meter: 2
 
22 posts
Join Date:Joined: Feb 2012
[QUOTE=joshw0000;56000795]
Quote:
Originally Posted by dubidu


Thank you so much for this mod. I use a iMagnet dock (giant magnet) in my car and have for years. I haven't had an issue until lately when I flashed Pac Rom. Apparently the magnet sensor isn't active on TW roms but it is on AOSP/CM roms.

Every time I docked my S5 it would shut the screen off. Now I can now dock my phone and use the buttons, navigte, etc.

I do have a request though. This mod seems to only stop the magnet from shutting the screen off when I first dock. It still shuts off after about 5 seconds (whether I'm using it or not). Is there a way to disable the magnet sensor completely? I don't want it to have any affect on my phone.

Thanks in advance for any help you can provide!

Magnetic Dock:



Case w/ custom thin metal plate:



Hi,
I have the same Problem with a similar Holder and that stupid S View Screen.
I hope somebody finds a solution for it
15th October 2014, 05:08 PM   |  #82  
joshw0000's Avatar
Senior Member
Thanks Meter: 429
 
3,206 posts
Join Date:Joined: Jun 2010
[QUOTE=alkoforumm;56040711]
Quote:
Originally Posted by joshw0000


Hi,
I have the same Problem with a similar Holder and that stupid S View Screen.
I hope somebody finds a solution for it







Quote:
Originally Posted by dubidu

There are lots of errors in there, but not by the MagnetOff module.

Try this one:
http://tinyurl.com/qbpjv22/MotoMagnetOff_0.apk

It is the first version I wrote which completly removes the "applyLidSwitchState()" method rather than switch off the "mLidControlsSleep" property

Try this one. I'm using it now. Still not perfect, but better.
17th October 2014, 02:52 PM   |  #83  
Junior Member
Thanks Meter: 2
 
22 posts
Join Date:Joined: Feb 2012
[QUOTE=joshw0000;56040737]
Quote:
Originally Posted by alkoforumm


Try this one. I'm using it now. Still not perfect, but better.

Hi,
thanks for your help but the xposed module didnt change any of the unwanted behavior on my GT-I9500.
16th December 2014, 09:28 AM   |  #84  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Dec 2014
Hello,
I wonder if there is any way to activate the application from terminal indicating whether it is activated or not, ie, perform action:

am start -n com.dubi.xposed.magnetoff /.SettingsActivity

Indicating whether the checkbox is active or not.
Thank you very much
Sorry for my English
Post Reply Subscribe to Thread

Tags
magnet xposed disable cover
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes