Calibration of the compass on Xiaomi Redmi Note 8 Pro: instructions with nuances

The Xiaomi Redmi Note 8 Pro is equipped with a digital compass that navigation applications (Google Maps, Yandex.Maps, Compass 3D) use to accurately determine direction. However, over time, the sensor can get lost β€” the compass needle β€œfloats”, shows the wrong direction or refuses to work at all. The reasons are diverse, from software failures to magnetic interference from cases with metal elements.

In this article, you will find step-by-step instructions for calibrating the compass on the Redmi Note 8 Pro, including hidden MIUI settings, checking sensors through the engineering menu and ways to fix typical errors. This material is relevant for MIUI 12-14 firmware (including global and Chinese versions) and does not require root rights.

Before you start, make sure that the problem is in the compass: open any application with the function of determining the cardinal points (for example, Google Compass) and spin the phone in your hand. If the arrow reacts with a delay or twitches randomly, the sensor needs to be calibrated.

1.Preparation of the phone for calibration

Calibration of the compass is a process that is sensitive to external interference, so to be accurate, follow the preliminary steps:

  • πŸ“΅ Turn off the magnetic covers and accessories. Even a small metal element (such as a finger ring or magnetic holder) distorts the sensor readings.
  • πŸ“ Find an open space. A yard, a park, or a balcony is perfect, without tall buildings, power lines, or other sources of electromagnetic fields.
  • πŸ”‹ Charge your phone at least 30%.Abrupt shutdown during calibration can knock down sensor settings.
  • πŸ› οΈ Update. MIUI It's all the way to the latest version (MIUI 11 and below) Calibration algorithms are less stable. β†’ The phone. β†’ Updating the system.

If you use a case with wireless charging (such as the original one from Xiaomi), remove it β€” the integrated coil creates a weak magnetic field that interferes with the sensor.

  • πŸ’³ Bank cards (chip and magnetic stripe).
  • πŸ”Œ Chargers (especially wireless).
  • 🎧 Headphones with magnets (for example, Xiaomi AirDots).

πŸ’‘

If the compass continues to glitch after calibration, try restarting the phone in Safe Mode (press the power button β†’ β€œReboot Safe Mode”). This will help eliminate the impact of third-party apps.

2. Calibration of the compass through standard MIUI settings

The easiest way is to use the built-in calibration utility hidden in the settings of the Redmi Note 8 Pro. It is available without root rights and works on most versions of MIUI.

Instructions:

  1. Open the Compass app** (if you don’t have one, download a free version from Google Play, such as Compass 3D).

If the calibration notification does not appear, call it manually:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find Compass** and open its settings.

Remove metal objects within a radius of 1 meter |

Close all applications in the background |

Enable flight mode (optional)|

Turn the phone to 360.Β° all-axis-->

3. Verification of sensors through the engineering menu

If standard calibration doesn't work, check the sensors' performance through an engineering menu (Engineer Mode), which will show if the magnetometer (the compass sensor) is physically functional.

How to open the engineering menu:

  1. Open the Phone app and enter the code: ##4636###

Interpretation of results:

Sensor readingsWhat does it mean?Action
Values change smoothly when the phone is rotatedSensor is functional, but requires calibrationRepeat the procedure in Section 2
The values of "frozen" or equal to zeroSensor malfunctions or is disabled softwareCheck the developer’s settings (see section 4)
Values gallop randomlySevere magnetic interference or hardware defectRepeat the test elsewhere or contact the service
No line of "Magnetic Field"Sensor disabled at firmware levelUpdate MIUI or reset your settings

If the sensor readings are zero in all axes (0.0, 0.0, 0.0), this may indicate a software shutdown of the magnetometer, in which case resetting the sensor settings will help (see the next section).

Every day.|

Several times a week |

Only on hiking/travel |

Never used it.-->

4. Reset sensor settings through developer settings

Sometimes the compass stops working after updating MIUI or installing custom firmware, in which case resetting sensor settings through developer mode helps.

How to turn on the developer mode:

  1. Go to Settings. β†’ The phone.
  2. Click 7 times in a row on the line MIUI version (the notification β€œYou became a developer” will appear).
  3. Return to the main settings and open a new section β†’ For developers.

Next:

  1. Scroll down to the Equipment block** and find the Sensor Reset option (or Sensor Calibration).
