Where to find geolocation on Xiaomi: from GPS to hidden MIUI features

Why Xiaomi geolocation works differently than other smartphones

Xiaomi smartphones use MIUI, a unique firmware that overlays its features on geolocation services. Unlike pure Android, it has additional privacy settings, battery optimizations, and even hidden features for precise positioning, which means that standard instructions for Samsung or Google Pixel may not work โ€” or work correctly.

For example, many users experience GPS detecting a latency location or showing incorrect coordinates, due to aggressive MIUI background optimization, which turns off geodata to save charge. Some models (such as the Poco F5 or Redmi Note 12 Pro+) have a separate high-precision positioning switch that is turned off by default.

In this article, we will look at all the available geolocation options on Xiaomi, including hidden MIUI settings, commands for engineering menus and circumventing the limitations of Chinese firmware versions. Particular attention will be paid to models with Qualcomm Snapdragon and MediaTek chipsets, which have different GPS algorithms.

Method 1: Standard Android settings (Google Location Services)

The most obvious, but not always the most effective, method is to use Google Locationโ€™s built-in services, which combine data with GPS, Wi-Fi, mobile towers, and sensors for maximum accuracy, but at Xiaomi, the service often conflicts with MIUI optimizations.

To enable geolocation through Google:

  1. Open Settings โ†’ Privacy โ†’ Permissions โ†’ Geodata.
  2. Activate the "Geodata Accuracy" switch (in some versions - "Improving Accuracy").
  3. Turn on the option of โ€œWi-Fi and Bluetooth Scanningโ€ (even if they are turned off).
  4. Return to Settings โ†’ Applications โ†’ Application Management โ†’ Google Play Services and give all permissions, including access to the โ€œAlwaysโ€ geodata.

โš ๏ธ Note: On Chinese versions of the firmware (MIUI China) may not have the "Geodata accuracy" clause. MIUI (section).

Activated geodata switch in settings

Wi-Fi/Bluetooth scanning enabled

Google Play Services has a "Always" permission

Resetting the Google Play Services cache (Settings) โ†’ Annexes โ†’ Warehouse โ†’ Clear the cache)-->

Method 2: Hidden MIUI settings for accurate GPS

MIUI hides several important parameters that directly affect GPS, which can be accessed through engineering menus or special codes, especially for Redmi and Poco models with MediaTek chipsets (for example, the Helio G96 or Dimensity 9000), where GPS is often โ€œglutchedโ€ due to the wrong AGPS settings.

Instructions for activating hidden functions:

  1. Open the Phone app and enter the code: ##4636## Some models (e.g. Xiaomi 13 Ultra) may require a code: ##1472365###
  2. In the menu that opens, select โ€œPhone Informationโ€ (or โ€œTestingโ€ for MediaTek).
  3. Scroll down to the "GPS" block and press "Start Fix".
  4. Wait until the coordinates appear (may take up to 5 minutes). If the data does not appear, go to "AGPS" and press "Reset", then "Update".

For Qualcomm Snapdragon chipsets (such as the Snapdragon 8 Gen 2 in Xiaomi 14), use an alternative code:

##36446337##

In the EPO menu that opens, click Download to update the GPS auxiliary system data.

What to do if the engineering menu is not opened?
If nothing happens after entering the code, check: 1. Your firmware is not modified (for example, Magisk or custom recavatories are not installed). 2. You use the standard Phone application (not Google Phone or third-party calls). 3. On Chinese versions of MIUI, the engineering menu can be blocked. In this case, use the MTK Engineering Mode application (for MediaTek) or Qualcomm QPST (for Snapdragon).

ChipsetEngineering menu codeFeatures of GPS
MediaTek (Helio, Dimensity)##36446337##Requires manual AGPS updates via EPO, often losing signal indoors.
Qualcomm Snapdragon##1472365##It supports Dual Frequency GNSS (L1+L5), more precisely in urban areas.
Google Tensor (not used in Xiaomi)โ€”For comparison, it uses Googleโ€™s own algorithms.

Method 3: GPS diagnostic applications (GPS Status, GNSS Viewer)

If standard methods fail, you should use specialized utilities that not only show the current coordinates, but also help diagnose problems with the condition. GPS-Best Options for Xiaomi:

  • ๐Ÿ“ GPS Status & Toolbox - shows the number of satellites visible, signal strength and accuracy. MIUI 12-14.
  • ๐Ÿ›ฐ๏ธ GNSS Viewer โ€“ displays data from all navigation systems (GPS, GLONASS, BeiDou, Galileo. Useful for Snapdragon chipsets 8xx.
  • ๐Ÿ” GPSTest โ€“ Tests the time of first fixation (TTFF) and signal stability. Recommended for Poco F4 GT and other game models.
  • ๐Ÿ› ๏ธ Mi Toolkit โ€“ Xiaomiโ€™s proprietary application for iron diagnostics, including GPS (Available only on global firmware).

How to use GPS Status:

  1. Install the app from Google Play.
  2. Run it and wait until the top of the screen says "GPS fixed" (can take up to 10 minutes).
  3. If the satellites are not located, press Clear AGPS, then Download AGPS.
  4. To speed up your search, go to an open area (balcony or street).

๐Ÿ’ก

If GPS Status shows 0 satellites for more than 15 minutes, check the device's antenna. On Xiaomi 12T Pro and Redmi K50 Ultra, it is located at the top of the case - do not cover it with your hand or cover.

โš ๏ธ Note: On the Chinese versions MIUI (China ROM) Some Diagnostic Applications GPS They can be blocked by the system. ADB-teams (see section 5).

Method 4: Geolocation over mobile network and Wi-Fi (without GPS)

If GPS-The module is not working or you are in a room where the satellite signal is weak, you can determine the location by the satellite:

  • ๐Ÿ“ก Cellular towers (accuracy) ~500โ€“2,000 meters).
  • ๐Ÿ“ถ Wi-Fi networks (accuracy) ~20 to 100 meters if the network is in Google).
  • ๐ŸŒ IP-address (accuracy) ~5โ€“50 km, depending on the provider).

