How to set vertical display TS050 screen on EDGE-V?

Hello everybody, this is my screen, it is being displayed horizontally, i want it display default is vertical. Please help me. Thank you.

[image]

1 Like

@minhpv, can’t you can go to the settings and set the display orientation ?

@Electr1 i want set default in source android

Are asking about the source code modification ?

@minhpv @Terry @goenjoy Please help with this problem.

@minhpv F_PRIMARY_DISPLAY_ORIENTATION

hello @goenjoy, i’m using Android9.0,
I did not find SF_PRIMARY_DISPLAY_ORIENTATION in device/rockchip/rk3399/BoardConfig.mk, thank

@minhpv Then you can add it. In addition, you should also modify this place:

hlm@Server:/users/hlm/7_Edge/device/rockchip/rk3399$ git diff
diff --git a/manifest.xml b/manifest.xml
index 80f4ef0..b91ae83 100755
--- a/manifest.xml
+++ b/manifest.xml
@@ -29,7 +29,7 @@
     <hal format="hidl">
         <name>android.hardware.configstore</name>
         <transport>hwbinder</transport>
-        <version>1.0</version>
+        <version>1.1</version>
1 Like

@goenjoy , have followed your instructions but not sucess. Result shown in link. (https://drive.google.com/file/d/1fTEwu7llzkMpQoF9wtPO5YxLIPnJF2Rs/view?usp=sharing)

I saw vertical display screen in the video on your YouTube channel.

@minhpv Oh, because SDK is a dual screen display, you have to modify it like this:

1 Like

@goenjoy thank for help me. The screen is distorted after restarting, but when the screen is rotated it returns to normal. Result shown in link (https://drive.google.com/file/d/1HM1lz5W9NAfq1rb-OzcONBCPeydpuGf9/view?usp=sharing).

Do you need HDMI display? If not, modify it as follows. The previous changes were undone:
device\rockchip\rk3399\rk3399.mk

1 Like