iMX8MP Android11 display rotation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX8MP Android11 display rotation

744 次查看
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 项奖励
回复
3 回复数

710 次查看
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 项奖励
回复

705 次查看
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 项奖励
回复

661 次查看
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 项奖励
回复