How to disable Google geolocation on Xiaomi phone

Owning a modern Android smartphone, especially one with a MIUI or Xiaomi HyperOS shell, often poses a dilemma: comfort vs. privacy. Many device owners notice that even when GPS is turned off, some apps continue to request location, and the history of movements is stored in the Google account. This is because a standard slider in the notification curtain is often not enough to completely deactivate all tracking mechanisms.

Disabling geolocation on Xiaomi devices requires a comprehensive approach, since Android has multiple levels of access to location data.You will have to go from basic phone settings to deep Google account settings and even use special commands to reset advertising identifiers. Ignoring some of these steps can leave a β€œdigital footprint” that will allow corporations to track your movements to within a few meters.

In this article, we will discuss in detail all available methods to restrict access to your coordinates, and we will not just turn off the switch, but will configure the system so that it protects your privacy as effectively as possible without critically damaging the functionality of the main applications.

Basic configuration of location services in MIUI

The first and most obvious step is to work with the main switch in the system. However, on Xiaomi smartphones, the settings menu may differ depending on the version of the shell. You need to go to Settings, then select Privacy or Advanced Settings, where you have location access control, and it's important not just to turn off shared access, but to configure it in detail.

Modern versions of Android allow you to choose the accuracy mode. If you want to completely disable tracking, but leave the navigation option to work if necessary, use the option "GPS Only", which will prohibit the use of Wi-Fi and cellular networks for determining coordinates, which will significantly reduce the accuracy of background surveillance.

⚠️ Warning: A complete shutdown of geolocation services may cause alarm clocks that use sunrise to malfunction and disrupt Find Device in case of theft.

You should also look at the location history, which is kept separate from the main switch. Even if GPS is turned off, Google can save data about your Wi-Fi connections. To clean this section, go to Settings β†’ Google β†’ Location β†’ Google Location History. Here you can not only stop recording, but also delete all accumulated data.

πŸ“Š How often do you check the permissions of the application?
Every day.
Once a week.
Only when installed
I never check.

Controlling Application Access to GPS

The biggest data on your movement is collected not by system services, but by installed applications. Social media, instant messengers, and games often request access to geo-location β€œalways,” even when you’re not using them. MIUI has a handy tool to control these permissions, which is along the way of Settings β†’ Privacy Protection β†’ Permission Management β†’ Location.

In this list, you'll see all the apps that have access to your coordinates, and it's recommended that most of them be "Request Every Time" or "Only When Used" modes, which will prevent background data collection, and pay special attention to applications that don't seem to know where you are, such as flashlights or calculators.

  • πŸ“ Virtual Location: Enable Developer Mode and Select a Fake App GPS, Transmitting false coordinates to unnecessary services.
  • πŸ”’ Micro-permissions: Newer versions of Android allow apps to be given approximate, not exact, location, which hides your exact address.
  • πŸ“‰ Background Activity: Check the list of applications running in the background and deny them access to the network if they are not constantly in use.

Remember that some Xiaomi system applications, such as Security or Explorer, may also have access to geodata to provide localized news or advertising, and their permissions can also be limited if you do not use specific features that depend on the region.

πŸ’‘

Use the Virtual Location feature in the developer settings to swap real coordinates for random ones for applications you don’t trust.

Setting up Google Account and Advertising Identifiers

Even when it's off. GPS On your phone, your Google account continues to collect location information through your phone. IP-To minimize this effect, you need to go to the settings of the account itself. β†’ Google β†’ Google Account Management: This is the tab for Data and Privacy".

The key element here is the advertising ID. It's a unique number that is assigned to your device for targeted advertising. Its regular reset breaks the link between your current activity and past activities. On Xiaomi phones with Android 12 and up, this feature is moved to Privacy β†’ Advertising.

ParameterRecommended valueImpact on privacy
Location historyOff.High (main tracker)
Application history and web searchPause/AutoremovalMedium (contextual advertising)
Advertising IDReset/DeleteAverage (targeting)
YouTube ActivityOff.Low (recommendations)

