Skip to main content
13 votes

A way to get the current resolution size and DPI from the command line/terminal/adb?

In Android versions equipped with wm tool, you can use the commands: adb shell wm size # shows the real size and current size adb shell wm density # shows the real density and current density ...
Firelord's user avatar
  • 25.2k
5 votes

How can I detect my phone's screen resolution?

Since I was not entirely sure if the system information was correct, I simply checked the resolution of a screenshot from my phone. :)
YZN3RF's user avatar
  • 131
5 votes

How can I set a custom screen resolution for my Android TV box?

I had found a similar situation using a TVbox, a was trying to change the resolution to full HD (1920x1080), the solution was: Activate the Android as developer mode on TVBOX, via USB to USB cable ...
Edson J. Friedmann's user avatar
4 votes
Accepted

Can't change screen resolution of Android-x86_64 installed in UEFI mode

Found the solution. Short answer: This line should go in the bootloader for UEFI mode: set gfxpayload=1280x720 Explanation: On x86 systems, the kernel will be booted using the 32-bit boot protocol. ...
Marc.2377's user avatar
  • 494
4 votes
Accepted

How to change font scale from Terminal

This answer from StackOverflow (How to change font size by adb command) provides a solution. The command used to set the font size is: adb shell settings put system font_scale {...
Reddy Lutonadio's user avatar
3 votes

How to stop a website from referring to it's app/play store?

You can open the website in incognito mode. It will not redirect you to the Play Store
jollysen's user avatar
3 votes
Accepted

How to find the screen-size-in-points of a Samsung Galaxy S7

After some more research, I found my answer: 360 x 640, which are the same dimensions as the Galaxy S6, which are the same dimensions as the few preceding Galaxy S models. But I still don't know ...
cag8f's user avatar
  • 151
2 votes

How do I increase the resolution of BlueStacks?

Bluestacks now has built-in options for increasing resolution and DPI, which can reduce blurriness. By default, neither of these are maxed. See https://support.bluestacks.com/hc/en-us/articles/...
Pokylate95's user avatar
2 votes

Android AVD not displaying appropriate scale

I don't launch from the command line, but this question came up while I was trying to solve a similar problem. I eventually solved it by replacing the hw.lcd.density value in the .android/avd/<...
Daniel Carr's user avatar
2 votes

How can I set a custom screen resolution for my Android TV box?

Instead of changing the resolution change the dpi density of the screen. use this command to change the dpi adb shell wm density 240 the lesser dpi the the screen image become tiny and result an ...
aslam's user avatar
  • 21
2 votes
Accepted

How can I change my phone's resolution?

Using adb, no root required Use the command adb shell wm size 720x1280 Using phone, root required Download any Terminal app, such as this one. Type the command su to enter superuser mode, and then ...
SSS's user avatar
  • 499
2 votes

How to choose YouTube resolution using Mobile version (m.youtube.com), not desktop nor app

Had the same problem and just figured it out. I hope the pictures work!
Aspen's user avatar
  • 21
2 votes

Android-x86 7.1 Unidentified video number - HDMI from laptop to TV

OK, I've managed to figure it out, in case anyone was wondering. Instead of booting with a vga=someNumber I used video=LVDS-1:d. This works a treat! :) The only problem with this is would be that it ...
SmellyFox's user avatar
2 votes
Accepted

Offset Android Keyboard

I fixed this by disabling and re enabling the application that was forcing my device in portrait mode. The application I was using was "Set orientation" V1.1.4 from package com.googlecode.eyesfree....
Roel's user avatar
  • 31
2 votes

Force app to fit on screen

After googling for a while I found a solution. Enable adb debugging on the phone and run this command: adb shell dumpsys display | grep mBaseDisplayInfo Find the part that says "density". This is ...
Alistair Buxton's user avatar
2 votes

Bad screen resolution permanently crashes Poco F1

I fixed it* by letting the phone bootloop until fully discharged. I then plugged the phone into the computer and turned the phone on as soon as it charged enough to allow me this. At that point there ...
Mil's user avatar
  • 41
2 votes

How to find the screen-size-in-points of a Samsung Galaxy S7

The metric 360 x 640 is in dp (device-independent pixels) and it is the dimension of the viewport at a 1x base size. This is not the same as the resolution, or physical pixel size. This is because the ...
pixelpusher's user avatar
1 vote
Accepted

How can I set my android x86 UEFI installation resolution to 1920*1080 in my VM?

I solved it! These sources helped me: https://stackoverflow.com/questions/60576471/how-to-set-a-custom-resolution-on-android-x86-in-vmware-player https://groups.google.com/g/android-x86/c/...
Austin Rojers's user avatar
1 vote
Accepted

Web Browser Screen Resolution / ViewPort width

Fixed this by changing the 'Display Size' setting in phone settings to 'Small'.
smistry's user avatar
  • 111
1 vote

Changing Screen resolution on Samsung Tablet S2 or S3

Absolutely, you could try out some accessibility features that serve almost a similar goal (as changing resolution in Windows) You can easily enable large fonts or display scaling under accessibility ...
xavier_fakerat's user avatar
1 vote

How to resize Android screen in VirtualBox with UEFI?

The following steps should resolve the issue, although I can't test on VirtualBox. Temporarily: Upon booting the virtual machine, press F10 once the boot screen appears Press e to edit the boot ...
Marc.2377's user avatar
  • 494
1 vote

How is the screen resolution calculated for phones with curved edges and rounded corners?

Okay I asked ##techsupport on freenode and they answered it. If anyone else is looking for the answer: The resolution specifies a rectangular screen with the same width and height of the screen. ...
rsn's user avatar
  • 173
1 vote

How can I change my phone's resolution?

Since you don't want to use the dpi route, instead you can modify a system property in build.prop file. Navigate to /system/build.prop and find this property name : persist.dash.max.rep.resolution ...
xavier_fakerat's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible