Change display resoultion for android

13 2405
12458  
1: I do NOT use a HDMI to VGA adapter, I use a HDMI to HDMI cable
2: tried it on both my monitor and my TV
3:1024x600@59fps
4:yes and it still would not work
and yes i still know it CNY

OK. Now I have discuss with the Android developers, and know the reason why you see 1024*600.
1. v1601 version now is really use the laster display structure with different buffer for LCD and HDMI, 1024*600 for LCD (buffer 1) and 720P for HDMI by default (buffer 2).  So now HDMI is not scaled by 1024*600, it is a independent 720P (also you can change to 1080P in the source code).
2. But it set the LCD as the master display device in v1601, so when you check the display resolution under command line, it will output the information of the master display LCD not the HDMI. So it make you confused.
3. We can modify the DTS file from the source code to set the HDMI to the master device, and also set to 1080P.

We will change the HDMI to the master display device @720P. And in future try to provide a interface in the Setting to change the resolution.

12458  
tony_zhang replied at Feb 16, 2016 16:49
OK. Now I have discuss with the Android developers, and know the reason why you see 1024*600.
1. v16 ...

Could you please tell me how to modify the dts file and where to find it

1. Download the source code and compiling the source code according to http://wiki.lemaker.org/LeMaker_Guitar:How_to_use_Android_SDK

2. Location:
Kernel: https://github.com/LeMaker/andro ... ar_lcd_1024x600.dts
Uboot: https://github.com/LeMaker/andro ... ar_lcd_1024x600.dts

change the
  1. framebuffer {
  2.                 compatible = "actions,framebuffer";
  3.                 def_display  = "lcd";
  4.         };
Copy the Code


to
  1. def_display  = "hdmi";
Copy the Code

You have to log in before you can reply Login | Sign Up

Points Rules