The pixel density (DPI) on the screen of a Xiaomi smartphone determines how large or small the interface elements will be displayed: icons, fonts, buttons. By default, the manufacturer sets the optimal value for each device, but sometimes users want to adjust it โ for example, to increase text for ease of reading or, conversely, to zoom in so that more information is placed on the screen.
In this article, we will discuss three working methods for changing DPI on Xiaomi, Redmi and POCO smartphones running MIUI 14/15 and the new HyperOS firmware. You will learn how to do this through the developer settings, with ADB or specialized applications, and what risks can arise if you do not configure correctly. Importantly, changing the DPI affects the display of all applications, so we recommend backing up the data before experimenting.
What is DPI and why change it to Xiaomi?
DPI (dots per inch) is the number of pixels per inch of a screen that determines the scale of the display of interface elements. The higher the value, the smaller the icons and text, and vice versa.
- ๐ฑ 320 DPI โ large interface (comfortable for the elderly or visually impaired).
- ๐ฑ 400โ480 DPI โ standard value for most Xiaomi smartphones.
- ๐ฑ 560+ DPI โ ultra-small scale (suitable for large screens, such as Xiaomi 14 Ultra).
Reasons to change DPI:
- ๐ Increase text for comfortable reading without straining eyes.
- ๐ฏ Optimize your workspace โ put more widgets or shortcuts on the home screen.
- ๐ ๏ธ Fix display bugs in some applications (for example, if interface elements are cropped).
- ๐ฎ Set up games โ some emulators (for example, PPSSPP) require specific DPI work-in.
โ ๏ธ Note: Not all applications are properly adapted to the modified DPI. In some cases, you may experience cropping, broken buttons, or display errors, especially banking and hard-to-reference games.
On Xiaomi smartphones, the default DPI value depends on the model and firmware version.
| Smartphone model | Screen resolution | Standard DPI (MIUI/HyperOS) |
|---|---|---|
| Xiaomi 13/14 Pro | 3200ร1440 | 560 |
| Redmi Note 12 Pro+ | 2400ร1080 | 440 |
| POCO F5 | 2400ร1080 | 420 |
| Xiaomi Civi 3 | 2400ร1080 | 400 |
Method 1: Change DPI through Developer Settings
The easiest and safest method is to use the developerโs built-in Settings, which works on all Xiaomi smartphones with MIUI 12 and later, as well as HyperOS. The main advantage is that you do not need to connect to a PC or install third-party applications.
Instructions:
- Activate Developer Mode: Go to Settings โ About Phone. Find the MIUI Version (or HyperOS Version) and tap it 7 times in a row. You will receive a notification: You became a developer!
Settings โ Additional โ For Developers
HyperOS
Settings โ System โ Advanced settings โ For developers
Minimum width (in dp)
MIUI
320โ560
OK.
Reboot your phone to make the changes take effect.
Activate Developer Mode (7 taps according to MIUI/HyperOS)
Backup of important data
Remember the current DPI value (in case of rollback)
Charge your phone at least 50 times%-->
If the minimum width is not available, try:
- ๐ Enable debugging on USB (Settings โ For developers โ Debugging by USB).
- ๐ Reboot the phone and reopen the developer menu.
- ๐ฑ Update the firmware to the latest version (in older versions) MIUI This parameter could be hidden).
โ ๏ธ Note: Some models (e.g. Redmi) 10A or POCO M4 Pro) modification DPI through the Minimum width can cause a failure in the launcher, in which case the reset of the launcher settings will help: โ Annexes โ Application management โ Launcher โ Warehouse โ Clear the data.
๐ก
Changing the DPI through Developer Settings is the safest way, but it doesnโt work on all Xiaomi models. If the setting is missing, use ADB or third-party apps.
Method 2: Change DPI through ADB (for power users)
If the developer menu doesnโt have the right setting, you can change the DPI using Android Debug Bridge (ADB), a method that requires connecting the phone to a PC and basic command line knowledge, and benefits from working on all Xiaomi smartphones, including models with HyperOS.
What you need:
- ๐ป A computer with installed Xiaomi drivers and ADB Tools.
- ๐ฑ USB-cable (preferably original).
- โก Included debugging by USB phone-on.
Step-by-step:
- Connect your phone to your PC and select File Transfer mode.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with adb.exe.
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Find out the current DPI value: adb shell wm density
- Change the DPI to the desired (for example, 400): adb shell wm density 400
- Reboot your phone: Adb shell reboot
To keep the changes after the reboot, follow the additional command:
adb shell wm density 400 && adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS๐ก
If the interface elements are not displayed correctly after changing the DPI through ADB, return the standard value with the command adb shell wm density reset.
Possible errors and their solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| device unauthorized | No confirmed access to debugging on the phone | The phone will be asked for debugging permission - confirm it |
| no devices/emulators found | Drivers are not installed or the cable is faulty | Reinstall Xiaomi drivers or try another one USB-cable |
| Changes are not maintained after restarting | MIUI/HyperOS resets settings | Use the command with & & Adb shell am broadcast... (see above) |
โ ๏ธ Note: Some HyperOS firmware changes DPI through ADB It can cause system applications to crash (e.g. Mi Home or Theme Store) and resetting settings through Settings will help. โ Memory. โ Backup โ Resetting settings (without deleting data).
Method 3: Using Third-Party Applications
If the first two methods donโt work, you can use specialized apps from Google Play, which allow you to change DPI without ADB and often offer additional features, such as a separate setting for each application.
Top.-3 change-over DPI:
- ๐ฑ App Settings (Xposed) โ requires root rights, but offers flexible customization for each application separately. MIUI, It doesn't work on HyperOS.
- ๐ฑ DPI Changer (No Root) - changes DPI through ADB Automatically (you need a PC for the first connection).
- ๐ฑ SetEdit โ edits system settings, including DPI. It works without root, but requires permission to change system files.
Instructions for DPI Changer (No Root):
- Download and install the app from Google Play.
- Connect the phone to the PC and allow debugging over USB.
- Start DPI Changer and press Connect via ADB.
- Enter the desired DPI value (e.g. 420) and press Apply.
- Reboot the phone.
How to return the standard DPI if the phone stopped working correctly?
Advantages and disadvantages of third-party applications:
| Annex | Pluses | Cons |
|---|---|---|
| App Settings | Flexible customization for each application | Requires root rights |
| DPI Changer | Works without root, automatic connection via ADB | You need to connect to your PC for the first run |
| SetEdit | Can change other system parameters | Risk of disrupting the stability of the system |
โ ๏ธ Note: Apps like App Settings or SetEdit can cause errors MIUI/HyperOS, If you change the settings at random, on HyperOS smartphones, using these tools can lead to blocking certain features, such as Mi Share or Quick Ball.
How to Get a Standard DPI Back on Xiaomi
If after experiments with DPI interface began to work incorrectly, return the standard settings can be in several ways:
Method 1: Through Developer Settings
- Open the Settings. โ For developers.
- Find the Minimum Width option and return the default value (see the table at the beginning of the article).
- Reboot the phone.
Method 2: Through ADB
adb shell wm density resetMethod 3: Reset the launcher settings (if the icons are missing or not displayed)
adb shell pm clear com.miui.homeFor HyperOS, use:
adb shell pm clear com.miui.hyperlauncherMethod 4: Complete resetting of settings (extreme case)
- Go to Settings โ Memory โ Backup โ Reset settings.
- Select Reset all settings (app data will be saved).
- Confirm the action.
๐ก
If the phone has stopped responding to touch after changing the DPI, connect it to your PC and reset it via ADB. 90% of the time, this solves the problem without losing data.
Frequent problems and their solutions
When changing the DPI to Xiaomi, the following problems may occur:
1. interface elements are cropped or not placed on the screen
- ๐น Reduce the value DPI (for example, 500 to 440).
- ๐น Try changing the Minimum Width option in the Developer Settings.
- ๐น For individual apps (such as Instagram or TikTok), use App Settings (if there is root).
2.After the change in DPI, the phone began to brake
- ๐น Too high a value. DPI (for example, 600+) It can load the processor. Reduce it to 480.
- ๐น Clear the cache: Settings โ Memory. โ Cleanup.
- ๐น Restart your phone in Safe Mode and check if the lags will persist.
3. some system applications (e.g. Camera or Phone) are not working
- ๐น Return the standard DPI (see section above).
- ๐น Clear the data of the problem application: Settings โ Annexes โ [Name of name] โ Warehouse โ Clear the data.
- ๐น Update the firmware to the latest version.
4. on HyperOS, DPI changes do not apply
- ๐น In HyperOS, some parameters are blocked. ADB with the right of superuser (adb root).
- ๐น Install Magisk and module MIUI DPI Changer.
๐ก
If after changing the DPI, navigation gestures stopped working, reset the gesture settings: Settings โ Display โ Navigation gestures โ Reset.