Edge2 Android HDMI 1920x510

Which system do you use? Android, Ubuntu, OOWOW or others?

Android

Which version of system do you use? Khadas official images, self built images, or others?

Khadas official images

Please describe your issue below:

Hello,
I want connect Edge2(Android) to a touch monitor 1920x510@59.38Hz.
When I open Android settings > Display > HDMI > Resolution :
There are only two options

  1. Auto
  2. 1280x720@60

How can I change to 1920x510?
Please help me and appreciate in advance.
Thank you

Post a console log of your issue below:

@TheoJo 1920x510 is a special resolution. This special resolution needs to be added. Need to obtain the specific timing of 1920x510 parsed by the edid. please execute the following command and send me the generated file.

cat sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid > /data/edid.bin

@goenjoy
Thank you for helping me.

I tried that command, but the result bin file was empty.
I did like this :

adb root & adb remount
adb shell
cat sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid > /data/edid.bin
cd /data
ls -al

then the “edid.bin” exist but empty.

Can you guide me what should I do?
Currently this device recognized as 1920x1080 mode.

@TheoJo Execute the following command to see:

adb shell "find sys -iname edid"

@goenjoy

when I execute command : adb shell “find sys -iname edid”, result is

(base) KRNPLT006:hdmi_debug theojo$ adb shell “find sys -iname edid”
find: ‘sys/kernel/debug/pinctrl’: loop detected
sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid
sys/devices/platform/display-subsystem/drm/card0/card0-Writeback-1/edid
sys/devices/platform/display-subsystem/drm/card0/card0-DP-1/edid

And I executed,
adb shell cat sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid > /data/edid.bin
then, the result is
kedge2:/ # cat sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid
������t�
"!�3x
F�WU�(
PT�1@&q�X�’��0f!V�Q��F�3���KQ
�ESTECOM

: bin file uploaded here(https://drive.google.com/file/d/1LFlpVfxnA1A3T_i8oXoD2fhMlxqP6Y0-/view?usp=sharing)

One more information to help understanding issue, when I changed Edge2 OS to Ubuntu Linux, this display working well.
But I have to use Android on Edge2.

Thank you.

@TheoJo edge2-android-13-v231108-1920x510-test.img - Google Drive

1 Like

@goenjoy

Thank you for release new img file.
I applied it, and then I can see that the monitor shows HDMI Connected as 1920x510@59.

But, actual display is pressed down as seen below :

I mean the system currently recognize its display size is 1920x1080 and maps to 1920x510.
When I checked window size :

adb shell wm size
Physical size: 1920x1080

So modified to

adb shell wm size 1920x510
adb shell wm size
Physical size: 1920x1080
Override size: 1920x510

When I modified vendor/build.prop by adding like this

adb root
adb remount
adb shell setprop persist.sys.root_access 3
adb shell
busybox vi vendor/build.prop

persist.vendor.framebuffer.main=1920x510@59

adb reboot

but the result is same.

Could you advise me how I can fix this physical size change?
Thanks.

@TheoJo I will handle it for you tomorrow and upload the new firmware to you.

@TheoJo edge2-android-13-v231113-1920x510-test.img - Google Drive

Hi @goenjoy .

This new version image is working correctly in my display device as below:

Thank you so much for your help.
What a great job for me and my team :grin:

BR