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?
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
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
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