GeoHook - set your GPS location anywhere

Android Xposed Kotlin Material 3 License

Release Downloads Stars Issues

Pick a spot on the map. Your apps think you're there.

Features · Install · How to use · Help · Credits


📍 What is GeoHook?

GeoHook lets you choose any place on the map and makes the apps you pick believe that's where you really are. Search for a city, tap the map, press Play, and you're done.

People use it to:

  • 🔒 Protect their privacy: stop apps from tracking where you actually are.
  • 🧪 Test apps: check how your own app behaves in another city or country.
  • 🌍 Use region-based apps: see content and services for a different location.

GeoHook is built on the Xposed framework. It changes the location inside the apps you choose, instead of relying on Android's "mock location" setting, which many phones and apps block or detect.


✨ Features

🗺️ Pick on a map Tap anywhere or search by name or coordinates. Switch between Default, Satellite, Terrain and Hybrid views.
▶️ One-tap start / stop A big Play button starts your fake location. It turns into Stop when it's running.
🕹️ Floating joystick Move your location while you're inside another app with an on-screen joystick.
🎲 Random drift Optionally wander a few metres around your spot, so you don't look frozen in place.
🎯 Accuracy control Choose how accurate your reported location should look.
⭐ Saved places Save your favourite spots and jump back to them any time.
💾 Backup & restore Export your saved places and settings, and import them on a new phone.
🌙 Light & dark mode Clean Material 3 design that follows your phone's theme.
🆕 Modern Android Works with the newer Android 14+ location system, tested up to Android 16.

📲 Pick your version

Every release comes in two flavours. Not sure which one? Choose Full.

Full (app-full-*.apk) FOSS (app-foss-*.apk)
🗺️ Map Google Maps MapLibre (OpenStreetMap style)
📡 Location services Google Play Services microG (no Google needed)
👍 Best for Most people, familiar Google look Privacy fans, phones without Google services
🔑 Needs Google account? No No

🧰 Requirements

  • Android 8.1 or newer (tested up to Android 16)
  • One of these:
    • 🔓 Rooted phone with LSPosed (recommended)
    • 📦 No root? Use LSPatch to patch the apps you want to change

🚀 Install

With root (LSPosed)

  1. Install LSPosed on your rooted phone if you haven't already.
  2. Download the GeoHook APK from the Releases page and install it.
  3. Open LSPosed → Modules → GeoHook and switch it on.
  4. Under scope, tick System Framework and every app you want to change the location for (for example Maps, a game, or a social app).
  5. Reboot, or at least force-stop the selected apps.

Without root (LSPatch)

  1. Install LSPatch and patch the app you want to change, embedding the GeoHook module.
  2. Install the patched app. The location you saved in GeoHook is built into it.

🎮 How to use

  1. Open GeoHook and allow location permission.
  2. Search for a place or tap the map to drop the red pin.
  3. Press the blue ▶ Play button. The fake location is now active.
  4. Open the app you selected. It should show your new location.
  5. Press the red ■ Stop button when you want your real location back.

Handy buttons on the map

Button What it does
⭐ Save this spot to your favourites
🎯 Jump to your current location
▶ / ■ Start or stop the fake location

Tips

  • Turn on the joystick in Settings to nudge your location while you're using another app. Android will ask for the Display over other apps permission.
  • Turn on random position in Settings so your spot gently drifts instead of staying perfectly still.
  • You can also type coordinates in the search bar, like 48.8584, 2.2945.

🩺 Troubleshooting

The other app still shows my real location
  • Make sure GeoHook is enabled in LSPosed, and that the app is ticked in its scope.
  • Make sure you pressed Play (the button should be red/Stop).
  • Force-stop the other app and open it again, or reboot.
  • Some apps use Wi-Fi and mobile networks to guess where you are. Try turning off Wi-Fi scanning in your location settings.
The map is blank or gray (Full version)

The Full version needs a valid Google Maps key built into the app. If you built the app yourself, check the key (see Build it yourself). If you downloaded a release and the map is blank, try the FOSS version instead.

The joystick doesn't appear

Allow Display over other apps for GeoHook in your phone settings, then turn the joystick off and on again in GeoHook's Settings.

Place names look different from Google Maps

Search uses your phone's built-in place lookup, so names can differ slightly from the Google Maps app. Tapping directly on the map always uses exact coordinates.


🛠️ Build it yourself

You need Android Studio (or JDK 17 and the Android SDK).

git clone https://github.com/syedtahseen/GeoHook.git
cd GeoHook
./gradlew assembleFossDebug     # FOSS version, no keys needed
./gradlew assembleFullDebug     # Full version, needs a Google Maps key

For the Full version, create a file called local.properties in the project folder (it is git-ignored) and add your own key:

MAPS_API_KEY=your_google_maps_key_here

The key can also be provided as a MAPS_API_KEY environment variable. Never commit it.


🔍 How it works

Instead of using Android's mock-location feature, GeoHook hooks the location functions of the apps you pick (and, optionally, the system itself), such as Location.getLatitude(), Location.getLongitude() and LocationManager.getLastKnownLocation(). The app only sees the position you chose.


🙏 Credits

GeoHook stands on the shoulders of other people's work. Thank you to:

  • Syed Tahseen, maintainer of GeoHook: new app icon, refreshed controls and ongoing development.
  • Android1500, the original author of GpsSetter, the project this all started from.
  • jqssun, who forked GpsSetter and added Android 14+ system support, the FOSS build, the joystick overlay and the modernised design that GeoHook is built on.
  • LSPosed and the Xposed community, for the hooking framework.
  • MapLibre, for the open-source map library.
  • microG, for the open-source implementation of Google services.

⚖️ License

GeoHook is free software released under the GNU GPL v3.0. Because it is based on GpsSetter and its forks, the original copyright and license stay in place, and any changes you make must stay open source under the same license.


⚠️ Disclaimer

GeoHook is meant for privacy, development and testing. Please follow the terms of service of the apps you use and your local laws. The authors are not responsible for how the app is used, or for account actions taken by third-party apps.

Made with 💙 by Syed Tahseen for people who want control over their own location.
Found a bug or have an idea? Open an issue.

Releases