You should also disable geodata synchronization for Google Photos and Google Maps if you don’t use timeline or geotagging in the cloud, which will prevent the metadata about the location from being uploaded to the company’s servers.

β˜‘οΈ Checking the settings of the Google account

Done: 0 / 4

Using Developer Mode to Reset Data

For more advanced users who want to maximize anonymity, there is the possibility of using hidden Android settings. Developer mode on Xiaomi is activated by seven times pressing the build number in the About Phone section. After activation, a new item will appear in the menu "Extended settings" or "Additional".

Inside the developer menu, we're interested in the location testing section, and you can find the option "Select an app for a dummy location." By selecting a special application (like Fake GPS), you can make the system think you're in another place in the world, which effectively blocks real geolocation services from other applications.

In addition, a command is often available in this section to reset network and Bluetooth settings, which also affects location determination through a scan of the environment. Periodic reset of these settings clears the cache of nearby towers and Wi-Fi points accumulated by the system.

⚠️ Attention: Enabling developer options may affect the stability of some banking and cheating-proof games.

List of hidden ADB commands for advanced
To completely disable Google Play Services, you can use the ADB command: pm disable-user --user 0 com.google.android.gms.location.history, but this can disrupt the map and search.

Limiting background activity and Google Play services

Google Play Services is at the heart of the Android ecosystem and is responsible for a host of background processes, including geolocation. Completely disabling this component is impossible without loss of functionality, but it can be significantly limited. Go to Settings β†’ Apps β†’ All apps β†’ Find Google Play Services.

Under "Battery Consumption" or "Activity Control," set a limit on background work. This will not allow the service to constantly poll. GPS-It's also useful to turn off the location permission for the Google app itself, unless you're using voice search with locality.

  • πŸ”‹ Energy saving: Enable aggressive power saving mode for background applications, which will automatically limit their access to the power supply. GPS.
  • 🚫 Blockers: Use DNS-filters (e.g. AdGuard) can block requests to tracking servers at the network layer.
  • πŸ“‘ Wi-Fi Scanning: Turn off Wi-Fi and Bluetooth scanning at any time in advanced location settings.

It’s important to understand that Google Play Services is constantly updated and settings may be reset after major system updates.

πŸ’‘

Limiting background activity on Google Play services is the most effective way to stop hidden geodata collection without losing the basic functions of the smartphone.

Alternative methods and use of third-party solutions

If standard MIUI tools are not enough, you can resort to installing specialized software. There are firewall applications such as NetGuard or AFWall+ (requires root rights) that allow you to completely deny certain applications access to the Internet, even if they try to send coordinates.

Another method is to use profile settings: some versions of MIUI can create profiles (e.g., Work, Home) where geolocation is enabled only for the navigator, and all other applications are blocked globally, switching between profiles quickly through the notification curtain.

Alternative app stores, such as F-Droid, which distributes open source software that does not contain Google trackers, should also be considered, and replacing standard Google apps with open-source ones (such as Organic Maps instead of Google Maps) significantly increases privacy.

Is it safe to use GPS swapping apps?
Using fake geolocation apps is safe for the device itself, but it can lead to account blocking on some services (such as PokΓ©mon GO or banking apps) that view it as an attempt to cheat.
Does turning off geolocation affect the alarm clock?
Conventional alarm clocks run on system time and don't require GPS, but smart alarm clocks that wake up in REM sleep or take into account sunrise may not work properly without access to location.
Can I remove Google Play Services from Xiaomi?
Theoretically, yes, through ADB or root rights, but this will render most apps that rely on the Google Framework inoperable, including YouTube, Gmail, and many games.
How often should I reset my advertising ID?
To effectively break the user profile, it is recommended to reset the advertising ID every 1-2 weeks or before installing new suspicious applications.
Will the police pick up the phone if the geolocation is turned off?
Disabling the geolocation of the phone is not an offence, but in some jurisdictions, the concealment of data can be considered as obstruction of investigation if the phone is seized by a court order.