Best way for faking gps? - Android Q&A, Help & Troubleshooting

Hi,
I currently have the problem, that since a couple months now I apparently have a new neighbor that brought his router with him. Apparently this router was previously located in another country, because since that time the Google geolocation places me somewhere in Germany (instead of Austria, where I live) - and this slowly drives me mad because it makes every app relying on geolocation more or less unusable while I am at home. Google Maps support ignored several reports sent via the Google Maps app, Google Enterprise support not gives a **** because they don't care about Google Maps and want a json call which reproduces the issue (and I cannot find the according MAC causing the problem)
Appart from that the internet suggests to get a GPS signal as often and as good as possible to fix such an issue. Unfortunately that doesn't work for the areas in my apartment where I have this problem. Therefore I bought a bluetooth GPS receiver. The idea was to put it outside onto the terrace, while my phone connects to the receiver from inside of the apartment (near the wifi ap). This way - so I thought - I would be able to bombard Google with the f*ink data, that I don't live at this f*ing place in Germany. Turns out, that the bluetooth range was too small for that and that I have to use "mock location" in the dev options to do that, which also seems to make Google make ignore its data.
That is also my problem with the various 'Fake GPS' apps. They use the mock location option and therefore get ignored. So now my question: What is the best way to fake the location, which also cannot be detected by Google? So that I can use that on the inside of my apartment to provide Google with the data needed to finally correct this wrong data. Currently I am trying out this xposed module https://repo.xposed.info/module/com.fakemygps.android Does anyone know about a better way?

So no secret druid knowledge of faking gps present in this forum?

Related

[Q] Geolocation issue?

Has anyone else had issues with your tab finding your location via wifi? It finds it on some networks (like my home and a hotel I was in a week ago), but unable on others (mainly at my workplace and my in-laws house). I didn't notice it until I flashed new TW roms. Google maps says location unavailable, Beautiful Widgets stays on last known location, etc.
Could this be a wifi network issue or a tab issue?
Edit: I flashed back to my original stock backup and I still couldn't get a location. I;m at work, where is hasnt been able to find my location.
tallgrasshawk said:
Has anyone else had issues with your tab finding your location via wifi? It finds it on some networks (like my home and a hotel I was in a week ago), but unable on others (mainly at my workplace and my in-laws house). I didn't notice it until I flashed new TW roms. Google maps says location unavailable, Beautiful Widgets stays on last known location, etc.
Could this be a wifi network issue or a tab issue?
Edit: I flashed back to my original stock backup and I still couldn't get a location. I;m at work, where is hasnt been able to find my location.
Click to expand...
Click to collapse
Most likely your work's wifi network is far enough from the street that it isn't in Google's database.
Same for the inlaws. In their case - is there Street View coverage in their area? If not, it's far less likely that wifi APs in that area will be in Google's database, as the Street View trucks are the main way they build the DB.
Ah. That makes sense as both are rural and my home is not. I didn't realize that was google's work. Figured the location was through the isp or something.

GPS Not Working?!?

