Xiaomiβs MIUI-based smartphones are using geolocation data to power maps, weather widgets, and personalized services. However, constant coordinate transfers can threaten privacy or simply drain the battery. In this article, weβll look at all the ways to disable geodata, from basic settings to hidden firmware functions.
It is important to understand that geolocation in Xiaomi works on three levels: hardware (GPS-chip), system (MIUI Location Services and software (Google Play Services) Deactivating completely requires intervention in all three layers. We'll look at both standard methods from the settings menu and advanced tricks for power users.
1. Disable geolocation in MIUI settings
The most obvious way is to use the built-in MIUI tools, which will work for most models (Redmi Note 11, POCO X5, Xiaomi 13, etc.), but has a limitation: some system applications will still get approximate location through Wi-Fi and cell towers.
To disable geodata:
- π Open the Settings. β Confidentiality β Permits β Location
- π Transfer the top slider to the off position.
- π Scroll down and click on Additional Settings β Scanning.
- β‘ Turn off Wi-Fi Scanning and Bluetooth Scanning for precise location determination
After this action GPS-The app will not work for all apps, but Google and MIUI They can still determine your approximate location through IP-address and data of the operator.
π‘
If after disabling geolocation banking applications (SberBank, Tinkoff) stopped working, add them to the exceptions in the section Permits β Location β Exceptions.
2. Managing permissions for individual applications
Even with geolocation turned off, some programs can request access to coordinates, and in MIUI 14 and later, there is a granular control feature that allows access only while using the application or completely blocks.
How to set up:
- Go to Settings β Applications β Application Management
- Select the desired application (for example, Google Maps or Yandex.Maps)
- Press Permissions β Location
- Choose one of the options: π« Prohibit - full block π Only during use - access only when the application is open β Allowed β permanent access (not recommended)
Pay special attention to system services:
- π± com.miui.location β Geolocation service MIUI
- π Google Play Services is Googleβs primary data collector
- π‘ MiuiDaemon - background process that transmits telemetry
3. Disabling Google Location Services
Google collects location data even when GPS is turned off, through Location History and Google Location Accuracy, to stop this activity completely:
Step 1: Turn off location history:
- Open the Google Maps app
- Slip on your profile avatar β Your timeline
- Press. βοΈ β Timeline settings
- Turn off Location History and Web Search and Application Activity
Step 2: Deactivate the accuracy improvement:
- π± Go to Settings. β Google β Google services β Location
- π Turn off Improved Location Accuracy
- ποΈ Click Delete Location History (if there is stored data)
After this action, Google will stop saving your movements, but some services (such as searching for nearby devices) may work worse.
4 Advanced Methods: ADB and Hidden Settings
For users with unlocked bootloader and root rights, there are additional ways to disable geolocation at the system level, which require technical skills and can lead to unstable device operation.
Method 1: Disconnect via ADB (without root):
adb shell settings put global location_mode 0
adb shell settings put global location_providers_allowed -gps,-networkMethod 2: Freeze system services (requires root):
- π οΈ Use Titanium Backup or AppOps to freeze: com.google.android.gms (Google Play Services) com.miui.location (MIUI Location) com.xiaomi.midrop (Mi Drop - uses geodata to transfer files)
Method 3: Edit the build.prop file (power users only):
ro.location.no_gps=1
ro.com.google.locationfeatures=0What happens if you turn off all geolocation services?
5. Alternative solutions: VPN and mock location
If you donβt need to turn off geolocation completely, but simply hide your real location, consider these options:
| Method | Advantages | Deficiencies | Need root? |
|---|---|---|---|
| VPN with geo-change | Masquerading IP-address and approximate location | Doesn't affect GPS-coordinates, paid rates | β No. |
| Mock Location (Fake Location) | Substitute GPS-coordinates for all applications | Requires the activation of the developer mode, may not work in banking applications | β No, but you do. ADB-team) |
| Xposed modules (e.g., FakeGApps) | Deep substitution of geodata at the system level | Complex installation, risk of unstable work | β Yes. |
| C-squads GPS-spoofer | Physical Signal Substitution (for Testing) | Expensive, requires special equipment | β No. |
To activate Mock Location:
- Enable Developer Mode (7 times tap the Build Number in Settings β About Phone)
- Go to Settings β Additional β For Developers
- Find the Mock Application Selection for Location and specify the Spoofer App (e.g. Fake GPS Location)
Enable Developer Mode |Install the spoofer app (Fake GPS, Fly GPS)|Select it in the mock location settings |Disable real GPS in the settings |Reboot the device-->
Verification of the effectiveness of the disconnection
To make sure that the geodata is actually disabled, use these verification methods:
Method 1: Online services:
- π Open up. browserleaks.com/geo browser-wise
- π‘ Check the IP-Geolocation data and HTML5 Geolocation
- β If all fields are empty or show incorrect data, geolocation is disabled.
Method 2: Test applications:
- π± Install. GPS Status & Toolbox from Play Market
- π Check status. GPS: It must be no fix or disabled.
- π‘οΈ In the Sensors section, make sure that location data is not updated.
Method 3: Logs of the system:
adb logcat | grep -i "location\|gps\|fused"If there are no records of obtaining coordinates in the logs, the geolocation is successfully blocked.
Wi-Fi Network Data (BSSID)
- Information about cell towers (Cell ID)
- IP-address (provider geolocation)
For complete anonymity, use a combination of methods: disable GPS + VPN + permit-locking.-->
7. Frequent problems and their solutions
When disabling geolocation, Xiaomi users often face these difficulties:
β οΈ Attention: If after the shutdown GPS Mobile payments (Google Pay, Mi Pay) have stopped working, check the security settings in the banking application. Some financial services require enabled geolocation to confirm transactions.
Problem 1: The geolocation itself turns on after the reset.
Solution: This involves automatic time-zone synchronization. Turn it off in Settings β System β Date and Time β Autodetermination.
Issue 2: Apps ignore location bans.
Solution: Use AppOps (root required) to force the block:
adb shell appops set [package_name] android:location OFFReplace. [package_name] on the problem application ID.
Problem 3: The connection quality deteriorated after the Wi-Fi scanning was turned off.
Solution: Turn back Wi-Fi Scanning in your location settings, but turn off Accuracy Improvement in Google services, which will allow you to maintain a stable connection without transferring geodata.