How to spoof GPS location on your device
Tags: gpsspoofing, fakelocation, spoofing
Published: 2020-03-25 12:38:32

<b>Well, first and foremost: why? Why would you need something like that?</b>

If you’re a rebellious teenager or a notorious loner or privacy at all times kind of fellow (or maybe all of these) — you might want to geo spoof your location so that other people will think that you’re in a different place than you actually are. Or on a more serious note, maybe you are in an abusive relationship, and you’re trying to get away from someone. Maybe some annoying app is asking for your location and you don’t want it to track you since google maps is the only app you want to let your location be known to. Or maybe you hate google and all of its family members and avoid being tracked by a GPS at all. Perhaps you want to change your location so that something like a dating app thinks you’re a thousand miles away just to check if you need to move or not. Maybe you’re getting tired of not catching them all because of where you live, and you want to capture that one pokemon from the comfort of your own home. The same applies to any other game that is location-based. Cheat your way into victory. Okay, maybe not cheat, but you can always bend the rules a little. You could also be a trickster who likes to trick your friends with fake vacations. Then this geo spoofing concept is for you! “Travel” to Dubai in a matter of lightspeed and check-in into a fancy hotel on Facebook. I bet all of your friends will be asking for presents. Geo spoofing will not get you out of that one. Or maybe you live in an area that is difficult to catch on GPS satellites, and you would like to set your real location for once. Whichever way it might be, geo spoofing might be just what you’re looking for.

<b>What is the difference between mobile and PC location spoofing?</b>

For desktops, you can spoof your location by completing a series of steps by configuring desired settings on your browser. It is more partial location spoofing as it does not offer complete anonymity. Other apps and software installed on your desktop can still access your location along with your ISP (Internet Service Provider). But given the fact that changing your IP address sometimes can be enough, spoofing on your computer can be easier than on your phone. However, depending on what option you choose, it can be quite a tedious process.

On mobile, especially on iPhones, it’s an entirely different ordeal. Mobile apps by default can have access both to your IP and fetch your location data from your GPS. That means, to fake your location on your phone, you need to get real good at lying to your GPS or keep it turned off indefinitely. Just like desktop location spoofing, this can be partial and not entirely anonymous.

<b>How to spoof your location on your phone</b>

<b>How to spoof on android</b>

There are a couple of scenarios of how this can be done.

<i>Way number one</i>

You could go straight to google play and try your luck with any of the GPS spoofing apps. There’s quite an array of those amidst everything else you can find on google play. I would recommend <a href="https://play.google.com/store/apps/details?id=com.lexa.fakegps&hl=en">Fake GPS location</a> because it’s the highest rating one, but the choice is still yours.

<ul>
<li>Get the app.</li>
<li>You will need to enable the developer options on your phone. Go into your settings, scroll down, and select the system option. From there, choose ‘about phone’ and rapidly tap on the build number. After this, you will need to verify your lock screen security and then voila, your developer options will be unlocked. To locate them, tap the back button once and select the new Develop options item.</li>
<li>Now that you’re inside the Developer options menu, first, make sure the toggle at the top of the list is turned on.</li>
<li>Next, locate the Select mock location app option. Choose Fake GPS location or whichever app you installed on your device.</li>
<li>Open the Fake GPS location app or whichever app you’ve decided to download. For Fake GPS location, you can either place your pin in a general location or search for a specific address. After that hit go, and you should be spoofing away. The next step is to try it out on some apps, so go enjoy the newfound freedom.</li>
</ul>

<i>Way number two</i>

Another way to spoof your android is by using a VPN. Some of you reading this article might already be familiar with the uses of VPNs, but to those of you who haven’t heard of this, I’ll explain in short.

VPN is a virtual private network. It allows you to create a secure connection to another network over the Internet. VPNs can be used to access region-restricted websites, shield your browsing activity from prying eyes on public Wi-Fi, and more. This is where the “and more” comes in. Usually, when it comes to VPNs, you can change your IP, which is your digital footprint, but one VPN, in particular, went a step further and made it possible to change your device’s physical GPS location. <a href="https://surfshark.com/deals?coupon=bestshark">Surfshark VPN</a> has an optional feature that can be enabled in the app settings. If you already use a VPN, you don’t have to worry about another third-party app to do the GPS spoofing for you. The feature’s working principle is straightforward: when the GPS spoofing is activated, any app’s request to access the user’s physical coordinates will be overridden by the coordinates of the selected VPN server. As far as I know, they are the only ones that managed to do this, so I recommend trying if you get the chance. Apart from the new GPS spoofing feature, they already have malware, ad tracker blocker <a href="https://surfshark.com/features/clean-web">CleanWeb</a>, a data breach alert system <a href="https://support.surfshark.com/hc/en-us/articles/360026465593-What-is-HackLock-and-how-do-I-get-started-">HackLock</a>, a private and ad-free search tool <a href="https://surfshark.com/blog/introducing-updated-private-search-tool-blindsearch">BlindSearch</a>, and a free DNS resolver <a href="https://surfshark.com/blog/introducing-our-free-trust-dns-to-make-privacy-protection-accessible-for-everyone">TrustDNS</a>. As I’m writing this I found out they wrote a blogpost specifically for Pokemon Go, so I’m putting that <a href="https://surfshark.com/blog/pokemon-go-vpn">here</a> for anyone who wants to know more.

