Accelerometer and gyroscope in Xiaomi Redmi smartphones: the principle of operation, configuration and diagnosis of malfunctions

Have you ever wondered how your Xiaomi Redmi realizes that you've turned the screen, played a tilt race or used augmented reality? Two key sensors are responsible for this - an accelerometer and a gyroscope. Without them, modern smartphones would lose half of their functions, from automatically rotating the screen to accurately tracking movements in games.

In this article, we will discuss in detail how these sensors work in Redmi devices (from the budget Redmi). 10A up to the flagship Redmi K60 Pro), why they sometimes fail, and what to do if the sensors start to "glutch." You'll also learn how to check their performance without special tools and whether you can calibrate the sensors manually!

What is an accelerometer and a gyroscope: just about complex

Let's start with the basics. The accelerometer is a sensor that measures the linear acceleration of a phone in three axes: X (left-right), Y (back-to-back), and Z (up-down).

  • ๐Ÿ“ฑ The tilt of the device (for example, when you hold the phone to your ear)
  • ๐Ÿ’จ Shaking (for functions like "rewind songยป)
  • ๐Ÿš€ Falling (to lock the hard drive in laptops or turn on emergency mode)

And the gyroscope is responsible for angular acceleration, which tracks how fast and which way the phone is turning. PUBG Mobile and tilt the device to aim, or use Google Street View in mode AR. The gyroscope works together with the accelerometer, but it captures rotations much more accurately.

In Xiaomi Redmi smartphones, these sensors are usually represented by chips from Bosch (for example, BMI160 or BMA456) or STMicroelectronics (LSM6DS3). Budget models can use simplified versions without a gyroscope (for example, in Redmi). 9A It is not available, but most devices in the line are equipped with both sensors.

โš ๏ธ Note: If your Redmi model does not have a gyroscope, donโ€™t be surprised that the games are supported. VR/AR It's a clumsy thing. 11 It has a gyroscope and Redmi. 10C โ€” no.

Where to use motion sensors in Xiaomi Redmi

You might be surprised to learn that the accelerometer and gyroscope are involved in almost all smartphone use cases.

FunctionHow sensors workExamples of applications
Screen reversalThe accelerometer determines the angle of inclination, the gyroscope smooths transitionsYouTube, gallery, browser
Game managementThe gyroscope tracks the slopes for control (for example, the steering wheel in racing)Asphalt 9, PUBG Mobile, Call of Duty Mobile
Augmented reality (AR)The combination of sensors captures the position of the phone in spaceGoogle Lens, Pokรฉmon GO, IKEA Place
Fitness trackerThe accelerometer counts steps, determines activity (walking, running, cycling)Mi Fitness, Google Fit, Strava
Gestures and accessibility featuresRecognition of shaking, shaking to the ear, double touchingAnswering the call, turning on the flashlight, rewinding the music

In Redmi models with Mi AirDots support, the accelerometer is used to automatically connect the headphones โ€” just open the case cover and the phone will immediately detect them. This works thanks to a combination of the motion sensor and Bluetooth Low Energy.

๐Ÿ“Š How do you most often use motion sensors in your smartphone?
Screen reversal
Tilt games
AR-applications
Fitness tracker
Gestures and functions
I don't know/don't use/

How to check the work of the accelerometer and gyroscope

If you notice that the screen is not turning, the games are floating, or the pedometer shows ridiculous numbers, the first thing you need to do is test the sensors.

Method 1: Xiaomi's built-in tests

1. Open the Phone application and dial the combination:

##6484##

This will trigger the Mi Testing Tool menu (works on most Redmis with the same name). MIUI 12 and newer).

2. Select the Accelerometer Sensor and Gyroscope Sensor. Ideally, the graphics should respond to the movements of the phone smoothly, without jerking.

Method 2: Apps from Google Play

Install one of these apps (all free):

  • ๐Ÿ“Š Sensor Test (from Keuwlsoft) โ€“ shows the values of all sensors in real time
  • ๐ŸŽฏ Gyroscope (from Smart Tools) - a test of the accuracy of a gyroscope
  • ๐Ÿ“ฑ CPU-Z โ€” in the Sensors section shows the models of the chips used

