Mock Location not working properly? - Google Pixel 2 Questions & Answers

Hi, I'm new to XDA and have a question regarding Mock Location on my Google Pixel 2 XL. I've searched far and wide for people experiencing an issue similar to mine only to find nothing.
I have a Verizon locked bootloader, but still have developer options etc. that I can enable like mock location. Though mock location is available for me to turn on, it seems to not work properly. I've tried several apps, the first being Fake GPS GO Location Spoofer Free by IncorporateApps.. The second was Fake GPS Location by Lexa.. I've had the same issue with both apps where the app does change my location to what I set it to, but when somebody tries to locate me from Google Maps Location Sharing, after some time of having the location set it doesn't update, and says the last time my location was updated was hours ago, as if I had location sharing off.
I don't think it's a problem with the apps I use, because the same thing happened with both. With my old phone, a Google Nexus 6, I used Fake GPS GO by IncorporateApps and it worked just fine, and the location would be visible and updating to the person trying to locate me on Android Device Manager, now called Find My Device.
I'm just not sure on whether or not it's an issue with the Locked bootloader not liking that I keep the mock location going for extended periods, or if it's an issue with Google Maps Location Sharing that doesn't like the use of mock location.
I did some troubleshooting with the phone of those trying to locate me (A Moto X) through Google Location Sharing when using mock location, to find that the location seems to "update" on the other phone when I go into Google maps from my phone. However, this hasn't proven to be a surefire way to get it to update, since it hasn't had a 100% success rate.
I'm sorry about the very long post, this just happens to be a complex issue and I want to explain with the best detail that I can. Any help or advice would be greatly appreciated! Thank you so much.

may i ask why you are using a GPS location spoofer in the first place? I'll answer this the best I can with my guess on what it could be.
It sounds like something to do with Google Maps and its cache system. Google Maps is constantly caching maps and locations temporarily to your device. Sharing that location with someone using Google Maps might have something to do with how Google Maps stores cache. If your location hasn't changed than Google Maps has no reason to update your location.

djer34 said:
may i ask why you are using a GPS location spoofer in the first place? I'll answer this the best I can with my guess on what it could be.
It sounds like something to do with Google Maps and its cache system. Google Maps is constantly caching maps and locations temporarily to your device. Sharing that location with someone using Google Maps might have something to do with how Google Maps stores cache. If your location hasn't changed than Google Maps has no reason to update your location.
Click to expand...
Click to collapse
Thank you! That sounds like it could be it. Maybe I'll look further into the caching system for Maps.

My mock location is also not working on Pixel2 XL. I do not want to fake my location, I actually want to use an external survey grade GPS unit for precise location. And that has to be done through the mock location setting. But it is not working. Any ideas why that maybe?

CuriousPixel said:
Thank you! That sounds like it could be it. Maybe I'll look further into the caching system for Maps.
Click to expand...
Click to collapse
Hi!
Do you have a working solution finally? I have the same issue...

Related

GPS and cached google maps

I've been searching like crazy past couple of days but with no apparent luck. If not to take into account the countless bookmarks that I have been creating. God knows why.
The problem for me is that I have never used a GPS software and as far as I have been reading, it is either tracking/geocaching software without maps and/or with online maps. Or then GPS solution for car with offline maps. I can't read out from anywhere whether geocaching/tracking software is able to use cached google map tiles - these can be obtained, that much I know.
So, is it so common to use that no GPS software maker mentions the possibility to use offline google maps?
Or is that so reasonable solution (at least to my mind) for having a tracking/geocaching GPS software that can use cached/offline map tiles from google, simply something that nobody wants except me?
Please enlighten me...
There is at least 1 GPS software package that I know of that can use the cached Google maps, gpsVP, and it's free.
I don't know if this helps, but .....
Here's the link to the website.
http://gpsvp.garminmapsearch.com/
Thanks for the hint. I've been searching also meanwhile and found these threads and the application called Mobile Gmaps, if anyone is interested.
http://forum.mgmaps.com/viewtopic.php?t=725
http://forum.mgmaps.com/viewtopic.php?t=1788

[Q] Looking for this type of APP

