Accelerometer in smartphones Xiaomi, Redmi or POCO Not only does it automatically rotate the screen, but it also provides fitness trackers, tilt-controlled games, and step accuracy, and when the sensor starts to gag, users face annoying problems: The screen spontaneously turns into landscape orientation, the games do not respond to tilts, and the pedometer shows incorrect data. Most often the fault of calibration is software or hardware.
V 80% In some cases, you can solve the problem yourself without resorting to a service center, and this article will help you understand why the accelerometer does not work correctly, how to recalibrate it through an engineering menu or standard settings. MIUI, And what to do if calibration doesn't work. We'll look at current methods for models. 2020โ2026 years, including Xiaomi 13/14, Redmi Note 12/13 and POCO F5/X5.
Signs of malfunction of the accelerometer: how to understand that the sensor requires calibration
Before you start setting up, it is important to make sure that the problem is in the accelerometer, not in software bugs. MIUI The following symptoms indicate a sensor failure:
- ๐ฑ The screen spontaneously flips into landscape mode, even when the phone is lying on the table.
- ๐ฎ Games with tilt control (Asphalt 9, PUBG Mobile) does not respond to movements or reacts with a delay.
- ๐ถโโ๏ธ A stepmer in Mi Fitness or Google Fit shows inflated/understated data (e.g. 10,000 steps instead of the real 2,000 steps).
- ๐ Autoturn function in settings is enabled, but does not work at all.
- ๐ In sensor tests (via applications like Sensor Test), the accelerometer values do not change when tilted or show chaotic jumps.
If 2-3 points on the list match your situation, the accelerometer will probably need calibration, but there are exceptions: for example, false autorotation can be caused by a damaged gyroscope (a separate sensor) or a bug in the shell. MIUI. To rule out these options, perform a quick check:
โ ๏ธ Warning: If the phone fell from a height or was hit, the problem may be mechanical, such as detachment of the sensor from the board.
| Symptoms. | Probable cause | Decision |
|---|---|---|
| The screen flips on its own | Failure of calibration of the accelerometer | Recalibrate through the Engineering Menu |
| The motorbike doesn't work at all. | Sensor disabled in settings or bug MIUI | Check the settings and update the firmware |
| Games don't respond to tilts | Incorrect calibration or conflict with the game | Sizing + restart |
| Stepmer shows incorrect data | Failure of the accelerometer or gyroscope | Sizing + Mi Fitness data reset |
Calibration Preparation: What to Do Before Starting
Before you start setting up your accelerometer, follow a few mandatory steps to avoid errors and increase the chances of successful calibration:
- Check the physical condition of the phone. Make sure there are no cracks in the case and the device itself has not been hit. If there have been falls, first test the sensor through the Sensor Test app (available on Google Play).
- Update your firmware. Go to Settings. โ The phone. โ Update the system and install the latest patches. MIUI 14/15 Were corrected bugs with sensors in some models Xiaomi.
- Turn off the energy savings. Modes like Ultra-Economic or Battery can block the sensors. Go to Settings. โ Battery โ Battery mode and select Performance.
- Remove the case. Magnetic or metal cases can affect the readings of the sensors.
If you use custom firmware (like LineageOS or Pixel Experience), standard calibration methods may not work. XDA Developers).
Method 1: Calibration of the accelerometer through the engineering menu (for all Xiaomi models)
The most reliable method is to use the hidden engineering menu that is found in all Xiaomi smartphones. MIUI any version, including MIUI 15 and does not require root rights.
Instructions:
- Open the Phone app and type the combination: ##6484## on some models (e.g, POCO F4) The code #64663 can work##.
- You'll be on the menu. MTK Engineer Mode (for MediaTek processors) or Qualcomm Service Mode (for Snapdragon).
- Go to Sensor Test (or Hardware Testing) โ Sensors for Snapdragon).
- Find the Accelerometer Sensor and tap it.
- The screen will show graphs or digital values on the X, Y, Z axes. Put the phone on a flat surface (for example, a table) and press Calibration.
- Wait for the process to complete (usually 10 to 30 seconds) and restart the phone.
If the accelerometer values are still "jumping" after calibration (e.g., X: 0.12, Y: -8.3, Z: 1.45 stable 0.00 Repeat the procedure or try alternative methods.
Remove the phone case|Put your phone on a flat surface|Close all background applications|Disconnect power saving modes-->
โ ๏ธ Note: On some models (Xiaomi) 12T, Redmi Note 11 Pro+) In this case, use Method 2 or special applications from Google Play.
Method 2: Calibration through applications (without an engineering menu)
If the engineering menu codes don't work or you're afraid of accidentally changing critical settings, use third-party utilities.The best apps for calibrating the accelerometer on Xiaomi:
- ๐ฑ Accelerometer Calibration (from Smart Tools co.) - a simple interface, supports most models Xiaomi/Redmi/POCO.
- ๐ง Sensor Test & Fix โ Checks all sensors and offers automatic calibration.
- ๐ฏ GPS & Sensor Toolbox - Advanced settings for motion sensors.
Instructions on the example of Accelerometer Calibration:
- Download and install the app from Google Play.
- Open it and provide access to sensors (if requested).
- Place your phone on a flat surface (screen up).
- Press Start Calibration and wait until it is completed (usually 1-2 minutes).
- Reboot the phone.
If the app gives you a Calibration failed error, try:
- ๐ Restart the phone and repeat the procedure.
- ๐ฅ Update the application to the latest version.
- ๐ ๏ธ Use other software (e.g. Sensor Test & Fix).
๐ก
After calibration, check the accelerometer in the Accelerometer Test (available on the Play Market) and if the ball rolls smoothly through the maze, the sensor works correctly.
Method 3: Reset sensor settings through MIUI (for models 2022-2026)
In the latest versions MIUI 13/14/15 There's a built-in sensor reset feature that helps fix software failures without using an engineering menu. 13/14, Redmi Note 12/13, POCO F5/X5 and other new devices.
How to reset your settings:
- Go to Settings. โ The phone.
- Tap 5-7 times on the MIUI version until you get a message You became a developer!
- Return to the main settings menu and open Additional โ for developers.
- Find the Sensor Reset option (or Sensor Reset) and tap on it.
- Confirm the action and restart the phone.
This method does not delete user data, but resets the calibration of all sensors (accelometer, gyroscope, compass) to factory values. After rebooting, it is recommended to recalibrate the accelerometer through an engineering menu or application.
โ ๏ธ Note: Some firmware may not have Sensor Reset. In this case, use Method 1 or Method 2.
What if the sensors are worse after resetting?
Checking the calibration results: how to make sure the accelerometer is working correctly
After calibration, you need to check if the problem has been fixed.
- Autopivot test: Turn on Autopivot in the notification curtain. Turn your phone in landscape orientation, the screen should react instantly. Put the phone on the table, in 1-2 seconds the screen should return to portrait mode.
- Test via app: Install Sensor Test or AndroSensor and check the accelerometer readings: On a flat surface, the values of X and Y should be close to 0 and Z should be close to 9.81 (free fall acceleration).
Test in play:
Racing in Car 2
If after the inspection, problems remain:
- ๐ Calibration was incorrect โ repeat the procedure.
- ๐ฑ Sensor is physically damaged - repairs are required.
- ๐ค Firmware conflict โ try to roll back to the previous version MIUI.
๐ก
If the accelerometer works normally after calibration, but the failure repeats after a few days, the problem may be unstable firmware or overheating of the phone (sensors are sensitive to temperature).
Frequent calibration errors and how to avoid them
Many users find that calibration fails or even makes the sensor worse, and consider common errors and their solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| Calibration won't start. | The phone does not recognize the code of the engineering menu. | Try alternative code or use the app |
| After calibration, the sensor went crazy | The phone was not on a flat surface. | Repeat the calibration by putting the phone on the table. |
| The app is running an error called No sensor found. | Sensor is disabled in settings or damaged | Check the settings. MIUI or go to the service |
| Calibration resets after resetting | Firmware failure or conflict with applications | Update MIUI or reset your settings |
Another common problem is that you get false autopivots after calibration, and this can be because of:
- ๐ฒ Sensitivity of the sensor: In some firmware MIUI Solution: Turn off the autoturn in the curtain and use it only when necessary.
- ๐งฒ Magnetic interference effects: Magnet cases or close proximity to other gadgets (such as the Mi Band) can knock down readings.
- ๐ฅ Overheating: At high temperatures, the sensors are unstable.Let the phone cool down.
Hardware problems: when calibration will not help
If all calibration methods have been tried, but the accelerometer still doesn't work properly, the problem may be hardware.
- ๐ฅ Fall or impact: The sensor may have moved away from the board or become damaged, requiring re-sweetening or replacement.
- ๐ง Moisture: Even if the phone hasnโt sunk, condensation inside the case can cause the sensor contacts to corrosion.
- ๐ Faulty plume: On some models (Xiaomi Mi 11, Redmi) K40) The accelerometer is connected through a flexible plume that can be rubbed.
- โก Power surge: If the phone was discharged โto zeroโ or was connected to a faulty RAM, the sensor controller could burn down.
How to diagnose a hardware malfunction:
- Check your phone through Mi Service Center (free diagnostics in official Xiaomi services).
- Install the app AIDA64 And check if the accelerometer is on the sensor list, and if it's not, the sensor is defective.
- Try connecting your phone to your PC and flashing stock firmware through the Mi Flash Tool. If the problem persists, it's the hardware.
โ ๏ธ WARNING: If you're unsure of your soldering skills, don't try to repair the sensor yourself! the accelerometer in Xiaomi is often located next to other chips, and careless intervention can disable the entire module.
๐ก
The cost of replacing the accelerometer in the service center Xiaomi ranges from 1,500 to 3,000 rubles (depending on the model).