How to Change Screen Resolution (DPI) on Android
In this article
You can change the screen resolution and DPI on Android only if your device is rooted or you use ADB with USB debugging enabled. There is no standard user-facing setting for this on most phones. The practical method is to connect the phone to a computer, run a single ADB command, and reboot. This guide walks through the safe, reversible way to do it, what each term means, and how to undo a change that makes the screen unusable.
On Android, “resolution” and “DPI” are related but different. Resolution is the pixel grid (for example 1080×2400). DPI (dots per inch, also called density) is how large interface elements appear at that resolution. Changing DPI makes text and buttons bigger or smaller without changing the pixel count. Changing resolution lowers or raises the pixel count, which affects performance and battery. Most phones do not expose either as a normal setting, so the steps below use Android’s built-in ADB interface, which is an official developer tool.
What You'll Need
- A Windows, macOS, or Linux computer with a USB cable that supports data transfer (not a charge-only cable).
- USB debugging enabled on the Android phone. This is in Settings > About phone; tap Build number seven times to unlock Developer options, then open Settings > System > Developer options and turn on USB debugging. Labels can differ slightly by manufacturer and Android version.
- Android Platform Tools (the official ADB package) installed on the computer. Download it from the official Android developer site.
- The phone’s current DPI and resolution written down so you can revert. You can read them with the ADB command shown in Step 3.
- Optional but recommended: a backup of important data. Changing DPI does not erase data, but a bad value can make the screen hard to navigate until you revert it.
Step-by-Step
- Enable Developer options and USB debugging. Open Settings > About phone and tap Build number seven times. Then go to Settings > System > Developer options and enable USB debugging. On some phones the path is Settings > About device or Settings > Software information; the wording varies by manufacturer.
- Connect the phone to the computer. Use a data-capable USB cable. When the phone shows “Allow USB debugging?”, tap Allow. If it does not appear, unplug and replug the cable, or revoke USB debugging authorizations in Developer options and try again.
- Open a terminal or command prompt in the Platform Tools folder. On Windows, open the folder where you extracted Platform Tools, click the address bar, type
cmd, and press Enter. On macOS or Linux, open Terminal andcdinto that folder. Runadb devices. You should see your device serial number followed by “device”. If it says “unauthorized”, check the phone screen for the authorization prompt. - Record your current values. Run
adb shell wm sizeto see the current resolution, andadb shell wm densityto see the current DPI. Write both down exactly. These are your restore values. - Change the DPI. Run
adb shell wm density 420, replacing 420 with your desired value. Lower numbers make everything smaller; higher numbers make everything larger. Typical phone values are between 320 and 480, but the safe range depends on your screen. Change in small steps, such as 20 at a time, and check the result before going further. - Change the resolution (optional). Run
adb shell wm size 1080x2400, replacing the numbers with your target resolution. Keep the same aspect ratio as your native screen to avoid stretching. For example, if your phone is 1080×2400, a lower value like 720×1600 keeps the same ratio. - Reboot the phone. Some changes apply immediately, but a reboot makes the new DPI and resolution take effect cleanly across all apps. After rebooting, check that text, icons, and the keyboard are usable.
- Revert if needed. Run
adb shell wm density resetandadb shell wm size resetto return to the factory values, then reboot. You can also set the exact values you recorded in Step 4.
Common Mistakes
- Using a charge-only USB cable. The computer will not see the phone. Try a different cable before troubleshooting software.
- Skipping the backup of current values. Without the original DPI and resolution, reverting means guessing or using
reset, which works but may not match a manufacturer’s custom default. - Changing DPI by a huge amount at once. Jumping from 400 to 200 can make the screen nearly unusable and the on-screen keyboard too small to type with. Change in small increments.
- Changing resolution without keeping the aspect ratio. A mismatched ratio stretches or letterboxes the interface and can break app layouts.
- Forgetting that some apps ignore DPI changes. Apps that hard-code their layout may look the same or break. This is an app limitation, not a sign the command failed.
- Assuming the setting is permanent across factory resets. A factory reset returns DPI and resolution to the manufacturer’s defaults.
Tips
- Change one value at a time. Adjust DPI first, reboot, and check. Then adjust resolution if you still want to.
- Keep a note of the exact commands you used so you can reverse them quickly.
- If you only want larger text, try the built-in Settings > Display > Font size and Display size options first. They are safer and require no computer.
- Lowering resolution can improve performance in games on older phones, but it also makes the image softer. Test with one game before committing.
- Use the official Android Platform Tools package rather than third-party ADB bundles, which may be outdated or modified.
Troubleshooting
The screen is too small or too large to use. Reconnect to the computer and run adb shell wm density reset and adb shell wm size reset, then reboot. If ADB no longer connects, boot into safe mode or use the phone’s recovery options only as a last resort, since a factory reset erases all data.
ADB shows “unauthorized” or no device. Unlock the phone, watch for the authorization prompt, and tap Allow. If it never appears, go to Developer options, tap Revoke USB debugging authorizations, replug the cable, and try adb devices again.
The command runs but nothing changes. Reboot the phone. Some manufacturers apply display changes only after a restart. Also confirm you are running the command against the correct device if more than one is connected.
Apps look broken after the change. Revert DPI and resolution to the recorded values. If only one app misbehaves, clear its cache in Settings > Apps > [app] > Storage, but note that clearing data removes that app’s local settings.
You want to undo everything. Run both reset commands and reboot. This restores the manufacturer’s defaults without erasing personal data.
Frequently Asked Questions
Can I change DPI on Android without a computer?
Not through a standard setting on most phones. A few manufacturer skins include a display size slider, but true DPI changes require ADB or root. Rooting is not recommended for most users because it weakens security and can void warranties.
Does changing DPI affect battery life or performance?
DPI itself has little effect. Resolution has a larger effect: rendering fewer pixels can reduce GPU load and improve battery life slightly, while rendering more pixels does the opposite.
Will changing resolution or DPI erase my data?
No. These ADB commands change display settings only. A factory reset, which you might use as a last resort, does erase all data, so avoid it unless nothing else works.
Why do some apps ignore the new DPI?
Apps can define their own layout behavior and may not scale with system density. That is normal and not a fault of the command.
What DPI value should I use?
Start from your current value and change by about 20 at a time. There is no universal number because it depends on screen size and personal preference. Stop when text and touch targets feel comfortable.
Does this work on tablets and TVs?
The same ADB commands generally work on Android tablets. Android TV devices vary, and some do not expose the same display commands, so check your device’s developer documentation before trying.