how to use adb to change resolution of device
Asked Answered
R

2

11

I'm trying to change the resolution of devices using following command adb shell wm size 480x800 but after the screen resolution changes I'm getting alert saying "Unfortunately, Touchwiz Home has stopped working"

I'm using Samsung Tab 3.

Many articles are there for solving the problem, but none of them are getting this while changing resolution using abd.

Rosyrot answered 26/11, 2015 at 6:4 Comment(0)
A
11

This happens because of the pixel density of your device and screen size of your device. When you change the resolution of your device to some different resolution, the pixel density might be more according to resolution of the screen. As a result of this icons might fall off the screen, which will cause touch to fail.

Try to tune up the pixel density(give more than 72 and less than 110).

adb shell wm density value_in_pxels

This will help sure.

Achromatic answered 26/11, 2015 at 6:31 Comment(0)
S
24

Alternatively, you can use something like

adb shell wm size 1080x1920

and then

adb shell wm density 390

According to https://www.theandroidsoul.com/change-screen-resolution-adb-android/

Subauricular answered 12/8, 2018 at 10:13 Comment(0)
A
11

This happens because of the pixel density of your device and screen size of your device. When you change the resolution of your device to some different resolution, the pixel density might be more according to resolution of the screen. As a result of this icons might fall off the screen, which will cause touch to fail.

Try to tune up the pixel density(give more than 72 and less than 110).

adb shell wm density value_in_pxels

This will help sure.

Achromatic answered 26/11, 2015 at 6:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.