IMX6 Android HDMI out default screen orientation portrait

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6 Android HDMI out default screen orientation portrait

3,235 Views
timharvey
Contributor IV

Greetings,

I have a customer using an IMX6 based board and single HDMI out display mounted in portrait mode and asking how to force Android to output that way (ie rotated 90deg or 270deg). I've noticed that boards with accelerometers have screen orientations affected by the orientation sensor but it would appear that HDMI output is always locked to portrait mode.

I realize there are several apps out there that will force your screen rotation one way or another but the user is looking for a way to do it that would affect the boot animation and entire OS without needing a third party app.

I've seen several posts pointing to the 'special demo modes' added to Android to make up for the fact that Android Jelly Bean (4.2) locked HDMI rotation yet I haven't been able to get those to work right (or don't understand how to use them):

 - Diff ae6119f 

 - Diff 27f1d67

Alas the following did not affect the orientation of the display on Android 5.1.1 when sitting at the launcher with only an HDMI 1080p display configured:

setprop persist.demo.hdmirotation portrait
setprop persist.demo.hdmirotates true

setprop persist.demo.hdmirotationlock false
setprop persist.demo.remoterotation portrait
setprop persist.demo.rotationlock false

setprop config.override_forced_orient true

Can anyone explain how to force HDMI out orientation to non-landscape for IMX6 for the Freescale BSP's for:

 - Android 5.1.1

 - Android 4.4.3

Perhaps it requires different kernel params for the display?

Regards,

Tim

Labels (3)
0 Kudos
2 Replies

1,597 Views
timharvey
Contributor IV

This is not the issue.

In my case, the first and only framebuffer is HDMI out and I can not figure out how to use it in portrait mode.

Tim

0 Kudos

1,597 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Tim,

Please take a look at the following thread and the explanation to the rotation:

 

[Android] Rotation problem on the 2nd framebuffer

Regards

0 Kudos