[Samsung Galaxy S7 Edge Guides, News, & Discussion] sireniankyle:
Edit: I have given my S7 Edge to a family member, because they needed a phone. So I will not be able to experiment with this any longer. If you are not able to reverse these steps, I advise reinstalling firmware.

WARNING - This will trip Knox and erase the contents of your device. Please back up any important files. And don't blame me for any bricking or boot loops. That risk comes with the territory.

Please leave comments against spoofing out. This is a guide. Not a debate.

Note that there are shorter/easier methods, but i believe that these steps will further ensure that you will be able to spoof your location without the risk of a soft ban. Provided that you follow the rules to changing location.

I wanted to type up this quick guide, because I found it a little difficult to get some rooted devices to not only spoof a location, but to do so without constantly teleporting between locations. I have tested this on my own G935F, and it works flawlessly with the March Security patch. I will not guarantee this method for any other devices. Not even other Galaxy phones as I tried this same method with my Note 4, and it still teleports. It should work on the S7 series (Exynos and Chinese Qualcomm only) just fine, though. I played for 2 hours with no teleporting. US models do not seem to have Twrp, so this method will most likely not work for them. Sorry.

Please forgive the lack of photos as this is my 1st guide.

Requirements:

-A rootable S7 or S7 Edge running stock Android Nougat (I do not know if this works with Marshmallow)

-The latest Odin (Found HERE)

-External storage. For some reason TWRP doesn't want to read the internal storage. I used a flash drive with an OTG cable.

- The latest Twrp (Found HERE)

-The latest Magisk & Magisk Manager (Found HERE)

- Either DM-Verity & Forced Encryption Disabler (Found HERE) or Samsung Anti-Root Removal Tool (Found HERE). Both are supposed to work. I ran into an issue and ended up flashing both while trying to narrow down the issues, and it worked for me.

-GPS Joystick Fake GPS Location (Found HERE)

-Package Disabler Pro (Samsung) (Found HERE for $1.49) You can try a free route. Just make sure that it plays nice with Samsung devices.

I recommend a fresh firmware install before attempting, but to each their own. You can find firmware on sammobile or here on XDA.

Part 1 - Flashing Firmware

1. Go into your phone's settings, and enable Developer options. To do this, scroll to the bottom of settings, choose "about device", then "software info". search for "build number", and press it multiple times until your phone says that you are a developer.

2. Go back to the main settings menu, and at the very bottom there should now be "Developer Options". Press it, and enable "OEM unlock", and "USB debugging".

3. Go back to the main settings page, and press "Cloud and accounts". Then press accounts. If there is a Google account signed in, remove it. Do this by pressing "Google", and select your gmail account. Then press the menu button (the 3 dots in the top right corner), and press "Remove Account".

4. Press and hold down the power button, home button, and the volume down button. Do this until the phone shuts off, and and displays a greenish bluish screen that says "Warning". Press the volume up button to continue.

5. Go to your computer and extract the files for Odin into their own folder. Do the same for your stock firmware, and Magisk. Do not do this for Twrp, as the file is ready to go.

6. Open Odin and plug in your device. Under "ID:COM", one of the boxes should be lit up, and displaying "COM" followed by a number. If it is not, you do not have the proper drivers installed, and should do so. I obtain my drivers via Samsung Kies, but there are standalone drivers available. Look HERE for more info on drivers.

7. Once your device is showing up in Odin, you can install the firmware. There are 2 ways of doing this (Only 1 of these will apply to you);

-If you extracted 1 file from the firmware zip file that you downloaded, Click on "AP*", and select that file. In my experience, these files almost always end with the word "HOME".

-If you extracted 4 or 5 files from the firmware zip file, then click "BL" and select the file that begins with "BL". Do the same for "AP*","CP", and "CSC". Ignore the file that says "HOME".

*Allow your computer time to load the AP file. This can take quite some time. The program will act like it is crashing. It isn't.

8. Click on the options tab, and uncheck "auto-reboot". We're going to get all of this flashing done as quick as possible. Once you have done that, click "Start".

