All guides PinDrift

Mock Location on Android: What It Is and How to Use It

Android has an official, built-in way to feed the phone a location that did not come from its GPS. It is simple to switch on, and just as simple for apps to notice.

Mock location is a developer setting in Android that lets one chosen app supply the location for the whole phone instead of the GPS. You pick the app in Developer options, under Select mock location app. Apps can ask Android whether a location came from a mock provider, and plenty of location-sensitive apps do.

How to turn it on

  1. Open Settings, then About phone, and tap Build number seven times. Android tells you Developer options are now on. On some phones Build number sits inside a Software information screen.
  2. Go back to Settings and open Developer options. Its location varies by manufacturer, often under System.
  3. Tap Select mock location app and choose the app that will supply the location.

From then on, that app can hand Android a location and the rest of the phone uses it. Clear the choice on the same screen to switch it off.

What changes, and what does not

Every app that asks Android for a location gets the mock one: maps, games, social apps, all of them. What does not change is everything else about the phone: its IP address, the Wi-Fi networks around it, its motion sensors and the mobile network it is connected to. An app that cross-checks the location against those can see a disagreement. A VPN is a different tool that changes the IP address and not the location, which is the opposite gap.

What apps can see

This is the part most guides leave out. Android lets an app check whether a location came from a mock provider. Recent versions expose it as a simple flag on each location, and older versions had an equivalent. Games and some other apps check it and refuse to work, often with a message along the lines of “mock location detected”.

Hiding that flag generally needs a rooted phone, and rooting brings its own problems: banking apps that refuse to run, security updates that stop arriving, and warranties that may not survive it.

How iPhone differs

iOS has no equivalent of Select mock location app. Changing an iPhone’s location without a jailbreak goes through Developer Mode instead, which is a separate subject covered in iOS Developer Mode explained, and what apps can infer about it is in can apps detect location spoofing?

What it is actually for

Mock location exists for developers testing apps in places they are not. Testing your app in another location covers that use in detail. People also use it for privacy, and for location-based games, where the terms of the game may forbid it.

Where PinDrift fits

PinDrift for Android is a standalone app for Android 8.0 or newer. On a phone that is not rooted, it uses Android’s own mock location provider, the setting above, and needs nothing else installed. It comes from pindrift.app rather than the Play Store, updates itself, and is included in every paid PinDrift plan.

One limit: on a phone that is not rooted, an app that checks for mock locations can see it. If an app you care about refuses mock locations, find out with the free Android app first.

Frequently asked questions

What is mock location on Android?

A developer setting that lets one chosen app supply the location for the whole phone instead of the GPS. You choose the app in Developer options, under Select mock location app.

How do I enable mock location?

Tap Build number seven times in Settings, About phone to unlock Developer options, then open Developer options and choose an app under Select mock location app.

Can apps detect mock location?

Yes. Android lets apps check whether a location came from a mock provider, and many games and location-sensitive apps do, often showing a “mock location detected” message.

Does mock location need root?

No. Mock location is built into Android and works on an unrooted phone. Hiding the mock flag from apps is what generally needs root.

Is there mock location on iPhone?

Not in the same form. iOS has no Select mock location app setting. Changing an iPhone’s location without a jailbreak uses Developer Mode instead.

Ellis writes the guides here. Mostly that means reading Apple’s developer documentation so you do not have to, and testing what the tracking apps actually do rather than what their marketing says they do.

Try PinDrift

30 free minutes a day on the PinDrift iPhone app, no card, no account. $9 a month, $60 a year, or $70 once.

Download PinDrift $9/mo, $60/yr, or $70 once