Hi all im trying to use my GPS on navigation and it doesnt seem to be working one bit i even downloaded a gps app and that wasnt picking it up also any idea's what's wrong?
TipTopFlipFlop said:
Hi all im trying to use my GPS on navigation and it doesnt seem to be working one bit i even downloaded a gps app and that wasnt picking it up also any idea's what's wrong?
Click to expand...
Click to collapse
EDIT: the only real GPS dead zones are underground and on a very rare occurence when your time and date aren't synchronized with that of the GPS sattelite. Other then that, have you tried to enable GPS in settings (would be weird if it was disabled by default). It also matters if you have a data connection when using some apps (I have never gotten google maps to show me where I am when I have no data).
Hope some of this is useful to you
Dyskmaster said:
EDIT: the only real GPS dead zones are underground and on a very rare occurence when your time and date aren't synchronized with that of the GPS sattelite. Other then that, have you tried to enable GPS in settings (would be weird if it was disabled by default). It also matters if you have a data connection when using some apps (I have never gotten google maps to show me where I am when I have no data).
Hope some of this is useful to you
Click to expand...
Click to collapse
Thank's for the reply the GPS is enabled still no luck,you cant get data on the Galaxy Player anyway i think.
Other people must be having this problem too the thread has had about 200 view's does anyone know anything about this problem?
TipTopFlipFlop said:
Thank's for the reply the GPS is enabled still no luck,you cant get data on the Galaxy Player anyway i think.
Other people must be having this problem too the thread has had about 200 view's does anyone know anything about this problem?
Click to expand...
Click to collapse
By data connection he means a wifi connection.
GPS uses data always. So it needs a data stream to get and use location services and maps.
On a phone it uses cellular or wifi but on an ipod style device or the galaxy player it needs wifi.
Without wifi it will never work unless your gps config files are modified; which is something i learned when trying to get the Acer Iconia GPS to work. And even then its probably not going to work.
Turn on wifi. I bet it works.
You now may be thinking "then what good is gps when i do not have a data connection!!?" - and my answer is exactly!!!
Gps on these devices is a gimmick and really only works when wifi is available.
True gps like a tom tom device doesnt need a wifi connection because it uses the gps link iyself for the limited data it needs plus the maps are built in.
On the galaxy player and phones the maps are downloaded at needed because they are hundreds of megs .
v_lestat said:
{snip}
True gps like a tom tom device doesnt need a wifi connection because it uses the gps link iyself for the limited data it needs plus the maps are built in.
On the galaxy player and phones the maps are downloaded at needed because they are hundreds of megs .
Click to expand...
Click to collapse
The Galaxy Player works fine as a standalone GPS without need of a wifi connection if you have the right kind of app. I use Sygic but there are several others. You download maps from Sygic to your player so they are available on your device. Works fine on my 5" Galaxy Player. Also there are apps like speedometers which use the GPS and work fine without a wifi connection.
I use Sygic. And also use pre recorded areas in Google Maps when I need it. No need to WI-FI, etc..
It is a good GPS 5 ".
In fact, very good.
Until now no problems experienced with GPS. If you do not connect may be related to your area.
v_lestat said:
By data connection he means a wifi connection.
GPS uses data always. So it needs a data stream to get and use location services and maps.
On a phone it uses cellular or wifi but on an ipod style device or the galaxy player it needs wifi.
Without wifi it will never work unless your gps config files are modified; which is something i learned when trying to get the Acer Iconia GPS to work. And even then its probably not going to work.
Turn on wifi. I bet it works.
You now may be thinking "then what good is gps when i do not have a data connection!!?" - and my answer is exactly!!!
Gps on these devices is a gimmick and really only works when wifi is available.
True gps like a tom tom device doesnt need a wifi connection because it uses the gps link iyself for the limited data it needs plus the maps are built in.
On the galaxy player and phones the maps are downloaded at needed because they are hundreds of megs .
Click to expand...
Click to collapse
The GPS technology works perfectly fine without data connection. To speed up the first fix, aGPS was developped and uses a data connection when available, but data connection is not mandatory. It's what is used in most if not all smartphones (search for "assisted gps" in wikipedia).
Data connection are required by some navigation software because they need to download the maps or for some obscure reasons. It's the case with google navigation for example.
But you can use a software that doesn't require data connection and store all its map on the device and only uses the GPS signal to do the fix, as gotok pointed out correctly. An android device with a good navigation software is no different than what you call a "true gps like tomtom".
I think you just don't make the difference between GPS (the technology) and navigation software.
I agree that the samsung S wifi's GPS capabilities are not very useful "out of the box" with the limitations of google navigation, but it can work perfectly fine with a good software. Don't blame this device (or any other one) for the shortcomings of google navigation and some other software.
MervinMinky said:
I agree that the samsung S wifi's GPS capabilities are not very useful "out of the box" with the limitations of google navigation, but it can work perfectly fine with a good software. Don't blame this device (or any other one) for the shortcomings of google navigation and some other software.
Click to expand...
Click to collapse
The software is definitely an issue. The SGP i got for christmas couldn't utilize its GPS at all. Regardless of what app tried to use GPS location services, i always got a location error (E.G. Location unavailable at this time.) After doing a little searching, i found that someone had an app that fixed a similar problem. I downloaded "GPS Status & Toolbox" and let it run. Its primary use is a compass and getting information about location, but after i opened it and let it download GPS configuration information, everything worked perfectly. Maps showed where i was, Facebook gave me nearby locations and so on.
Dont know if everyone figured this out already or not, but after reading over most of the thread, i didn't see a definitive solution. Just thought I'd share what i had found.
MervinMinky said:
The GPS technology works perfectly fine without data connection. To speed up the first fix, aGPS was developped and uses a data connection when available, but data connection is not mandatory. It's what is used in most if not all smartphones (search for "assisted gps" in wikipedia).
Data connection are required by some navigation software because they need to download the maps or for some obscure reasons. It's the case with google navigation for example.
But you can use a software that doesn't require data connection and store all its map on the device and only uses the GPS signal to do the fix, as gotok pointed out correctly. An android device with a good navigation software is no different than what you call a "true gps like tomtom".
I think you just don't make the difference between GPS (the technology) and navigation software.
I agree that the samsung S wifi's GPS capabilities are not very useful "out of the box" with the limitations of google navigation, but it can work perfectly fine with a good software. Don't blame this device (or any other one) for the shortcomings of google navigation and some other software.
Click to expand...
Click to collapse
Data connection is never "mandatory" but with some GPS chipsets, it effectively is.
Some chipsets are so crippled they are almost never able to get a lock without assistance.
See the original GalaxyS phones as one example.
The Infuse is improved but not much better.
The Galaxy S II is VERY good at standalone operation.
Galaxy Players - ???, no clue
The GPS works fine, without wifi, on the Galaxy Player 5.0. To test it, get GPS Test (free). Of all the devices I have ever had with GPS (including Nokia phones, LG Android and HTC phones, Garmin) the GPS is the fastest I have experienced. Locks indoors and on moving trains very fast.
I use CoPilot mapping and navigation program and it works great.
I use "Mapdroid" (Free) and "Navdroid" (purchased) and both work great as stand-alone apps. The maps are open source maps and can be had for pretty much anywhere in the world.
Just like a real stand-alone GPSr the accuracy and speed of start up depends on a clear view of the sky, enough time to builds it's almanac of Sats and how far you are from the location you last accessed the app ( moving great distances between uses is almost the same as being turned on for the first time). The same can be said if too much time has gone by between use (such as months).
The Sat almanac gets built when your gpsr is turned on for the first time and is used as a predictive way identifying which Sats should be overhead at the current time you turn your GPSr on. Four or more Sataltites locked in gives you a higher degree of accuracy.
John

