Are you coming from a sense 4 rom?
If so this is a known issue and to fix it you must flash original GB sense stock rooted rom set it up then wipe everything and flash 4.x.x rom
And after this you will have working autorotate
I had before this a JB ROM,and later i flashed codefirex JB rom and rotation worked.
It’s always nice when a large OEM graces one … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?