Sensor Test Tool Xiaomi: What to do and how to use it

Xiaomi, Redmi and POCO smartphone owners often encounter the mysterious term Sensor Test Tool when trying to diagnose a device in depth, not just a standard Google Play app, but an engineering utility built deep into MIUI or HyperOS. Its primary purpose is to provide access to the phone’s hardware components to test their performance at a low level, bypassing standard interface constraints.

Understanding what sensor test tool xiaomi is becomes critical when you buy a used device, suspect a particular module is malfunctioning, or just want to verify the authenticity of components. Unlike third-party applications, this tool gets direct access to drivers, which allows you to detect even those problems that do not appear during normal use of the gadget.

Many users confuse this tool with conventional benchmarks, but the difference is huge. If benchmarks measure performance, Sensor Test tests the physical integrity and correctness of the data transfer from sensors to the processor. Next, we will discuss how to get into this menu without root rights and what to do with the results.

πŸ“Š Have you ever encountered a broken sensor on Xiaomi?
Yeah, the proximity sensor is bugging.
Yeah, the accelerometer's gone.
No, it's working perfectly.
I'm afraid to get into the engineering menu.

What is Sensor Test Tool and Why You Need It?

Sensor Test Tool is a system component that aggregates data from all the physical sensors installed in your smartphone. In modern Xiaomi models, they can reach a dozen or more, from a simple accelerometer to complex light spectrometers.

The main thing about this tool is that it can show raw data, which means that you see a picture that's not processed by the system, which is what the sensor reads, and for example, when you check the gyroscope, you'll see a change in coordinates in three planes with minimal latency, which is indispensable for calibration.

⚠️ Warning: Making changes to calibration files through engineering menus without understanding the physics of the process may cause the autobrightness or proximity sensor to malfunction.

The use of diagnostic mode is relevant in several scenarios: first, after the phone falls, when the visual screen is intact, but the autorotation is not working; second, before buying the device from hand, to make sure that the sensors are not "broken" or replaced with cheap analogues; and it is also useful for application developers who need to test the reactions of software to change the position of the device.

πŸ’‘

Before testing, be sure to remove the protective glass or film from the top speaker area, as they can distort the proximity and light sensor readings.

How to run the sensor inspection engineering menu

Access to hidden functionality Xiaomi is through special USSD-The most common and safe way to do this is to use ##6484##. In some regions or on newer versions of firmware, the code may differ to #4636##, but the former is standard for the code. CIT (Customer Integration Test).

Once you enter the code in the standard Phone app, the menu will open automatically. You don't have to press the call button. The interface is a list of all the tests available, sorted by category. If the code doesn't work, maybe your operator's office is going to be able to do it. SIM-card-lock USSD-requests or the shell manufacturer has restricted access.

An alternative way for advanced users is through the Developer Menu, and to activate it, you need to click on the build number several times in the About Phone section. Then, in the advanced settings, look for the Engineering Menu or Testing. USSD-The code is the fastest way to access the sensor test tool.

##6484##

It's important to understand that the test list may be different visually on different versions of MIUI, but the functionality remains similar. If you entered the code but nothing happened, check if the code set feature in the security settings is disabled or if third-party call blocker apps are disabled.

β˜‘οΈ Checking before testing is started

Done: 0 / 5

Transcript of the main tests in the CIT menu

The interface of the check menu can seem overloaded, especially for a beginner. Each item corresponds to a specific hardware module. To effectively use the sensor test tool xiaomi, you need to understand what each item in the list is responsible for. Below is a table with the main tests and their purpose.

Name of the testFunctionWhat to check
Proximity SensorApproximation sensorReaction to hand-holding (screen goes out)
AccelerometeraccelerometerChange of coordinates X, Y, Z at inclinations
GyroscopegyroscopeAccuracy of rotation and angles of inclination
Light SensorLight sensorChange in lux values at closing
MagnetometerMagnetometer (Compass)Reaction to the magnetic field

The Proximity Sensor test often raises the most questions. When it starts, the screen turns black and numbers appear in the corner. Hold your palm to the top of the screen - values should change (usually from 5.0 to 0.0 or vice versa, depending on the model). If there is no reaction, it may be that the sensor is contaminated or the plume has unstuck.

The gyro and accelerometer are critical to the smoothness of the change in values. The sharp jumps in numbers when a fixed phone indicates a hardware malfunction or software calibration failure. In such cases, the Calibrate button, which can appear after performing certain actions, such as laying the phone on a flat surface, often helps.

Hidden tests at CIT
Some versions of the menu contain hidden tests that are only available when connected to a PC via a PC. ADB. For example, a test of vibration at different frequencies or a deep memory test. NAND. To activate them, you sometimes need to enter additional code into the console. ADB: adb shell am start -n com.miui.cit/.CITActivity

