Frequently Asked Question

How to change Android DPI by using ADB?
Last Updated 3 months ago

1. First of all, you will have to install ADB. The best way to achieve is through using ADB installer.
Download the tool from here. It has all the instructions on how to install ADB.

2. Now Enable USB debugging on your phone; Settings-> Select About Phone -> Locate Build number and tap it 7
times. Head back to the settings page and locate Developers Options -> Enable USB debugging.

3. Now connect your phone to your PC. If you get a notification. Click OK to allow USB debugging for that
computer.

4. Now open command prompt in ADB tool folder.

5. Now you have to check whether your device is connected and ADB can detect it. in order to check,
enter the following code in the command prompt.

C:\adb> adb devices

6. If you see a line of random letters on command prompt then your phone is connected. If nothing
updates on the command prompt. then there is some problem with the connection. Either your phone is
not connected properly. Or its drivers are missing from your PC. Or maybe USB debugging is not
enabled on your phone.

7. Now if your device is detected. Go ahead and change the DPI using the following command. In the
following code, I am changing DPI to 560. Change the value as you want DPI for your phone.

C:\adb>adb shell devices density 560 && adb reboot

Download

Please Wait!

Please wait... it will take a second!