To include a definition of networks:

  1. Go to Settings โ†’ Privacy โ†’ Geodata โ†’ Geodata mode.
  2. Select โ€œHigh Accuracyโ€ (using GPS + Wi-Fi + mobile networks) or โ€œSaving Chargeโ€ (networks only).
  3. Enable "Scanning is always available" (in some versions of MIUI this item is hidden - see section 2).

To verify accuracy:

  1. Open Google Maps.
  2. Click on the blue dot (your location) and select "Share geolocation".
  3. Compare the coordinates shown to the actual location. If the divergence is more than 50 meters, try updating the AGPS data (see section 2).

Satellite GPS

Mobile networks + Wi-Fi

Apps like Google Maps

Special utility (GPS Status, etc.)

I don't use geolocation.-->

Method 5: ADB-command GPS

If all of the above methods fail, the last option is to use ADB (Android Debug Bridge).

  • ๐Ÿ”’ Geolocation blocked by politicians MIUI (For example, on work phones).
  • ๐Ÿ”„ GPS Resetting constantly after resetting.
  • ๐Ÿ› ๏ธ You need to manually set the servers. AGPS (relevant to MediaTek).

Instructions for using ADB:

  1. Install. ADB-Drivers on PC and enable "Debugging by" USB" on the phone (Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ Press 7 times, then return to Settings โ†’ Additionally. โ†’ For developers).
  2. Connect your phone to your PC and execute the command to check the connection: adb devices
  3. Include forced use GPS (Even if it is disabled in settings: adb shell settings put global location_mode 3 where 3 โ€” High accuracyโ€ mode" (GPS + network).
  4. To reset your GPS cache, use: adb shell pm clear com.google.android.gms Attention: This will delete Google Play Services data, including saved Wi-Fi passwords!

For MediaTek chipsets, you can manually specify the AGPS server:

adb shell setprop gps.agps.server http://agps.mtk.com/agps

๐Ÿ’ก

ADB-The wrong parameters can cause the geolocation system to fail.

Frequent geolocation issues on Xiaomi and their solutions

Even after you set up your GPS correctly, Xiaomi can still have errors, and here are the most common ones and how to fix them:

Problem.Possible causeDecision
GPS does not find satellites for more than 10 minutesOutdated AGPS data or module failureUpdate your AGPS through the Engineering Menu or GPS Status app
The coordinates are โ€œjumpingโ€ or showing the wrong place.The conflict between Google Location and MIUI LocationTurn off "Geolocation Services" in Settings โ†’ Applications โ†’ Application Management โ†’ System
Geolocation works only with mobile internetWi-Fi scanning for geodata disabledEnable "Scanning is always available" in geodata settings
Applications do not see geolocation (for example, Yandex.Navigator)Restrictions on permission for a particular applicationEnter โ€œAlwaysโ€ in Settings โ†’ Privacy โ†’ Permits โ†’ Geodata

โš ๏ธ Note: On Xiaomi models with infrared port (e.g. Redmi Note 11 Pro)+) There may be a conflict between IR-sensor GPS-If geolocation is lost when using the remote, turn off the IR port in Settings โ†’ Connections and sharing โ†’ Infrared port.

FAQ: Answers to Frequent Questions about Geolocation on Xiaomi

๐Ÿ”น Why? GPS Xiaomi is worse than Samsung?
Xiaomi is more aggressive in optimizing background processes, including GPS. In addition, in budget models (for example, Redmi). 10A) simplified GPS-To improve accuracy, disable Battery Optimization for Google Play Services. Use apps like GPS Locker for Forced Signal Retention.
๐Ÿ”น Can geolocation be disabled for specific applications?
Yes, go to Settings. โ†’ Confidentiality โ†’ Permits โ†’ Geodata, select the application and set the resolution "Never" or "Only during use". โš ๏ธ On Chinese firmware (MIUI China) this item may not be available. ADB: adb shell pm revoke Package Applications android.permission.ACCESS_FINE_LOCATION
๐Ÿ”น How to check which apps are using my geolocation?
MIUI has built-in monitoring: Go to Settings โ†’ Privacy โ†’ Special Access โ†’ Access to Geodata. Click on "Geodata Access Log" This shows all the apps that have requested your location in the past 24 hours. For more detailed analysis, use AppOps (root rights required).
๐Ÿ”น Why After Updating MIUI geolocation stopped working?
This is a typical problem when you upgrade to a new firmware version. AGPS. Solution: Reset network settings: Settings โ†’ SIM-maps and mobile networks โ†’ Reset the network settings. Update the data. AGPS through the engineering menu (see section 2). If it does not help, reset through ADB: adb shell cmd gps set-delete-aiding-data
๐Ÿ”น Can you fake geolocation on Xiaomi without root?
Yes, but with limitations: ๐Ÿ“ฑ Mock Locations (required to enable Developer Mode and select an application to simulate in Settings) โ†’ For developers โ†’ Simulation of location). ๐Ÿ–ฅ๏ธ PC emulators (e.g. BlueStacks with Fake app) GPS Location). โš ๏ธ Nana MIUI 14 and later, these methods may not work due to Mi Safety Center protection.