Check Your I/O Usage with Iotop for Android

Ever needed to check the I/O usage of apps? If so, you probably tried searching for an iotop … more

T-Mobile HTC One M8 Gets Selfie-Friendly Android 4.4.4 OTA

The T-Mobie variant of HTC One (M8) just now received an over-the-air update … more

Android L is for Lockdown

Root is, without a doubt, the (un)holy grail of the Android world. Those wonderful permissions that allow you as … more

XDA Xposed Tuesday: XHangouts Will Improve Your Hangouts

Ever since Google started supporting text messaging in Hangouts many people have … more
Post Reply

[MOD][Xposed] Disable Desk Dock

OP MohammadAG

14th November 2013, 11:23 AM   |  #1  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 5,018
1,073 posts
Join Date:Joined: Sep 2009
Donate to Me
Requires Xposed Framework!

This module disables the desk dock feature on your device.
If anyone's wondering how this is useful, I made it for my Xperia Z1's magnetic cable, Sony sells the cable in a dock, so using the cable by itself puts the device in dock mode, which forces rotation regardless of my choice, and if the cable disconnects while my device is in car mode, it switches off car mode, which is kind of annoying while driving.

Tested on my Z1, I coded it with 4.2 in mind, may or may not work on 4.1 / 4.3, trying it won't do any harm.

The mod is open source:
You may not publish this on the Play Store or any other market.


  • Initial release.

Support development:
If you found this mod useful, consider donating with PayPal.
The Following 2 Users Say Thank You to MohammadAG For This Useful Post: [ View ]
3rd January 2014, 09:20 PM   |  #2  
tobbbie's Avatar
Senior Member
Flag Stuttgart
Thanks Meter: 239
1,394 posts
Join Date:Joined: Jan 2007
This finally solved the annoying problem with my GT-P3110 (Galaxy Tab 2 7") with Go Launcher (pro). I use Go Launcher also on my tablet to stay consistent with my Xperia Ray - where it works flawlessly. On the GT-P3110 I have to adjust the environment with "App Settings" to be DPI 240 and font-size = 99% and then Go Launcher can be used perfectly for my taste.

The problem with Go Launcher and the GT-P3110 was that Go Launcher restarted every time I have set the tablet in the original dock or when I put it out of it. So any transition from or to desk-dock mode gave me a break until Go Launcher has reloaded all apps
Reporting the problem to Go Development team (twice actually) has not revealed a solution over months - but your module did it - thanks!
4th January 2014, 02:05 AM   |  #3  
Thanks Meter: 19
31 posts
Join Date:Joined: Jul 2013
Exactly what I've been looking for!
I ran into the problem of some apps closing down due to dock mode, but this seems to be not a problem anymore.
27th June 2014, 06:07 AM   |  #4  
Senior Member
Flag Illinois
Thanks Meter: 79
1,055 posts
Join Date:Joined: Oct 2010
Tried this on my droid maxx xt1080m. It's still bringing up car dock.

My issue is walking around with my phone stacked on top of my tablet in my hand. I guess I could freeze car mode. Any ideas?
6th August 2014, 02:04 AM   |  #5  
Junior Member
Thanks Meter: 0
1 posts
Join Date:Joined: Mar 2013
Well this made my day thanks! working for me on omnirom 4.4.4 xperia z c6603
31st August 2014, 10:21 AM   |  #6  
Junior Member
Thanks Meter: 1
13 posts
Join Date:Joined: May 2014
finally find a way to disable the auto rotation! thanks a lot for this
Post Reply Subscribe to Thread

desk dock, magnetic cable, pogo, xperia
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Top Threads in Xposed Framework Modules by ThreadRank