Since I updated my nexus 7 2013 to Android 4.4.2 I have an issue where my screen rotation is locked without any way to return it to normal (even after turning on/off the auto lock feature). Not sure if this is happening to a lot of people out there, but the only way to fix it is to turn the tablet off for a few seconds and turn it back on. My question is, is there a way to reset the rotation from a software perspective? Is There any service that I can start and stop. I need to make sure this is not hardware related and that possibly the best way to test it.
Safe Mode fixed the issue for me somehow.
To go boot into
1) Long Press on the power button for 1 second.
2) in the power off menu that appears, press and hold the Power Off option.
3) A Reboot into Safe Mode dialog will appear, Click Ok to boot into safe mode.
After you have booted once into safe mode, check if your auto rotation is working. If it is working then good, reboot normally. If not, then it is most likely a hardware issue and get your nexus 7 replaced/repaired by Asus.
I use an android app called Adaptive Rotation.
It adds the ability to rotate the screen in any orientation and it STAYS that way. So when apps want to rotate your screen and you want it in Landscape, it stays in landscape, or whatever your preferred orientation is.
As its software it should fix your issue.