Screen rotation

Post your questions and help other users.

Moderator: Martin

Post Reply
LED
Posts: 45
Joined: 28 Jun 2014 00:51

Screen rotation

Post by LED » 18 May 2016 16:51

Hi Martin.
The screen rotation action is simply amazing. It does what some dedicated apps can't.
It makes the entire phone being able to rotate in all directions and this is what I wanted. It rotates the launcher, the lock screen and even the settings app.

I wonder if there is a system file where I could edit so I could have this rotation set permanently in lollipop 5.1.1

I have added every line you can think of in my build.prop but it simply doesn't work.

How did you achieve this. What code do you use? It is like magic to me.



Thanks

LED

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Screen rotation

Post by Martin » 19 May 2016 19:20

Hi,

This is nothing that can be achieved with a system setting to my knowledge. Automagic displays an invisible small window (overlay) on top of everything else that specifies that the device can be rotated in whatever direction you set. Since the window is shown on top, it takes precedence over regular apps. Please note that this can sometimes lead to crashes in apps when an app would like to force landscape mode but Automagic overrides it with portrait mode.

Regards,
Martin

LED
Posts: 45
Joined: 28 Jun 2014 00:51

Re: Screen rotation

Post by LED » 20 May 2016 07:45

Thanks for the answer.
I'm not sure I understood the overlay window idea or how it works, but I understand now that I cannot achieve this by changing files like build.prop or via command line.

I suspected AM was doing something "special".

The only app that behaves funny with me is the camera so I made a flow that turns it off when the camera is launched.

Thanks again.

LED

User avatar
Bushmills
Posts: 286
Joined: 23 Sep 2014 21:56

Re: Screen rotation

Post by Bushmills » 21 May 2016 12:46

You could have a look at the Xposed framework, and the app "toggle force landscape" running under it. Though having Xposed for no other reason than forcing screen rotation may be a bit overkill.

LED
Posts: 45
Joined: 28 Jun 2014 00:51

Re: Screen rotation

Post by LED » 22 May 2016 10:40

Thanks for the suggestion. I have Xposed anyway so I'll have ago again (I have already tried this module in the past). What I want is to control the rotation from the stock rotation toggle, but when it is on the rotation is full sensor, when it is of then it is locked wherever I left the phone prior to toggling it.

I'll test and let you know, but I have the feeling automatic is the best only one that can keep full rotation even on the lock screen.

Thanks

Post Reply