In my project screen should be in portrait mode, not in landscape like in default i.MX53 with seiko 4.3 screen.
To get this mode i set in init.rc:
|setprop ro.FSL_LANDSCAPE_MODE 0|
|setprop ro.sf.hwrotation 270|
Now orientation is ok, but I have problems with automatic rotation.
When I turn on automatic rotation, my screen is rotated 90 anti clockwise.
How to get proper screen rotation and working automatic rotation?