Simulate GPS Location on Android Without Root

11 min read Learn how to fake your Android device’s GPS location using built‑in developer options and ADB, without rooting. Step‑by‑step guide with safety tips and troubleshooting. October 04, 2026 17:00 How to Simulate GPS Location on Android Using Developer Options (No Root)

Sometimes you need to test an app that relies on location, share a location that isn’t your current one, or simply bypass region‑locked services that use GPS. Android provides a built‑in way to feed a fake location to the system without rooting the device. This tutorial walks you through the entire process – from preparing your phone to verifying that the spoofed location is being used – and it includes troubleshooting tips for the most common hiccups.

Before you start

  • Charge your phone to at least 50 % to avoid interruptions.
  • Connect to a stable Wi‑Fi network – ADB over Wi‑Fi will be used later.
  • Install adb on your computer. The Android SDK Platform‑Tools package works on Windows, macOS, and Linux.
  • Download a reputable mock‑location app (e.g., Fake GPS Location from the Play Store). The app will supply the coordinates you want.
  • Make sure you have a backup of any critical data. Enabling developer options is safe, but mis‑using mock locations can cause apps to behave unexpectedly.

Step 1 – Enable Developer Options on the device

  1. Open Settings.
  2. Scroll to About phone (on some OEMs it may be System → About phone).
  3. Find Build number and tap it seven times. You’ll see a toast notification: “You are now a developer!”.
  4. Return to the main Settings screen; a new entry called Developer options should appear, usually just above System or About phone.

Why this matters: Developer options expose the Mock location toggle and ADB debugging, both essential for spoofing GPS without root.

Step 2 – Turn on USB debugging (optional but recommended)

  1. Enter Developer options.
  2. Scroll to USB debugging and enable it. Confirm the prompt that appears.

Enabling USB debugging allows you to control the device from your computer with ADB commands, which is useful for setting the mock‑location app as the default provider without touching the UI on every test.

Step 3 – Install and configure a mock‑location app

  1. Open the Play Store, search for Fake GPS Location (or any app that explicitly states it works with Android’s mock‑location feature).
  2. Install the app.
  3. Launch the app and set a default location – for example, 40.7128° N, 74.0060° W for New York City.
  4. Leave the app open; most mock‑location apps need to stay in the foreground or run a background service.

These apps act as a “location provider” that Android will trust once you designate it as the mock provider.

Step 4 – Designate the app as the mock location provider

  1. Go back to Settings → Developer options.
  2. Find the entry Select mock location app (on some devices it may be called Mock location app).
  3. Tap it and choose the mock‑location app you installed (e.g., Fake GPS Location).

Why this step is crucial: Android will now route all location requests through the chosen app, effectively overriding the real GPS hardware.

Step 5 – Verify the spoofed location

  1. Open a map application that shows your current location, such as Google Maps.
  2. If the mock‑location app is running, the map should display the coordinates you set in Step 3.
  3. Zoom out and look for the pin – it should be at the fake location, not where you physically are.

If the map still shows your real location, double‑check that the mock‑location app is active and that you selected it correctly in Developer options.

Step 6 – Using ADB to switch the mock provider (advanced)

On some devices, especially those with heavy OEM skins, the UI toggle in Developer options may be hidden or reset after a reboot. ADB lets you enforce the setting from the command line.

  1. Connect your phone to the computer via USB (or enable ADB over Wi‑Fi if you prefer a wireless link).
  2. Open a terminal on your computer and verify the connection:
    adb devices
    You should see your device’s serial number listed as device.
  3. Find the package name of the mock‑location app. It is usually displayed in the Play Store URL or can be obtained with:
    adb shell pm list packages | grep -i fakegps
    (Replace fakegps with a relevant keyword.)
  4. Set the mock location provider using the settings command:
    adb shell settings put secure mock_location_app com.example.fakegps
    Replace com.example.fakegps with the actual package name.
  5. Re‑launch the mock‑location app on the device to start broadcasting the chosen coordinates.

This method persists across reboots on many devices, but you may need to repeat it after a major system update.

Step 7 – Common troubleshooting scenarios

7.1 The mock location isn’t applied

  • Check the app status: Some mock‑location apps require you to press a “Start” button each time you switch locations.
  • Verify the package name: An incorrect package name in the ADB command will silently fail.
  • Restart the device: A quick reboot often clears stale location caches.

7.2 Google Maps shows “Location not available”

  • Make sure the mock‑location app is running in the foreground. Background restrictions on Android 10+ can stop the service.
  • Disable “Battery optimization” for the mock‑location app: Settings → Apps → [App] → Battery → Optimize → Don’t optimize.

7.3 Some apps ignore the mock location

High‑security apps (banking, payment, or certain location‑based games) use LocationManager.isFromMockProvider() to detect spoofing and may refuse to run. There is no legitimate workaround that respects the app’s security policy without rooting.

Step 8 – Safety and privacy considerations

  • Legal compliance: Using a fake location to deceive services that rely on accurate location (e.g., emergency calls) is illegal in many jurisdictions.
  • App bans: Games that detect mock locations may ban your account. Use spoofing only for testing or legitimate privacy needs.
  • Re‑enable real GPS: After you finish testing, return to Developer options and set Select mock location app to None. This prevents accidental leaks of a fake location to apps you trust.

Step 9 – Removing the mock‑location setup

  1. Open Settings → Developer options.
  2. Tap Select mock location app and choose None.
  3. Uninstall the mock‑location app if you no longer need it.
  4. If you used ADB to set the provider, you can clear the setting with:
    adb shell settings delete secure mock_location_app

These steps restore the device’s normal GPS behavior.

When to use a different approach

If you need to simulate movement (changing coordinates over time) or require a higher degree of precision, consider using a dedicated GPS‑simulation tool that runs on a PC and streams NMEA data over a USB or Bluetooth dongle. Those solutions typically require root or a custom ROM, which is outside the scope of this no‑root tutorial.

Wrap‑up

By enabling Developer options, selecting a mock‑location app, and optionally reinforcing the setting with ADB, you can reliably spoof GPS coordinates on any Android device without rooting. This workflow is safe, reversible, and works across most manufacturers and Android versions from 6.0 (Marshmallow) onward. Use it responsibly, keep your real location privacy in mind, and always revert the settings when you’re done testing.

User Comments (0)

Add Comment
We'll never share your email with anyone else.