How to change the DPI screen on Xiaomi: 3 proven ways (without root)

The pixel density (DPI) on Xiaomiโ€™s screen determines how large or small the interface elements โ€” icons, text, buttons โ€” will look. By default, the system sets the value optimal for the physical size of the display, but sometimes users want to change it: to fit more information on the screen, improve readability or adapt the interface to their needs. For example, with DPI = 480, the icons will be larger than with DPI = 320, where more shortcuts will fit on the desktop.

In this article, we will discuss three working methods of change. DPI on smartphones Xiaomi, Redmi and POCO (including models MIUI 14/15 and HyperOS: through the developer settings, using ADB-Importantly, not all methods are equally safe โ€” some can cause interface failures, so we will describe the risks in detail and give recommendations for minimizing them.

If youโ€™ve never changed DPI before, start with the first section, which explains what pixel density is and how it affects display.

What is DPI and why change it to Xiaomi?

DPI (dots per inch) is the number of pixels per inch of a screen. The higher the value, the smaller the interface elements, and vice versa.

  • ๐Ÿ“ฑ Low. DPI (320-400: large icons and text, suitable for visually impaired or small screens.
  • ๐Ÿ–ฅ๏ธ Average. DPI (420-480: Balance between readability and density (standard for most smartphones).
  • ๐Ÿ” High. DPI (500+): maximum detail, but the text may become too small.

On Xiaomi, the DPI change is relevant in several cases:

  • ๐Ÿ”„ Adaptation to large screens (for example, on Xiaomi 13 Ultra or POCO F5 Pro where standard settings make icons too large.
  • ๐Ÿ‘“ Improved readability for users with vision problems.
  • ๐ŸŽฎ Optimization for games where it is important to see more interface elements at the same time.
  • ๐Ÿ› ๏ธ Testing applications where different resolutions are emulated.

However, there are risks:

โš ๏ธ Note: Some applications (such as banking or gaming) may refuse to run when non-standard DPI, You're going to get an error called "Unsupported screen resolution," and then you're going to have to go back to the factory settings.

๐Ÿ“Š Why do you want to change? DPI Xiaomi?
Increase the density of information on the screen
Improve the readability of the text
Adapt to large/small screens
Application testing
Another option

Method 1: Change the DPI through the developer settings

The easiest and safest method is to use hidden settings for developers, which works on all Xiaomi smartphones with MIUI 12-15 and HyperOS, does not require root rights or PC connection. However, there is a limitation: you can only choose from predefined values (usually 320, 360, 400, 480 DPI).

Steps:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone. Press 7 times on MIUI Version (or HyperOS Build Number) and it will be notified, "You've become a developer!"

Settings โ†’ Additional โ†’ For Developers

Settings โ†’ System โ†’ Advanced settings โ†’ For developers

HyperOS

Minimum width

Screen density

Redmi Note 12 Pro+

420 DPI

480 DPI

Restart the device so that the changes take effect.

What if there is no โ€œscreen densityโ€ item?

If the developer does not have a DPI option
On some MIUI firmware (especially in the Chinese region), this item is hidden, in which case use the ADB method or check if it is disabled through manufacturer policies (for example, on corporate devices).

โ˜‘๏ธ Preparation for change DPI through the developer's settings

Done: 0 / 4

Method 2: Change DPI through ADB (without root)

If the developerโ€™s settings do not have the right item or require an accurate setup DPI (for example, 440 opportunistic 400/480), can be used ADB-This method does not require root rights, but you will need a computer with installed Xiaomi drivers and tools. ADB.

Step-by-step:

  1. Download and install Platform Tools (includes ADB) on PC.
  2. Turn on USB debugging on your smartphone: Go to Settings โ†’ For developers. Activate the USB debugging switch. Connect your phone to your PC and confirm trust in your computer.

Command line.

Terminal

ADB

adb devices

The serial number of your device should appear.

adb shell wm density

The answer is: Physical density: 420.

440

adb shell wm density 440
adb reboot

Important nuances:

  • ๐Ÿ”„ Changes through ADB not permanent - after resetting settings or updating the firmware DPI go back to standard.
  • ๐Ÿ“ To return the factory settings, use the command: adb shell wm density reset
  • โš ๏ธ Not all applications work correctly with non-standard DPI. For example, SberBank Online or Tinkoff may issue an error called โ€œUnsupported permission".

๐Ÿ’ก

If the DPI over ADB is changed and the interface is not displayed correctly (for example, the keyboard moves over the edge of the screen), try a multiple of 40 (for example, 400, 440, 480).

Method 3: Applications for changing DPI (with and without root)

If the first two methods don't work, you can use third-party applications, and they fall into two categories:

  1. Rootless: Work through ADB or emulation of developer settings (e.g. App Settings in the Xposed Framework, but requires Magisk).
  2. Root rights: allow you to change DPI globally or for individual applications (e.g. BuildProp Editor).

Top.-3 change-over DPI:

AnnexNeed root?FeaturesReference
App Settings (Xposed)โœ… Yes.Allows you to change the DPI for individual applicationsXposed Repo
BuildProp Editorโœ… Yes.Editing the system file build.propGoogle Play
SecondScreenโŒ No.Emulates a second screen with a different DPI (requires ADB)GitHub

How to use BuildProp Editor (for root):

  1. Install the application and provide root access.
  2. Find a line. ro.sf.lcd_density.
  3. Change the value to the desired one (for example, 440).
  4. Save the changes and restart the device.

โš ๏ธ Attention: Editing build.prop without backup can lead to bootloop ( looped reboot). TWRP Or OrangeFox.

๐Ÿ’ก

Applications without root (such as SecondScreen) are less reliable and can run unstable, and ADB or root solutions are better for constant change.

How to Get a Standard DPI Back on Xiaomi

If after experimenting with DPI, the interface began to display incorrectly or applications stopped working, return the factory settings:

Method 1: Through the Developer's Settings

  • Open the Settings. โ†’ For developers.
  • Find the minimum width or screen density.
  • Select the default value or enter the standard for your model (usually 420-480).
  • Reset the device.

Method 2: Through ADB

  1. Connect your phone to your PC and open the command line.
  2. Enter adb shell wm density reset
  3. Reboot the device: adb reboot

Method 3: Resetting settings (if nothing helps):

  • Go to Settings โ†’ System โ†’ Resetting settings.
  • Select Reset all settings (does not delete files, only returns settings to factory settings).

Some Xiaomi models (such as the Xiaomi 12T or Redmi K60) may require re-activation of the developer mode after resetting the DPI.

Frequent problems and their solutions

When changing the DPI to Xiaomi, the following errors may occur:

1. MIUI interface is displayed incorrectly

  • ๐Ÿ”น Problem: Icons on the desktop move, text is cropped.
  • ๐Ÿ”ง Solution: Try the value DPI, multiple of 40 (e.g. 400, 440, 480). If it doesn't work, return the standard value.

2.Applications are not launched

  • ๐Ÿ”น Problem: Banking applications (SberBank, Tinkoff) or games (PUBG Mobile, Genshin Impact issue error "Unsupported permission".
  • ๐Ÿ”ง Solution: For individual applications, use App Settings (requires root). DPI globally.

3. The keyboard does not fit on the screen

  • ๐Ÿ”น Problem: When you type in text, the keyboard (Gboard, SwiftKey) moves over the edge of the screen.
  • ๐Ÿ”ง Solution: Reduce DPI 20โ€“40 units or enable the option โ€œStretch to the full screenโ€ in the keyboard settings".

4.After the MIUI update, the DPI dropped

  • ๐Ÿ”น Problem: After installing the new version MIUI HyperOS pixel density is back to standard.
  • ๐Ÿ”ง Solution: Repeat the settings through ADB Or design settings. Use root apps to save permanently.

FAQ: Answers to Frequent Questions

๐Ÿ” What's the optimal value? DPI for my Xiaomi?
Standard values for popular models: Xiaomi 13/14 Pro: 480-520 DPI (depending on screen size). Redmi Note 12 Pro+: 420 DPI. POCO F5: 400 DPI. Xiaomi Pad 6: 320-360 DPI (due to the large screen). To test, start with 440 DPI and adjust to your needs.
โš ๏ธ Can I break my phone by changing it? DPI?
No, changing the DPI won't hurt the hardware. However, there may be software failures: Incorrect display of the interface, some applications fail to start, loop animations (rarely) All changes are reversible - just return the standard value or reset the settings.
๐Ÿ“ฑ How to change DPI single application only?
There are two ways: With root: Use App Settings Xposed/Magisk). No root: Install SecondScreen and run the app in the "second screen" with the desired DPI. Instagram: Adb shell am start -n com.instagram.android/com.instagram.mainactivity --display 1 (You need to create a second screen with another screen. DPI via SecondScreen.)
๐Ÿ”„ After the change DPI The sound is missing from the games?
This problem is related to the incorrect operation of audio drivers at non-standard resolution. DPI. Update the firmware to the latest version MIUI/HyperOS. Turn off the option "Disable audio through" in the developer settings HDMI" (if).
๐Ÿ› ๏ธ Can we change? DPI Xiaomi without a computer?
Yes, but with limitations: Developer settings (predefined values only); applications like BuildProp Editor (root required); PCs are essential for fine-tuning (e.g. 450 DPI); ADB is essential.