RotationControler
An android app to globally control your device's orientation by creating an invisible floating window and set the orientation of it. I use Accessibility-Service to create the floating window with type of "TYPE_ACCESSIBILITY", which will cover on most windows including KeyGuard window, APP installation window, Recent apps window, etc.
How to make MIUI reversePortrait
By modifing a hiding setting-item called "user_rotation".