HDMI Resolutions testing

Hi,davemf
You can follow below steps to add support for custom(800x480,1024x768,1280x800) defaultUI
This is only for android mmallow
##steps
1). Download the patch

The file add-support-for-custom-defaultUI.patch is android patch
The file hdmi_custom_resolution.patch is kernel patch

2). Apply the patch

$ cp add-support-for-custom-defaultUI.patch <path-to-your-project>/vendor/amlogic/frameworks
$ cd  <path-to-your-project>/vendor/amlogic/frameworks
$ git apply add-support-for-custom-defaultUI.patch
$ cp hdmi_custom_resolution.patch  <path-to-your-project>/common
$ cd <path-to-your-project>/common
$ git apply hdmi_custom_resolution.patch

3). Modify the file ‘device/khadas/kvim/files/mesondisplay.cfg’

  • 1024x768 UI
--   MBOX meson8m2 1080p
++   MBOX meson8m2 1024x768
  • 1280x800 UI
--   MBOX meson8m2 1080p
++   MBOX meson8m2 1280x800
  • 800x480 UI
--   MBOX meson8m2 1080p
++   MBOX meson8m2 800x480

4). Rebuild your Rom

$ make installclean -j8
$ make otapackage -j8
4 Likes