How to turn on and configure a compass on your Xiaomi phone: instructions with pictures

The compass on Xiaomi smartphones is a useful tool for orienting the ground that often goes unnoticed by users, many of whom do not even realize that their device is equipped with a magnetic sensor that can detect the directions of the world to several degrees. However, the mere presence of a sensor does not guarantee correct operation: accurate determination of direction requires the correct calibration and configuration of the software.

In this article, we will analyze all ways to activate the compass on Xiaomi devices - from budget Redmi to flagship Mi and Xiaomi devices. POCO. You will learn how to check for a sensor in your phone where the built-in compass is located. MIUI And HyperOS, and how to fix the typical problems with its work, and we'll focus on calibration, without which the readings can differ from the real ones. 30-40Β°. The instructions are relevant for all modern models, including Xiaomi. 14, Redmi Note 13 Pro+ and POCO F6.

Checking the presence of a magnetic sensor in Xiaomi

Before you try to turn on a compass, make sure your smartphone is equipped with one. Most Xiaomi models have a magnetometer starting in 2018, but in ultra-budget devices (for example, the Redmi A1 or the POCO C50), it may not be present.

  • πŸ” From the engineering menu: enter the code ##4636## in the phone app, select Sensors, and search for the Magnetic field or Compass string. If it's not there, there's no sensor in the device.
  • πŸ“± Using the application: install Sensor Box from Google Play or CPU-Z β€” They'll show you all the sensors available.
  • πŸ›’ By model specifications: check the specifications on the official Xiaomi website or in the store where you bought the phone (look for the line β€œSensors” or β€œSensorsΒ»).

If the sensor is not available, alternatives will be compass applications that use GPS and a gyroscope (such as Compass Galaxy or Digital Compass), but their accuracy will be lower – the error can reach 10-15 Β° versus 2-3 Β° for a magnetic compass.

πŸ“Š What kind of Xiaomi smartphone do you have?
Redmi (Series Note, A, etc.)
POCO (F, X, M)
Mi (11, 12, 13, 14)
Black Shark
Other

Where is the built-in compass in MIUI and HyperOS

Depending on the firmware version, the path to the built-in compass may differ: in recent versions of MIUI 14 and HyperOS, developers have made it easier to access the tool, but in older builds (for example, MIUI 12), it has to be searched in the depths of the menu.

Here are the current paths for different versions:

Firmware versionThe way to the compassNotes
HyperOS (2026)Tools β†’ CompassThe icon can be hidden – use the search by settings
MIUI 14Settings β†’ Additional β†’ CompassSome models require pre-activation in Special Opportunities.
MIUI 12/13Settings β†’ System and device β†’ Additional β†’ CompassIt could be called a "magnetic sensor."
Older versions (MIUI 10-11)Settings β†’ All settings β†’ System β†’ CompassManual calibration required at first launch

If the compass is not on the menu, try:

  1. Update the firmware to the latest version through Settings β†’ About Phone β†’ System Update.
  2. Install the branded Mi Compass app from GetApps (the official Xiaomi store).
  3. Use alternative apps from Google Play, such as Compass 360 Pro.

πŸ’‘

If the compass is not calibrated, its arrow will jump randomly. Calibration can be started manually, rotating the phone in the air on the figure of eight 3-4 times.

Step-by-step instructions for turning on a compass

Consider a universal compass activation method that works on 90% of Xiaomi devices, and the instructions are suitable for phones with MIUI 12-14 and HyperOS:

Make sure GPS is on (settings β†’ Location)

Turn off the power saving mode (settings β†’ Battery)

Check that there are no magnetic interference nearby (columns, headphones, magnet cases)

Update Google Services (Play Market) β†’ My apps)-->

  1. Open Settings and go to Additional (HyperOS) or System and Device (MIUI 14).
  2. Find the Compass. If you don't have one, search by settings (the magnifier icon in the upper right corner).
  3. Activate the "Enable Compass" or "Magnetic Sensor" slider. Some models will require proof of location access.
  4. Start calibration: Follow the hints on the screen (usually you need to rotate the phone in different planes).
  5. Check the work: Open any compass application (like Google Maps in street view mode) and compare the readings with a hand compass.

