Fake GPS on Xiaomi: how to turn on and configure without errors

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:

  1. Open the Settings app.
  2. Go to About Phone (or About Device in MIUI 14).
  3. Find the MIUI version and tap it 7 times in a row (you will be notified "You became a developer!").
  4. Return to the main Settings menu and open a new section โ†’ For developers.
  5. 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:

  1. 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:

  1. Download and install Platform Tools (includes adb).
  2. Connect Xiaomi to your PC via USB, select File Transfer mode and allow debugging on your phone.
  3. 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.
  4. 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 modelSupport for Fake GPS without rootADB is requiredNotes
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:

  1. Connect your smartphone to your PC and activate debugging via USB.
  2. Follow the command: adb shell pm disable-user --user 0 com.miui.analytics
  3. Then turn off the main optimizations: adb shell settings put global miui_optimization_disabled 1
  4. 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.analytics

What happens if you turn off MIUI Optimization?
Disabling MIUI optimizations can lead to: - Increased battery consumption (by 10-15%); - Loss of some branded features (for example, App Vault or Quick Ball); - Unstable navigation gestures; - The appearance of bugs in interface animations. It is recommended to use this method only when absolutely necessary and return settings after using Fake GPS.

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 allowedNo imitation is allowed in the settingsCheck Settings โ†’ Special Access โ†’ Location Simulation and select the app
Coordinates don't changeConflict with other GPS servicesTurn off accuracy improvement and restart your phone
App flies outIncompatibility with the MIUI versionInstall APK with APKMirror (e.g. Android 12+ version)
ADB: device unauthorizedNo 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.

FAQ: Frequent questions about Fake GPS Xiaomi

โ“ Can I turn on Fake? GPS computer-free?
Yes, most Xiaomi devices (except flagships with MIUI 14) just install a location simulation app (like Fake GPS Location) and allow it to access Settings โ†’ Special Access โ†’ Location Simulation. However, if this item is not on the menu, you can not do without ADB.
โ“ Why Fake Coordinates Are Not Working in Pokรฉmon GO?
Pokรฉmon GO Actively blocking Fake GPS, Quoting: Speed of movement (you can't teleport over long distances instantly) Altitude above sea level (coordinates must correspond to the real terrain). IP-Address (must coincide with the fake region) GPS). Solution: Use VPN with servers in the right region and configure smooth movement in the Fake app GPS (Joystick mode option").
โ“ How to get real coordinates back after using Fake GPS?
To disable fake location: Open the Fake GPS app and click Stop. Go to Settings โ†’ Location and turn GPS on/off. If the coordinates don't update, install the GPS Status & Toolbox app and press Reset GPS.
โ“ Does Fake work? GPS Xiaomi with a blocked bootloader?
Yes, but with limitations: MIUI 12-13 runs through apps + ADB. MIUI 14 requires MIUI Optimization to be disabled (see section above). Flagships (Xiaomi 13 Ultra, Mix Fold 3) may not work without unlocking. If the bootloader is locked and Fake GPS is not turned on, you only have to use the second phone with the bootloader unlocked as a GPS relay via Bluetooth (GPS Joystick app).
โ“ Can we use Fake? GPS bank-applicants?
No, most banking applications (Sberbank, Tinkoff, VTB) block access when they detect fake coordinates. android.permission.ACCESS_MOCK_LOCATION. Conformity GPS and IP-Addresses. Root or unlocked bootloader. Risk: account may be temporarily blocked on suspicion of fraud. GPS before using banking services.