-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pokemon Go #3
Comments
Confirmed :( |
+1 |
2 similar comments
+1 |
+1 |
Ok, it should work now. I released a new update. |
New update seems to help but the game keeps flipping between detecting and not detecting mock locations. Curious if anyone else is having the same problem? |
Doesnt work game behaving by itself. It works for making fake gps apps detect on but game detect on too :( i cant see pokeballs or gyms |
What GPS app are you using? What type of phone? |
It's not the Niantic first localized app. I think there is another check happening. I was able to simulate a path on the game, seeing my player walk on the map following the path/speed i setted. But even if this work, the game see something and say 'cannot locate you'. |
Are you moving too quickly along the path? |
Nop, setted a 5km/h speed, the player seems to respect that. So even if i see me moving on the map, the app see something and dont trust/want the locations data. |
I have a Galaxy S5 using the same Fake GPS app you're using (PRO version). Go seems to flip back and forth from accepting my location and failing to locate me. Happy to help debug in any way I can. |
2 files in the app are refering to the 'mock' word :
Idk enough of Android/Java to understand something usefull. I also see near some 'looper' variable, isMockMode boolean, PendingResult result methods... So the localization coming and going, seems to loop. A CRON job like to check Mock Mode somehow. EDIT: used this to decompile apk |
I could successfully mock the location by blocking all apps in MockMock (couldn't whitelist pokemon only). Though my location is jumping between my real and mocked position (maybe since the mocking app don't see the mocking is on). Did somebody check if they are using a background process to verify if the location is mocked. |
I haven't checked but you're right, there could be other processes. I didn't build the whitelist for Pokemon Go purposes. mtx-z Has some good findings too. This is the first I've heard about FusedLocationProvider. KEY_MOCK_LOCATION is new to me. We may need to mock Location.getExtraLocation(KEY_MOCK_LOCATION), and/or modify getExtras() to modify the value "KEY_MOCK_LOCATION" in the bundle. |
Also see this stack and this about Fused locator |
@bnalls33 The whitelist is a really good feature, downloaded MockMock few days ago and was looking forward this ! Thanks for adding it =) |
Could you help me out? Im new to this stuff, so please bear with me if i say anything stupid. You said you released a new version that works with pokemon go and other apps, could you provide a link for an apk? Thanks! |
You can find a build here. Note that the app is not 100% working with PokeGo yet. |
I tried to view some file using an Hex Editor.
|
Is root required for this BTW? So can i just install the apk and use a gps spoofer? Thanks for the help in advance. |
@ireflex198 take a look at Xposed, this repository is only a module for this framework. Also, this is not really a place to ask for this stuff, more about how to develop it (I saw you created your Github account to ask this question). |
@skylve What were you suggesting that your code would do "[I can submit a PR to also] manage background process" |
Was reading up on possible other hooks and saw this: Is it possible that Pokemon Go is looking to see if any app is requesting ACCESS_MOCK_LOCATION permissions and assuming nefarious purposes? Is there any value to preventing the LocationManager.removeTestProvider function? |
How sure are we that it's even pokemon which is doing this? Without pokemon started on my phone (stopped in androids apps settings menu). It also shows the same behaviour in google maps. Okay so it is indeed because of the FusedLocationService. Check this reddit post how to disable it |
Throwing it out there but most people are just being dumb and havnt set "GPS Mode/Location Services" to "Device Only" and are being dumb using LowPower (* Wifi networks GPS location *) or HighAccuracy... the correct setting should be device GPS only. |
Pokemon Go application on Android seems to detect it anyway (block GPS localization if developer settings is enabled). Would be really cool to have it work with it !
The text was updated successfully, but these errors were encountered: