Set a point on the map, search 200+ countries, replay GPX/KML routes, back up data with end-to-end encryption, and drive a device fleet over ADB. Built for developers and QA, with no ads, in-app purchases, or paid unlocks.
中文 | English | Website | Telegram | Discord
Route replay supports 1×–5× speed in the route editor, including imported GPX/KML routes. The multiplier accelerates travel and waypoint stops and is saved with the route.
The native Android UI uses Material 3 with shared component styles, a map-first layout, labeled quick actions, and rounded location and route controls.
- Mock GPS on Android 8+ without root: tap the OpenStreetMap map, drag, zoom, or type WGS84 coordinates
- Region search by country, city, and district across 200+ countries and regions
- Saved locations with groups, search, history, and meter-level joystick
- Route simulation with speed, waypoint stops, loops, and a sample route
- GPX and KML import/export, plus JSON team templates for sharing locations and routes
- Encrypted sync for optional self-hosted backups (AES-256-GCM on device)
- ADB lab CLI and a localhost control center for multi-device QA, time zones, and JSON/JUnit reports
- Languages: follow system, Simplified Chinese, English, Japanese, Spanish
Use it to test maps, logistics, weather, localization, and other location-aware apps on devices you are authorized to test. GPS Locator does not hide Android’s mock-location flag or bypass another app’s security checks.
The offline region picker offers country → province/state → optional district/county → city/town, with searchable lists and bundled representative coordinates. It includes 250 countries/territories and over 150,000 cities/towns; district coverage varies (26 countries). Missing places can use the separate name-search entry. Region data is adapted from Countries States Cities Database under ODbL 1.0, separately from the MIT-licensed app. See data provenance and regeneration.
- Download
gps-locator-2.1.0.apkfrom Releases. - On the phone or emulator, enable Developer options.
- Open Select mock location app and choose GPS Locator.
- Allow location and notification permissions, then tap Start.
If the app is missing from the mock-location list, install 2.1.0 or newer, launch it once, then leave and re-enter Developer options.
The GitHub APK is signed with the Android debug key so it can be installed locally. A Play Store upload should use your own production keystore.
Needs Android Studio Ladybug or newer, JDK 17, and Android SDK 35.
./gradlew assembleReleaseAPK output: app/build/outputs/apk/release/app-release.apk.
./gradlew testDebugUnitTest lintDebug
(cd desktop-cli && npm test)
(cd cloud-server && npm test)| Path | Description |
|---|---|
app/ |
Android mock location / fake GPS application |
desktop-cli/ |
ADB CLI, local web control center, scenario suites, reports |
cloud-server/ |
Self-hosted encrypted backup server and Caddy HTTPS pack |
store-listing/ |
Optional Play Store copy, screenshots, and validators |
docs/PRIVACY_POLICY.md |
Privacy policy template |
Map tiles default to public OpenStreetMap / Nominatim. For heavier traffic, point the build at your own endpoints:
GPS_TILE_URL_TEMPLATE='https://tiles.example.com/{z}/{x}/{y}.png' \
GPS_GEOCODING_BASE_URL='https://geocode.example.com' \
GPS_MAP_ATTRIBUTION='© Your map provider' \
GPS_PRIVACY_POLICY_URL='https://example.com/privacy/gps-locator' \
GPS_SUPPORT_EMAIL='support@example.com' \
./gradlew assembleReleaseDoes this hide mock location from other apps?
No. Android still reports a mock provider. Banking, payment, ride-hailing, and game apps may reject it.
Do I need root or a Google Play purchase?
No. All features are included. ADB control needs a privileged adb / DUMP shell, not a paid license.
Which coordinate system is used?
WGS84, matching Android Location APIs and OpenStreetMap. Some mainland China maps use GCJ-02 and can show an offset of a few hundred meters.
Bug reports and pull requests are welcome. See CONTRIBUTING.md. Please do not reintroduce ads, billing, or paid feature gates.




