How to Calibrate the Sensor on Xiaomi Phone: 5 Ways to Work

The touchscreen on Xiaomi smartphones is a complex system that can eventually start to fail: misrecognize touches, skip swipes or react with a delay. The reasons range from software glitches after a MIUI update to physical damage to the screen. However, 80 percent of the time the problem is solved by simple sensor calibration, a procedure that restores the exact location of the touches to the displayed elements on the screen.

In this article, we will discuss all the current methods of calibration, from standard tools in settings to hidden engineering menus and ADB commands. Importantly, if the sensor completely failed (does not respond to any touch), first check the hardware health of the screen - software calibration will not help here. For other cases, read on.

Note: The instructions are suitable for all current Xiaomi, Redmi and POCO Android 10–14 models with MIUI 12–15 shell. For devices older than 2018 (e.g., Redmi Note 5 or Mi A1), alternative methods may be required – they are marked separately.

1. Standard calibration through MIUI settings

The easiest and safest way is to use built-in MIUI tools, which is suitable if the sensor is working but not responding accurately (for example, clicking on one icon and opening another).

Instructions:

  1. Open the Settings β†’ Display.
  2. Scroll down and select Advanced Display Settings (some models call the item Additional).
  3. Find the option of Sensor Calibration or Touch Screen Setting (if not, go to the next method).
  4. Follow the instructions on the screen: you usually need to touch the crosses several times in different corners of the display.

⚠️ Attention: On new versions MIUI 14+ The standard calibration can be hidden, and in this case, use the engineering menu method.

Reboot the phone

Clear the Settings cache (Settings β†’ Applications β†’ Application Management β†’ Settings β†’ Storage β†’ Clear the cache)

Try an alternative calibration method-->

Calibration through the engineering menu (code ##)

The hidden engineering menu allows for more precise sensor customization than standard tools, which works on most Xiaomi devices, but requires caution – incorrect settings can worsen screen responsiveness.

How to open the engineering menu:

  1. Open the Phone app.
  2. Enter the combination: ##36446337## (or ##CIT## on some models).
  3. Select Touch Screen Test or TP Calibration.
  4. Follow the instructions on the screen – usually you need to alternately click on the points that appear.

If the combination does not work, try the alternative codes:

  • πŸ”’ ##4636## β†’ Testing β†’ Touch Test
  • πŸ”’ ##2664## (for touch screen testing)
  • πŸ”’ ##6484## (Multi-touch check)
What to do if the engineering menu is not opened?
If none of the code worked, it could mean: 1. Your Xiaomi model blocks the engineering menu at the firmware level (relevant to devices with MIUI Global). 2. Installed custom firmware that removed access to service codes. 3. The phone is released after 2023 - the manufacturer has restricted access to low-level settings. In this case, use the method with ADB or calibration applications.

Calibration through ADB (for power users)

If standard methods don't work, you can use Android Debug Bridge (ADB), a computer debugging tool that requires USB debugging and is suitable for advanced users.

Step-by-step:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone. 7 times click on the MIUI Version until the notification β€œYou are a developer” appears.

Settings β†’ Additional β†’ For Developers

USB debugging

ADB Tools

adb shell


su




echo 1 > /sys/touchscreen/calibration

⚠️ Note: The teams above may not work on new Xiaomi models (e.g., Xiaomi) 13/14 or Redmi Note 12) Because of the changed structure of the system files, in which case, use the universal reset command:

adb shell settings put system pointer_calibration ""

πŸ’‘

If ADB does not recognize the device, update the Xiaomi drivers through the official website or use the Mi PC Suite program.

4.Applications for sensor calibration

If you're uncomfortable with an engineering menu or ADB, you can use third-party utilities that don't always give you the same result as system tools, but they're good for quick diagnostics.

Top.-3 tested applications:

  • πŸ“± Touchscreen Calibration is a simple tool with visual test and manual sensitivity setting.
  • πŸ“± Screen Touch Test – checks multi-touch and displays heatmap touches to identify dead zones.
  • πŸ“± Display Tester – a comprehensive utility for screen testing, including sensor calibration.

