How to Change Your Phone’s GPS Location from a Computer
A step-by-step guide to setting an iPhone or Android phone’s GPS location from Windows or macOS over USB or Wi-Fi, without jailbreak or root.
Most guides to changing a phone’s location send you to an app on the phone itself. That works on some Android devices and not at all on an iPhone. It also leaves you tapping coordinates into a small screen. A desktop tool is often easier: your computer has the big map and the keyboard, and it sends the location to the phone over a cable or your local network.
This guide covers how that works on both platforms and walks through the setup with Geovoya, an open-source app for Windows and macOS with a free plan. The same ideas apply to any tool that uses the official developer interfaces.
What “changing your GPS location” actually means
Your phone doesn’t have a setting for “pretend I’m somewhere else”. What both iOS and Android do have are developer features that let a connected computer supply location fixes, so developers can test their apps without walking around:
- iPhone: with Developer Mode on, a trusted computer can use Apple’s developer services to simulate a location. This is the same mechanism Xcode uses.
- Android: with Developer options on, you can choose a mock location app. Android then accepts positions from that app instead of the GPS chip. A computer can control that app over ADB (Android Debug Bridge).
Neither route needs a jailbreak or root. Both need you to turn on a developer setting, which is a deliberate step you take on your own phone.
What you need
- A Windows PC (64-bit Intel or AMD) or a Mac (Apple Silicon or Intel).
- An iPhone on iOS 17.4 or later, or an Android phone on Android 8.0 or later.
- A USB cable that carries data. Many cheap cables only charge.
- An internet connection for the map, search and the first iPhone setup.
Install Geovoya from the download page. The installer includes ADB, the iPhone runtime and the Android helper, so you don’t need Xcode, Android Studio or Python.
Setting up an iPhone
The iPhone setup happens once, and Geovoya’s live checklist ticks off each step by itself.
- Connect and trust. On Windows, first install Apple Devices from the Microsoft Store and open it once; it provides Apple’s USB services. Plug in and unlock the iPhone. Geovoya asks the phone to trust the computer, so the Trust This Computer? prompt appears on its own. Tap Trust and enter your passcode.
- Show Developer Mode. The Developer Mode switch is hidden on phones that have never been connected to Xcode. Click Show Developer Mode in Geovoya to make it appear. This never turns Developer Mode on by itself.
- Turn it on. Close and reopen Settings, go to Settings → Privacy & Security → Developer Mode, switch it on and restart when asked. After the restart, unlock the phone, tap Turn On and enter your passcode.
- Let Geovoya get the phone ready. Keep the cable connected. Geovoya mounts Apple’s developer support image automatically, which needs internet for a few seconds, and does it again after every restart. Wait until the phone shows Ready.
Setting up an Android phone
- Turn on Developer options. Open Settings → About phone and tap Build number seven times. On some phones it’s under Software information.
- Turn on USB debugging in Developer options.
- Connect and approve. Plug in, unlock and accept the Allow USB debugging? prompt for your computer. On Windows, some phones need the manufacturer’s ADB USB driver.
- Prepare. Click Prepare in Geovoya. It installs the open-source Appium Settings helper, grants it location permission and makes it the mock-location app. If Android asks you to choose, go to Developer options → Select mock location app and choose Appium Settings.
- Keep Location turned on, and wait for Ready.
Setting a location
- Choose Fixed location.
- Search for a place, click the map (you can drag the pin), or type latitude and longitude.
- Check the preview. Moving the pin only changes the preview; nothing is sent yet.
- Click Set location. To move again, pick a new point and click Update location.
- Open a map app on the phone and tap the current-location button to confirm.
Geovoya shows whether the iPhone acknowledged each command, or which coordinates the Android helper reported. That confirms the connection, not what every app sees. Some apps cache an old position or ignore simulated fixes, so always check in the app you care about.
Moving along a route
To simulate travel, choose Route, add a start and a destination, then click Plan road route. The app finds a driving route on OpenStreetMap roads and shows the line and distance. Start route moves the phone along the road with a new position every second: at a steady 45 mph on the free plan, or at any speed from 1 to 120 mph with Geovoya Pro, which also allows up to 12 stops, loops, pauses and realistic acceleration. You can pause and resume, and the phone stays at the destination when the route ends. The QA testing article covers routes in more detail.
Going wireless
Once the phone works over USB, Geovoya offers Switch to Wi-Fi if both devices are on the same network. Wait for the confirmation before you unplug. The current location carries over. On Android 11 and later you can also pair with a code under Wireless debugging, with no cable at all. Guest networks, client isolation and VPNs can block the connection. Wi-Fi mode is new and hasn’t yet been tested end to end on physical phones.
Getting your real location back
Click Restore real location when you’re done, and give the phone’s map a moment to refresh before you unplug. This matters: unplugging, sleep or a crash won’t reliably restore your location, and an Android helper can keep sending the last point without a cable. If something goes wrong, reconnect the same phone and click Restore. As a last resort, restart the phone. On Android you can also set Select mock location app back to None.
Troubleshooting
- Phone not found: unlock it, use a data cable plugged straight into the computer, and check for the Trust or USB debugging prompt. On Windows, check the Apple or manufacturer driver.
- iPhone stuck on “Getting ready”: keep the cable connected and the computer online; Geovoya retries automatically, and Retry tries again right away.
- Android “Setup needed”: click Prepare while online, then finish the mock-location choice on the phone.
- Search fails: the public search service may be busy. Type coordinates or drop a pin instead.
Use it responsibly
Location simulation is a developer tool. It’s great for testing apps, recording demos and keeping your real whereabouts private in the right context. But many apps and services forbid falsified location in their terms, and breaking those rules can get an account suspended. Use it on your own devices, respect the terms of the apps you use, and follow local law.