What to do if there is no option to β€œreset sensors”?
In some versions MIUI (for example, MIUI 13 For global firmware, this option is hidden. Alternative way: Install Sensor Reset from Google Play. Give it root rights (if the phone is rooted) or use it. ADB-Adb shell settings put global sensors_calibration_reset 1 Reset the device.

Once the sensors are reset, the compass can temporarily run unstable -- that's normal. Give the phone 10 to 15 minutes to recalibrate automatically in the background (MIUI does this while driving).

πŸ’‘

Resetting sensors through the developer settings is the most effective way to return the compass to work after a firmware failure.

5. Calibration through third-party applications

If the built-in MIUI tools don't work, use specialized applications that offer advanced calibration and diagnostic algorithms.

Top.-3 compass-calibration:

  • 🧭 GPS Status & Toolbox -- shows detailed sensor information and allows you to calibrate the compass manually.
  • πŸ“± Sensor Box for Android β€” displays all sensors in real time, including the magnetic field.
  • πŸ”§ Compass Calibration is a simple application with a step-by-step calibration wizard (supports the β€œeight” and 3D-rotation).

Example of calibration using GPS Status & Toolbox:

  1. Download and install the app from Google Play.
  2. Open it and go to the Compass tab**.

If the app shows a Weak magnetic field error, it means that the sensor is locked or the phone is in the jamming zone.

  • πŸ”„ Reset the device.
  • πŸ“΅ Remove all magnetic accessories.
  • 🌍 Move to another location (for example, from room to street).

6. Resolving hardware problems

If the software methods didn't work, the problem could be a hardware malfunction.

  • πŸ”¨ Phone crash – the impact could damage the sensor or its contacts on the motherboard.
  • πŸ’§ Moisture intake - corrosion on the board disrupts the magnetometer.
  • πŸ”‹ Battery malfunction - a bloated battery can put pressure on sensors.

How to diagnose a hardware problem:

  1. Connect your phone to your PC and check the sensor logs via ADB: adb shell dumpsys sensorservice If the output is missing a line with AK09918C (the compass sensor model in Redmi Note 8 Pro), the sensor is not determined by the system.

πŸ’‘

On the Redmi Note 8 Pro, the compass sensor (AKM AK09918C) is located next to the main camera. If the phone fell on the back, there is a high probability of damage to it.

Cost of repair:

Type of malfunctionEstimated price (2026)Difficulty of repair
Replacement of compass sensor1 500–2 500 β‚½Medium (solding required)
Cleaning contact fees800–1 500 β‚½Low.
Replacement of motherboard5 000–8 000 β‚½Tall.

πŸ’‘

If the compass stopped working after the battery was replaced, check if the sensor plume has been damaged, a common mistake by unqualified services.

7. Frequent mistakes and how to avoid them

Even after successful calibration, the compass may not work properly, so let's look at the typical user errors and how to fix them.

Error 1: Compass "hangs" after calibration

⚠️ Note: If the compass needle is fixed in one position, and when rotating the phone does not respond, check whether the mode "Saving charge" is turned on** (Battery Saver). MIUI It can turn off the sensors to save energy. β†’ Battery.

Error 2: Calibration resets after rebooting

This indicates a failure in the sensor configuration file.

  1. Remove the Compass cache** (Settings β†’ Applications β†’ Compass β†’ Storage β†’ Clear cache).

Error 3: The compass only works horizontally

This means that the sensor is not calibrated on all axes. Repeat the procedure, paying attention to vertical rotations (as if "swinging" the phone up and down). 3D-calibration.

FAQ: Answers to Frequent Questions

Can I calibrate the compass without special applications?
Yes, Redmi Note 8 Pro has a built-in calibration utility that starts automatically when you first open the Compass app.** If it's not available, use the engineering menu (code ##4636##) or the developer settings.
Why does the compass show the wrong direction even after calibration?
The reasons may be as follows: 🧲 Strong magnetic interference (e.g. near speakers or microwave ovens). πŸ“± Firmware failure (try to update) MIUI). πŸ”§ Hardware sensor malfunction (diagnostics required) Check sensor readings through Sensor Box - if the values jump or are zero, the hardware problem.
Do I need to calibrate the compass after replacing the battery?
Yes, after any repairs related to disassembling the phone (replacing the battery, screen, camera), it is recommended to recalibrate.
How often should a compass be calibrated?
Under normal conditions - 1 time in 2-3 months or after: Updates MIUI. Strong impact or fall of the phone. prolonged exposure to magnetic interference (for example, near a transformer booth).
Can a magnet case damage a compass?
No, the case won't physically damage the sensor, but it will constantly knock down its readings. If you use navigation often, use cases without metal elements. Magnetic holders for the car (for example, Xiaomi Car Mount) also distort the compass data.