My aim is to change the default display orientation to portrait mode on a iMX8M device running the AndroidQ-10.0.0 release. I found an older thread that referenced a couple patches that allows the property ro.sf.hwrotation to be configured for my needs here. However, these patches no longer hold for Android 10. Are there any updates patches? If not, is there another updated way to achieve this?
The latest BSP for android 10 is https://www.nxp.com/webapp/Download?colCode=Q10.0.0_2.3.0_ANDROID_SOURCE&appType=license
That includes the patch for display rotation, however you can add buildin =90 or "content insert " cmd control at run time.
Thank you for your help! How do I rotate the touch input as well? Also, is there another property for secondary/multi-displays? Something like SF_SECONDARY_DISPLAY_ORIENTATION?