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
 
24 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,210 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
 
24 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
12th January 2015, 08:59 AM   |  #85  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Jan 2015
Hi dubidu, this mod looks like what I need for a Moto G 2014 with a faulty magnet sensor that keeps the screen off permanently. Only trouble is, I can't manage to install it without the screen working! Is there any way to temporarily force the effect long enough to install Xposed and MotoMagnetOff?
The handset is rooted already.
14th January 2015, 09:05 AM   |  #86  
Junior Member
Flag Kyiv
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jan 2011
Quote:
Originally Posted by SamsungAdmire

question; what the heck is a magnet sensor? can anybody explain?

It is a sensor inside the phone that detects any magnet near the phone body. It is sometimes used for flip covers of cases, when the flip cover touches the phone the sensor initiates lock, as if the power button is pressed.
22nd January 2015, 05:58 PM   |  #87  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jan 2015
Magnetoff works on a Oneplus One?
Quote:
Originally Posted by dubidu

I doubt anyone would need this, but just in case, here is a simple Xposed module to disable the screenoff when the magnet sensor detects some magnetic field around (e.g: cover)

I downloaded and installed it on my Oneplus One, but it doesn't work. It runs Android 4.4.2.

Any and all advise will be appreciated.
23rd January 2015, 06:36 AM   |  #88  
Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Jan 2015
Magnetic sensor in Umi Zero
Hi, is there any chance to disable magnetic sensor in Umi Zero ?
I checked every version which you posted here and still no luck.
My rom is stock rom 3.03 (kitkat 4.4.2)
Last edited by kovalski1; 23rd January 2015 at 06:59 AM.
Yesterday, 10:11 AM   |  #89  
Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: May 2011
Yes... it doesn't work in UMI Zero. UMI Zero has modified CM11 (4.4.2). It's MTK MT6592T (but maybe it is MT6592). Is it possible to make it work?
Last edited by habeck.colibretto; Yesterday at 10:30 AM.

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