how to use adb to change resolution of device

PJ1405 picture PJ1405 · Nov 26, 2015 · Viewed 25.3k times · Source

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.

Answer

Boleslovas Švitrigaila picture Boleslovas Švitrigaila · Aug 12, 2018

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/