I am looking for this type of APP.
A team of us works in 3rd world countries where street addresses are just not the same as back in North America; that is an understatement.
It would be nice to have an APP where I could add a geo point (if that is what they are called) to a map when I go to a location. I could then add a note about that location and the services, etc found there. My colleagues in another cities could also do the same. However, this would all be on one account so that all geo caches could be available to the whole team. When I add a geo cache to my phone it also adds it to their phones.
At the moment if this is only available on Android then it would work. However, some of the team also have iPhones so we would love something for both of these systems.
Look forward to your opinions and suggestions.
Thanks.
I remember Google Maps and Latitude can offer you this very service, you could checkin and add new locations, I don't know about privacy of these new added locations. so you need to look into it... before making it very public.
Thanks for your reply.
I will try using Google Maps a little more and see what I can fiind.
You mentioned Latitude. Is that an app? I searched for it in the Marketplace but nothing showed up.
Yes, lattitude is an app. maybe you should try different versions of your spelling or adding 'Google' in front of it, I'm not certain but it IS an app.
nosralr said:
You mentioned Latitude. Is that an app? I searched for it in the Marketplace but nothing showed up.
Click to expand...
Click to collapse
Google Latitude is part of Google Maps afaik. If you have maps, then it should be there.
From http://www.google.com/mobile/latitude/
Latitude is part of Google Maps for mobile on most phones. See supported phones in the Help Center for details.
Click to expand...
Click to collapse
I'm currently experimenting with different map apps. Maybe one of them has what you're looking for.

[Q] maps (and stuff) when travelling

google maps...latitude...footprints...locations...places...navigation...and now, download area maps...whaaa?
i am so confused about what all these things are? i've used google maps online, and a couple of times on my phone, and i've downloaded city "locations", but how do i use these - or which is better to be used - when travelling?
i'll be all over Europe come next month, and will have a data plan (actually a mobile wifi hotspot device at 1GB a month)...i want to use these gadgets but really can't tell the difference between them all
any advice? what have you used and how do you use it?
n7of9 said:
google maps...latitude...footprints...locations...places...navigation...and now, download area maps...whaaa?
i am so confused about what all these things are? i've used google maps online, and a couple of times on my phone, and i've downloaded city "locations", but how do i use these - or which is better to be used - when travelling?
i'll be all over Europe come next month, and will have a data plan (actually a mobile wifi hotspot device at 1GB a month)...i want to use these gadgets but really can't tell the difference between them all
any advice? what have you used and how do you use it?
Click to expand...
Click to collapse
google maps stuff
maps - google maps basically
latitude - allows google and your google contacts to know where you are.
navigation - directions on how to get from one place to another.
HTC location stuff
footprints - puts a marker where u are. i think it requires u to sign in to htc sense to fully utilise it.
htc location - your main gps app. notice there are categories there. u tap on one and places listed will be sorted by how far they are from you in an ascending order.
did that help?
i was using a nokia 5800xm previously and had garmin mobile xt. here in malaysia we have a forum where people upload points of interest and map builders add them in to map builds. when roads get changed or redirected, someone's gonna add them in. i was able to find almost any place in any state with garmin.
unfortunately, these two gmaps and htc's location arent that detailed.
that is helpful, thanks
so 'location' and 'places' is essentially the same thing?
it looks like Location uses purchased Navigation for directions, whereas Places uses free Google Maps?
yes that does clear it up...it looks like all i need is Maps and Places
n7of9 said:
that is helpful, thanks
so 'location' and 'places' is essentially the same thing?
it looks like Location uses purchased Navigation for directions, whereas Places uses free Google Maps?
yes that does clear it up...it looks like all i need is Maps and Places
Click to expand...
Click to collapse
location and places seem to serve the same purpose. so i just go with location. btw, when u purchased ur phone did u receive a voucher code for location? it should be printed on the location manual.
alexkit14 said:
location and places seem to serve the same purpose. so i just go with location. btw, when u purchased ur phone did u receive a voucher code for location? it should be printed on the location manual.
Click to expand...
Click to collapse
no voucher, nor a location manual
n7of9 said:
no voucher, nor a location manual
Click to expand...
Click to collapse
they probably removed it from the bundle for ur locale. anyway, enjoy ur trip and good luck with getting around.