Normal performance for Redmi:

  • Accelerometer: horizontally, the values on the Z axis should be close to 9.81 m/s2 (free fall acceleration).
  • Gyroscope: At rest, all axes show 0.00 rad/s (or close to zero).

โš ๏ธ Note: If the accelerometer values are "floating" more than ยฑ0.5 m/s2 without phone movements, this is a sign of sensor malfunction or interference from a magnetic field (for example, near speakers or battery).

๐Ÿ’ก

Before testing, put the phone on a flat surface (for example, a table) and wait for the stabilization of the readings - this will help to exclude false positives.

Typical sensor problems and their causes

Xiaomi Redmi users are most often faced with the following โ€œglitchโ€:

  • ๐Ÿ”„ The screen does not turn automatically - fault in the operation of the accelerometer or software lock (for example, in the settings turned off autorotor).
  • ๐ŸŽฎ Games โ€œtwitchโ€ or do not respond to tilts โ€“ a problem with the gyroscope or its calibration (especially after the phone falls).
  • ๐Ÿšถ The stepmer shows overestimated / underestimated data - the accelerometer is contaminated or requires recalibration.
  • ๐ŸŒ€ AR-Apps โ€œfloatโ€ or not run โ€“ sensor conflict or outdated firmware.

The reasons can be divided into two groups:

Type of problemExamplesHow to eliminate
Programmatic failuresAfter updating MIUI stopped working the autoturnReset sensor settings, clear cache
Hardware malfunctionsThe phone fell, after which the games do not respond to the tiltsReplace the sensor or the entire camera module (often on the same board)
Contact contaminationDust or moisture got under the bodyCleaning with alcohol (only in the service center!)

The most common hardware problem is the drop of sensor contacts after impact. In the Redmi Note series and Redmi K, the accelerometer and gyroscope are often located next to the camera, so a fall on the back can disable both modules.

What to do if your phone falls into the water?
If Redmi has been in contact with fluid, the motion sensors can corrode. In this case: 1. Turn off the phone immediately. 2. Place it in a silica gel bag (out of a shoe box) for 24 to 48 hours. 3. Do not turn it on until you make sure the moisture has evaporated (you can check with a multimeter in the service). Trying to turn the phone on before it completely drys will short circuit and damage the motherboard.

How to Calibrate Sensors in Xiaomi Redmi

If the tests show that the sensors work but are not accurate, try recalibrating them, which in most cases solves problems with auto-rotation and swimming in games.

Place your phone on a perfectly flat surface (like a glass table)|Open the engineering menu with code ##6484##|Select Accelerometer Calibration and Gyroscope Calibration|Follow the instructions on the screen (usually turn the phone in different directions)|Restart the device after calibration-->

For models without an engineering menu (e.g. Redmi) 12C) Use the GPSTest app (from BarbeauDev):

  1. Install the app from Google Play.
  2. Go to the Sensors section.
  3. Press Calibrate next to the accelerometer and gyroscope.
  4. Repeat calibration 2-3 times for accuracy.

If calibration doesnโ€™t help, try resetting sensor settings through Settings. โ†’ Annexes โ†’ Application management โ†’ Three dots (menu) โ†’ Resetting the application settings, which will clear the cache of the system services that handle sensor data.

๐Ÿ’ก

Calibration only helps with software failures, and if the sensor is physically damaged (for example, after a fall), it can only be replaced.

What to do if the sensors are not working

If tests show that the accelerometer or gyroscope does not respond at all, follow the algorithm:

  1. Check the settings: ๐Ÿ”„ Make sure the autoturn is not turned off in the notification curtain. ๐Ÿ“ฑ B Settings โ†’ Screen. โ†’ The autoturn must be switched on.

Update the firmware:

Go to Settings. โ†’ The phone. โ†’ Update the system and install the latest version MIUI. In some updates, Xiaomi fixes sensor bugs (for example, in the Redmi Note 11 Pro).+ post-update MIUI 14 fixes gyroscope lags).

