First boot Landscape.
Set HDMI Rotation at ODROID-Utility app.
Rotated Screen and Reboot.
After boot.
Run quick setting.
Landscape->Auto-rotate -> Portrait
Screen is rotated.
Reboot.
Screen is rotate automatically.
Patch for HDMI Portrait Screen.
https://github.com/codewalkerster/android_frameworks_base-1/commit/d2ad29b868e80e9c66222e870d9127a890e36137
https://github.com/codewalkerster/android_device_hardkernel_odroidxu3-1/commit/aa8c0fe4d5e059206009c62fd67589436ec71b62