<b>How to fake location on iPhones</b>

Faking your location on iPhones isn’t as easy as on Android, but there are still a few ways and I will mention a few of them.

<i>Way number one</i>

By using <a href="https://www.ispoofer.com/">iSpoofer</a>. It’s a Windows/Mac program that’s free for three days, works with iOS versions up to and including iOS 13, is easy to use, and continues to work even after you unplug your device.
<ul>
<li>Download and install iSpoofer.
</li>
<li>Plug in your device into your computer,
</li>
<li>Open iSpoofer, and click Spoof.
</li>
<li>Search for a location or browse the map and then click exactly where the GPS should be faked. Select Move to instantly ‘move’ there.</li>
</ul>

<i>Way number two</i>

Another way to spoof your iPhone location without jailbreaking is to use your iPhone backup to edit a PLIST file. However, this method only works on iOS 10 and older.

Install the free <a href="url"><a href="http://www.3u.com/">link text</a>
</a> program. (This does only work on windows, you can use the similar <a href="https://www.icopybot.com/itunes-backup-manager.htm">iBackupBot</a> program on macOS, but the following steps are only relevant for 3uTools (however, the same concepts below applies to that program as well).
<ul>
<li>Make sure iTunes is not open and then open 3uTools. Wait a few seconds for the program to recognize your iPhone.</li>
<li>Open the iDevice menu at the top, choose Back up/Restore at the bottom of the screen, and then pick the Back up iDevice option.
</li>
<li>On the next screen, choose a location that you want or leave it at the default location. Select Back up Now. When the backup is finished, choose OK and exit the Back up iDevice window to return to the Backup/Restore screen.</li>
<li>Choose the Backups Management option. Select the backup you just made. It should be at the very top of the list.</li>
<li>
Select the View button to open the iPhone backup in the Backup Viewer tool. Pick the App Document tab on the left and then open the AppDomain-com.apple. Maps folder on the right. To make finding this folder easier, select the File Name column to sort the list alphabetically. Navigate to the Library > Preferences folder and double-click or double-tap the com.apple.Maps.plist file. Go to the very bottom of the text file so that you can enter some information.</li>
<li>Copy this and put this directly above the final </dict> tag:</li>
</ul>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/4y4mto1u7mkupz03ce50.png)

Directly below that line, make sure the following one reads:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/snw907mnjjwej57y55jk.png)

<ul>
<li>Use the Save button at the top of the plist Editor window to save the file. Select Save again when asked, and then OK.
</li>
<li>Exit these open screens: plist Editor, Backup Viewer, and Backups Management. On the Backup/Restore screen, choose the Restore Data option. Pick the latest backup at the top and then select the Restore Now button on the bottom right-hand corner of the screen.</li>
</ul>

(To restore an iPhone backup, you have to first turn off Find My iPhone from the Settings app: Go to iCloud > Find My iPhone to disable it.)

<ul>
<li>When the restore is finished, unplug your iPhone. Open the Maps app and search for the fake location you want to use. (Apple maps, not google maps or any other navigation app)</li>
<li>When the pin drops on the map, scroll through the menu at the bottom and tap the Simulate Location option. The fake location will work for other apps, too, not just Maps.</li>
</ul> 

To use your real location again, just restart your iPhone.

<i>Way number three</i>

By using <a href="https://drfone.wondershare.com/ios-virtual-location.html?_ga=2.1359409.1882048505.1585042616-1441727749.1585042616">dr.fone — Virtual Location (iOS)</a>. Before moving, ensure to download this location spoofer for iOS and install it on PC.

<ol>
<li>Launch the iOS GPS spoof tool on your PC and go to the “Virtual Location” tab when you enter the main interface.</li>
<li>Connect your iPhone to the computer and click on “Get Started” option on the screen.</li>
<li>In the following window, the actual location can be easily found. If you can’t find it, click on the “Center On” icon (found at the lower right side) and the accurate location will be shown.</li>
<li>From the three modes given at the upper right side of the screen, choose the third one to activate the “teleport mode”.</li>
<li>Then, type the name of the location in the field and tap “Go”. When the system gets the location correctly, it will bring a small pop-up box on the screen. It can tell you the distance of the entered place.</li>
<li>Click the “Move Here” button. Voila! You have successfully spoofed location on an iphone. Your iPhone will show the fake location now in the location-based apps.</li>
</ol>

<b>Way number four</b>

<ol>
<li>Download <a href="https://apps.apple.com/us/app/xcode/id497799835?mt=12">Xcode</a> application.</li>
<li>After the app gets installed, you need to launch it. You will notice the Xcode window on your screen.</li>
<li>Setup a fresh project followed by clicking “Single View Application”. Once done, click on “Next”. You can now provide a name for your project and click on “Next”.</li>
<li>Proceed to setup GIT on Xcode. You will now see a pop-up on the next screen asking “Please tell me who you are”. Also, there will be some GIT commands on the screen that need to be applied.
</li>
<li>Now, launch the terminal on your Mac and go along with these commands.

