Adjustment and calibration of the accelerometer on Xiaomi Poco M3

Owners of Xiaomi Poco M3 smartphones often face a situation where the device screen stops responding to a change in position in space, this can manifest itself in the failure of automatic rotation of the image when reading or watching a video, as well as incorrect operation of the pedometer and navigation applications. The accelerometer is a key sensor responsible for determining the orientation of the gadget in three-dimensional space, and its accurate operation is critical for comfortable use of the interface.

The problem may be not only software failure, but also the desynchronization of the data that the MIUI operating system receives from the hardware module. Fortunately, Xiaomi’s shell provides powerful engineering tools to conduct deep diagnostics and forced calibration without the need for superuser rights.

Before you start to make complex manipulations, it is worth understanding that the hardware accelerometer in the Poco M3 has no mechanical moving parts, so physical bumps or falls are the main reason for its failure. However, in 90% of cases, the problem is solved by software reconfiguration. We will consider both the standard system tools and hidden engineering menus available through special code.

Diagnostics of inclination sensor malfunctions

The first step before any calibration is to make sure that the problem is in the software part, not the physical damage to the sensor after the fall. The built-in CIT (Customer Interface Test) menu allows you to check the response of all the modules of the device in real time.

Open the standard Phone app and enter the universal code ##6484##. If the menu doesn't open, try the alternative combination ##4636##. In the list that opens, select "Accelerometer" or "G-sensor" and you will see a screen with three axes (X, Y, Z) and current readings.

  • πŸ“± Tilt the phone left and right: X-axis values should change from negative to positive.
  • πŸ”„ Turn the device up and down: the Y axis must respond to a change in the gravitational vector.
  • πŸ“ Put the phone flat on the table: the Z axis should show a value close to the 9.8 or -9.8 (depending on the calibration), and X and Y tend to zero.

If the numbers on the screen remain unchanged when you turn your smartphone, or if they jump chaotically even when you're at rest, this is a sure sign of failure. Calibration is necessary to reset the baseline values. Also worth paying attention to the presence of protective glass: too thick or magnetic glass can distort the sensor readings.

⚠️ Note: If the test shows a complete lack of response (all zeros) even after the reboot, there is a high probability of physical leakage of the plume or sensor breakdown.

Use of the Engineering Menu for Calibration

The most effective way to set up is to use the built-in functionality of the MIUI engineering menu. This method does not require a connection to a computer and the use of debugging over USB. The calibration process in the CIT menu is as automated as possible and safe for user data.

Once you enter the test mode with code ##6484##, look for "Accelerometer" and in the window that opens you will see the "Calibration" or "Start" button, and pressing this button triggers the reset and rereading of the reference values of gravity.

β˜‘οΈ Calibration algorithm in CIT

Done: 0 / 4

During the process, the device can vibrate or make sounds β€” that's the normal behavior of the system. Don't touch the smartphone or press buttons until the procedure is completed. Once the system is completed, it will give a message "Pass" or "Success." Now you need to leave the menu and check the autorotation in the gallery or browser.

Resetting accelerometer settings through the system menu

If the engineering menu is closed or not working for some reason, you can try resetting through standard system settings, which is less in-depth, but often helps with temporary software glitches, and it forcibly restarts the services that handle the sensor data.

Go to Settings β†’ Advanced Settings β†’ Language and input. You need to find a section related to cursor control or special features, although newer versions of MIUI 12/13 based on Android 10/11 may have different paths. A more reliable way is to reset via the About Phone menu.

Click seven times in a row on MIUI Version to activate Developer Mode. Then go to Settings β†’ Advanced Settings β†’ Developer. Find the Input or Sensors section (the availability depends on the firmware version) and try to find the calibration reset option. If there is no such option, use the following code method.

  • πŸ”§ Go to the menu "For developersΒ».
  • πŸ“‰ Find the item "Debugging by" USBΒ» and turn it on (required for some resetting methods).
  • ♻️ Perform a forced reboot by pressing the power button for 10 seconds.

⚠️ Warning: Enabling Developer Mode opens up access to hidden system functions. Do not change the values in the sections that you do not know the purpose of, this can lead to unstable operation of Poco M3.

