Why does Google geolocation work on Xiaomi even after itβs turned off?
Have you noticed that Google continues to track your location on Xiaomi smartphone despite the geolocation settings being disabled?It's not paranoia - that's how the Google Play Services ecosystem works. Even if you turn off GPS in the notification curtain, many apps (including Google Maps, YouTube and Google Photos) can determine your location through:
- π‘ Mobile network data (cellular towers)
- πΆ Wi-Fi access points (even without connecting to them)
- π Background activity of Google services (e.g. com.google.android.gms)
- π± Built-in functions MIUI (For example, Mi Cloud or Find Device)
On Xiaomi smartphones (including Redmi, POCO and Black Shark), the problem is complicated by a dual permission system: in addition to standard Android settings, MIUI restrictions apply. For example, even after disabling geolocation in Google settings, some features (such as Adaptive Battery or Application Permissions) can automatically turn it back on.
In this article, we will discuss 5 ways to completely disable Google geolocation on Xiaomi, from basic settings to deep changes in the system. ADB-team.
Method 1: Disabling geolocation in Android settings
Start with basic Android settings. This method works on all Xiaomi smartphones (including the Redmi Note 12, POCO X5, Mi 11, etc.), but does not guarantee a 100% result - some Google services may ignore these restrictions.
Steps:
- Open Settings β Privacy β Application permissions β Geodata.
- Switch the geodata slider to the off position.
- Scroll down and select Google Location History β turn it off.
- Go back and click on Additional Settings β Scan β Turn off Wi-Fi Scanning and Bluetooth Scanning.
β οΈ Note: After disabling geodata, some functions will stop working:
- π Navigation in Google Maps (but maps will be available offline).
- πΈ Geotags on Google Photos.
- π Location-based recommendations on YouTube or Google Assistant.
βοΈ Verification of geolocation disconnection
Method 2: Restriction of Google Play Services
Google Play Services is the main spy in your smartphone, responsible for background geolocation even if you have disabled GPS. On Xiaomi, this service often works bypassing standard resolutions, so it needs to be restricted separately.
Instructions:
- Go to Settings β Applications β Application Management.
- Find Google Play Services (or Google Play Services) and open it.
- Select Permissions β Geodata and set Prohibit.
- Go back and press Battery β Background Activity β select Limit.
- For full effect, disable AutoRun (in some versions of MIUI, this item is hidden β see spoiler below).
How to find a "Stop" in MIUI 14?
Once Google Play Services is restricted, some apps (like Gmail or Google Pay) can give out sync errors. That's OK, that's how surveillance works.
| Annex | What breaks when geodata is turned off | How to get around |
|---|---|---|
| Google Maps | Real-time navigation is not working. | Download the maps offline in advance |
| YouTube | Does not show local recommendations | Using VPN to Change Regions |
| Google Photo | No geotagged | Add location manually |
| Google Assistant | Voice search by area is not working | Disable the assistant completely |
Method 3: Disconnect via ADB (for power users)
If standard methods don't work, you'll have to use ADB (Android Debug Bridge), which is a way for Xiaomi on Android 10+ and requires a connection to a computer, and the advantage is that it blocks geolocation at the system level, bypassing the limitations of MIUI.
Step-by-step:
- Turn on Developer Mode on your smartphone: go to Settings β About Phone and 7 times click on the MIUI version.
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect your phone to your PC, install ADB Tools, and execute the commands:
adb shell pm revoke com.google.android.gms android.permission.ACCESS_FINE_LOCATION
adb shell pm revoke com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
adb shell settings put global location_mode 0β οΈ Warning: These commands completely disable geolocation access for all Google services, including Maps and Find My Device:
adb shell settings put global location_mode 3π‘
If so, ADB-If you want to know if you're going to get geolocation, check for updates for Google Play Services. Sometimes newer versions will reset the restrictions.
Method 4: Use of alternative firmware (for advanced)
If youβre willing to take drastic measures, installing custom firmware (like LineageOS or Pixel Experience) will remove Google services completely or allow you to control them through MicroG, a lightweight alternative to Google Play Services.
Pros:
- β Full control of geolocation.
- β No background activity of Google.
- β Use F-Droid instead of Play Market.
Cons:
- β Complex installation (requires unlocking the bootloader).
- β There may be problems with the camera or sensors (especially on the camera). POCO and Black Shark).
- β There is no warranty on the device after unlocking.
To install custom firmware on Xiaomi:
- Unlock the bootloader through the official Xiaomi tool (can take up to 72 hours).
- Install TWRP Recovery for your model (see instructions on XDA Developers).
- Fastboot or TWRP to run the firmware.
π‘
Custom firmware is the only way to get rid of Google's surveillance completely, but it's only suitable for power users. For most, 1-3 is enough.
Method 5: Physically disabling sensors (extreme case)
If software methods don't work, you can physically shut down GPS modules and sensors, which is a radical step, but it's guaranteed to stop any tracking, and it's suitable for devices that are used without navigation, such as tablets or backup phones.
How to do this:
- π§ Shutting down the antenna GPS: Take the phone apart and unplug the plume. GPS-Module (soldier iron and repair experience required) on some Xiaomi models (e.g. Redmi) 9A) module combined with NFC β Disabling one will affect the other.
- π΄ Foil use: Screen the back cover with aluminum foil (not recommended for permanent use - degrades the network signal).
- π Disable sensors via build.prop: Add the ro.location.disabled string=1 to the system file (root rights required).
β οΈ Attention: Physical intervention deprives of warranty and may lead to:
- Loss of GPS and GLONASS signal.
- Unstable operation of Wi-Fi and Bluetooth.
- Problems with location in emergency services (e.g., emergency call).
Frequent Mistakes and How to Avoid Them
Many Xiaomi users are faced with the fact that Google geolocation turns on itself.
1. Automatic Enablement After Updating MIUI
After the system update, Xiaomi often resets its privacy settings.Solution: After each update, check:
- Settings β Privacy β Geodata
- Settings β Applications β Google Play Services β Permissions
2. background activity of Mi Cloud
The Mi Cloud service (Xiaomi Cloud) can include geolocation for Find Device. Solution: Turn off sync in Settings β Xiaomi Account β Mi Cloud β Find the device.
3. Spy applications
Some apps (like Facebook, TikTok, or AliExpress) request geodata separately from Google.Solution: Check each application's permissions manually through Settings β Apps β Permissions Management.
π‘
To quickly find all applications with access to geolocation, use the search in the settings: open Settings and enter in the search bar "geodata".