Compass on Xiaomi is not calibrated: what to do if the sensor refuses to work

You try to open Google Maps or Compass on a Xiaomi smartphone, but instead of accurately determining the cardinal points, you see a chaotic rotation of the arrow or a calibration error message? The problem with the magnetic field sensor is one of the most common among owners of Redmi, POCO and Mi devices. In 80% of cases, it can be fixed by yourself without resorting to a service center.

In this article, we’ll look at all the possible reasons why the compass on Xiaomi is no longer calibrated, from software failures to physical sensor damage, and give you step-by-step illustration instructions, proven diagnostics and prevention tips, and focus on the AK09918 and AK09911 models, the most problematic chips in Xiaomi’s lineup.

If you've tried waving your phone eight and restarting your device, but nothing has worked, don't rush to repair it. 9 out of 10 times, the problem is solved by one of the methods described below.

Why Xiaomi Compasses Are Not Calibrated: 7 Reasons

The magnetic field sensor (compass) in Xiaomi smartphones can fail for various reasons, most often not hardware failures, but software conflicts or external interference.

  • πŸ“± Failure to work MIUI β€” Firmware errors or conflict with the update may block access to the sensor.
  • 🧲 Magnetic interference – metal objects, magnet cases, or other electronic devices near a smartphone.
  • πŸ”„ Incorrect calibration – the user missed steps or performed them incorrectly.
  • πŸ› οΈ Sensor damage – physical impact (fall, impact) or factory defect.
  • πŸ“² Application conflict – some programs (e.g, PokΓ©mon GO Google Fit can block access to sensors.
  • πŸ”‹ Energy saving – aggressive battery settings turn off sensors in the background.
  • 🦠 Viruses or malware are rare, but there are cases where malware blocks sensors.

The most insidious reason is a combined failure, where the problem is caused by a combination of factors, such as when the MIUI updates start to conflict with the energy-saving settings, and the user also does the calibration incorrectly.

πŸ“Š How often do you use a compass on your smartphone?
Constantly (navigation, games)
Sometimes (hiking, traveling)
Never used a side by side.
I don't know where he is.

How to check if the compass works on Xiaomi

Before you start repairing or settings, make sure the sensor is the problem. In many cases, users confuse a compass failure with GPS or gyroscope errors. Here are 3 reliable diagnostic methods:

  1. Embedded MIUI Test Go to Settings β†’ About Phone β†’ All Settings β†’ Core β†’ Equipment Test (the path may vary depending on the version of MIUI). Select a Magnetic Field Sensor and watch for performance. If the values do not change or show 0, the sensor is defective.
  2. Download the official app from the Play Market and launch it. If the arrow rotates randomly or shows the wrong direction, calibration or repair is required.
  3. Enter the phone app code ##6484## (for some models #4636##). From the menu, select Sensor Test β†’ Magnetic Field. Check if the values are responsive to the phone's movement.

If all three tests don't show the correct values, it's a hardware problem, and if there's a compass that responds in just one test, you can solve the problem in software.

πŸ’‘

On the POCO F3 and Redmi Note 10 Pro models, the engineering menu may be blocked, in which case use the CPU-Z app (the Sensors tab) to check.

Step-by-step: how to calibrate the compass on Xiaomi

In 60 percent of cases, the problem is solved by calibrating correctly, and many users do it incorrectly, skipping key steps.

Make sure there are no metal objects nearby.|Turn off the cover (especially with magnets)|Close all applications that use sensors|Enable the aircraft mode (optional)-->

  1. Activate calibration Open the Compass app (or Google Maps) and if you notice that you need to calibrate, click OK.
  2. Do eight movements. Hold the phone horizontally and rotate it slowly, describing three full eights in the air. Movements should be smooth, without jerks. Progress will appear on the screen.
  3. After calibration, the compass needle should stabilize. If not, repeat the procedure 2-3 times.
  4. Sensor Data Reset If calibration doesn’t help, reset the sensor settings: go to Settings β†’ Applications β†’ Application Management β†’ Compass β†’ Storage β†’ Clear data.

The critical mistake most users make is that they calibrate in a room with metal structures (elevators, steel doors, computer desks) and that negates all efforts, because the sensor will be knocked down by magnetic fields.

What to do if the calibration freezes?
If the calibration process is stalling by 50-70%, try: 1. Reboot the phone. 2. Remove the Compass app cache (Settings β†’ Applications β†’ Compass β†’ Clear the cache). 3. Calibrate elsewhere (for example, on the street). If nothing helps, the problem is in the firmware or sensor.

Software Solutions: When Calibration Doesn't Help

If the mechanical calibration didn't work, the problem could be firmware or application conflicts.

  • πŸ“² Update. MIUI last-minute
  • πŸ”„ Reset the sensor settings
  • 🚫 Turn off battery optimization for applications
  • πŸ› οΈ Remove conflicting applications

If the problem occurred after the MIUI update, try to roll back to the previous version. To do this, download the firmware from the Xiaomi Firmware Updater site and run it through Fastboot.

⚠️ Attention: Firmware rollback erases all data on the phone. Pre-backup through Settings β†’ Additionally. β†’ Backup and reset.

Hardware malfunctions: when you need to replace the sensor

If none of the software methods worked, the problem is most likely a physical sensor malfunction, and here are signs that the compass needs repair or replacement:

Symptoms.Probable causeDecision
The compass does not respond to any actions, the values in the tests are always 0AK09918/AK09911 sensor failure or plume breakReplacement of sensor or plume in the service center
The compass needle rotates chaotically even after calibrationDamage to the sensor magnetic shield or metal dustCleaning or replacing the module
The compass only works in a certain position of the phone.Poor plume contact or microcrack on boardDiagnostics in the service, possible ration
The sensor stopped working after a fall or impactMechanical chip damage or contact detachmentReplacement of sensor + check of board

The cost of replacing the compass sensor in Xiaomi service centers varies from 1,500 to 3,500 rubles depending on the model. On the Redmi Note 11 Pro+ and POCO X4 Pro, the sensor is often assembled with other sensors, which increases the cost of repair.

⚠️ Warning: Don't try to replace the sensor yourself without microelectronics experience. AK09918 Very sensitive to static electricity – one wrong step can disable the entire motherboard.

Specific models: which Xiaomi often breaks

Not all Xiaomi smartphones are equally affected by compass problems, and analysis of service centers shows that the most common complaints are received on the following models:

  • πŸ“± Redmi Note 10 Pro/Pro Max – sensor issues AK09918 post-update MIUI 13.
  • πŸ“± POCO F3 / F3 GT β€” The compass stops working when used actively. GPS (conflict with Qualcomm Snapdragon 870).
  • πŸ“± Mi 11 Lite / 11 Lite 5G NE β€” Sensor sensitive to magnetic cases (even the original from Xiaomi).
  • πŸ“± Redmi 9A / 9C β€” Factory marriage of the sensor plume (manifested through 6-12 months).

On these models, it is recommended to turn off energy saving for compass applications and avoid using metal accessories. For the POCO F3, there is an informal patch that corrects sensor conflict - it can be found on the XDA Developers forum.

πŸ’‘

On the Redmi Note 10 Pro, the compass problem is often solved by simply flashing the sensor module through the Fastboot. You don’t need root rights β€” official firmware from Xiaomi is enough.

Prevention: How to Avoid Compass Problems in the Future

To make your Xiaomi compass work consistently, follow these guidelines:

  • πŸ“΅ Avoid metal cases – even Xiaomi’s original magnet accessories can knock down the sensor.
  • πŸ”‹ Do not discharge your phone to zero – at a critically low charge MIUI disables sensors to save energy, which can cause a failure.
  • πŸ“² Regularly update the firmware in new versions MIUI Correcting sensor errors.
  • 🧹 Clean the connectors - dust and dirt in USB-port or under the lid can cause static discharges harmful to sensors.
  • 🚫 Do not use accelerators or cleaners – programs like Clean Master often delete important calibration files.

If you use navigation frequently (for example, hiking or geocaching), do a preventive compass calibration every 2-3 months, just open the Compass app and rotate the phone in different planes for 30 seconds.

Frequent questions about compass on Xiaomi

Can I calibrate the compass without special applications?
Yes, most Xiaomi models start calibration automatically when you first open the Compass or Google Maps app. If the notification doesn't appear, try manually triggering the process by rotating the phone in the air.
Why does the compass work fine in Google Maps but fail in other apps?
This is because Google Maps uses not only a magnetic sensor, but also GPS/GLONASS data to adjust direction. Other applications (like PokΓ©mon GO) rely only on a compass, so errors are more noticeable. Solution: calibrate the sensor through Google Maps, and then check for other programs.
Can a magnetic case damage a compass forever?
No, a magnetic case doesn't permanently incapacitate the sensor, but it can knock it down while it's nearby, but prolonged exposure to strong magnetic fields (such as neodymium magnets) could theoretically demagnetize the sensor's sensitive elements, requiring it to be replaced.
How to check if the original compass sensor is installed in the phone?
The original AK09918 or AK09911 sensor can be identified by the marking on the board (visible when disassembling the phone) or through an engineering menu. Fake sensors often lack temperature compensation, causing the compass to fail when ambient temperature changes.
What if the compass stops working after the screen is replaced?
When you change the screen, the wizards often turn off the sensor plume. Try: Reboot the phone, reset the sensor settings through the engineering menu. If it doesn't work, go back to the service where the screen was changed (the plume may not be fully connected).