Changing the geolocation of Xiaomi smartphones can be used for different purposes, from testing applications to circumventing regional restrictions. However, not all methods are equally safe โ some can disrupt system services or lead to a ban of an account. In this article, we will analyze 5 proven methods, including official MIUI settings, third-party applications and technical tricks through ADB.
It's important to understand that changing geolocation doesn't always mean changing coordinates physically. At the Android level, there are three types of localization: GPS (satellite), network (cell towers), and Wi-Fi/Bluetooth (closest access points), each method affects them differently, for example, applications like Fake GPS cheat only programs, but do not change the real data for system services.
If you plan to use the relocation for games (like Pokรฉmon GO), social networks or banking applications, be careful. Many services have spoofing protection and can block an account. For secure testing, use a virtual environment or a second phone.
Official MIUI settings: limited but safe way
Standard MIUI tools allow you to disable precise location or select a data source, but not change coordinates directly, which is a good technique if you need to hide your real position from applications, but not fool them.
To adjust the parameters:
- ๐ฑ Open the Settings. โ Confidentiality โ Permits โ Location.
- ๐ Turn on or off the exact location (this affects accuracy) GPS).
- ๐ก Select Only the Device (GPS) or high precision (GPS + network) in the section Location mode.
- ๐ซ For individual applications, you can prohibit access to geodata in the Application Permissions menu.
The limitations of the method: you can't give arbitrary coordinates, you can only control accuracy and access. You need third-party tools to spoof fully.
โ ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 12 Pro)+) When you turn off the exact location, functions like Google Maps or Mi Fit may stop working.
2. Fake GPS apps: a simple but risky method
The most popular way is to use spoofer apps like Fake GPS Location, Mock Locations or Fly GPS, which mimic GPS signals by tricking apps, but not system services, and run on most Xiaomi devices running Android 10โ14.
Instructions for setting:
- Download the app from Google Play (e.g. Fake GPS by Lexa).
- Turn on Developer Mode on your phone: go to Settings โ About Phone โ MIUI version and tap 7 times on the build number.
- Return to Settings โ Additional โ For developers and select Mock Locations โ specify the downloaded application.
- Open the app, select a point on the map and click Start.
Advantages: does not require root rights, works on most models (Poco X5 Pro, Redmi K60, etc.). Disadvantages: many games and social networks detect spoofing, possible location bugs after disconnection.
Install the app from the official store |Enable developer mode |Select the application in the Mock Locations settings |Switch off Wi-Fi for greater stability |Check work in Google Maps-->
3. ADB-commands: change geolocation without root (for advanced ones)
If spoofer apps donโt work (for example, because of a lock in MIUI 15), you can use ADB, the Android debugging tool, which doesnโt require root rights, but you need command line skills and a computer.
Step-by-step:
- Install Platform Tools on your PC.
- Connect your phone via USB, enable debugging via USB in the developer settings.
- Open the command line (cmd) and execute: adb shell settings put global development_settings_enabled 1 adb shell am start -n com.android.settings/.DevelopmentSettings adb shell settings put global mock_location 1
- Set the coordinates through ADB: adb shell am broadcast -a android.location.PROVIDERS_CHANGED adb shell am broadcast -a android.intent.action.PROVIDER_CHANGED -e location "55.7558,37.6173" -e accuracy 10 (Replace coordinates with the right coordinates).
Critical feature: once the phone is restarted, the settings will reset. To fix the changes, you will need to create a script or use Tasker.
โ ๏ธ Note: Some Xiaomi firmware (for example, MIUI Global Stable teams ADB If the location does not change after you enter the commands, try to disable Miui Optimization via the ADB: adb shell settings put global miui_optimization_disabled 1
What if the ADB does not recognize the device?
4.Regional change in MIUI settings: to bypass service restrictions
If the goal is not to change coordinates, but to bypass regional locks (for example, for Google Play or Mi Video), you can change the region directly in the settings. This does not affect GPS, but changes the country for system services.
How to change the region:
- ๐ Go to Settings. โ Additionally. โ Region.
- ๐ Select the country you want (e.g., the United States or Germany).
- ๐ Restart your phone โ some apps (like Netflix) may require cache cleaning.
| Region | Affordable services | Limitations |
|---|---|---|
| USA | Google Play (all apps), Netflix (full directory), Disney+ | Some banking applications may block access |
| India | Cheap service subscriptions, early access to MIUI features | Limited catalogue in Google Play |
| Europe (Germany) | Strict Data Protection (GDPR) and access to European services | Some applications require a local phone number |
| Japan | Early MIUI updates, exclusive camera features | Many services in Japanese |
This method does not change GPS-Google Play will be able to use the same coordinates, but it can help with access to content, for example, if you change the region to the United States, Google Play will have applications that are not available in Russia or Europe.
๐ก
If an app (like YouTube) doesnโt update content after changing a region, clear its cache in Settings โ Apps โ Select an app โ Storage โ Clear the cache.
5. Root access and Magisk modules: maximum flexibility
Full geolocation control requires root access and modules like FakeGApps or MagiskHide Props Config, a method that is suitable for power users because it disrupts the integrity of the system and can lead to a ban in banking applications or Google Pay.
Instructions for Magisk:
- Install Magisk and get root access (instructions depend on the model, Xiaomi Unlock Tool is often used for Xiaomi).
- Download FakeGApps via Magisk Manager.
- In the module settings, select the applications for which you need to change the location.
- Please specify the coordinates manually or through the map.
Advantages: works even for system applications, you can flexibly configure exceptions. Risks: loss of warranty, possible problems with the system OTA-updates, bans in root-protected services (for example, Pokรฉmon GO).
โ ๏ธ Attention: On devices with MIUI 14/15 Android 13/14 Some Magisk modules may conflict with Zygote, causing occasional reboots. XDA Developers for your model (e.g. Xiaomi) 13 Ultra or Redmi Note 12).
6. Virtual Machines and Emulators: Risk-Free Testing
If you need to test an app with a different geolocation, but you donโt want to risk the main phone, use Android emulators or virtual machines. For example, BlueStacks, Genymotion or Android Studio Emulator let you set any coordinates without consequences.
How to set up in BlueStacks:
- ๐ฅ Install BlueStacks and create a virtual device.
- ๐ In the emulator settings, find the Location section and enter the coordinates (for example, 40.7128,-74.0060 for New York).
- ๐ฎ Install the required application (for example, Pokรฉmon GO) and check the work.
This method is completely safe, but it's only suitable for testing, and it's going to require other methods for real use on a physical device.
๐ก
Emulators are the only method that doesn't affect the main device or violate the rules of services, ideal for developers and testers.