Detailed check of accelerometer and gyroscope

The most common problem that users face after changing the screen or falling is the incorrect autorotation. Here comes the sensor test tool. In the accelerometer section, you will see three axes: X, Y and Z. At rest, one of the axes should show a value close to 9.8 or -9.8 (gravity), and the rest - about 0.

The calibration process is usually this: you put your phone on a perfectly flat surface with the screen up, press the calibration button and wait for the vibration to occur, and then repeat the procedure for the other faces. The important thing is, don't move the phone during calibration, or the data will be recorded with an error, and a floating cursor or navigation will become the norm.

The gyroscope is responsible for more subtle movements, such as in shooter games or when watching panoramic VR videos. If the values "shake" in the gyroscope test even when the phone is lying on the table, this may indicate physical damage to the module.

Sometimes, after updating MIUI, the sensor settings may be lost, in which case a full reset through the engineering menu (if this option is available in your version) or resetting the phone to the factory settings can return to the correct work. However, first try just restarting the device to safe mode to eliminate the impact of third-party launchers.

⚠️ Warning: If after calibrating the accelerometer, the system interface starts twitching or the mouse cursor (when connected) behaves chaoticly, immediately reset the calibration or return the factory settings. Wrong coefficients can make the phone uncomfortable to use.

Diagnostics of the proximity and illumination sensor

The proximity sensor is the most capricious element in Xiaomi smartphones, which is responsible for cancelling the screen during a conversation. In the sensor test tool, this test is often called "Proximity." When you start, you see a numerical value. Ideally, when there is nothing in front of the screen, the value should be maximum (or minimum, depending on the logic of the work), and when you close the finger, change to the opposite.

A common problem is that the sensor sticks, and the screen doesn't go out in your pocket, using up charge, or it doesn't light up when you remove the phone from your ear. The test menu often has an Off and On button that lets you programmatically turn off and turn on the sensor, and it helps you understand if the problem is hardware or software conflict.

The Light Sensor pairs with a proximity sensor, but often uses a separate photodiode. It adjusts the brightness of the screen. In the test, you can see how the numbers change when the lighting changes in the room. If the values do not change or change too dramatically (jumps), you may need to replace the module or clean the area of the speaker from dust and glue.

πŸ’‘

If the proximity sensor shows constant zeros or maximum values regardless of the position of the hand, the plume is likely to have moved away or the sensor module itself is broken in an assembly with the speaker.

Frequent mistakes and ways to solve them

When working with diagnostic tools, users often encounter errors, one of the most common is β€œSensor not found” or lack of response to a test. This does not always mean a breakdown. In modern Xiaomi smartphones, some sensors (such as the Hall sensor or barometer) may not be in budget models, so the test for them will give an error or be inactive.

Another problem is that it's stuck in the test menu, because it's a low-level application, it can be incorrectly processing interruptions. If the test is stuck, don't wait long. 10-15 It's safe for data, but it'll reset the current test session.

Also worth mentioning is the problem with virtual sensors, some applications create virtual sensors that can conflict with system sensors, and if you notice strange behavior after installing a new launcher or gesture control app, try removing it and checking it again through the sensor test tool.

  • πŸ“± The accelerometer test failure is often solved by recalibrating on a solid surface.
  • πŸ”‹ Before testing power-intensive modules (camera, flash) make sure the battery charge is above 15% so that the phone does not turn off.
  • πŸ›  If the proximity sensor stopped working after replacing the screen, check if the original frame or quality copy is installed.

Questions and Answers (FAQ)

Can I remove the Sensor Test Tool from my phone?
Technically, it's a system application, and removing it requires root rights or ADB commands. However, it's strongly discouraged. Deleting it can lead to unstable system operation, as other services may depend on its libraries, and you'll lose the ability to diagnose quickly if you break down.
Why is the #6484## code not working on my Xiaomi?
In some regions (e.g. global versions for Europe) or newer versions of HyperOS, access to the CIT menu via USSD may be limited. Try the alternative code ##4636## or go to the settings -> About -> Click 10 times on the "kernel version" (on some older models) or look for the hidden menu in the "Advanced Settings" section.
Does the Sensor Test Tool affect the warranty?
By itself, running a diagnostic menu does not void the warranty, since you do not make changes to the code or open the case. However, if during the calibration process you reset important factory settings that cannot be restored without service equipment, the service center may refuse free repairs, citing software interference.
How to check if the original sensors are in the phone?
Sensor Test Tool often (but not always) displays hardware ID or driver version. Compare this data with known values for your model on forums (for example, 4PDA or XDA). Also, indirect sign can be incorrect work: original Xiaomi sensors usually have a smooth course of values, whereas cheap counterparts give sharp jumps or β€œnoise”.