Using Hidden Codes to Reset Sensors

There is another level of access to equipment settings - special USSD-codes that cause hidden system activity, they act as shortcuts to specific engineering functions. To reset sensor settings, Xiaomi often uses code that calls the calibration menu directly.

Enter the code ##64663### in the dialer. This is an alternative test menu entry. If it doesn't work, try the code ##3646633##, which is standard for MediaTek (Poco M3). In the menu that opens, go to the "Hardware Testing" tab β†’ "Sensor" β†’ "G-sensor".

What do I do if the codes don't work?
Some carriers or firmware versions block the entry of engineering codes, so try installing the Play Market’s Engineering Mode MTK app, which emulates the call to these menus in software.

Inside the G-sensor menu, select Sensor Calibration, and you will be prompted to put your phone on a flat surface and press Do Calibration. The system will count the current position as zero and recalculate the vectors. Once complete, click Get Raw Data to make sure the data is read correctly.

Third-party applications for fine-tuning

When MIUI's built-in tools don't work, Google Play's customized tools come to the rescue, allowing you to fine-tune and visualize how sensors work, and one of the most popular and reliable tools is the GPS Status & Toolbox app.

Install the app, run it, and go to the tool menu. Find "A-GPS Status Management" or "Calibration." Although the name indicates GPS, this tool also resets and recalibrates the accelerometer and magnetometer. Press "Reset" or "Calibrate" and follow the instructions on the screen, turning the phone in different directions.

AnnexFunctionalDifficultyThe result
GPS Status & ToolboxComplete sensor resetLow.High-pitched
Sensor Box for AndroidDetailed diagnosticsMediumDiagnostics
Calibrate CompassAdjustment of the magnetometerLow.Medium.
Physics ToolboxGraphics and data analysisTall.Analytics

Using third-party software is especially effective if the problem is caused by an accumulation of errors in the sensor cache after many system updates. After the procedure through the application, be sure to restart the device to apply the changes.

πŸ“Š Have you managed to set up an accelerometer?
Yeah, through the engineering menu.
Yes, through the app.
No, we need a replacement.
The problem was the safety glass.

Resolving hardware problems and maintenance

If none of the software methods worked and the sensor is still behaving incorrectly, you should consider hardware reasons.Poco M3 is a reliable smartphone, but falls and vibrations can lead to microcracks in the soldering of the sensor or its complete failure.

Remove the cover and the protective glass. Thick cases or magnetically framed glass can shield the sensor or cause interference. Try calibrating the device on the bare, and if that didn't work, you might need to disassemble the device to check the connector of the plume on the motherboard.

πŸ’‘

Before visiting the service center, take screenshots of the tests from the engineering menu, which will prove to the master that you have conducted software diagnostics, and will speed up the acceptance of the device for repair.

In some cases, light heating of the case (not higher than 40-50 degrees) helps if the problem is caused by the β€œwaste” of contacts due to temperature expansion, but this is a temporary measure.

Frequently Asked Questions (FAQ)

Why did the accelerometer stop working again after calibration?
This can be due to a conflict of newly installed applications that have access to sensors, or an error in the system update. Try to load the phone into Safe Mode and check the sensor's performance. If everything is working in Safe Mode, uninstall the latest installed programs.
Does a discharged battery affect the operation of the accelerometer?
Indirectly, yes. At a critically low charge (less than 5%), Android can turn off some of the background processes and sensors to save energy, causing sensors to malfunction. Charge the Poco M3 to above 20% before calibration.
Do I need root rights for deep calibration?
In most cases, root rights are not required. The built-in MIUI tools and engineering codes are enough to reset values. Root access may only be required to replace system calibration files, which is a risky operation for inexperienced users.
Can a magnet in a case break an accelerometer?
A magnet cannot physically break a digital accelerometer, but it can severely distort its readings, making navigation and auto-rotation impossible. Take off the case and check the sensors.

πŸ’‘

If the software calibration through the engineering menu and third-party applications did not give a result within 3 attempts, the problem is hardware in nature and requires the intervention of the service center.