How to get mock GPS and pogo working on the Pixel XL? - Google Pixel XL Questions & Answers

As the title states, I want to be able to play Pokemon Go and use an app to spoof GPS. I do not care about Android Pay. I am really looking for advice on what to do, not how to do it. I am happy to do the legwork of figuring out how to install whatever is recommended.
I know I'm new here, so in an effort to show I've at least tried before creating a thread, here is what I've done so far:
- I tried various methods on a Verizon Samsung S4, but ultimately failed because the bootloader is locked. I learned a lot though, which was great (including never to buy phones from Verizon).
- I tried everything I could find on a Galaxy Tab S2. I got TWRP installed and tried every combination of SuperSU, suhide, rootswitch, Magisk, xposed, etc. Everything installed but pogo failed to start. I believe I need a different Kernel (although I can't remember specifically why), and there are not many options for that device.
- I got TWRP RC1 installed on my Pixel XL (purchased from Google, not Verizon), and successfully got dual boot working with a stock image in one slot, and rooted the other slot. I previously thought I needed to wait for Xposed to be released for Nougat, but I now think that may not be the case.
So, if my goal is strictly to manipulate GPS on my Pixel and still have pogo run, what is the path of least resistance? If I want to play without spoofing I can just boot my stock image.
This post by @Fenny (https://forum.xda-developers.com/showpost.php?p=70201392&postcount=106) says: "Really want to cheat at Pokemon go? Just patch the location service to always report that mock locations are off."
Could anyone elaborate on that? As I mentioned I don't care about Android Pay (although that would be a nice benefit). Is there perhaps a kernel for the pixel that will report mock locations as off, and still let pogo run? I am not familiar with how to patch the location service otherwise. I'd be willing to learn but I expect it is not a good starting place a for a newbie.
I also realize in the thread I linked above other people have reported they got pogo to run on a rooted Pixel using the patched files in that thread combined with suhide and rootswitch. If I do that, can I mock GPS locations without xposed? Or will I just be able to run pogo without spoofing?
Thanks for reading!

I've been able to spoof my gps and use a joystick app with pogo for a few months with just using Magisk and Magisk hide.. But now with the new update to pogo it will not allow you to use mock locations.. The pogo app loads but nothing shows on the maps(pokestops, Pokemon) and it says "failed to detect Location". Even with pogo running it says that and as soon as you stop the mock location app from spoofing it goes back to normal. Until someone makes an app that hides mock locations from pogo you won't be able too spoof.. I've even tried xposeds hide mock location module and it doesn't work as of now.
Sent from my HTC6545LVW using Tapatalk

So this is a definite no chance as soon as you take the march update
and if you dont you get stuck dealing with the pixel draining your data by redownloading the update over and over again forcing you to installit and loose the ability to spoof gps ffs

Related

Root and Google Wallet (also NFC)

I hear that Google Wallet does not work if the phone is rooted. I got unsupported device message. Here's my question :
- Can you use wallet app with rooted phone ? (actual work , I haven't tried yet ; I denied root access but the message still there)
- Do other NFC apps request root to run ?
Nhan Lam said:
I hear that Google Wallet does not work if the phone is rooted. I got unsupported device message. Here's my question :
- Can you use wallet app with rooted phone ? (actual work , I haven't tried yet ; I denied root access but the message still there)
- Do other NFC apps request root to run ?
Click to expand...
Click to collapse
It works fine with a rooted device, it just warns that it's not supported (and links to the article describing the security risks briefly).
In general root access isn't needed for anything NFC related - this was a recent addition to Google Wallet.
So you still can pay with GWallet on root phone :great: I also interested with NFC modding. I see there are many NFC card with vary capability (from 50b to 1Kb) , which one should I buy ? (I'll use for turn Wifi/Bluetooth on/off or Change brightness e.t.c)
Nhan Lam said:
So you still can pay with GWallet on root phone :great: I also interested with NFC modding. I see there are many NFC card with vary capability (from 50b to 1Kb) , which one should I buy ? (I'll use for turn Wifi/Bluetooth on/off or Change brightness e.t.c)
Click to expand...
Click to collapse
There's a thread for that...
http://forum.xda-developers.com/showthread.php?t=1697563
Confused
krohnjw said:
It works fine with a rooted device, it just warns that it's not supported (and links to the article describing the security risks briefly).
In general root access isn't needed for anything NFC related - this was a recent addition to Google Wallet.
Click to expand...
Click to collapse
I have an EVO 4G LTE and prior to rooting I definitely cleared my Google Wallet. But just now since rooting and installing Charmeleon, when I load Google Wallet I get this message:
Not Supported
--------------
Unfortunately, Google Wallet has not yet been certified in your country or on your device / carrier.
Obviously, this is not true, because it worked just fine prior to rooting.
Clicking OK merely closes it out, so how can it still work if I can't go any further?
It can still run up until that verification takes place, I've seen it many times on my sgs2 when we first got nfc enabled awhile back. Anyway to address your problem it could be a couple of things, first thing that comes to mind is your apn settings. My reasoning is you said it worked completely before and you flashed chameleon so the error your getting could definitely be that. Check your apn settings, make sure your connecting to the same servers as before. If that isn't the issue let me know as I don't have your lg so I couldn't tell you if it has something to do with the secure element at this time.
Actually I just did some quick research for you. It seems even people on stock rom are having issues with nfc and not just Google wallet but a lot of reports of not being able to detect nfc cards or other credit cards,pay pass etc. Does your nfc work in any of those capacities? If not I would start there because if that doesn't work Gwallet surely won't. Lastly I just read a few issues in the sprint version of the phones forum on xda people believe there's an issue with the placement. Check it out
Sent from my SGH-I777 using xda premium
Nizda1 said:
Actually I just did some quick research for you. It seems even people on stock rom are having issues with nfc and not just Google wallet but a lot of reports of not being able to detect nfc cards or other credit cards,pay pass etc. Does your nfc work in any of those capacities? If not I would start there because if that doesn't work Gwallet surely won't. Lastly I just read a few issues in the sprint version of the phones forum on xda people believe there's an issue with the placement. Check it out
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Thank you for looking into this, and for discovering others are having issues. I'm not sure how to go about checking my APN settings, but I am looking it up.. so as soon as I figure that out I will post back and let you know what I find lol
---------- Post added at 09:02 PM ---------- Previous post was at 08:57 PM ----------
I believe my APN was and is LTE/CDMA unless I'm miss understanding, this doesn't appear to have changed. As far as the other trial&error's you've suggested, I am going to have to try those later because I am at work for the night, and don't have access to anything here. Thank you for looking into this!
I can't Help You *_*
USAMac said:
I have an EVO 4G LTE and prior to rooting I definitely cleared my Google Wallet. But just now since rooting and installing Charmeleon, when I load Google Wallet I get this message:
Not Supported
--------------
Unfortunately, Google Wallet has not yet been certified in your country or on your device / carrier.
Obviously, this is not true, because it worked just fine prior to rooting.
Clicking OK merely closes it out, so how can it still work if I can't go any further?
Click to expand...
Click to collapse
You can check out my guide here for your answer http://forum.xda-developers.com/showthread.php?t=1810282

Root for the Pixel Xl from the google store?

Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
lovenokia said:
Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
Click to expand...
Click to collapse
Not yet. Partitions are different on the Pixel compared to other phones which is going to create a different method for root. It will happen when the devs figure it out. I am looking forward to tinkering with my new Pixel.
lovenokia said:
Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
Click to expand...
Click to collapse
Chain fire is waiting for his to be delivered to his country. Once he gets it then he will start working on root. He says it will be a little harder so it will take a little longer. Also the dev beanstown is on the waiting list for November so we will start seeing root and custom Roms by December I bet.
lovenokia said:
Has anyone made anything that roots the pixel xl, the variant from the google store with the unlocked bootloader? I want to root my device, no need for custom recovery and install a system wide adblocker.
Click to expand...
Click to collapse
Have you tried Adguard, no root needed and easy to toggle on/off, I started using it on my work phone and have found that it works very well, enough that I've switched to it on my personal phone and on the desktop.
Local link: http://forum.xda-developers.com/android/apps-games/adguard-ad-blocker-doesnt-require-root-t2958895
If you find a need for the premium functions googling "adguard stacksocial" will give you a much cheaper option for multi device usage.
rgbc said:
Have you tried Adguard, no root needed and easy to toggle on/off, I started using it on my work phone and have found that it works very well, enough that I've switched to it on my personal phone and on the desktop.
Local link: http://forum.xda-developers.com/android/apps-games/adguard-ad-blocker-doesnt-require-root-t2958895
If you find a need for the premium functions googling "adguard stacksocial" will give you a much cheaper option for multi device usage.
Click to expand...
Click to collapse
This is totally speculation, but since Adguard appears to use the android VPN to block ads, I imagine this may have some kind of negative affect on Wi-Fi assistant (if you have it enabled). I would test it, but honestly I don't trust that this company is tunneling all the traffic of all your apps through them. Seems a bit sketchy to me, but to each their own.
EDIT: Seems I misunderstood how the application functions. I'll still be waiting for root, but thanks to rgbc for the info.
bigbabys said:
This is totally speculation, but since Adguard appears to use the android VPN to block ads, I imagine this may have some kind of negative affect on Wi-Fi assistant (if you have it enabled). I would test it, but honestly I don't trust that this company is tunneling all the traffic of all your apps through them. Seems a bit sketchy to me, but to each their own.
Click to expand...
Click to collapse
The app sets up a local (on-device) VPN for ad filtering, web traffic isn't being routed through Adguard's servers.
I don't use wifi assistant (traffic routed through Google's servers) as I use a third party VPNfor all public wifi however when Adguard senses a remote VPN connection being setup it disabled it's self automatically. It also has a root option for alternative filtering methods for use with VPNs.
Cheers,
Rob
rgbc said:
The app sets up a local (on-device) VPN for ad filtering, web traffic isn't being routed through Adguard's servers.
I don't use wifi assistant (traffic routed through Google's servers) as I use a third party VPNfor all public wifi however when Adguard senses a remote VPN connection being setup it disabled it's self automatically. It also has a root option for alternative filtering methods for use with VPNs.
Cheers,
Rob
Click to expand...
Click to collapse
My bad, as I said total speculation. Didn't mean to spread mis-information. I'm probably still going to wait for root, but it's nice to know there is an alternative.

Minimal work required to get back my bluetooth tethering? XT1635-02 OTA Nougat

I have determined that I at least will need to unlock my bootloader which I am already loathing since that means everything on my phone will get reset. We also don't even have signed firmware for this device. I don't care about root, but I also don't use any of this pay nonsense. I do play a certain game that will moan about my phone being modified though. I was already looking at the nougat thread regarding root and passing everything but I'm not interested in magisk and the headache that comes with having to deal with safetynet updates.
Far as I understand:
1. Get TWRP, can I get away with just booting it and not actually flashing?
https://forum.xda-developers.com/mo...recovery-unofficial-twrp-moto-z-play-t3495629
2. I guess tomparr's zimage kernel zip found here: https://www.androidfilehost.com/?fid=457095661767134479 is required since the system is going to be changed for what I want to do
3. Steps somewhere a long the lines of this http://www.theandroidsoul.com/enable-tethering-nougat-alongside-android-pay/
a. Add the net.tethering.noprovisioning=true line
b. Open Terminal emulator on your device and issue the following commands one-by-one:​su
settings put global tether_dun_required 0
exit​
If I am understanding anything wrong or anyone wants to point me at anything else to read that would be great.
[rant] What an annoying experience this has been, before a few hours ago I praised motorola(lenovo) for what an amazing phone this was, that is until I got that ridiculous update pushed to my phone. Yes, it is definitely snappier and more responsive, but I'm not giving up functionality because the developer of the dammed OS caved into pressure from carriers. I bought an unlocked phone an no carrier has any right to restrict any of my phones features just because they think they can. I work in an office where login into the wif is a thing and I will have multiple devices with me sometimes, so I used to just bluetooth tether the other devices from my main phone and not have to deal with mutliple logins, there are also times when out and about where my gf's signal isn't great and she will use my data to be able to keep using her phone. DAMMIT THIS IS FRUSTRATING.... [/rant]

Trying to Control WiFi HotSpot with Tasker - Nothing is working

Howdy all!
My request is simple... All I want to do is control my WiFi Hotspot with Tasker. I've searched high and low people with Pixel 2XLs have reported everything from, "it just works", to "try Nougat+ Tether Toggle", etc. Everything I've tried hasn't worked.
My current setup is as follows:
1. Apr 2018 Android Security Update
2. TWRP v3.2.1-2
3. ElementalX Kernel 1.06 (Apr Security Update)
4. Magisk v16.3
I've verified that Tasker has root privileges. Tasker's built in WiFi Tether control tells me "Action WiFi Tether Failed". When using Nougat+, I get closer, with this error: "Neither User xxxxx not current process has android.permission.TETHER_PRIVILEGED".
Now, I haven't installed Nougat+ as a system app, because I believe that will trigger SafetyNet, etc., which will effectively break a bunch of stuff from working like Google Pay. Is this a correct statement? Does anyone know of another way that doesn't involve modifying the system partition?
FYI, my service is AT&T, and I have tethering enabled. I can also manually enable Tethering by tapping on the tile. I just want a way to automate it.
I believe there might be a problem with the April security update. Personally, I am not very well versed in using code, although I think that there might be an easy fix that we can just turn tethering on or off through provisioning. If anyone has any tips on how we can do that through the build.prop, or any other way, that would be much appreciated!
Cowbell_Guy said:
I believe there might be a problem with the April security update. Personally, I am not very well versed in using code, although I think that there might be an easy fix that we can just turn tethering on or off through provisioning. If anyone has any tips on how we can do that through the build.prop, or any other way, that would be much appreciated!
Click to expand...
Click to collapse
It's not the APR update... I've had the problem with March as well, I've only just now decided to root, etc. in hopes of solving the issue.
To be clear, I'm already provisioned, and I'm not trying to skirt paying for tethering. As I indicated, I pay for tethering as part of my plan, and it works without an issue, but to enable it I need to manually tap the Hotspot tile in the Quick Settings Tiles.
I would simply like to be able to enable automatically.
Also - I believe modifying Build.Prop would certainly trigger SafetyNet to fail, which again, kills Google Pay, etc. - so this is a non-starter.
Bump?
I have tried the plugin and it works if you allow it to change the system settings.
Sent from my Pixel 2 XL using XDA Labs
I still couldn't get it working, BUT, someone converted it over to a Magisk Module, and the module version works perfectly well.
Problem Solved? I think so.
Can you share it with me?
Morphx2 said:
Can you share it with me?
Click to expand...
Click to collapse
It's in the magisk repository. Just open the Magisk Manager, and click "downloads", and search for "Tether".

[Guide] Enable working GPS Change no Rubber banding

This guide is for fixing a GPS Problem when attempting to use spoofing apps, in particular games that require your actual location.
For Example Pokemon GO among others, over time the original exploit to mock location was patched by certain companies when playing their games so now the only reliable way to do this is with root (for several reasons).
So Even with apps like GPS Joystick I found at times the real location was still getting acquired, I attempted to manually disable location services, using the built in features like "AGPS-Reset" still the actual GPS would lock on (obviously not as much in larger buildings) still I wanted to go outside and only mocking location be seen by the apps/games with no actual location working
I figured it out and thought I would share
First things first, You MUST be rooted. If you do not have root and own a V30 variant their are guides to convert and root.
It doesn't work without it, don't ask
For other phone models your mileage may vary (we are looking for a file "gps.conf")
Second, MAKE A BACKUP of the files that will be changed later, if you do not. Then you will most likely have to re-flash or have non-functional GPS and if you do need it you would be boned.
Third, You will need a few tools Ex. ( Terminal Emulator, Systemize [Masgik Module] , GPS Spoofing app I personally use the GPS Joystick Pokemon GO, Root file Explorer of some sort, the game of choice, and a system app or service disabler, like Titanium backup etc)
Now to the fun stuff
Make a backup of /vendor/etc/gps.conf
Install spoofing app (if equipped generate new name for GPS app and then delete the original)
After backing up gps.conf to SD or through adb, delete the original gps.conf in a root file manager then create a blank file in the same location (/vendor/etc) named gps.conf
In effect you just replaced the original with a blank copy, you could manually delete the contents as well but that's more work.
use the appropriate app disabler and disable anything with GNSS, location services, Qualcomm IZAT, Fused Location and anything else that is location service related
Open Terminal Emulator
type in "su"
grant su permissions if asked, make sure you have a # in the prompt
type in "systemize" (Gotten from magisk module download)
convert GPS spoofing app or generated app to a priv-app in the system (It cant be just /system/app)
then exit the systemize app and type "exit" a few times to close the terminal
Make sure when you do change the GPS settings in the actual android menu that you choose GPS only and that WiFi and Bluetooth settings are unchecked, obviously ensure the main GPS switch is enabled but that the rest aside from GPS only is not checked and or enabled
Then reboot your phone THIS IS A REQUIREMENT, for several reasons, it actually disables the location related services as well as the GPS via the gps.conf file and will also make your new spoofing app a priv-system app and it will appear
By now you should have location services aforementioned disabled, gps.conf blank, settings to GPS only with no other location "extras", a systemized gps spoof app. From here i disabled indirect mocking in the spoofing app, make sure System mode IS enabled AGPS-reset isn't needed and being we disabled location services manually, I suppose you could un-check that too but i left it checked
I modified the walk speed to the limits of the game I play, rebooted one more and its a safe idea to double check everything is set correctly
You DO NOT need to add the said mocking app to Developer Mock locations as it is a system app and some spoofer(s) offer that mode after making it an system app
At the end of the day you will now have a GPS Mocking app running where you can set your location and play without ever having the real location ping and rubber-banding you or otherwise messing up the whole concept of spoofing the GPS
As a disclaimer the GPS is a safety feature but some would rather not be tracked so this can technically work this way too
Some may ask well if you are just turning off GPS can't you just turn off the switch in Location Settings, that does not work as GPS technically has to be on for the spoofing app to function. Deleting gps.conf vs making a blank file causes the spoofing app to state the GPS isn't on (even if the on/off switch is toggled under the Phone Settings)
To reverse simply restore the original gps.conf to "/vendor/etc" (You did make a backup? Right)
re-enable the previously disabled location related services
reboot the phone
and if you'd like you can tick the gps and networks, WiFi, Bluetooth scanning and qualcomm IZAT option
or go with just GPS
either case this should enable the real location, I always test with a weather app
If you play Pokemon GO,Adventure Sync doesn't work (while location services disabled/frozen) I suspect because one of the "Location Services" Google Fit Depends on, however being you can walk as much as you want its a mute point, if you want Adventure sync back you have to reverse the process
Anyway this is what I have come up with, it works for me, after its tested by others, I am planning on writing a app that does this all in one shot. For now here is the manual way
Have Fun, Hope it works
If you have any questions or modifications to the post I am open to suggestions
If their is an easier way or something I missed or could Improve on, again comments are welcome
Last thing This technically violates TOS for some games and is increasingly hard to successfully pull off, so try your best to use every tool available to hide both the GPS spoofer and root from said games, don't teleport to far without waiting the proper amount of time before running the game , read up on the walking limits or how the game works if needed to fine tune everything
Just quick question. Do we still need to downgrade google play service boss? Something like 12.6.85 version.
thank u so much i was having this issue for a long time and i was planning to buy a gps jammer just so i can fix this issue , this is worked very well thank u again ^^
Thanks man you're the best!
I'm about to try this guide on my V30 with Oreo... did you ever make the app you mentioned that would do all this automatically??
teknomedic said:
I'm about to try this guide on my V30 with Oreo... did you ever make the app you mentioned that would do all this automatically??
Click to expand...
Click to collapse
No unfortunatly i got busy with life, for the time still have to do things manually
fxsuprapto said:
Just quick question. Do we still need to downgrade google play service boss? Something like 12.6.85 version.
Click to expand...
Click to collapse
I just tried a month ago and i never downgraded google services, in fact I read the newer updates to pokemon look for that, my origional instructions stated to disable fuse locations etc, now you don't need to do that just two things, well maby 3, make sure your using magisk and hide root from pokrmon go, under gps locations settings set to use gps only and change the gps.conf file as instructed, if poke gives OS incompstable warnings know that it will browse both your sd and internal card looking for files folders and even some other apps thats known to utalize root, i commented on this to another user on the last page of the thread, also someone else make another guide based on my findings, ive commented there as well, you can also look at reddit as i found at least a partial lidt of things the game looks for, being they update all the time like with anything else its a cat and mouse game, the only reason this works is because were changing a file in android that prevents the gps from working without totally disabling it, doing the latter flags in pokemon, the eevs of the game cant patch this as gps comes from android itself and not a app or utility but it would be just as easy for them to look for a 0 k (size) gps file and if thst matched well then it would be game over for this fix, luckly tho this fix isnt super popular so its stayed under their radar
Hey, Doesn't smali patcher achieve the same outcome with a shorter process?
In reguard to the smali patcher, to be honest I have no idea, ive seen several references to it sinse folks started commenting on my idea, things get developed all the time, i dont recall having that as an option when I wrote all this or id have gone for a quick fix myself, if the patcher somehow disables the gps itself then its likely it works in a similar fashion, as the heart of my fix really depends on the gos file, and of course some spoofing app and root, all id say is try and see, if the patch works and its less leg work for you then go for it, I would, i just didnt have anything else when i wrote the steps out
Great, just what i was searching for!
That is really great, i've spent today searching for a way to deactivate the gps, i have a sony xperia z3c which is used just for pokemon. I found that gps.conf file shortly after i started having a nose around the filesystem. The only think i actually tried so far was disable the location service & the fused locations, after which the GPS joystick (as a system app) seemed to stop functioning. Incidentally, my gps.conf is in > system > etc
So thanks for this info, you have saved me from a lot of messing about.
Just to update, the gps.conf was in 2 location on the xperia z3c, the top etc folder and in system/etc. so did both.
Again the gps joystick would not work after i froze the location service and the fused locations, as it turns out they both have to be present for it to work.
Despite that, it looks to be working ok.
No, a while later it did start doing it again, much less though.
Think ive sorted it now though. using an app called System2, i found the other services that are related to the location service, then froze 4 of them. I also deleted this one file that was somewhere within the in the dev folder in another folder called qmux_gps. it wouldnt let me copy it, but i did manage to delete it (wreckless i know). Since then everything is working great, for about 5 hours so far

Categories

Resources