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:
- 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:
- Go to Settings β Applications β Application Management.
- 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:
- Open the Phone app and enter the code: ##4636###
Interpretation of results:
| Sensor readings | What does it mean? | Action |
|---|---|---|
| Values change smoothly when the phone is rotated | Sensor is functional, but requires calibration | Repeat the procedure in Section 2 |
| The values of "frozen" or equal to zero | Sensor malfunctions or is disabled software | Check the developerβs settings (see section 4) |
| Values gallop randomly | Severe magnetic interference or hardware defect | Repeat the test elsewhere or contact the service |
| No line of "Magnetic Field" | Sensor disabled at firmware level | Update 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:
- Go to Settings. β The phone.
- Click 7 times in a row on the line MIUI version (the notification βYou became a developerβ will appear).
- Return to the main settings and open a new section β For developers.
Next:
- 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β?
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:
- Download and install the app from Google Play.
- 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:
- 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 malfunction | Estimated price (2026) | Difficulty of repair |
|---|---|---|
| Replacement of compass sensor | 1 500β2 500 β½ | Medium (solding required) |
| Cleaning contact fees | 800β1 500 β½ | Low. |
| Replacement of motherboard | 5 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.
- 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.