If after turning on the compass needle behaves unstable:

  • 🧲 Make sure there are no sources of magnetic interference (speakers, chargers, metal objects) nearby).
  • πŸ”„ Reboot your phone – sometimes the sensor β€œwilts” after a long work.
  • πŸ“² Update the firmware: in older versions MIUI There were magnetometer bugs (especially on the Redmi 9 and the Redmi). POCO X3).
What if the compass shows incorrect data?
If the error is more than 10Β° after calibration, try: 1. Reset the sensor settings through the engineering menu (#4636## β†’ β€œSensor reset”). 2. Install the GPS Status & Toolbox app and calibrate through it. 3. Check the phone for physical damage (hits or falls can displace the sensor). 4. In the extreme case, take the device to the service center for diagnosis.

Calibration of the compass: why it is important and how to do it correctly

Incorrect calibration is the reason 80% Even if the sensor is working, without the right setup, its readings can differ from the real ones. 20-40Β°. Calibration is needed to compensate for the effects of the phone’s metal parts and external magnetic fields.

The calibration process on Xiaomi consists of two stages:

  1. Rough setting: the phone asks you to rotate it in the air in a figure of eight or describe circles. This removes gross errors.
  2. Fine tuning: you put the device on a flat surface and slowly rotate around its axis, and this step corrects for small deviations.

How to check if the calibration has been successful:

  • πŸ“± Open the compass application and compare the readings with a mechanical compass (the error should not exceed the error). 3-5Β°).
  • 🌍 In Google Maps, turn on street view mode (2 fingers up on the screen) – the blue dot should clearly follow the turns of the phone.
  • 🧭 Use test applications like Sensor Kinetics to see raw sensor data (X, Y, Z should change smoothly as you rotate).

⚠️ Attention: If the compass needle is β€œfrozen” or spins randomly after calibrating, this may indicate a hardware fault in the sensor, especially after a phone drop or moisture hit.

The Best Compass Apps for Xiaomi

Built-in compass in MIUI HyperOS and often lacks functionality – no route saving, offline operation or additional tools (e.g., slope measurement).-5 Alternative applications optimized for Xiaomi devices:

AnnexFeaturesConsReference
Compass 360 ProAccuracy up to 1Β°, offline maps, night modeAdvertising in the free versionGoogle Play
Digital CompassMinimalist design, support for widgetsNo manual calibration.Google Play
GPS Status & ToolboxAdvanced calibration, sensor testA complex interface for beginnersGoogle Play
Compass GalaxyAR-Mode, integration with Google MapsRequires access to the cameraGoogle Play
Mi Compass (official)Optimized for MIUI, no advertisingNot available on Google Play (GetApps only)GetApps

For hiking or orienteering, we recommend the Compass 360 Pro, which supports the preservation of route points and works without the Internet. If you want minimalism, Digital Compass with a widget on the home screen will suit.

⚠️ Note: Some apps (such as Compass Galaxy) request access to the camera for the purpose of AR-If you don't plan to use additional functions, deny this permission -- it's not necessary for the basic operation of the compass.

Frequent problems and their solutions

Even after setting up the compass correctly, Xiaomi may not work properly. Consider typical faults and ways to fix them:

  • πŸ”„ The compass needle rotates randomly Cause: calibration failure or magnetic interference Solution: recalibrate the sensor away from metal objects. If it doesn't work, reset the sensor settings through the engineering menu (#4636##).
  • πŸ“΅ Compass is not turned on Reason: location is disabled or sensor is damaged Solution: check permissions in Settings β†’ Annexes β†’ compass β†’ Permissions. If the sensor is physically defective, contact the service.
  • 🌍 Accumulation greater than 10Β° Reason: poor calibration or the effect of a metal cover. Solution: remove the case and recalibrate. Use the app. GPS Status for fine-tuning.
  • πŸ”‹ Compass only works with charging Reason: Power saving mode activated which turns off sensors Solution: add compass application to battery exclusions (Settings) β†’ Battery β†’ Optimizing the battery).