git config — global user.email “you@example.com”
git config — global user.name “your name”

(Make alterations on “you@example.com” and “your name” with your information.>)</li>
<li>Ensure to setup a development team and then establish a connection between your iPhone and the Mac.</li>
<li>Select your device in the build device option. While doing it, keep the device unlocked. When you do the entire thing accurately, you need to stay for some time as the program will process symbol files. Move your Location Head.</li>
<li>Now, go for the “Debug” menu. Followed by this, hit on “Simulate Location” and you can choose the location according to your preference. You are good to go now.</li>
</ol>

<i>Way number five</i>

The next method to spoof location on iPhone is by jailbreaking your device. Once the phone is jailbroken, you can make changes to most of the native settings in your device. However, this method can give a hard time as it depends on the iOS version you are using. I’m suggesting the ‘The Anywhere!’ app for this purpose.

<ol>
<li>Download the ‘The Anywhere!’ location faking Cydia app on your phone.</li>
<li>Install and launch the app from your Home screen.</li>
<li>Navigate for the location that you want to fake. Tap on it, and a red pin will appear on the address.</li>
<li>Tap on the blue tab on the coming screen. You can now select the apps on which you wish to fake GPS location on iOS.</li>
<li>Open the selected app now, and you could see the new location on it.
</li>
</ol>


<b>How to spoof your location on desktop</b>

When it comes to spoofing your location on desktop your browser is where the action is at. Since the most popular browser nowadays is google chrome I’ll go through a few of the things you can do to fake your location away so your life could be ‘no snoop for marketing purposes or other’ zone.

Well, first of all, how does chrome know where you are?

Three things — gps, wifi, IP address. What you can do?

<i>Way number one</i>

Shut off access to GPS. This is related to that popup you get about a website asking to know your location. You could keep pressing the block button, or you could cut the head of the snake in your chrome settings.
<ol>
<li>First, click the menu icon to the right of the toolbar. It’s a row of three vertical dots.</li>
<li>From the drop-down, click “Settings.” Scroll down to “Content Settings” and click it. Click “Location.”</li>
<li>Toggle the “Ask before accessing” button. Voila, you’re a bit less tracked than before.</li>
</ol>

<i>Way number two</i>

Fake your location inside the browser. Spoofing your location in Chrome will not allow you to access Hulu from outside the U.S., but it will enable you to see regional news or static web content you would not usually be able to see. It’s worth mentioning that faking in Chrome is temporary, and you will have to do this each time you open a new browser session.

<ol>
<li>Go to <a href="https://ctrlq.org/maps/address/">this</a> website and copy a random set of coordinates.</li>
<li>Drag the red icon anywhere, and the Lat and Long will appear in the box above it.</li>
<li>Open Google Chrome on your device. Press Alt + Shift + I to access Developer Tools. Select the three-dot menu icon in the top right of the pane.</li>
<li>Scroll to “More Tools” and select “Sensors.” Change Geolocation to “Custom location…”</li>
<li>Add the Lat and Long coordinates you copied earlier into the boxes underneath Geolocation. Reload the web page.</li>
</ol>

You can test the settings by opening up Google Maps. Rather than showing your home or last known location, it should zero in on the position marked by those coordinates you set. You cannot fix this permanently and will have to perform the above steps for every new browser session you open.

<i>Way number three</i>

By using a chrome extension, like <a href="https://chrome.google.com/webstore/detail/location-guard/cfohepagpmnodfdmjliccbbigdkfcgia?hl=en">Location Guard</a>. It’s a free extension that adds “noise” to your location within Chrome. It’s a good enough geolocation to get your local weather or the news for the right part of the state. Your real location will be hidden behind your general region. They have a few cool settings depending on what you wanna do with your location. You can configure different settings for different sites, and it can be quite useful but also quite a bit of time to do. You can also set a fixed fictional location.

<i>Way number four</i>

Last but not least, a VPN. At least for those who are too lazy to do all those steps on chrome. Or for those tech-savvy cybersecurity fellows that enjoy spoofing their location along with encrypted traffic, torrenting, streaming all kinds of content, not only what’s available in your country. Fewer boundaries, less tracking your information for marketing purposes, and more free internet, please. At least it’s the way I am. There are many options for general VPN needs, but since we’re talking about GPS spoofing, Surfshark has a lil bit more to offer. GPS spoofing for androids, unlimited devices, cheap yearly plans, and other additional features that I already mentioned before, like Cleanweb and Whitelister. And the steps are quite simple. Go to their website or google store/app store, <a href="https://surfshark.com/deals?coupon=bestshark">download the VPN</a>, make your account and voila, enjoy the free internet for the next year, or maybe three.

Source: https://medium.com/@angelreteps/how-to-spoof-gps-location-on-your-device-f315cfb0812