Geolocation on Xiaomi smartphones is a two-way sword: on the one hand, it makes the device โsmarterโ (accurate weather forecasts, quick search for nearby cafes, navigation in Google Maps), on the other hand, it becomes a source of irritation due to constant requests for access, rapid battery discharge and potential leaks of confidential data. But what if you want to not just turn off the geolocation, but completely reset it to the factory settings โ delete the cache, erase the history of locations and return the phone to โcleanโ state?
In this article, we will discuss 5 working methods, including standard MIUI settings, hidden features for developers, ADB teams, and even hardware reset. Importantly, the procedure differs depending on the firmware version (for example, MIUI 12 vs MIUI 14) and the smartphone model (Redmi Note 11 vs Xiaomi 13 Pro).
Why is it difficult to reset geolocation on Xiaomi in one click?
Unlike the iPhone, where geolocation resets are reduced to disabling one option in Settings โ Privacy, Xiaomi smartphones use a multi-level tracking system:
- ๐ Hardware module GPS/GLONASS is a physical chip that can not be โnullifiedโ software.
- ๐ฑ System services MIUI โ background processes that, even after geolocation is disabled, can store data.
- ๐ Google Services โ If you use Google Maps or Find My Device, your location history is stored on Google servers.
- ๐ App cache โ maps, social networks and instant messengers (for example, Telegram or Telegram) VK) Store geodata locally.
So just turning off geolocation in the settings is not enough, and to really shed all the traces, you have to combine several methods, and we'll break them down by their efficiency, from the simplest to the most radical.
Method 1: Standard reset via MIUI settings (without data loss)
This is a good way to turn off geolocation and clear your history, but you're not ready to drop your phone before the factory settings. It works on all Xiaomi, Redmi and POCO models with MIUI 11 and later.
Steps:
- Open Settings โ Applications โ Permissions โ Geolocation.
- In the upper right corner, press three dots (โฎ) and select Location History.
- Click Clear History and confirm the action.
- Return to the Geolocation section and disable the slider for all applications that do not need location access.
- Go to Settings โ System โ Additional โ Privacy โ Special Access โ Access to the location in the background and turn it off for all applications.
This method does not delete data from your Google account (if you use Google Maps or Timeline).To clear it, go to Google Timeline and manually delete the history.
โ๏ธ What to do before resetting geolocation
Method 2: Reset via Developer Settings (Hidden Functions)
If a standard reset doesn't work, you can use developer mode, which allows you to disable background geolocation tracking at the system level, but requires you to activate a hidden menu.
Instructions:
- Activate Developer Mode: Go to Settings โ About Phone. Find the MIUI Version and click on it 7 times in a row. You become a developer notification will appear.
- Back to Settings โ Additionally. โ For developers.
- Find options: Turn off permissions in the background - turn on. Turn off location access - turn on. Fictitious locations - select Apps only (this will block access to real ones). GPS-data).
Reboot the phone.
What if there is no โDevelopersโ item?
โ ๏ธ Note: After activating the developer mode, some features (such as Mi Pay or Face Unlock) may not work stable. If you notice a failure, return the settings to the original state.
Method 3: Complete reset via ADB (for advanced users)
If you're willing to go further than standard settings, Android Debug Bridge (ADB) will allow you to reset system-level geolocation, a technique that requires you to connect your phone to your computer, but gives you maximum control over settings.
What you need:
- ๐ฅ๏ธ Computer with Windows/macOS/Linux.
- ๐ Installed drivers Xiaomi and ADB Tools (you can download from the official website).
- ๐ USB-cable (preferably original).
Step-by-step:
- Enable USB Debugging in Settings โ For Developers.
- Connect the phone to your computer and confirm your trust in the device.
- Open the command line (or Terminal) and type: Adb devices Make sure your Xiaomi appears in the list.
- Follow the commands to reset geolocation: adb shell pm clear com.google.android.gms adb shell pm clear com.android.location.fused adb shell settings put global shell settings location_mode 0
- Reboot the phone.
| ADB Team Team | What's he doing? |
|---|---|
| pm clear com.google.android.gms | Clears the cache and data of Google Play Services (including geolocation history) |
| pm clear com.android.location.fused | Resets the system service of location merger (Fused Location Provider) |
| settings put global location_mode 0 | Disables all geolocation sources (GPS, networks, Wi-Fi) |
โ ๏ธ Attention: Misuse of the right ADB If you are not sure about your actions, skip this method or consult a specialist.
๐ก
Before execution ADB-commands to back up data through Settings โ System system โ Backup. It'll help you recover your phone if something goes wrong.
Method 4: Recovery Mode Reset (hard reset)
If geolocation is โhungโ (for example, the phone constantly shows incorrect coordinates or cannot determine the location), reset via recovery mode can help.This method does not delete user data, but resets system settings, including GPS modules.
Instructions:
- Turn off the phone.
- Press the button combination: For most models: Volume up + Power. For Xiaomi 12/13 series: Volume up + Volume down + Power.
Mi Recovery
Wipe & Reset
Wipe All Data
leave out
Confirm the action and wait for the reboot.
After resetting, the geolocation will work โlike newโ, but you will have to reconfigure Wi-Fi, accounts and other settings.
๐ก
Resetting via Recovery Mode does not delete photos, videos, and documents, but resets all system settings, including Wi-Fi passwords and linked accounts.
Method 5: Hardware discharge (last resort)
If all previous methods failed (e.g. GPS doesnโt work at all or shows coordinates with a few kilometers error), the problem may be in the hardware geolocation module.
- ๐ง Flashing your phone through the Mi Flash Tool (deletes all data!).
- ๐ ๏ธ Replacement GPS-antennas (relevant for phones after falling or getting moisture).
- ๐ก Update the module through the service center (if the problem is the firmware module).
โ ๏ธ Note: Hardware resets should only be performed in authorized Xiaomi service centers. IP-certification, such as Xiaomi 13 Ultra, may result in loss of water resistance and cancellation of warranty.
If you decide to reflash the phone yourself, use only official firmware from the site. MIUI Unofficial builds (like LineageOS or Pixel Experience) can disrupt the work GPS-module.
Frequent Mistakes and How to Avoid Them
When resetting geolocations to Xiaomi, users often face typical problems.
| Problem. | Reason. | Decision |
|---|---|---|
| Geolocation doesn't shut down. | MIUI or Google Play Services Background Processes Block Changes | Use ADB (Method 3) or disable auto-run applications in Settings โ Battery โ Auto-Run |
| After reset, GPS does not catch satellites | AGPS data is outdated (used for fast satellite search) | Update AGPS via GPS Status & Toolbox or adb shell su -c 'rm /data/misc/agpsdata/* |
| The phone is warming and discharged quickly | GPS module is working in enhanced mode due to failure | Reset with Recovery Mode (Method 4) or calibrate your compass in Google Maps |
If none of the methods worked, check your phone for viruses (for example, through Malwarebytes) โ some spyware can block changes to geolocation settings.