Step 1: Unlock Developer options
- Open Settings → About phone. On some phones it is under Software information.
- Tap Build number 7 times. Enter your PIN if asked.
- You will see "You are now a developer".
Step 2: Choose a mock location app
- Open Settings → System → Developer options.
- Scroll to Select mock location app.
- Choose the app that will provide your location, for example ZelaVPN.
Step 3: Set the location
In ZelaVPN, open Settings and turn on Lock GPS location. Your phone now reports the city of your VPN server, and a notification stays visible while the lock is active.
Why match GPS with your VPN?
A VPN changes your IP but not your GPS. Apps that compare the two see a mismatch. With both set to the same city, your phone presents one consistent location. More on this: VPN with GPS location.
Turning it off
Turn off the lock in ZelaVPN, or set Select mock location app back to Nothing. Your real location returns immediately.
Things to know
- Some apps (banking, ride-hailing and some games) detect mock locations and may stop working while it is on.
- Emergency calls in many countries use network-based location that mock apps can't change.
- Respect the terms of the apps you use.