Is there any way (short of reflashing to a totally new ROM) to add a "toggle auto-rotate" or "toggle portrait/landscape" option to the menu that comes up when you press and hold the power button?

I'm endlessly fighting with auto-rotation. For whatever reason, every Android device I've owned ends up being over-eager to rotate, but stubbornly resistant to rotating BACK, even when my gestures should be making it completely obvious that I didn't want it to rotate. However, every time I disable auto-rotation, I end up finding myself in a position where I have to rotate to landscape for something, and have to kill even more time trying to re-enable it.

For what it's worth, I have both a Galaxy S3 and a Xoom (wi-fi) (S3 running ICS, Xoom running JB).

  • In short, no way of adding it except obtaining the source and modifying it, compile it and flash the freshly built ROM. Why not use Widgetsoid or Extended Power Controls
    – t0mm13b
    Commented Sep 13, 2012 at 18:01
  • Hmmm. I was afraid of that. If anybody happens to know, is the code that governs the power-button menu behavior kernel-level, Touchwiz-level, or merely a normal app with source that's not intended to be user-modified, but can be trivially hacked and extended anyway as long as the phone is rooted & the partition can be mounted +rw?
    – Bitbang3r
    Commented Sep 13, 2012 at 18:33
  • 1
    Definitely not kernel-level. It might be an apk but certainly not a normal app in that sens.
    – Nova
    Commented Sep 13, 2012 at 20:20

4 Answers 4


In the more recent updates to the Galaxy S III (at least Android 4.1.2) you can modify the notification panel at the top of the notifications screens that you get when you drag from the status bar. Open settings, 'Display' (under 'Device' heading) then in the 'General' heading choose 'Notification panel'.

Here you should be able to choose which Quick setting buttons you want to appear and one of them is the toggle for 'Screen rotation'.

enter image description here

  • Not what he's asking for.
    – user5506
    Commented Jul 6, 2013 at 16:25

I don't think that an app can change the power button menu. The same is true for the "power widget", a strip of toggles at the top of the notification area that some ROMs offer. You can, however, get something very close with the help of Widgetsoid -- in this case the toggles are inside an ongoing notification instead of part of the notification area.

Auto-rotate is one of the toggles included, of course.


Have you tried Notification Toggle from the Google Play store?
It will let you change the rotation lock from the notification screen.


Notification toggles in your rom are related to the framework.apk and settings.apk. So you technically need to edit them to enable/add other toggles. You could try Swipepad for launching/performing quick tasks.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .