 Like this because it doesn't display right when I try to screen capture it while doing this but we're gonna be messing with the resolution and density of our screen on our phone through the shell using ADB so to get the size of the screen our current resolution and the physical size we're gonna say ADB shell and then we're gonna use WM which I'm assuming stands for window manager Since that's kind of what we're messing with and size and it will give you the physical size So this particular phone its screen size is 720 by 1600 of course You can always ADB shell and then from the ADB shell just type in WM size and it accomplishes the same thing Just whether you want to connect to the shell or just send the signal over. Okay, so now that we have checked the size Let's do that again real quick. Just so we have that in reference. We can also change the size So we're having the same command. We can change the resolution. So let's change it from 720 Let's just do 70 by 1600 and now I have a nice little thin screen and if I was to change it back and go 720 by 1600 let's try 720 by 600 look at that nice little squished down screen I actually even thinks it's portrait now and it moved our stuff over here to the side Let's go even small. Let's go 300 there We go now we got a thin little screen there and we can always go back to the default now as I showed in a previous Video restarting your phone does not reset the values and and most devices You can't ADB in until you log in and it's very very hard to log into your phone When your screen resolution is teeny tiny like that I had to hook up a physical keyboard to log into my device and then ADB and to reset the screen Oh also, so if we were to change the screen resolution We can also Check the screen resolution again a screen size by running this command and you'll see not only this time It shows the physical size, which is what the screen is it will tell us what this current resolution is set to So you don't have to worry about forgetting what the default size was because the physical size is that and of course You can always go back to that by running this command now That is the resolution. Let's talk about density density is like the DPI how dense the images We can get the default by running ADB shell again WM and this understatement density and it will give us the value in this particular case It's seven or sorry 280 and of course just like the size command we can do the same type of command Let's change the density to 128 and as you can see everything got more dense our icons are smaller our clock is smaller Our widgets are smaller and we can go even smaller Let's go 80 and it just gets a little smaller if you try to go really low though Let's say 50 at least on this device. It's telling you the density must be equal to or greater than 72 So that's as dense as we can go and you have these teeny tiny Icons just like if you were to turn the resolution way up on the desktop machine We can also go the other way and make icons and everything much bigger So let's go a default was 280. Let's go 572 and now I've got huge icons and clocks and widgets and buttons down here So I'm sure there's settings on the phone to do this But this is how you do it from the shell and of course we can always go back to what the default was And actually let me see something real quick if I do this Okay, so the physical density again if you run the command to check what it is It will tell you what the physical density is and so you know what the default is so you can always go back to it We've overwritten it so we can go now go back to the default density and we're at the default resolution And that is how you change the resolution and density of your screen through the shell using adb Thank you for watching. Please visit films by chris.com. That's chris at the K There's a link in the description as always. I thank you for watching and I hope that you have a great day