⚠️ Note: Some apps require root rights for deep calibration. On Xiaomi devices with a blocked bootloader, this can lead to a loss of warranty.

Standard settings of MIUI

Engineering menu (#code####)

Through ADB

Third-party annexes

I haven't tried it yet.-->

5. Resetting settings as a last resort

If no methods have worked and the sensor is still not working properly, there are two options:

  1. Resetting the settings to factory (deletes all data, but returns the original calibration).
  2. Fastboot flashing (relevant if the failure is caused by damage to system files).

How to reset your settings:

  1. Create a backup copy of data (photos, contacts, messages).
  2. Go to Settings β†’ About the phone β†’ Reset settings.
  3. Choose Reset all settings (not to be confused with Network Reset!).
  4. Confirm the action and wait for the reboot.

If the reset didn't work, the problem could be hardware.

  • πŸ› οΈ Check the touchscreen plume (a frequent problem after falls).
  • πŸ› οΈ Contact Xiaomi Service Center for New Models (Xiaomi) 13T, Redmi Note 12 Pro+) Guarantee for up to 24 months.

πŸ’‘

Resetting deletes all data, including accounts and files. If the phone is tied to Mi Account, after reset, you will need to enter a login and password to unlock.

Comparison of calibration methods

MethodDifficultyPC requiredRoot rightsEfficiency
Standard settings of MIUI⭐❌ No.❌ No.⚠️ Medium
Engineering menu⭐⭐❌ No.❌ No.βœ… Tall.
ADBβ­β­β­βœ… Yes.❌ No.βœ…βœ… Very high.
Third-party annexes⭐❌ No.⚠️ Sometimes.⚠️ Low/medium
Resetting settings⭐⭐❌ No.❌ No.βœ… High (but radical)

Frequent Mistakes and How to Avoid Them

Calibration of the sensor on Xiaomi will not work if the problem is caused by physical damage to the screen (cracks, bloating, detachment of the plume).

Other common mistakes:

  • πŸ”„ Incomplete reboot – always restart your phone after calibration, otherwise the settings may not apply.
  • πŸ”Œ Using a non-original charger can cause interference with the sensor. Connect the phone to a charger from Xiaomi and recalibrate.
  • 🧲 Magnetic field impact -- if there's a magnet case or wireless charging nearby, the sensor may malfunction.

If the sensor is worse after calibration:

⚠️ Note: This means that in the engineering menu or through the ADB You've got the wrong settings. You've got to go back to the factory settings by running adb shell settings delete system. pointer_calibration Or reset your phone to factory settings.

FAQ: Answers to Frequent Questions

Can I calibrate the sensor if the screen is not working?
No. If the sensor doesn't respond to any touch, software calibration is impossible. In this case: Connect the phone to a PC and try to control it via ADB or Mi PC Suite. If the screen is physically damaged (cracks, broken pixels), you need to change the display.
Why did the MIUI update make the sensor work poorly?
This is a typical problem when switching to a new firmware version: Reasons: Reset sensor drivers, conflict with user settings (such as altered sensitivity in the engineering menu), errors in the firmware itself (relevant to the betta versions of MIUI), Solution: calibrate through the engineering menu or roll back to the old firmware version.
How to check if my Xiaomi needs calibration?
Diagnose the sensor with the test: Open Settings β†’ About Phone β†’ All Specifications β†’ Equipment Test (or use code ##4636##). Select Touch Test. Swipe your finger around the screen - if the trail (line) is interrupted or goes away, calibration is necessary.
Will the root be reset after calibration?
No, the calibration itself does not affect root rights. However: If you use ADB with superuser rights (su), some commands may require reauthorization of Magisk. Resetting to factory settings will remove root and require re-routing of Magisk.
Can I calibrate the sensor on Xiaomi without a computer?
Yes, 90 percent of the time, you don't need a computer. Use: MIUI Standard settings. Engineering menus. Third-party applications. ADB is only required for deep tuning or if other methods have failed.