Power & Source of Big Ideas

Screen rotation doesn't rotate touchscreen

Moderators: chensy, FATechsupport

I'm using RK3399 + Android + HD702 touchscreen. I would like to change the orientation from default portrait to landscape. I need to do this on kernel level to have Android logo in landscape orientation during boot process too.

I've been following this tutorial: https://tinkerboarding.co.uk/forum/thread-574.html
It adds:

Code: Select all

ro.sf.hwrotation=90
to

Code: Select all

/system/build.prop
file.

After reboot the orientation of the screen is correct - landscape. However, the orientation of touchscreen still remains to be portrait. Therefore, there out of sync between what's displayed and controls using touch (90 degrees rotation mismatch).

I think, something should be changed in touch screen driver but I don't know what exactly and where.

Could you please let me know?

Thanks a lot in advance.
You need to modify the build to do this. It is detailed here where to do this.

viewtopic.php?f=63&t=2107
Thanks a lot! This is exactly what I was looking for.

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 3 guests