If you own a phone or tablet with Android 4.3 or 4.4, you might be facing the issue that your lock screen does not support rotation. I noticed this when I upgraded my Nook HD+ to the latest CyanogenMod based on Android 4.4. The lock screen was always in portrait mode. While phone users might not consider this behavior problematic because phones are mostly used by holding them vertically, tablet owners might prefer landscape mode most of the time. If you have rooted your device, you can perform a simple trick described below to enable lock screen rotation.
Upd: according to our reader Tapatio, this trick also works on CyanogenMod 12.1 android version 5.1.1.
- Open the file manager on your Android device which supports root file system access. I prefer the freeware, Total Commander, for Android, but you can use anything you like, e.g. ES File Explorer.
- Navigate to the following folder:
- There you will find a file named build.prop. You need to edit it, so open it in your favorite text editor. Again, I will use the built-in editor of the Total Commander app, as it is powerful and supports many useful features.
- Add the following line to your build.prop file:
Tip: Before you add the line, check if the same parameter is present in the build.prop file, but with the value set to false. If it is present, then modify the existing line and set it to true.
That's it. Now reboot you device. The lock screen will respect the gravity sensor right after reboot.
If you know another way to enable lock screen rotation, feel free to leave a comment.