Use GPS apps that require google logcation services without google location services.

Hello there!
I've searched the internet for answers but have not been able to find a clear one, so I figured may as well ask it where the experts reside. Google doesn't stop tracking you no matter what privacy settings you have on your account, and google location services offer nothing except data to Google. When I have my GPS enabled my cell towers aren't going to be more accurate and there is no WiFi on the highway unless there is a guy in a van blasting it, or some modern cars with electronic breaks that will kill you when the power dies. I don't like having my GPS enabled constantly and I can't turn on WAZES or Google Maps without Google location services. Everywhere I look people just say to not use Google and certainly I know how to do that, except that the GPS solutions that don't require Google location services are quite frankly, from my experience, inferior.
Is there a way to force apps to not use Google location services, or to spoof Google location being enabled without it actually being enabled? Is there a way to just stop it from transmitting anything to Google (I understand that with Google maps some data will still have to be transmitter but I don't use Google maps often)? If not, can we at least stop it from enabling wifi scanning?
Thanks in advance for any time and thoughts you put into this problem.
Maybe the linked threads are able to provide a few answers. Our devices are absolute free of Google services and applications and working perfectly. For maps/navigation we use: OSMand+.
https://forum.xda-developers.com/android/general/gapps-free-samsung-galaxy-s3-lte-gt-t3553620
https://forum.xda-developers.com/android/general/how-enhance-battery-duration-sgs-3-lte-t3478287
https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928
https://forum.xda-developers.com/xposed/modules/xprivacylua6-0-android-privacy-manager-t3730663

Google location services in other apps after sideloading GMS - can it be fixed?

Hey guys,
So I sideloaded GMS on my p40 pro with redskull's instructions on youtube and didn't have notifications after that. Then used Multi tool 8 to disable gsf and then enable it again. Notifications came back, but location services aren't working correctly. In google maps, I have my location, but no arrow on the blue dot, so I can't see which direction I'm facing. Other apps that use google's location services don't work at all, they stall at "google play services are updating".
Is there a way to get location services in other apps working?
Thanks in advance!
disable Google Services Framework then works.
Thanks for your reply. I did that and it worked.
So now the play store isn't working. Are there any other disadvantages by disabling gsf?
If you need Playstore -> activate gsf then deactivate again
I don't know what sideload meant, nor why would you disable anything, but on my P40 I got maps and notifications working. I used another guide.
stewakg said:
I don't know what sideload meant, nor why would you disable anything, but on my P40 I got maps and notifications working. I used another guide.
Click to expand...
Click to collapse
please link this guide here.
Any idea why Gmail notifications aren't working after disabling gfs?
Duplicate post
While we wait that @stewakg posts mentioned guide, disabling GSF still does not work for applications like Tripadvisor which require Google location precision to work. Such applications continously ask to enable Google precision and do not acquire position.
Any solution for this?
I am sorry all for late response.
This is guide I have used. I got European model bought in Germany. I have maps, play store with pay(can buy apps and games) and notifications.
Also I'd that helps, I got YouTube Vanced and microG installed.
Hope this will help someone. Cheers.
famusc said:
While we wait that @stewakg posts mentioned guide, disabling GSF still does not work for applications like Tripadvisor which require Google location precision to work. Such applications continously ask to enable Google precision and do not acquire position.
Any solution for this?
Click to expand...
Click to collapse
Did you find a solution to this? I have many regional specific apps that don't want to work. They have similar failures as you're describing after loading GMS/GSF. My problematic apps are Lyft/Bay Wheels and Gig Car Share.
desertflyer said:
Did you find a solution to this? I have many regional specific apps that don't want to work. They have similar failures as you're describing after loading GMS/GSF. My problematic apps are Lyft/Bay Wheels and Gig Car Share.
Click to expand...
Click to collapse
No sorry. I have no solution for this.
The best thing is with GSF disabled for me: i will not use location in tripadvisor but I will survive.
I understand that for you is not that good but I hope for a real solution.
desertflyer said:
Did you find a solution to this? I have many regional specific apps that don't want to work. They have similar failures as you're describing after loading GMS/GSF. My problematic apps are Lyft/Bay Wheels and Gig Car Share.
Click to expand...
Click to collapse
A user said this:
Freeze again GSF. Go to Aurora Store and update Google Play Services. Unfreeze GSF. Restart.
I tried and locations work but I still get "Play Services are updating" in apps where a map is supposed to show, like Tripadvisor. So I can see the map which is important too. Can you try this and let me know? Thx
famusc said:
A user said this:
Freeze again GSF. Go to Aurora Store and update Google Play Services. Unfreeze GSF. Restart.
I tried and locations work but I still get "Play Services are updating" in apps where a map is supposed to show, like Tripadvisor. So I can see the map which is important too. Can you try this and let me know? Thx
Click to expand...
Click to collapse
Okay, I got the apps I needed working with Google Maps integrated in them. Maybe this will work for you. (I am still having issues with notifications for many apps with GMS installed.)
I have a C636 variant running 10.1.0.131. I started by following Redskull's guide here: https://youtu.be/4vki3DasrYc
That mostly went fine. The Play Store was still a bit buggy and I was still getting lots of notifications about running Play Services on a non-certified device.
Once I installed everything I needed from the Play Store, I then used Multitool to disable Google Services Framework (com.google.android.gsf). While GSF is disabled the Google Play Store does not work, as most of your know. Google Maps integrations work in all of the apps I've tried so far: Lyft, Bay Wheels, Gig Car Share, Lime, Bird, Revel, Zipcar, Getaround, Flywheel, Transit, Swarm/Foursquare, and Yelp.
Notably, Spin does not work. It keeps telling me "For a better experience turn on device location, which uses Google's location services" and no matter if I hit No Thanks or OK, it keeps popping up over and over again making the app unusable. Bay Wheels has a separate bug where it cannot access the camera to unlock a bike, but it gives the option to enter the bike number instead so it's not a big issue. QR unlock works with Lime. That's all I've tested so far though.
Google Location Services does not work
No matter how you got GMS onto your Huawei Phone / Tablet that doesn't come with GMS, no matter what workaround you use to get everything working (i.e freezing GSF to get push notifications working), there doesn't appear to be any solution for GLS. It simply doesn't work. Any app that relies on it exclusively is broken. For instance Google Location Sharing, or Google Timeline. Probably others, but those are the ones I use the most. Google Maps, Waze, and other navigation apps will just use your GPS to get your location (which doesn't work if you're in an enclosed building with no view of the satellites). You can try to turn it on: Settings->Location->Location Services->Google Location Accuracy->Improve Location Accuracy, but it will turn itself off shortly.
My timeline works fine and "improve location accuracy" was on by default when I just checked. I even turned it off and on again and it stays on.
Mine works as well as does location sharing.
frogdr1ver said:
Mine works as well as does location sharing.
Click to expand...
Click to collapse
OK, that's great. Maybe you could tell me how you accomplished that? A working Google Location Services is probably the last thing I need to get going on my P40 Pro+. With GSF frozen, "improve location accuracy" keeps getting disabled. If I try to share my location, I get "Location sharing isn't enabled on this device. Fix", but Fix does nothing. With GSF unfrozen, I get a never ending stream of Google Play Protection messages (which can be turned off, but I'm sure still affect the phone), I can turn on Location Accuracy, but Location Sharing still says "Location sharing isn't enabled on this device. Fix" and a message "Unable to get an accurate location" when I press Fix even with a good GPS lock.
I didn't do anything other than follow the guide from 26th sept, I don't freeze play and canceled the notifications as per the guide. I also manually manage maps rather than let it be automatic.
frogdr1ver said:
I didn't do anything other than follow the guide from 26th sept, I don't freeze play and canceled the notifications as per the guide. I also manually manage maps rather than let it be automatic.
Click to expand...
Click to collapse
With Google Services Framework unfrozen, Google Play Books no longer works. And even though Location Accuracy is enabled, I still get the ""Location sharing isn't enabled on this device. Fix" message when I try to share my location through Google Maps. Do you know what versions of Google Play Store, Google Play Services, and Google Services Framework you have installed? Are any patched or are they all unmodified Google apps?

Categories

Resources