9. Allow the device time to flash. If the top left box says "PASSED" you successfully flashed new firmware, and are ready to flash a custom recovery. If it says "FAILED", there was a problem, and you should re-check the steps.

Part 2 - Installing Custom Recovery (TWRP)

1. Repeat step 4 from Part 1 to re-enter Download mode. Click "Reset" in Odin.

2. Assuming that the phone is still successfully connected to the pc, Click "AP", and select the file for Twrp.

3. Make sure that the "Auto-Reboot" option is still unchecked, and click "Start".

4. Allow the device a few seconds to flash. If the top left box says "PASSED" you successfully flashed Twrp, and are ready to root. If it says "FAILED", there was a problem, and you should re-check the steps.

5. This part requires some timing on your part. So read the entire step before following along.

-Hold down the same buttons that you did to enter download mode (volume down + home + power). When the screen goes black, quickly release the volume down button, and instead press and hold the volume up button. You should be holding (volume up + home + power).

-When the screen says "Galaxy S7/Edge", release the power button, but continue to hold the other 2 until you see the screen "Teamwin".

Part 3 - Rooting/Magisk

1. Plug your external storage into your computer, and place all of the magisk files onto it.

2. Once in Twrp, you'll be greeted with a warning. If you slide to the right, you will not be able to reboot, until you have finished flashing the files mentioned below. Slide right, when ready.

3. Press "Wipe", and "Format Data". Type "yes" to continue.

4. Press the on-screen home button, and press "Install".

5. Plug your external storage into your phone via an OTG adapter. Press "Select Storage", and choose OTG.

6. Choose the Magisk file that you just moved there, then choose "Add more Zips", and add "Samsung Anti-root Removal Tool" and "DM-Verity & Forced Encryption Disabler" in that order. Swipe to flash.

7. Reboot, and allow extra time for your phone to set up. If you are caught in a boot loop, re-flash everything, and try again. You can try to troubleshoot, but restarting eliminates oversight.

Part 4 - Configuration

1. Set your phone up as normal.

2. Magisk

-Plug the external storage back into the phone, and open the file manager. Locate, and install the Magisk Manager. There will be a notice about unknown sources. Follow the settings and override it.

-Open Magisk, and make sure it is up to date (3 green check marks). Press "Tap to start SafetyNet check". You should get 2 more green checks.

-Press the menu button (top left), and press "Downloads". Download and Install "App Systemizer". Reboot.

3. Package Disabler Pro

-Go to the Play Store, and install "Package Disabler Pro (Samsung)".

-Run the app. It will tell you to install and activate "PDP Engine". Follow the on screen instructions.

-Re-open the package disabler, and search for "Fused Location". Check the box to disable it. This will disable the GPS. So re-enable this if you need it to work properly. Reboot.

4. Install Pokemon Go

5. GPS Joystick

-Go to the Play store, and install "GPS Joystick Fake GPS Location". Once installed, open the app "AppSystemizer". Check the box next to the GPS Joystick. Reboot.

-Go back into the GPS Joystick app, and press "Fix GPS Jump To Real Location". Make sure that it is set to "Default".

-Go to the app's settings (top left, then 2nd to bottom).

-Turn on the following; Enable Indirect Mocking, Enable System Mode, Disable Location Service, Save Last Location, Auto Close App, Auto Start JoyStick.

-Set the Auto Start app for Pokemon Go.

-Process Interval, Update Interval, and Idle Interval should all be 500 ms.

-The rest should be fine as-is.

6. Go to settings, re-enable Developer Options, and set Mock Location app to "GPS Joystick". The game will allow this now that it is a system app. Reboot one last time for good measure.

If all steps were followed, you should have spoofing with no teleporting.

As of 7/24/2017, you should be inactive for 2 hours prior to making spoofing far away from your last location.

Having trouble?

Here are resources for many of the steps. I would utilize these before posting questions here.

TWRP

S7 Edge Exynos (G935F/FD/X/K/L/S/W8)

S7 Edge Snapdragon (G9350)

S7 Exynos (G930F/FD/X/K/L/S/W8)

S7 Snapdragon (G9300 & G9308)

Magisk

Avery useful video guide for rooting