this method is way smoother and works for sure and does NOT require Xposed but only ROOT access https://www.youtube.com/watch?v=Kg3Q49WRyF8

How to cheat your location in pokemon go using xposed framework and fake gps. (Root required sorry!)
Rooted device
xposed framework
pokemon go
fake gps: https://play.google.com/store/apps/details?id=com.blogspot.newapphorizons.fakegps&hl=en
mock mock location (YES TWICE) for xposed: http://repo.xposed.info/module/com.brandonnalls.mockmocklocations
disable wifi high accuracy (might not be required)
open pokemon go without anything running
open fake gps
spoof your new location for a brief moment then stop it
go back to pokemon go, a message will appear that it lost the GPS, after a second or so, it disappears and you’re teleported to the new location.
Repeat until you’re done
You might want to do this while inside a building where the real GPS doesn’t work.

If you don’t stop before going back to the game you will receive a “Failed to detect location”.
Also if you are on android 5 or 4, having “location mocking” on without “mock mock location” module from xposed will trigger a flag ingame and it will stop you.

if you have “gps signal not found” then make sure to be connected to a wifi.

Q: can i do this with an iphone?
A: maybe, i don’t know, i don’t own an iphone. Google it.
Q: is root or xposed necessary?
A: most likely yes, if you are on Android 6 you might have some luck without them. Try and see
Q: it doesn’t work!
A: for some it doesn’t, i’m sorry if you’re one that can’t get it to work. Try and try. I also quite often fail at doing it.
Q: i can’t catch any Pokemons or pokeballs, why?
A: you are most likely on a cooldown because you teleported too far or have used other non-legit ways of playing. Wait a while or create a new account.
Q: how do you install xposed framework or root your phone?
A: this is not a tutorial for how to mod your phone, google it and get your information on xda developer forums
Q: I keep getting teleported back after a short amount of time. Why?
A: That’s because this cheat is not perfect, it’s the best we can do. Keep on switching back and forth to prevent going back to your real location
Q: how do I get rid of the “failed to detect location” I deleted the fake gsp, don’t care about the hack anymore I just want to play.
A: Go into developer settings (google how to enable it if you don’t know) and disable mock locations

Thank you for watching! If you enjoyed and want to, hit the like/subscribe button 🙂