iMX8MP Android11 display rotation

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

iMX8MP Android11 display rotation

733 Views
zb2020
Contributor II

I'm trying to rotate the display in Android 11.0.0_2.6.0. I'm using the i.MX8MP-EVK devkit with the MX8_DSI_OLED1 (Raydium RM67199) display.

I found a patch for Android 10 that enables display rotation, and after applying it, the layout rotates to landscape, but the image appears stretched. Additionally, the mouse and touchscreen drivers do not rotate to match the display orientation.

What is the proper way to rotate the display in Android 11 on the i.MX8MP platform? Is there an official patch available for the i.MX8MP?

0 Kudos
Reply
3 Replies

699 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

It should be already integrated in Android 11. FYI https://community.nxp.com/t5/i-MX-Processors/Android-11-iMX8mp-display-rotation/td-p/1557459.

Regards

0 Kudos
Reply

694 Views
zb2020
Contributor II

Hi,

The display rotation is not implemented in Android 11.0.0_2.6.0. I applied the patches from this post, but images and text in landscape mode appear stretched. 

Regards

0 Kudos
Reply

650 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi @zb2020,

These are the commands for rotating the screen, could you test them?

setprop persist.demo.rotationlock true
setprop persist.demo.remoterotation portrait

Regards

0 Kudos
Reply