Reset the settings:

Go to Settings. โ†’ Memory. โ†’ Backup and reset โ†’ Resetting (select Reset all settings, but don't delete data!) will return the sensors' factory settings.

Check for viruses:

Some malicious apps block access to sensors.Scan your phone through Google Play Protection or Malwarebytes.

If nothing has worked, there are two options:

  • ๐Ÿ”ง Fastboot (instructions for Redmi are available on the phone) 4PDA). This is a radical method, but it often solves problems with hardware that conflicts with software.
  • ๐Ÿ› ๏ธ At Xiaomi Redmi, motion sensors are usually soldered into the motherboard, so replacing them requires a soldering station and experience. The average cost of repair is from 1,500 to 3,000 rubles.

โš ๏ธ Note: In Redmi models with MediaTek (e.g. Redmi 10 on Helio) G88) Sensor failures are sometimes associated with processor drivers, in which case only a complete flashing with cleaning dalvik-cache will help.

Comparison of sensors in different models Xiaomi Redmi

Not all Redmis have the same sensors, but here's a comparison table for popular models:

ModelaccelerometergyroscopeFeatures
Redmi 12BMA456 (Bosch)BMI270 (Bosch)Support for gestures in games, but poor accuracy in games AR
Redmi Note 12 Pro+LSM6DS3 (STMicro)LSM6DS3 (chip-on)High accuracy, used to stabilize video
Redmi K60ICM-42688 (TDK InvenSense)ICM-42688Flagship sensor with support for 6 axles, ideal for VR
Redmi 10ABMA253 (Bosch)No.Budget option without a gyroscope
Redmi Note 11SBMI270BMI270A good balance of price and accuracy

If you are interested in the accuracy of sensors (for example, for professional users). AR-In applications or tilt races, you can choose models with InvenSense or STMicroelectronics chips, which are more expensive but more stable in extreme conditions (such as vibration or sudden movements).

FAQ: Frequent questions about sensors in Xiaomi Redmi

๐Ÿ” Why in my Redmi? 9T no gyroscope?
Budget models of Redmi (series) 9A/9C/10A Often lacking a gyroscope to make it cheaper. Check the characteristics of your model on the official Xiaomi website or in the application CPU-Z (Without a gyroscope, tilt games (like Asphalt) will only be controlled by touchscreen.
๐ŸŽฎ Can I play? PUBG Mobile without a gyroscope?
Yes, but with limitations. The game's settings include a "Gyro-Free" mode, where the control is only with a joystick. However, you lose the ability to accurately point the sight with the tilt of the phone. Some profile players use external gamepads or emulators on a PC (for example, BlueStacks), where the gyroscope is simulated by a mouse.
๐Ÿ”„ How to turn off the screen autoturn if the sensor fails?
There are three ways: Fast Shutdown: Swipe down the notification curtain and click on the Autoturn icon. Permanent Shutdown: Settings: Settings โ†’ Screen. โ†’ Autoturn (turn off the switch). For individual applications: in MIUI there is a โ€œBlock Turnโ€ function โ€“ hold the application icon in multitasking and select Secure.
๐Ÿ› ๏ธ How much does it cost to replace the accelerometer in the Redmi Note 10 Pro?
The cost depends on the service center: Official service Xiaomi: 2,500-3,500 rubles (with work). Informal workshops: 1,500-2,500 rubles (risk of poor-quality spare parts). In some cases, the masters offer to replace the entire camera module (since the sensors are often located on one board), which costs 4000-6000 rubles.
๐Ÿ“ฑ Why the pedometer in Mi Fitness shows the steps when I'm driving?
This is a typical problem of budget accelerometers (e.g. Redmi). 9A). The sensor perceives engine vibration as movement. Solutions: Calibrate the sensor through the engineering menu. In the Mi Fitness settings, turn off the auto activity detection option. Use an external fitness bracelet (such as the Mi Band) that reads steps more accurately.