Phone Location Problem

Google location services reports that I am in Cisco Texas when I am really in California. It only happens when I am home and have wifi on. I've had the same problem with multiple ROMs from CM 9 to PACman (4.1). If I turn off wifi my location is reported correctly. I've changed my wifi ssid and deleted maps data but that didn't help.
I searched the web and found that others have had the same problem, often erroneously showing them to be in Cisco Texas when they are in diverse locations from Denmark to Oregon. Google's mobile help forum had a thread on the problem but it was closed without a solution due to inactivity.
It is hard to plan my day when I am getting weather data for a location 1500 miles away.
I've posted the problem to google's help forums, but I have more faith in you folks than in the people over there. Any ideas would be greatly appreciated.
Edit: My Touchpad running CM 9 or a CM 10 derivative at the same location does not have the same problem.
TBH, the only thing you can really do is give it time. Google location works by extrapolating your position from the WiFi you can see cross referenced to a face l database at Google. It doesn't know where you WiFi really is, so is putting it there. Eventually, it will figure out where it really is and update it, but that relies on running other location sources that or can check against. Run GPS a lot, especially when you coming and going and it'll figure it out.
When I moved from Montgomery to Atlanta, it took a few months for Google to update my WiFi location, but it eventually happened.
Sent from my ADR6425LVW using Tapatalk 2
Thanks for the quick reply, Shrike.
Guess I'll wait for Google to remap my neighborhood.
Skyhook?
Try this...
http://www.skyhookwireless.com/howitworks/submit_ap.php
bwthor20 said:
Try this...
http://www.skyhookwireless.com/howitworks/submit_ap.php
Click to expand...
Click to collapse
Android doesn't use Skyhook. It uses Google's location service. Skyhook maps things by driving around in vans that scan for AP's. Google relies on user devices to build their Wifi maps.
shrike1978 said:
Android doesn't use Skyhook. It uses Google's location service. Skyhook maps things by driving around in vans that scan for AP's. Google relies on user devices to build their Wifi maps.
Click to expand...
Click to collapse
I registered the MAC of my Wi-Fi router with Skyhook back when I got my first iPad 2 Wi-Fi so it could be located. Now if I have both my GPS and mobile data off on my phone, my location is provided by Wi-Fi, exactly at my house. I know Skyhook worked for my iPad 2.
Also, I think that Google does the same thing by using your GPS and logging AP's locations you are on.
Either way, it wouldn't hurt to try if the location isn't working for you. Could be that somehow your GPS was wonky and reported your AP location incorrectly and it just hasn't been updated in Google's system.

