Hello. Installed the Android firmware offered by khadas
I use khadas captain and TS050 screen. The problem is that when rotate the screen, the following happens:
The touchscreen adjusts to rotation and the sensor works in vertical mode.
The screen still displays the interface horizontally and stretches the image, as if it considers the horizontal screen to be vertical.
However, when connected to a monitor via HDMI, the screen flips and scales correctly.
Hi @technicalMi ,
Because the TS050 screen is physically vertical, the screen display has been stretched.
What is the firmware version number you are currently using?
I tried to use different firmware offered by the official Khadas website in the section “/products/edge1/firmware/android/”.
I also installed the firmware, which was assembled according to the instructions on the same official website.
But in each case the firmware with Android 10.
@technicalMi Please follow the steps below to first pull the build.prop file through adb, remove persist.sys.app.rotation=force_1and, then push this file in, and finally restart the machine.
C:\Users\25348>adb root && adb remount
adbd is already running as root
remount succeeded
C:\Users\25348>adb pull vendor/build.prop
remove persist.sys.app.rotation=force_1and in the build.prop file.
adding persist.demo.hdmirotates=true attribute in the build.prop file
I followed your advice. I followed each step and successfully changed build.prop and rebooted the device. However, this is not quite what I need. The screen really stopped scaling, but the touchpad switches to a different screen orientation.
Tell me, is it possible to make the screen orientation exclusively vertical? That is, so that the interface is only in vertical mode, and so that the sensor also works in vertical mode?
Tell me, is it possible to specify the vertical screen orientation by default in the source firmware files before assembling? This is necessary so that every time after reflashing the device you don’t have to change build.prop via adb.
I can’t say for sure, but there could be many. In addition, we often reinstall the firmware on one device. It’s not too difficult to rewrite build.prop every time, but I would like to set vertical orientation as the default orientation for the firmware. Is it possible to do this?
@technicalMi We can make the startup default vertical screen through the configuration file, but the touch is not accurate. So it is necessary to modify the touch driver code to achieve it. Please contact the business department.