From Tinker Board Wiki
Jump to: navigation, search

How to Rotate screen

Tinker Board can support rotate screen 0/90/270 degree. Please reference for the below 2 POSTs.

set the ro.sf.hwrotation in build.prop file

$ adb connect [ip address of tinkerboard]
$ adb root
$ adb connect [ip address of tinkerboard]
$ adb remount
$ adb pull /system/build.prop .

Then, edit the pulled build.prop file with a text editor. You want to focus on this particular property:

This properties has 3 options

# other possible values: 
# 0 = Landscape, 90 = Portrait, 270 = Reverse Portrait

After editing, push the bulid.prop back to the device

$ adb push build.prop /system/build.prop

Set the persist.demo.hdmirotation property

# for 0 degree
$ adb shell "setprop persist.demo.hdmirotation landscape"

# for 90/270 degree
$ adb shell "setprop persist.demo.hdmirotation portrait"

finally reboot the device.