If the problem persists after all the manipulations, check the phone for hardware damage, for example, after a fall, the sensor plume may break off or its position relative to the board will shift, in which case only repairs at the service center will help.

πŸ’‘

On Xiaomi models with a metal body (such as the Mi 11 Ultra), the compass accuracy may be lower due to interference. GPS-correction.

How to use a compass to navigate without the Internet

One of the key advantages of a magnetic compass is that it can navigate without a network connection, which is especially useful in hiking, where GPS can lose signal and mobile Internet is not available. Here's how to set up offline navigation on Xiaomi:

  1. Download offline maps to Google Maps or OSMAnd: In Google Maps: open profile β†’ Offline Maps β†’ select region. In OSMAnd: Settings β†’ Maps β†’ Download maps.
  2. Activate the compass in settings (as described above) and calibrate it.
  3. Use an offline-based app, such as Compass 360 Pro, which stores the coordinates of the points. OSMAnd, which shows your location on an offline map with a compass link. Locus Map, a professional tool for tourists with track support.

Combine compass and GPS data: In the app settings, enable GPS Adjustment (if any) to reduce the error with weak satellite signal.

To improve accuracy in weak conditions GPS-signal (e.g. in a forest or mountain):

  • πŸ“ Periodically update the coordinates manually (in OSMAnd this is done with a long tap on the map).
  • 🧭 Use a compass to determine azimuth, and a map to link to the terrain.
  • πŸ”‹ Turn off the power saving mode so that the sensors work without interruption.
My Xiaomi doesn't see the compass in the settings. What do I do?
If the menu does not include Compass, check: Magnetic sensor via CPU-Z or engineering menu (##4636##). Firmware version: MIUI 12 and newer compass can be hidden - search by settings. Firmware region: on some global builds, feature is disabled (try changing region through Settings β†’ Additional β†’ Region). If there is a sensor, but no menu item, install Mi Compass from GetApps.
How to calibrate a compass without special applications?
The built-in calibration in MIUI/HyperOS is automatically triggered when the compass is first turned on. If you want to repeat the process: Open any compass application (for example, Google Maps in street view mode). Rotate the phone in the air on the figure of eight 3-4 times. Place the device on a flat surface and slowly rotate it around its axis. After successful calibration, the arrow should stabilize within 5-10 seconds.
Is it true that magnet covers interfere with the compass?
Yes, magnetically attached cases (e.g., for wireless charging) can distort compass readings. The magnetic field of the case causes interference that causes the needle to deflect by 10-30Β°. Solutions: Remove the case before using the compass. Use non-magnet cases (e.g., silicone cases); recalibrate the sensor after removing the case. Cases with powerful magnets (e.g., for attachment to metal surfaces) have the greatest impact.
Can I use a compass on Xiaomi to determine azimuth?
Yes, but it will require an azimuth-enabled application, such as the Compass 360 Pro or Locus Map. Algorithm: Turn on the compass and wait for the arrow to stabilize. Point the phone at a target (e.g., a landmark in the ground). Remember or save the azimuth reading (in degrees). Add or subtract 180 for the return journey.Β° Remember, the magnetic azimuth differs from the true one by the magnitude of the magnetic declination (you can find it on specialized sites like magnetic-declination.com).
Why is the compass on my POCO X3 Pro showing the wrong data?
On the POCO X3 Pro (and other models with a Snapdragon 860/870 processor), a sensor bug is common that is associated with misfunctioning MIUI 12.5. Solutions: Update the firmware to MIUI 13 or HyperOS. Install alternative software (such as Pixel Experience), where the sensors work more stable. Disable battery optimization for the compass application. Reset the sensor settings through the engineering menu. If the problem persists, it may be a hardware defect (a frequent problem for batches released in 2021).