How to change the DPI on Xiaomi phone: 3 proven ways

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 modelScreen resolutionStandard DPI (MIUI/HyperOS)
Xiaomi 13/14 Pro3200ร—1440560
Redmi Note 12 Pro+2400ร—1080440
POCO F52400ร—1080420
Xiaomi Civi 32400ร—1080400
๐Ÿ“Š Why do you want to change? DPI on the Xiaomi?
Increase the text for convenience
Reduce elements so that more information is placed
Fix bugs in applications
Experiment/curiosity
Another option

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:

  1. 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:

  1. Connect your phone to your PC and select File Transfer mode.
  2. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with adb.exe.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Find out the current DPI value: adb shell wm density
  5. Change the DPI to the desired (for example, 400): adb shell wm density 400
  6. 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 unauthorizedNo confirmed access to debugging on the phoneThe phone will be asked for debugging permission - confirm it
no devices/emulators foundDrivers are not installed or the cable is faultyReinstall Xiaomi drivers or try another one USB-cable
Changes are not maintained after restartingMIUI/HyperOS resets settingsUse 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):

  1. Download and install the app from Google Play.
  2. Connect the phone to the PC and allow debugging over USB.
  3. Start DPI Changer and press Connect via ADB.
  4. Enter the desired DPI value (e.g. 420) and press Apply.
  5. Reboot the phone.
How to return the standard DPI if the phone stopped working correctly?
If the screen starts to display incorrectly after changing the DPI (for example, buttons are not visible or text is cropped), follow the following steps: 1. Connect the phone to the PC and open the command line. 2. Enter the command to reset DPI: adb shell wm density reset 3. Restart the device. If this does not help, try resetting the launcher settings: adb shell pm clear com.miui.home (for HyperOS, use com.miui.hyperncher).

Advantages and disadvantages of third-party applications:

AnnexPlusesCons
App SettingsFlexible customization for each applicationRequires root rights
DPI ChangerWorks without root, automatic connection via ADBYou need to connect to your PC for the first run
SetEditCan change other system parametersRisk 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 reset

Method 3: Reset the launcher settings (if the icons are missing or not displayed)

adb shell pm clear com.miui.home

For HyperOS, use:

adb shell pm clear com.miui.hyperlauncher

Method 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.

FAQ: Frequent questions about changing DPI on Xiaomi

โ“ Can we change? DPI single application only?
Yes, but it requires root access or the App Settings module for Xposed/Magisk. Without root, you can only change the DPI globally for the entire system.
โ“ Why not after the change? DPI Some apps have started to look strange?
Not all apps adapt properly to non-standard DPI, especially banking applications (e.g. SberBank or Tinkoff), games and some instant messengers, in which case return the standard value or use App Settings for a separate setup.
โ“ Is it harmful to change? DPI smartphone-screen?
No, changing the DPI does not affect the physical condition of the screen or battery, but incorrect settings can cause interface failures, so we recommend testing the new values during the day and returning the standard ones if necessary.
โ“ Does the change work? DPI Xiaomi with HyperOS?
Yes, but with reservations. In HyperOS, some system settings are protected, so standard methods (via Developer Settings) may not work. In this case, use ADB or applications that support new firmware.
โ“ How to find out the current value DPI on my Xiaomi?
There are two ways: through ADB: adb shell wm density via Phone INFO โ˜…SAMโ˜… (display section).