Todayโs Xiaomi smartphones are complex computing devices in which software is inextricably linked to hardware components. One of the key elements of this system is an accelerometer, which is responsible for determining the position of the device in space. It is thanks to this sensor that the screen automatically turns when the orientation of the case changes, and the pedometer in fitness applications accurately calculates the distance traveled.
Users often experience situations where this function stops working correctly: the image freezes upright despite the turns of the gadget, or tilt control games react with a delay. In such cases, diagnostics are necessary to determine whether the problem lies in the software failure or hardware calibration is required. It is important to understand that timely verification avoids more serious problems with the MIUI or HyperOS interface.
In this article, we will discuss in detail all available testing methods, from built-in engineering menus to third-party utilities. You will learn how to properly calibrate Xiaomi for stable operation, and understand when to carry the device into the service. Proper sensor configuration is the key to comfortable use of all the features of your smartphone.
Signs of malfunction of the accelerometer
Before you start to make complex manipulations in the engineering menu, you should objectively assess the current state of the device. Incorrect operation of the position sensor is often manifested not only by a complete failure of the screen rotation. Sometimes the problem is hidden, affecting the accuracy of navigation or the operation of augmented reality (AR) applications. If you notice that the map in the navigator โfloatsโ or does not coincide with the direction of the car, this is the first bell.
Another obvious symptom is the chaotic behavior of the interface: the screen can turn over spontaneously at the slightest movement of the hand, creating discomfort when reading or watching videos. In more rare cases, there is a dissynchronization between the physical position of the phone and the image displayed in games where the control is tied to the tilt of the case.
You should also pay attention to the work of fitness trackers and health apps. If the built-in pedometer shows unrealistic data or does not respond to walking at all while the phone is in your pocket, then the motion sensor can be blocked or knocked down. Software failures after updating the firmware are a common cause of such anomalies, but you can not rule out physical damage after falls.
โ ๏ธ Warning: If the phone has recently fallen from a height or been hit hard, software calibration may not help, in which case a physical component failure is likely, requiring replacement at the service center.
For a quick primary diagnosis, you can use the list of main symptoms:
- ๐ The screen does not turn when the autorotate function in the notification curtain is enabled.
- ๐ฎ In games (e.g. Asphalt or PUBG) The character or machine moves without touching.
- ๐บ๏ธ Navigation applications show the wrong direction of movement relative to the real course.
- ๐ The Compass app cannot calibrate or shows a strong deviation from the north.
Diagnostics through CIT Engineering Menu
The most reliable and accurate way to check the status of all sensors on a Xiaomi device is to use an integrated engineering menu known as CIT (Check Item Test), which is designed for service center employees, but is available to every user. It allows you to test each module of the smartphone separately from the main operating system, which eliminates the influence of third-party applications.
To enter the test mode, you need to open the standard Phone app and type a special code. On most models with a MIUI shell, this is a combination of ##6484##. Once you enter the last digit, the menu should open automatically. If the code does not work, try the alternative ##4636##, although it is more often used to check the network and battery.
The list that opens will show you the item associated with the accelerometer, which can be called the Accelerometer, the Sensor, or just the G-sensor. Once you select this item, you will open a window with numerical values that change in real time. Put the phone on a flat horizontal surface, the values of the X and Y axes should tend to zero, and the Z axis should show a unit (or a value close to 1g, about 9.8 m/s2), because gravity acts on it.
โ๏ธ Checking in CIT menu
During the test, try to tilt the device slowly, the numbers should change smoothly, responding to your every move without jerking or fading. If the values "jump" or remain unchanged when tilted strongly, this indicates a failure. Also, the Calibrate button is often available on this menu, which triggers the process of resetting the sensor.
Use of the Engineering Menu for Calibration
If the initial test showed deviations, the next step is to force calibration, and there's a special procedure in the CIT engineering menu for this. After you go to the Accelerometer section, press the Calibrate button. The system will ask you to put the device on a completely flat surface with the screen up, which is critical, because calibrating along the curved surface will lead to incorrect operation in the future.
Once confirmed, the phone will begin the adjustment process, which usually takes a few seconds, during which time do not touch the device. At the end of the procedure, the axle values should stabilize. If the system produces a calibration error, try repeating the procedure, making sure that the table is free of vibrations and the phone is strictly horizontal.
In some versions of MIUI firmware, full calibration access may be limited or require additional confirmation, so you can try resetting sensor settings through the recovery menu. To do this, turn off your phone and press the Loudness+ and Power button combination before the logo appears. In the Recovery menu, select Wipe Data (this will delete all data!) or look for the Wipe All Data option, but be careful: a full reset will return the phone to factory state.
The secret function of CIT
If after it the problem persists, most likely, it is not in the software settings, and in the "hardware".
Third-party testing applications
If the built-in tools seem too complex or inaccessible, you can always use trusted third-party solutions from the Google Play Store. There are many utilities that visualize the operation of the accelerometer and gyroscope in a convenient graphic format. One of the most popular and functional applications is Phone Tester or Sensor Box for Android.
These programs provide detailed information about each sensor, and unlike the dry digits on the engineering menu, you'll see here. 3D-A phone model that replicates your movements in real time, which allows you to visualize smoothness and dead zones, and these applications often show maximum and minimum values, which is useful for detecting backlashes.
Another advantage of third-party software is that you can record logs, and if you're going to go to a warranty service center, screenshots or screen recordings of sensors from Sensor Kinetics are great proof of a malfunction, and it's easier for technicians to understand the problem by seeing specific surges in values.
Among the popular tools for verification can be identified:
- ๐ฑ Phone Tester: Comprehensive testing of all systems, including sensors, network and battery.
- ๐ข Sensor Box: Visualization of data in the form of 3D-objects and graphics, convenient for gamers.
- ๐ง GPS Status & Toolbox: In addition to navigation, it perfectly shows the work of the accelerometer and magnetometer.
๐ก
Before installing third-party testers, be sure to check the permissions. The application needs access to sensors, but don't give it access to contacts or a microphone unnecessarily.
Table of codes and functions of diagnostics
For the convenience of users, we have systematized the basic codes and verification methods that are relevant for most Xiaomi, Redmi and POCO devices. Using the right commands allows you to quickly move to the desired diagnostic section, bypassing long searches in the settings.
It is worth considering that on different versions of Android and MIUI shells, some codes may differ or be blocked by the manufacturer, in such cases, it is recommended to use alternative login methods, for example, through the About Phone menu (multiple clicks on the kernel version).
Below is a table with the main teams and their appointment:
| Team/Code | Function | Availability |
|---|---|---|
| ##6484## | Full CIT engineering menu (checking all sensors) | All models. |
| ##4636## | Testing menu (battery information, statistics) | Most models |
| ##7780## | Resetting settings (deleting applications and data) | Requires confirmation. |
| *#06# | IMEI and serial number verification | All models. |
These codes are safe to use unless you choose to reset without prior backup, and the first item should be considered, as that is where the detailed accelerometer test is located.
Problems after the update and resetting settings
Often users notice that the accelerometer stops working correctly immediately after an operating system update, because new configuration files may conflict with the residual data of old settings. In this situation, a simple reboot rarely helps, requires a deeper approach to cleaning the system cache.
The first step is to delete the temporary files of the applications that run the interface. Go to Settings โ Apps โ All applications, find system processes related to MIUI or System Framework, and try to clear their cache. Don't confuse it with the Clear All Data button, otherwise the phone will reset to factory status.
If cleaning the cache doesnโt work, the only effective solution is a full reset (Hard Reset).Be sure to back up all the important data to the cloud or computer before this procedure. After resetting, the phone will return to the state โout of the boxโ and the sensor drivers will be loaded again with clean parameters.
โ ๏ธ Warning: Full Settings Reset deletes all photos, contacts and apps. Make sure you have an up-to-date copy of the data before clicking the Reset buttonยป.
In rare cases, the problem may be in the set design theme. Some custom themes disrupt the system animations and the logic of the screen rotation. Try switching to the standard Classic or Default theme and checking the sensor again.
Influence of accessories and protective glasses
And let's not forget about the physical factors that can block the sensors, because the accelerometer is a microelectronic component that is sensitive to external influences, and overly thick cases, especially those that have metal inserts or magnets for attachment in the car, can interfere not only with the compass, but also affect the overall operation of the sensors.
Also important is the quality of the protective glass sticker: If the glass is unevenly pasted, skewed, or has thickening at the edges, the gyroscope may perceive this as constant pressure or tilt. Visually, this is imperceptible, but for Xiaomi's precision electronics, this is a significant distortion.
To test the effects of accessories, do a simple experiment: remove the case and, if possible, carefully (without peeling off completely) check the sensor. If the problem disappears, then it was mechanical interference. Magnetic fasteners on bookcases are a common cause of random screen behavior.
๐ก
Thick covers and magnetic accessories are a common hidden cause of failure of the accelerometer and compass.