Change Android Screen Resolution


#1

How do we change the screen resolution on Android to, for example, work correctly with different screen sizes (specifically this one)?


#2

I was able to do it using adb shell wm size <resolution>, e.g. adb shell wm size 800x480, but someone else got an error (see link below). Maybe he/she specified an unsupported resolution for his/her tv/monitor.

http://www.96boards.org/forums/topic/how-to-set-resolution-to-800x480/


#3

The ADV7535 has not been tested at every possible resolution, the ADV7535 has been tested with the following resolutions, although other resolutions are possible.


      640 x 480p-60Hz
      640 x 480p-75Hz
      720 x 480p-60Hz
      720 x 576p-50Hz
      800 x 600p-60Hz
      800 x 600p-75Hz
      1024 x 576p-60Hz
      1024 x 768p-60Hz
      1024 x 768p-75Hz
      1152 x 864p-75Hz
      1280 x 720p-50Hz
      1280 x 720p-60Hz
      1280 x 1024p-60Hz
      1280 x 1024p-75Hz
      1600 x 900p-60Hz
      1920 x 1080p-24Hz
      1920 x 1080p-25Hz
      1920 x 1080p-30Hz
      1920 x 1080p-50Hz
      1920 x 1080p-60Hz

However this doesn’t mean the that SW has been set up to generate all of these resolutions and unfortunately I don’t have monitors that will run all of these resolutions so I can’t test them myself on the latest builds. YMMV.

You can also adjust the display size for TVs that overscan the display. Some TVs have a setting to turn off overscan, but for those that don’t you can do this:


adb shell wm overscan 15,15,15,15 # will adjust for overscan by 15 pixels at left, top, right, bottom

Please note the overscan settings are for the apps that go through the android WindowManager. While most of the apps do use the WindowManager, there are some apps that use the screen directly, like XBMC. These apps may have their own overscan settings. On XBMC the overscan calibration is at - Settings -> System -> Video Output -> Video Calibration, you need to click a corner using a mouse to select the overscan calibration and use the keyboard up/down/left/right screen to resize the display overscan.

Full Disclosure: I am an employee of Qualcomm Canada, opinions I have expressed in this or any other post may not reflect the opinions of my employer.


#4

Hi,

I need the driver for ADV7535, where can I get it?

Thanks,
Kiran


#5

Hi Kiran:

Which operating system are you running? Debian or Android or Win10-IOT? Note the AVD7535 and the ADV7533 are very similar chips, the 7535 is designed to operate at 1080p60 whereas the 7533 does operate at 1080p60, but was not designed to operate at this speed.

The ‘drivers’ are in the source code.
Debian: look in drivers/gpu/drm/i2c/adv7511.c, arch/arm64/boot/dts/qcom/apq8016-sbc-soc-pins.dtsi, and arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi.

Android: look in kernel/drivers/video/msm/mdss/adv7533_dsi2hdmi.c, kernel/drivers/video/msm/msm_dba/adv7533.c, kernel/arch/arm/boot/dts/qcom/apq8016-sbc.dtsi, kernel/arch/arm64/configs/msm_defconfig, and kernel/Documentation/devicetree/bindings/fb/adv7533.txt

Full Disclosure: I am an employee of Qualcomm Canada, opinions I have expressed in this or any other post may not reflect the opinions of my employer.


#6

Hi,

Thanks a lot for your response. I have a question on ADV7533 in dragonboard, does it have display enabled in bootloader? In the image I built(android_board_support_package_vla.br_.1.2.4-01810-8×16.0-2), I am not able to see display in the bootloader stage.


#7

I am also facing the same problem as kiran.In the image i built (linux_android_board_support_package_vla.br.1.2.7-01010-8x16.0-4),i am not able to see display in the bootloader stage i checked on serial console.