package icon

Mock Location that actually works

A reliable mock location provider that actually works to replay GPX tracks.
GPX Mock Location allows you to simulate GPS movement on your Android device by replaying tracks and waypoints from standard GPX files.

The app parses coordinates and timestamps directly from your GPX files, calculating delays between points to replicate real-world movement speeds. Playback runs continuously in a foreground service, allowing location simulation to proceed while using other applications or with the screen turned off.

Features:
• Replay GPX routes containing track points (<trkpt>) or waypoints (<wpt>).
• Accurate playback intervals derived from ISO 8601 timestamps.
• Open GPX files via the built-in file picker or directly from external file managers.
• Reliable foreground service with persistent status notification.
• Clean, modern interface built with Jetpack Compose and Material 3 dynamic theming.
• Completely offline and privacy-friendly: no tracking, no ads, and no network requests required.

Setup Instructions:
To allow the app to inject mock locations:
1. Enable Developer Options on your device (Settings > About phone > tap "Build number" 7 times).
2. Go to Settings > System > Developer options.
3. Tap "Select mock location app" and choose "GPX Mock Location".
4. Open the app, grant the required location permissions, select a GPX file, and press "Start".

Versions

Although APK downloads are available below to give you the choice, you should be aware that by installing that way you will not receive update notifications and it's a less secure way to download. We recommend that you install the F-Droid client and use that.

Download F-Droid
  • Version 0.2.3 (23) suggested Added on Oct 04, 2026

    arm64-v8a armeabi-v7a x86 x86_64

    This version requires Android 8.0 or newer.

    It is built and signed by the original developer, and guaranteed to correspond to this source tarball.

    Permissions
    • access approximate location only in the foreground
      This app can get your approximate location from location services while the app is in use. Location services for your device must be turned on for the app to get location.
    • access precise location only in the foreground
      This app can get your precise location from location services while the app is in use. Location services for your device must be turned on for the app to get location. This may increase battery usage.
    • android.permission.ACCESS_MOCK_LOCATION
    • run foreground service
      Allows the app to make use of foreground services.
    • run foreground service with the type "location"
      Allows the app to make use of foreground services with the type "location"
    • show notifications
      Allows the app to show notifications
    • su.mya.mocklock.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 8.0 MiB PGP Signature | Build Log