Many smartphone owners do not even suspect that they have a precise measuring tool in their pocket that can replace professional equipment. The built-in accelerometer and gyroscope, which are commonly used to rotate the screen and control in games, can serve as the basis for creating a digital bubble level. POCO It can be done in several ways, but it is often hidden from the eyes of the average user in the engineering menu or special applications.
The need to use such a tool comes unexpectedly: hang the shelf straight, check the slope of the washing machine or adjust the construction bubble level. On all modern Xiaomi models with the MIUI shell and HyperOS, the tilt sensor is built in hardware, which guarantees high accuracy of measurements without having to buy a separate device.
In this article, we will take a detailed look at all the available level activation methods, look at the intricacies of calibrating sensors to achieve maximum accuracy, and explain how to use an engineering menu for diagnostics. You will learn how to turn your smartphone into a universal meter that is always at hand.
Search for the built-in Compass application
The easiest and most legal way to find a level on a Xiaomi device is to use a standard system application that is often ignored by users. In most cases, it is called Compass or Compass and preinstalled in the Tools folder on the home screen. If you don't see the icon right away, try searching the system by typing the appropriate name.
When you start the app, you can look at the bottom of the screen or the sidebar, and you can often have a mode switch, and it's standard, it shows the lights, but when you go to level mode, it turns into a digital waterpass with two axes, horizontal and vertical, and the accuracy of the readings depends on the current calibration of the magnetic sensor.
If a standard application has been removed or is not available in your regional firmware version, donβt despair. Android allows you to use alternative methods of accessing this data, including hidden engineering menus, which will be discussed below.
- π§ The standard Compass application contains a hidden level mode.
- π± The icon can be in the Tools or Tools folderΒ».
- βοΈ To switch modes, use the lower control panel.
β οΈ Note: When using a smartphone as a level, make sure there is no thick cover or metallic linings on the back that can distort the magnetic sensor readings.
The application interface is usually minimalist, with yellow or green lines showing a deviation from the ideal horizontal on a black background. The green color of the indicators signals that the surface is perfectly aligned, with an error of less than one degree.
Use of the CIT Engineering Menu
For more advanced users and those who want to test the performance of sensors at a deep level, there is access to the CIT (China Information Technology) engineering menu, a hidden section of the system designed to test all components of a smartphone before sale, and log in through a special code in the Phone app.
To get to the menu, open the "call" and dial the combination ##6484##. If the code doesn't work, try the alternative ##4636##, although the second one is more commonly used for network information. The test list that opens will look for an item associated with the accelerometer or gyroscope, which can be called "Accelerometer", "Gyroscope" or simply "Sensor".
βοΈ Testing of sensors in CIT
Inside the test, you'll see a graph or numerical values that change when you tilt the device, and the challenge is to put the phone on a perfectly flat surface and make sure that the X and Y axis are going to zero, and the Z axis is showing the gravity value (usually around 9.8 or 1,000 units depending on the calibration), which is the "clean" level without unnecessary graphics.
This is especially useful if you want to know if the sensor itself is working, or if a standard application is not working properly, and the engineering menu gives you access to raw data without the software filters of the interface.
Calibration of the inclination sensor
There are situations where the bubble level on Xiaomi shows the wrong data, and the phone "takes" away even on a flat table, in which case forced calibration of the sensors is required. Without this procedure, using the smartphone as a measuring tool loses its meaning, since the error can reach several degrees.
The MIUI shell calibration procedure is often automated, but you can manually run it. Go to the Settings menu, then select the About Phone section and quickly click on the kernel or processor version several times to open the optional menu (if available in your version), a more reliable way is to use third-party utilities or re-enter the CIT menu, where there is often a Calibrate button.
During the calibration process, the system will ask you to perform a series of movements: put the phone on different faces, flip it over and hold it in a certain position, which is necessary for the controller to remember the position of the gravitational vector relative to the device body.
What to do if calibration doesnβt help?
Once the procedure is completed, it is recommended to restart the device, which will allow the system to reset the cached values and start working with new parameters, and check the level immediately after the reboot will show whether the measurement error was corrected.
- π Calibration requires a series of inclinations of the device.
- π A 2 degree error requires reconfiguration.
- π Before calibration, charge your phone above 20%.
Third-party applications for accurate measurement
If Xiaomiβs built-in tools donβt seem functional enough or the standard compass interface is uncomfortable, you can always refer to the Google Play directory. There are many specialized applications that use the same sensors, but provide a more user-friendly interface, measurement history and the ability to adjust sensitivity.
When choosing an app, look for permission requests. A good layer doesn't need access to contacts or a microphone, it only needs location data (for magnetic declination) and motion sensors. Popular options are "Bubble Level," "Level" and other high-rated utilities.
Using third-party software allows you to bypass some of the limitations of regional firmware, for example, in the Chinese version of MIUI, Russian may not be in the system compass, while a third-party application will solve this problem instantly, and many of them have an audible display function when the level is reached.
Therefore, after using the meter, it is better to completely close the application, rather than leave it hanging in the background.
Diagnosis of malfunctions of accelerometer
A situation where the level on the phone is floating or showing chaotic values may indicate not the need for calibration, but a hardware problem. The accelerometer is a microelectromechanical system (MEMS) that is sensitive to shocks, falls and vibrations. If the smartphone recently fell, the sensor could be physically damaged.
You can use the sensor-testing app available in the app store to diagnose the problem, or you can use the CIT engineering menu again. In the accelerometer test, the values should change smoothly, or the digits that jump without the phone moving, or the values that stick around at one point indicate a malfunction.
| Symptoms. | Probable cause | Method of decision |
|---|---|---|
| Level shows slope on flat table | Calibration's gone wrong. | Calibrate in a CIT or application |
| Numbers change chaotically | Interference or injury | Remove magnets, check after reset |
| Level app flies out | Mistake by | Clear the Compass app cache |
| No reaction to tilts | Sensor failure | Replacement of module in the service is required |
If the diagnosis shows critical errors that are not eliminated by a software reset, it is likely that an accelerometer replacement will be required.In modern Xiaomi smartphones, this sensor is often soldered on the main board or integrated into the gyroscope module, making it a task for a skilled professional to replace it.
β οΈ Warning: Do not attempt to open the case of the smartphone to "correct" the sensor yourself. Microscopic elements of the accelerometer damage static electricity or sloppy movement.
Practical application and advice
Using a smartphone as a level has its own peculiarities: the screen of the device is usually larger than that of the construction bubble level, which allows you to see readings from afar. However, the screen glass is more fragile than the tempered glass of a professional tool, so it is better to use a protective case or put something soft when working on a construction site or with heavy materials.
One of the interesting uses is to test washing machines and refrigerators. Uneven appliance installation causes vibration and noise. If you put Xiaomi on the top panel of the unit, you can precisely set adjustable legs, achieving the perfect balance.
π‘
To measure the vertical (fallow) apply a long face of the smartphone to the surface being checked, turn on the level mode and watch the second axis of rotation.
The digital layer is also essential for setting up projectors or TVs, where you need to install equipment strictly parallel to the floor or wall, and the 0.1 degree accuracy available to modern smartphones allows you to achieve a perfect picture without distortion.
π‘
A smartphone is a precision tool, but its accuracy depends on the absence of external magnetic fields and mechanical damage to the body.
In conclusion, technology has gone a long way to transforming the phone into a feature-rich device, and knowing where to find the level on Xiaomi and how to set it up gives you a powerful tool for everyday and professional tasks.