Using fake GPS on Xiaomi smartphones can be useful for testing geolocation services, circumventing regional restrictions in games or protecting privacy. However, standard MIUI settings block this feature โ it must be activated through hidden developer settings and special applications. In this article, you will find current ways to enable Fake GPS on Xiaomi in 2026, including bypassing typical errors (for example, โMock not allowed locationsโ).
It is important to understand that changing geodata may violate the rules of some services (for example, Pokรฉmon GO or banking applications), so use the feature only for legitimate purposes. We will look at methods for all modern versions of MIUI (12 to 14), as well as alternative solutions for devices with a locked bootloader.
Why do you need fake coordinates on Xiaomi?
The mock locations feature is originally designed for developers, but it is also used by regular users.
- ๐ฎ Geolocation Games: Changing the Region Pokรฉmon GO, Harry Potter: Wizards Unite without physical movement.
- ๐ Bypassing regional blockings: access to country-restricted content (e.g. on Netflix or YouTube).
- ๐ก๏ธ Privacy: hiding the real location in messengers or social networks (for example, in Telegram or WhatsApp).
- ๐จโ๐ป Application testing: checking the operation of geo-dependent functions without going outdoors.
However, there are limitations: some apps (such as banking or taxi services) block access when fake coordinates are detected, and Xiaomi actively closes the loopholes for changing GPS in new versions of MIUI, so methods require regular updates.
โ ๏ธ Attention: Use of Fake GPS in multiplayer games (for example, Pokรฉmon GO) The developers of these games are actively fighting cheaters, analyzing not only coordinates, but also speed, altitude and other parameters.
Preparation of the smartphone: unlocking the developer mode
Before you turn on fake GPS, you need to activate the developer mode and allow debugging over USB.This process is the same for all Xiaomi devices (including Redmi, POCO and Black Shark), but may vary depending on the version of MIUI.
Follow the step-by-step instructions:
- Open the Settings app.
- Go to About Phone (or About Device in MIUI 14).
- Find the MIUI version and tap it 7 times in a row (you will be notified "You became a developer!").
- Return to the main Settings menu and open a new section โ For developers.
- Activate the switches: Debugging by USB (USB Debugging Allows imitation of location (Allow mock locations)
On some devices (for example, Xiaomi 13 Pro or X-rays) POCO F5) The item Allow location simulation may not be in the developer menu. ADB-Teams (about this in the next section).
Developer mode activated | USB| Debugging enabled Location simulation allowed (if available in menu)| ADB drivers installed on PC (if necessary)
-->
Method 1: Fake GPS through apps (no root)
The easiest way to change the coordinates is to use specialized applications from Google Play. We recommend Fake GPS Location from Lexa or Fake GPS GO - they are regularly updated and support MIUI 14.
Steps to set up the application:
- Download and install one of the applications: ๐ฑ Fake GPS Location (Lexa) ๐ฑ Fake GPS GO
Settings โ Applications โ Permit Management โ Special Access โ Simulation of Location
Select the installed app for fake GPS.
Start
If the coordinates do not change after these actions, check:
- ๐ Reboot your smartphone โ sometimes MIUI Resets permissions after installing new applications.
- ๐ฑ Make sure that in the location settings (Settings) โ Location) High level of accuracy included (GPS + network).
- ๐ซ Turn off Accuracy Improvement (in the same menu) as it can block fake data.
โ ๏ธ Attention: On devices with MIUI 13/14 and Snapdragon processors 8 Gen 2/3 (for example, Xiaomi 13 Ultra or Redmi K60 Pro) applications for Fake GPS They can work unstable due to hardware constraints, and in this case, only unlocking the bootloader and installing the custom core will help.
Redmi Note 12/13|POCO X5/F5|Xiaomi 12/13|Another model|I don't know-->
Method 2: ADB-circumvention MIUI
If the developer menu does not contain the option Allow location simulation, it can be activated via ADB (Android Debug Bridge), which works on all versions of MIUI, but requires a connection to a computer.
Instructions for Windows/macOS/Linux:
- Download and install Platform Tools (includes adb).
- Connect Xiaomi to your PC via USB, select File Transfer mode and allow debugging on your phone.
- Open the command prompt (or Terminal) in the adb folder and execute the commands in turn: adb shell settings put global. development_settings_enabled 1 adb shell settings put global mock_location 1 adb shell appops set --uid [UID_applications] android:mock_location allow to know UID phake GPS, Use the command: adb shell dumpsys package (for example, for Fake) GPS Location name of the package - com.lexa.fakegps.
- Reboot your smartphone.
If the application still does not work after executing the commands, try an alternative method through appops:
adb shell appops set com.lexa.fakegps android:mock_location allow| Xiaomi model | Support for Fake GPS without root | ADB is required | Notes |
|---|---|---|---|
| Redmi Note 12/13 | โ Yes. | โ No. | It works through apps from Google Play |
| POCO X5 Pro | โ ๏ธ Partially. | โ Yes. | It may be necessary. ADB-unlocker |
| Xiaomi 13/13 Pro | โ No. | โ Yes. | Requires MIUI Optimization to be disabled |
| Black Shark 5/6 | โ Yes. | โ No. | Best Compatibility Among Gaming Smartphones |
๐ก
If ADB doesnโt recognize the device, try installing Xiaomi USB Driver drivers manually or using 15 seconds ADB Installer.
Method 3: Disabling MIUI Optimizations (for Advanced Users)
Starting with MIUI 12.5, Xiaomi added MIUI Optimization, which blocks many of the developerโs features, including fake GPS. To get around this limitation, you need to disable optimization via adb:
Step-by-step:
- Connect your smartphone to your PC and activate debugging via USB.
- Follow the command: adb shell pm disable-user --user 0 com.miui.analytics
- Then turn off the main optimizations: adb shell settings put global miui_optimization_disabled 1
- Reset the device.
After that:
- ๐ง In the developer menu will appear item Allow imitation of location.
- ๐ฑ Applications for Fake GPS They will work more consistently.
- โ ๏ธ Certain functions MIUI (Game Turbo or Second Space may not work properly.
To get it all back, do this:
adb shell settings put global miui_optimization_disabled 0
adb shell pm enable com.miui.analyticsWhat happens if you turn off MIUI Optimization?
Problems and Mistakes: How to Fix It?
When setting up fake GPS on Xiaomi, users often encounter typical errors.
| Mistake. | Reason. | Decision |
|---|---|---|
| Mock locations not allowed | No imitation is allowed in the settings | Check Settings โ Special Access โ Location Simulation and select the app |
| Coordinates don't change | Conflict with other GPS services | Turn off accuracy improvement and restart your phone |
| App flies out | Incompatibility with the MIUI version | Install APK with APKMirror (e.g. Android 12+ version) |
| ADB: device unauthorized | No confirmed debugging on the phone. | Turn it off/connect it up. USB-cable and confirm the request on the smartphone screen |
If none of these methods worked, try:
- ๐ Reset network settings: Settings โ SIM-maps and mobile networks โ Resetting network settings.
- ๐ฑ Install Magisk and FakeGApps (requires unlocked bootloader).
- ๐ง Use it. VPN together GPS to circumvent regional inspections (e.g., in the Pokรฉmon GO).
โ ๏ธ Attention: On devices with MIUI Global Stable (e.g. Xiaomi) 12T or Redmi Note 11) after updating the firmware all settings Fake GPS To avoid resetting, back up with adb backup or use the Swift Backup app (root required).
๐ก
The most reliable way to turn on Fake GPS On modern Xiaomi - a combination ADB-switch off MIUI Optimization and use of the Fake application GPS GO manually selected in location simulation settings.