[Q] Incorrect Location Without GPS enabled

Hello!
I did try searching the forums on this site and others but haven't found others discussing the exact same problem so here goes.
On my Galaxy S2, if I open Google Maps, my location shows my location incorrectly. I can understand without GPS it won't be exact, but I'm seeing my location as being at least a few blocks away no matter where I am. Same thing if I'm connected to Wifi, should that help or not? I used to own an old Windows Mobile 6.1 phone and before I would turn the GPS on, Google Maps would be off by a few feet, maybe a block or so. I was with Bell (CDMA) and I'm still with Bell (GSM).
"Why don't you just enable GPS and forget about it", you'll say. My problem is that I need more accurrate locations without GPS. I use a Cerberus which will allow me to connect remotely to the phone to get it's location if it's lost or stolen. If the phone is on, no problem, Cerberus will enable GPS in the background and I'll get the location accurately.
If the phone battery has died (which won't take long with the S2), I need to use the "Location History" to find the last known location (which won't have been retreived using GPS since I don't keep it on all day long).
1. Does anyone else have a problem retrieving semi-accurate location without GPS?
2. Why would I have accurate(ish) location with my old Windows phone and not with my Galaxy?
Thanks in advance!
Ala
Samsung Galaxy S2 i9100M

I haven't found the "one" best mock location fake gps app - but I found a few good ones (I use Lexa the most but others are better but they have ads)

I haven't found the "one" best mock location fake gps app - but I found a few good ones that have ads.
But if I had to pick just one as the "best", I'd pick Lexa simply because it works without ads.
*Fake GPS Location* by Lexa​Free, no ads, requires gsf, rated 4.6, 456K reviews, 10M+ Downloads​<https://play.google.com/store/apps/details?id=com.lexa.fakegps>​​
Note that these mock location apps are set inside the operating system, such that EVERY app gets their information from them, and that these mock location apps can randomly move along roadways by a given distance per a given time period, and they can start at the last location, and they can randomize the amount of movement per second, and they can spoof the altitude, and some can set a specific exact location by the keyboard instead of only graphically, etc. They can even send the location to another phone or get the location from another phone if you want that.
Click to expand...
Click to collapse
But others (with ads) do a better job of random location following roadways with random movement time periods.
Others (with ads) can also shift the GPS location from one phone to another (either way) - but what use is that for you?
Also others (with ads) can spoof both the wi-fi provider & the GPS provider - but what use is that for you?
Which fake GPS mock location app do you feel is best and why?
GPS position falsification is currently not very effective when RIL is enabled on the phone. Apps can easily orient the phone in space based on the signal strength to the network operator's mast.
ze7zez said:
GPS position falsification is currently not very effective when RIL is enabled on the phone. Apps can easily orient the phone in space based on the signal strength to the network operator's mast.
Click to expand...
Click to collapse
For privacy reasons... I have every setting for location accuracy turned off, and I also have every unused radio on the phone turned off (e.g., NFC, bluetooth, gps, wi-fi, etc.) and my phone's wi-fi does NOT reconnect (auto-connect is turned off) as my home AP SSID is hidden (for privacy, not for security!) and it has a "_nomap" appended to keep out of the well-behaved databases such as Google/Mozilla, but not Wigle/Netstumbler/Kismet,etc, which aren't well behaved, and I randomize the phone's Wi-Fi MAC upon every connection - which is a new feature of Android 12 in Developer options, etc., ....
... But I had to look up what RIL stands for, so I thank you for bringing up that unknown-to-me Radio Interface Layer detail...
RIL references:
https://wladimir-tm4pda.github.io/porting/telephony.html
https://source.android.com/devices/tech/connect/ril
Specifically
Radio Interface Layer: It is the bridge between Android phone framework services and the hardware. In other words, it is the protocol stack for Telephone. The RIL consist of two primary components.​
RIL Daemon
Vendor RIL
RIL Daemon​​RILD will be initialized during the Android system start up. It will read the system property to find which library has to be used for Vendor RIL, provide the appropriate input for vendor RIL and finally calls RIL_Init function of Vendor RIL to map all the Vendor RIL functions to the upper layer. Each vendor RIL has RIL_Init function.​Vendor RIL​​It is a library specific to each modem. In other words, we can call it as a driver to function the modem. The RIL daemon will call the RIL_Init function with the device location (eg: /dev/ttyS0). It will initiate the modem and returns theRIL_RadioFunctions structure contains the handles of radio functions​
After skimming that RIL information, I'm not sure exactly what you're trying to tell me, but I guess you're saying that we can be geolocated when we make phone calls and even when we don't, in that the cell towers can be triangulated if the phone is in calling mode... which I understand full well.
But, in terms of privacy, how many apps that need to be fooled by their GPS location have access to that cell tower radio location information?
You understood correctly. A phone in call mode, as you wrote, can be easily located while moving.
The google map tricked out by "Fake GPS Location", does quite well while driving a car, as I recently verified in the field.
I don't analyze the app for route tracking.
ze7zez said:
You understood correctly. A phone in call mode, as you wrote, can be easily located while moving.
Click to expand...
Click to collapse
I agree with you that any phone, if it's going to be used for two (or three) things, will be easily tracked by those with the resources to do so
Make/receive phone calls
Send/receive sms/mms texts (mms requiring data)
Wi-Fi connections (aka "the Internet")
However, in all cases above, the geolocation isn't as accurate as with GPS (if you are judicious about your location settings), and, more to the point, the applications themselves don't have access to the cell tower information (although they do have access to your IP address, which can be roughly geolocated).
We have to assess our threat level where I'm not using fake location apps to hide from a well-funded TLA adversary; I'm using the fake location to simply hide from the likes of Google and other nefarious outfits that put the tracking APIs inside the code (which is why almost none of my apps require GSF).
ze7zez said:
The google map tricked out by "Fake GPS Location", does quite well while driving a car, as I recently verified in the field.
Click to expand...
Click to collapse
If what you're saying is that the mock location apps "fool" the likes of Google Maps, I fully agree with you. If... If... if...
If you don't allow Google Maps to run a more detailed analysis that is.
As an example, I recently ran a test inside of a local town where I had the fake location set to miles away, and Google Maps was telling me I was where the fake location said I was... but...
But... then Google Maps asked me to snap a photo so that it could better figure out where I was, and BINGO! It figured out where I was based on the video that I allowed (for test purposes) to show the storefronts.
When I tested it again without allowing the video to see anything of value (e.g., I panned to the mountains above), Google Maps could NOT geolocate me.
Likewise when you don't let Google Maps geolocate by WI-Fi address (although for all I know the camera mechanism sneakily allowed that as I'm well aware there are TWO APIs for turning on your GPS radio, one of which (from Google) is downright nefarious)...
ACTION: "android.lintent.action.MAIN"
PACKAGE: "com.google.android.gms"
CLASS: "com.google.android.gms.location.settings.LocationAccuracyActivity"
Click to expand...
Click to collapse
vs
Notice it's similar but different from the Android setting for accuracy.
ACTION: "android.intent.action.MAIN"
PACKAGE: "com.android.settings"
CLASS: "com.android.settings.Settings$ScanningSettingsActivity"
Click to expand...
Click to collapse
Notice that, for this very reason, you NEVER want to turn on your GPS radio from ANY Google app prompt!
ze7zez said:
I don't analyze the app for route tracking.
Click to expand...
Click to collapse
If you need to navigate and if you don't want to be tracked by Google, I found a little trick that works kind of nicely with the simple interfaces of the offline mapping programs.
Set your position as your destination in the mock location app
Use any offline map to set your current position as a waypoint
Then use the offline map app to route to your destination
Another "trick" that keeps you out of Google maps' databases is that you can easily get traffic using a web shortcut of the area you are currently traveling in - where you don't need to know your exact location in order to check out the traffic in front of you.
Yet another trick for traffic is that PLENTY of web sites provide Google traffic updates without logging into Google web servers (afaik), such as sigalert apps, 511 apps, and many local DOT apps such as caltrans (for California).
Overall, in summary, the mock location apps work to prevent apps that use your GPS location from tracking you - but as @ze7zez warned, it will only work for GPS and not for cell tower tracking.
GalaxyA325G said:
(...) the applications themselves don't have access to the cell tower information (...)
Click to expand...
Click to collapse
This is not true.
Go into your phone's service mode and see for yourself what the phone knows about the mast connection.
Here's a cheesy Cell Diagnostic app that I wrote myself:
Note that the only permissions that it uses is android.permission.READ_PHONE_STATE and android.permission.ACCESS_COARSE_LOCATION
It refuses to give you this information if you have "Location" turned off.
ze7zez said:
This is not true.
Go into your phone's service mode and see for yourself what the phone knows about the mast connection.
Click to expand...
Click to collapse
As always, you're correct... but.... you're being too narrow I think... in that debugging apps which we use when we need to are different from the run-of-the-mill apps we use all day every day...
There are only "some" apps, which I'm well aware of, that have your telephony information, such as this one which requires you to provide that permission first...
Once you manually provide that permission, yes, of course, the app has you dead in its sights... but most apps (that don't need it) don't ask for THAT much permission... (nor would you let them if they did).
Renate said:
Here's a cheesy Cell Diagnostic app that I wrote myself:
Note that the only permissions that it uses is android.permission.READ_PHONE_STATE and android.permission.ACCESS_COARSE_LOCATION
It refuses to give you this information if you have "Location" turned off.
Click to expand...
Click to collapse
You bring up a good point that a few Android releases ago Google cheated like hell by forcing apps to request "Location" being turned on in order for the app to display unrelated things such as "Wi-Fi signal strength"...
Which is ANOTHER good reason for being able to set the mock location... because the Wi-Fi Signal Strength of all nearby access points has nothing (per se) to do with your current GPS location.
EDIT: BTW, as a related aside, I post a billion screenshots to the Internet, where some of them contain GPS location - which - if spoofed - means I don't need to redact it in those screenshots. For other information though, such as the cell tower information, I never know how much to redact (for privacy) where you didn't redact anything on your screenshot.
Can you let me know which are the cellular tower information pointers that we should redact for privacy when posting screenshots?
https://forum.xda-developers.com/attachments/cell1-png.5676683/
The CDMA system has a place for actual Lat/Long. But, these cells are set up by various people and the amount of information in them is variable.
I've rarely seen lat/long on a CDMA signal
The LTE stuff only references cell number. You need a database to reference it to location.
I have a few cell numbers hard-coded to named location.
I can't even find my current tower on https://www.opencellid.org/
Renate said:
The CDMA system has a place for actual Lat/Long. But, these cells are set up by various people and the amount of information in them is variable.
Click to expand...
Click to collapse
I'm aware there are open signal public OSM cell-tower-location databases (which essentially suck - but which are good enough to track your general location) and then there are the "real" databases (which the carriers and the FCC kind of sort of keep to themselves.
Renate said:
I've rarely seen lat/long on a CDMA signal
The LTE stuff only references cell number. You need a database to reference it to location.
Click to expand...
Click to collapse
The reason open signal public OSM databases only "essentially" suck is because they're averages from lots of people, so, for example, a tower might be on the wrong side of the railroad tracks or in the middle of a river on those open signal public OSM maps when it's not really the case - but they're still good enough to geolocate you to a general area were I to publish the unique number in the screenshots.
Renate said:
I have a few cell numbers hard-coded to named location.
I can't even find my current tower on https://www.opencellid.org/
Click to expand...
Click to collapse
My tower is almost always my own femtocell or my cellular repeater (both of which I have but usually the femtocell wins out), which is unique to me (which is why I'm worried about privacy).
Unless you're in my driveway, only I would be using that femtocell (I don't know how far out they go, but it's not more than a few hundred feet at the most, isn't it?).
Hi, I'm a new member of the forum and this is my first post.
I've read this thread and it's an interesting discussion about layers in global positioning. But I have a simpler question out of curiosity;
is there perhaps a way to work around this plugin (https://github.com/wongpiwat/trust-location) without root / only with developer option, since I haven't found any fake gps app that could fool/bypass this part.
Or do I have to use a custom ROM to accomplish it?

Categories

Resources