The pixel density (DPI) determines how many dots fit per inch of your Xiaomi screen. This parameter determines the size of interface elements: icons, fonts, buttons. Too high makes the image small, and low makes the image blurry and large. In this article, we will discuss how to change the DPI on Xiaomi by official and hidden methods, what values are optimal for different models, and why after a change in scale, some applications may not work correctly.
By default, MIUI sets the standard DPI value depending on the screen diagonal and resolution. For example, for the Redmi Note 12 Pro+ with a resolution of 1080ร2400, it is ~440 DPI, and for the POCO F5 it is ~400 DPI. However, users often want to zoom down to accommodate more information, or zoom it up for ease of reading. It is important to understand that changing the DPI is not just a zoom, but a recalculation of all interface elements that can affect performance and compatibility with applications.
What is DPI and why change it to Xiaomi?
DPI (dots per inch) is the number of pixels per inch of screen. The higher the value, the smaller the interface elements, but the clearer the picture. On Xiaomi smartphones, this parameter affects:
- ๐ฑ Size of icons and the distance between them on the desktop.
- ๐ค Fonts in the menu, browser and applications.
- ๐ฎ Control elements in games (buttons, text prompts).
- ๐ Density of information on the screen (for example, lines in the messenger).
The main reasons to change the DPI are:
- ๐ Poor vision โ zooming in for comfortable reading.
- ๐ฑ Small screen size - reduction DPI, So that more content is placed.
- ๐ฏ Games / applications - optimization of the interface for specific software.
- ๐ง Experiments with customization MIUI.
However, there are risks:
โ ๏ธ Note: Some applications (e.g. banking or with) DRM-protection) may block work in non-standard DPI, Considering this a sign of root rights or system modification.
Official method: changing the scale in the MIUI settings
The safest method is to use the built-in MIUI settings. It doesn't change the DPI directly, but it allows you to zoom in or out of the interface:
- Open the Settings โ Screen.
- Select Text Size and Display (in older versions โ Screen Size).
- Move the text size slider (from Small to Very Large).
- Click the Element Size and select Default, Compact or Enlarged.
This method works on all Xiaomi models, including the Redmi 13C, POCO X6 Pro and Mi 14 Ultra, but has limitations:
- โ Doesn't change the real meaning. DPI, It's just scaling up the elements.
- โ Not all applications support dynamic resizing.
- โ This can lead to text cropping in some menus.
๐ก
If after zooming in some apps, some apps donโt show up correctly, try clearing their cache in Settings โ Applications โ Application Management.
Change DPI through ADB (no root rights)
To fine-tune the DPI, youโll need ADB (Android Debug Bridge) โ a method that works on all Xiaomi smartphones with MIUI 12-15, but requires a connection to a computer. Importantly, after changing the DPI through ADB, some system applications (such as Mi Fit or Mi Pay) may stop working before resetting.
Instructions:
- Enable Developer Mode: Go to Settings โ About Phone. Click 7 times on MIUI Version. Go back to Settings โ Additional โ Developer. Activate USB Debugging.
Connect the phone to the PC and confirm the debugging permission.
Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell wm density [value DPI] && adb reboot]Examples of values:
| Xiaomi model | Standard DPI | Recommended range |
|---|---|---|
| Redmi Note 12 Pro+ | 440 | 380โ480 |
| POCO F5 | 400 | 350โ440 |
| Mi 13 Ultra | 560 | 480โ600 |
| Redmi A2+ | 320 | 280โ360 |
To return the standard value, use the command:
adb shell wm density resetโ ๏ธ Attention: After the change DPI through ADB Some apps (like Google Pay or Netflix) may have a "Device not certified" error, which is due to system integrity checks.
Download ADB Platform Tools from Google |
Enable debugging over USB in the developer settings |
Connect your phone to your PC with the original cable |
Check that drivers are installed (the `adb devices` command must show the serial number)|
Backup of important data
-->
Change DPI with applications (requires root)
If your Xiaomi has root rights installed, you can use third-party utilities to change DPI without ADB. Popular applications:
- ๐ฑ BuildProp Editor โ edits the build.prop file, where the standard value is written DPI.
- ๐ง DPI Changer โ allows you to change the pixel density for individual applications.
- ๐จ TexDroider DPI โ Supports profiles for different permissions.
Instructions for BuildProp Editor:
- Open the app and find the line. ro.sf.lcd_density.
- Change the value to the desired one (for example, from 440 to 400).
- Save the changes and restart the phone.
Advantages of the method:
- โ It does not require a PC connection.
- โ Different values can be set for different applications.
Disadvantages:
- โ Requires root rights, which deprives the guarantee.
- โ Risk of โbrickingโ with incorrect changes build.prop.
What if the DPI screen turned black?
Optimal DPI values for popular Xiaomi models
The choice of DPI depends on the screen resolution and your preferences, and the recommended values for different scenarios are as follows:
| Model | Standard DPI | Minimum (maximum content) | Optimal (balance) | Maximum (large text) |
|---|---|---|---|---|
| Redmi Note 13 Pro+ (1220ร2712) | 480 | 400 | 440 | 520 |
| POCO X6 Pro (1220ร2712) | 440 | 380 | 420 | 480 |
| Mi 14 (1200ร2670) | 480 | 420 | 460 | 520 |
| Redmi A3 (720ร1600) | 320 | 280 | 300 | 360 |
Selection advice:
- ๐ For reading: Increase DPI 20โ40 from standard (for example, 400 to 440).
- ๐ฎ For games: Reduce by 20โ60 (from 480 to 420) to make the controls larger.
- ๐ฑ For multitasking: Minimum value (e.g. 380) will allow more windows to be placed in split screen mode.
Standard (not changed) |
Reduced (more content on the screen)|
Increased (large text)|
I'm experimenting with different meanings.
-->
Problems after DPI changes and how to fix them
Changing the DPI can cause MIUI or application failures, and consider typical problems and solutions:
- ๐ซ Applications do not run: Some programs (for example, SberBank Online or Tinkoff) block work when non-standard DPI. Solution: Return the standard value with the command adb shell wm density reset. Use the Island app (requires root) to isolate problem programs with the original settings DPI.
- ๐ Interface. MIUI If: After the change, if DPI missing icons or menu displayed incorrectly: Clear cache MIUI In Settings โ Annexes โ Application management โ System applications โ Launcher.Reboot the phone.
- ๐ฎ Games Lay: Incorrect meaning DPI may increase the burden on GPU. Solution: Set a value multiple of 80 (e.g. 400, 480). In the game settings, disable interface scaling.
โ ๏ธ Note: If after the change DPI gestics stopped working MIUI (For example, swipe to return, return the standard value or reinstall Launcher through Settings. โ Annexes.
๐ก
Before changing the DPI via ADB or root, back up your data. Some system applications (such as Mi Account) may require re-authorization after resetting.