How to Reset DPI on Xiaomi: 5 Proven Ways (2026)

Pixel density (DPI) on Xiaomi smartphones determines the size of interface elements: icons, fonts and menus. Incorrectly displayed value can make the screen uncomfortable β€” too small letters or, conversely, giant icons. Most often, users face the need to reset DPI after experimenting with developer settings, install custom firmware or system failures. In this article, we will discuss all the current ways to return standard display parameters on Redmi, POCO and Mi devices, from simple to technically complex.

It's important to understand that changing DPI affects not only visual perception, but also compatibility of some applications. For example, banking programs or games may fail to run if the pixel density is beyond the supported values. We'll look at safe methods that don't require root rights, and advanced options for power users. If you're a beginner, start with the first two.

What is DPI and why should it be reset?

DPI (dots per inch) is the number of pixels per inch of the screen that determines the scale of the interface. On Xiaomi smartphones, the default value is from 320 to 480 depending on the model and the resolution of the display.

  • πŸ“± Redmi Note 12 Pro+ (2K-display - 440 DPI
  • πŸ“± POCO X5 Pro (Full HD+) β€” 400 DPI
  • πŸ“± Mi 11 Ultra (Quad HD+) β€” 560 DPI

Reasons for DPI discharge:

  • πŸ” Interface elements become too large or small after changing the settings.
  • 🚫 Applications (especially banking) stopped running with the error "Unsupported screen resolution".
  • πŸ”„ After updating MIUI the display settings are lost.
  • πŸ› οΈ Installed custom firmware with incorrect parameters DPI.

Before you start resetting, check the current DPI value.

  1. Open the Settings. β†’ The phone.
  2. Tap 7 times on the MIUI version to activate Developer Mode.
  3. Return to the main settings menu and select Additional β†’ For developers.
  4. Find the Minimum Width (in dp) option – this is the current DPI (in terms of).

⚠️ Attention: Change DPI If you have a value below 320 or above 640, it can cause a system to malfunction. Some applications (e.g. SberBank Online or Tinkoff) block startup if the pixel density is beyond 400-480.

Method 1: Reset DPI through developer settings

The easiest and safest method is to return the standard value through the developer menu, which is suitable if you previously changed the DPI manually and remember the original setting.

Instructions:

  1. Open the settings β†’ Additional β†’ for developers.
  2. Find the minimum width (in dp).
  3. If the field is active, enter a standard value for your model (see table below).
  4. Press OK and restart the device.
Xiaomi modelStandard DPIMinimum width (dp)
Redmi Note 10/11/12400–440360–392
POCO F3/F4/F5440392
Mi 11/12/13480–560411–440
Redmi A1/A2320–360320–340

If Minimum Width is inactive (grey), then the DPI has been changed at the system level (e.g., through ADB or engineering menus), in which case move on to the next method.

Make a backup copy of the data (photos, contacts, messages)

Remember the current DPI value (if it works correctly)

Connect the device to charging (in case of a long reboot)

Close all applications, especially banking-->

Method 2: Reset via ADB (no root rights)

If the standard settings don’t work, you can reset your DPI via ADB (Android Debug Bridge), a method that works on all Xiaomi models with MIUI 12 and up, doesn’t require superuser rights, but requires a computer.

Steps:

  1. Download and install. ADB-pc-tool.
  2. Activate Developer Mode (as in Method 1) and enable USB Debugging in the Developer Settings.
  3. Connect your smartphone to your computer via cable (use the original cord!).
  4. Open the command prompt (cmd) in the adb.exe folder and do:
adb devices

(Your device name should appear. If not, check the drivers.)

adb shell wm density reset

This command will reset the DPI to factory value.

adb shell wm size reset

It will also reset the screen resolution (in case it has also been changed).

adb reboot

It'll reboot the device.

If the interface becomes too large or small after the reboot, go back to Settings β†’ For Developers and manually adjust the Minimum Width (see the table in Method 1).

⚠️ Attention: On some firmware MIUI (In this case, use an explicit value indication, such as adb shell wm density 440 (replace 440 with the standard one for your model).

Yes, to increase interface elements

Yeah, so I can put more information on the screen.

No, I used standard settings.

I don't know what that is.-->

Method 3: Use of the Engineering Menu (MTK/Qualcomm)

On Xiaomi smartphones with MediaTek (Helio G96, Dimensity) or Qualcomm Snapdragon processors, you can reset DPI through an engineering menu, a method that is riskier because improper actions can disrupt the screen.

Instructions for MediaTek:

  1. Open the Phone app.
  2. Enter the code ##36446337## (for MTK) or #4636## (universal).
  3. Select Hardware Testing β†’ Display.
  4. Find Density or LCD Density options and reset them to factory settings.

For Qualcomm Snapdragon:

  1. Enter the code: ##7284###.
  2. Go to Qualcomm Settings β†’ Display.
  3. Find Density and select Default.

On some models (such as the Redmi Note 10 Pro with the Snapdragon 732G), the engineering menu may be missing or blocked, in which case use ADB or reset.

What to do if the engineering menu is not opened?
If nothing happens after you enter the code, try 1. Use another launcher (like Nova Launcher). 2. Enter the code through the Secret Codes app from Google Play. 3. Check if antivirus or MIUI Optimization is blocking access (disable in the developer settings). 4. On some firmware, the engineering menu is removed - in this case, only ADB or reset will help.

Method 4: Reset all settings (Hard Reset)

If the previous methods didn't work and the interface became completely unreadable, the radical option is to reset to factory settings, which will return the DPI to its standard value, but delete all data from the device.

How to make a Hard Reset:

  1. Open Settings β†’ About the phone β†’ Reset settings.
  2. Choose to erase all data.
  3. Enter a password (if required) and confirm the action.
  4. Wait for the reboot (it will take 5-10 minutes).

If the screen does not respond to touches due to an incorrect DPI, reset via Recovery:

  1. Turn off your smartphone.
  2. Press Volume Up + Power before the Mi logo appears.
  3. From the Recovery menu, select Wipe Data β†’ Wipe All Data.
  4. Confirm the action and wait for the completion.

⚠️ Note: On devices with a blocked bootloader, a reset via Recovery may result in a request for a Mi Account. Make sure to remember the username and password, otherwise the phone will be locked!

πŸ’‘

Remove before resetting SIM-card and memory card, if installed, will speed up the process and reduce the risk of data loss on external media.

Method 5: Edit build.prop (for power users)

This method requires root rights and is designed for advanced users, and allows you to manually write a standard DPI value in the system file build.prop.

Instructions:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/build.prop.
  3. Find a line. ro.sf.lcd_density.
  4. Change the value to the standard for your model (see the table in Method 1).
  5. Save the file, restart the device.

If the lines ro.sf.lcd_density No, add it to the end of the file. 12 Pro+:

ro.sf.lcd_density=440

After editing build.prop, be sure to check the file rights - they should be 644 (rw-r----).If the DPI doesn't reset, clear the Dalvik cache via Recovery (Wipe β†’ Advanced Wipe β†’ Dalvik Cache).

πŸ’‘

Editing build.prop without root rights or through the wrong tools can lead to a device blink. Use this method only if you are confident in your actions!

Frequent mistakes and their solutions

When you reset DPI, you often have a typical problem, and let's look at the most common ones and how to fix them.

Problem.Reason.Decision
After resetting the DPI, the screen turned black.Incompatible value for current resolutionConnect to ADB and execute: Adb shell wm density 400
Applications are not run ("Unsupported Permission")DPI goes beyond 400-480Set the value of 440 through ADB or developer settings
The sensor does not work after changing the DPIFailure in the work of the graphic driverReset through Recovery (Method 4)
Adb shell wm density reset is not workingFirmware restrictions or lack of rightsUse the explicit value indication: adb shell wm density 440

If none of the methods worked, check:

  • πŸ”§ Relevance of the firmware: update MIUI Up to the latest version through Settings β†’ Updating the system.
  • πŸ“± Compatibility: Some custom firmware (e.g. Pixel Experience) ignore commands ADB for DPI.
  • πŸ”’ bootloader status: on a blocked bootloader, some commands may not be executed.

FAQ: Answers to Frequent Questions

Can I reset DPI without a computer?
Yes, if you have access to the developer settings. Open Settings β†’ Additional β†’ Developer β†’ Minimum width and enter a standard value for your model (see table in the article). If the item is inactive, try resetting through the engineering menu (Method 3).
Why did some applications stop working after the DPI was reset?
Some applications (especially banking ones) check the pixel density of the screen, and if the DPI goes beyond 400-480, they can block startup, so you can set the 440 value through ADB or the developer settings.
How to find out the standard DPI for my Xiaomi model?
The standard value depends on the screen resolution: HD+ (720p): 320–360 Full HD+ (1080p): 400–440 2K/QHD+ (1440p): 480–560 Accurate data for your model can be found in the table in the "Method 1" section or on the 4PDA and XDA Developers forums.
Will DPI resetting via ADB work on custom firmware?
Depending on the firmware. Most custom builds (like LineageOS or HavocOS) have adb shell wm density reset working correctly. However, some modified versions of MIUI (like MIUI EU) may have limitations. In this case, use build.prop editing (Method 5).
Can I permanently block the change in DPI?
Yes, if you have root rights. Delete or rename the file /system/usr/keylayout/Generic.kl, which handles DPI change commands. Alternatively, install the Magisk module, which blocks changes in system parameters. Without root rights, you can't completely block the change of DPI.