Use wifi location to preload agps data - Android Q&A, Help & Troubleshooting

Can android make use of wifi location to "seed" AGPS data (timings, locations) similar to AGPS via cell? (I'm using 2.3.5 currently, but if it's in 4 well woohay)
The reason I ask is due to having trouble with gps lock when using a femtocell, so I think I am getting no/dud AGPS data from the network which doesn't seem to have a clue where my femtocell is
Previously posted on the SGS forums at http://forum.xda-developers.com/showthread.php?t=1357904
My longer summary of where I see the issue/resolution is at https://plus.google.com/104422026240308775849/posts/YBnqiFeRSfm

Related

[Q] Disabling A-GPS

Hi folks! I have a question. My friend has htc hero with latest official rom (dunno what it is). He is a traveler and wants gps to work without using data connection, bcs it's extremely expensive on his operator. He said, that in android 1.6 there was pure gps and it needn't to use data connection to receive location. If he uses any app like gps status or nav app without data connection, gps doesn't receive location. I have samsung device and there is an app, called AngryGPS, there i can change everything about gps settings, including SUPL server and how gps will work (MSBASED or STANDALONE). How can i change settings on his hero? Maybe by porting this app on hero? Rooting is not a problem, i can make it, if it's necessary.
added: if i turn off receiving location from wireless networks in android settings, it not helps
P.S.: Sorry for my poor english
zy-el said:
Hi folks! I have a question. My friend has htc hero with latest official rom (dunno what it is). He is a traveler and wants gps to work without using data connection, bcs it's extremely expensive on his operator. He said, that in android 1.6 there was pure gps and it needn't to use data connection to receive location. If he uses any app like gps status or nav app without data connection, gps doesn't receive location. I have samsung device and there is an app, called AngryGPS, there i can change everything about gps settings, including SUPL server and how gps will work (MSBASED or STANDALONE). How can i change settings on his hero? Maybe by porting this app on hero? Rooting is not a problem, i can make it, if it's necessary.
added: if i turn off receiving location from wireless networks in android settings, it not helps
P.S.: Sorry for my poor english
Click to expand...
Click to collapse
Use iGo for android...it's easy to use and only gps is req...no data connection, i used it a time ago and was very pleased with it...the menu is a little laggy put don't worry because it works well on the phone, without having any problems.
Keep me updated if you got the problem solved
Stefan
he said, that he uses Maverick and don't want to change it, he wants to change system settings to use gps in standalone mode
zy-el said:
he said, that he uses Maverick and don't want to change it, he wants to change system settings to use gps in standalone mode
Click to expand...
Click to collapse
well he has to close the data connection and that's all
Stefan
zy-el said:
... If he uses any app like gps status or nav app without data connection, gps doesn't receive location....
Click to expand...
Click to collapse
that's the problem
zy-el said:
that's the problem
Click to expand...
Click to collapse
there are data & gps apps...so if you don't use a data connection you can't download content...that's why i recommend iGO for android
Stefan
he needs not to download content, he needs to connect to GPS without enabling data connection. Anyway, problem solved by installing patched version of angrygps and editing operation mode of gps module
zy-el said:
he needs not to download content, he needs to connect to GPS without enabling data connection. Anyway, problem solved by installing patched version of angrygps and editing operation mode of gps module
Click to expand...
Click to collapse
that why i recommended iGO, it uses the maps preloaded on the sd card...
you completely ignore my messages? or my english is SO bad?
HIS GPS WON'T CONNECT WITHOUT DATA CONNECTION IS UP! Not the freaking nav application! Maverick uses preloaded maps too, GPS Status&Toolbox doesn't use maps at all, Turbo GPS doesn't use maps, every program that uses GPS to receive location or establishing connection with sattelites DOESN'T receive location or establish connection without data connection!
Now the problem is clear?
As i told, problem is solved
And iGO is total ****
zy-el said:
you completely ignore my messages? or my english is SO bad?
HIS GPS WON'T CONNECT WITHOUT DATA CONNECTION IS UP! Not the freaking nav application! Maverick uses preloaded maps too, GPS Status&Toolbox doesn't use maps at all, Turbo GPS doesn't use maps, every program that uses GPS to receive location or establishing connection with sattelites DOESN'T receive location or establish connection without data connection!
Now the problem is clear?
As i told, problem is solved
And iGO is total ****
Click to expand...
Click to collapse
Damn tell me that "HIS GPS WON'T CONNECT WITHOUT DATA CONNECTION IS UP" from the first time... btw this is a rom related problem...

[Q] is there a way to improve gps without wifi?

Title says it all.
Thank you for all the inputs.
Sent from my ADR6425LVW using xda premium
There are some things you can do to edit your gps.conf file to improve GPS lock times. If you search the forum or on Google, you should find the answers.
Still, I have found that GPS on tablets and phones pretty much requires an internet connection to obtain a quick lock if its the first time using GPS since the device was restarted. On subsequent attempts, it usually locks pretty quickly with or without any internet connection. I think this is because it uses the internet connection to synchronize your phone's clock with an internet NTP server, to ensure the best possible synchronization with GPS satellites which work entirely off time signals.

[Q] Why GPS doesn't work without internet?

Hi,
I'm just wondering why my GPS doesn't work without internet connection. It just can't connect to any sattelite. I'm currently using PFGPS v2.0 FIX for my country (Poland) and I don't see any changes. What is wrong?
It requires Internet to load the maps
Can I load maps now to use GPS without internet connection if I'm not in wifi area?
Brajano95 said:
Can I load maps now to use GPS without internet connection if I'm not in wifi area?
Click to expand...
Click to collapse
how can you load maps without internet connection ??
I'm at home now so I can do it cause I have wifi here :/
Brajano95 said:
I'm at home now so I can do it cause I have wifi here :/
Click to expand...
Click to collapse
so you have wifi that means you are connected to the internet!!!
for GPS it can only find your position but can't display your location on a map without an internet connection so GPS needs one.
I will wait for answer from another person. Thank you.
There is an application on the market(related to sports/tracking) that allows you to download a portion of a map and then you can use your GPS offline(no data connection). When I get home I will look for it(I have it on my tablet).
Correct me if I am wrong but Brajano95 means that is it possible to load the maps on his wifi connection and keep then saved when he is out and about to allow the gps to connect. You used to be able to do this in the google labs section on google maps but they've since taken it away unless you look for an older version. Otherwise have a look for third party map app on the android market which allows downloading of map data to the phone
adsada arc said:
Correct me if I am wrong but Brajano95 means that is it possible to load the maps on his wifi connection and keep then saved when he is out and about to allow the gps to connect. You used to be able to do this in the google labs section on google maps but they've since taken it away unless you look for an older version. Otherwise have a look for third party map app on the android market which allows downloading of map data to the phone
Click to expand...
Click to collapse
Thats exactly what I'm talking about! Now I'm downloading Sygic Aura (about 550 mb) and will test it later.
Because GPS and Maps on CM7 suck balls at best. Maps is using your I.P. for the GPS coordinates when on WIFI, without it Maps is counting on a reliable signal from your GPS; and that's just not going to happen with CM7.
Sent from my GT-S5830 using xda premium
You can use iGo My Way
I know a fair bit about the GPS module in the Ace so i will comment. I think someone has already told you that it is possible to operate the Ace with preloaded maps. Likewise, i thought that the OP's choice of Sygic Navigation is a fair one.
Back to the original question in the title. GPS can operate with or without internet be it wifi or data e.g. 3G/2G. The difference is how fast you can obtain a GPS lock. Without using any positioning help from data connectivity, you are looking at a lock time of possibly 15 minutes thereabout.
There are 4 modes of operation possible for the GPS module in the Ace which is actually Qualcomm's GpsONE.
1.) Standalone (Slowest using positioning information in cache and smart polling)
2.) MS-Based (Sends data to nearby cell tower(s) and makes use of GPS transceivers in the cell tower(s)
3.) MS-Assisted (Similar to MS-Based BUT data connectivity is broken when GPS transceiver is online. I don't quite like that!)
4.) MS-Based/Hybrid (You need to have superb data connectivity probably cell tower signal strength should be in the -50dBm region. Not very useful in real life usage)
i have had my own thread for fixing GPS, so read up if you want to know more here.
http://forum.xda-developers.com/showthread.php?t=1320626
first you need the maps to use it offline, and the correct gps.conf for your location http://forum.xda-developers.com/showthread.php?t=1284506, then you can use it without internet
Mapdroyd is a great app that allows you to download maps for offline use. Unfortunately there isn't offline navigation though..
Hi,
I've solved my problem, just install Sygic! Thanks for helping guys
btw u dont need too install anything.. go to google labs inside maps and add map cache.. now long press a location on map.. click the arrow on the address and u ll see an option to cache that area.. the steps may not be accurate as i tried it a long time back and dont have my phone with me but its possible and what u have to do will be more or less the same...

Using GPS when traveling?

Greetings!
I am going to Turkey this Saturday with my school, and I am wondering if I am able to use my gps without huge costs?
My data will be disabled
Sent from my Galaxy Nexus using XDA
Last time checking...
GPS is free,
As for data ,
It really depends on the App you are using.
For example :
Google maps requires you to download the maps which would require data.
Try Maverick GPS app
Try Maverick, a GPS app without the need of data or wifi.
You can d/l the lite version for free off the market.
Wont give you a great navigation but it will do the job for free
Also try Navfree.
https://play.google.com/store/apps/details?id=com.navfree.android.OSM.ALL
Sent from my Desire HD using xda premium
You can pre-cache a 10milex10mile square in the google maps app but you'd have to know where you were going to go in advance to cache the areas but this can be done during a trip whenever you have wifi and know you're changing cities. No turn by turn or searching but at least you'd have a map you could plot your position on from the phone.
Well, most phones have A-gps, that stands for "assisted GPS": it is not the same as the common gps in Tom Tom devices and so on.
A-Gps has less power consumption, but a weaker receiver so, without the help of a data connection, it would turn to be quite useless, apart from the maps that should be loaded in advance.
GPS positioning data is always free..
You just need the right software to do turn by turn nav (Like Sygic or NavFree / etc)..
You can cache maps off of Google, but that won't give you turn by turn.
Sure GPS connection is free, but data run on 3g or 2g network to assist the GPS. May be it's not a big amount but, if you're travelling abroad, it won't be so cheap
I wonder if the main population will ever understand what a-gps are.
You can use iGO MyWay for android. Easy program and it dosn't connect to internet
Straight from Wikipedia. Now it'll be clear that a-gps needs data connection...
Standalone GPS provides first position in approximately 30-40 seconds. A Standalone GPS system needs orbital information of the satellites to calculate the current position. The data rate of the satellite signal is only 50 b/s, so downloading orbital information like ephemeris and almanac directly from satellites typically takes a long time, and if the satellite signals are lost during the acquisition of this information, it is discarded and the standalone system has to start from scratch. In AGPS, the Network Operator deploys an AGPS server. These AGPS servers download the orbital information from the satellite and store it in the database. An AGPS capable device can connect to these servers and download this information using Mobile Network radio bearers such as GSM, CDMA, WCDMA, LTE or even using other wireless radio bearers such as Wi-Fi. Usually the data rate of these bearers is high, hence downloading orbital information takes less time.
AGPS downloads very little data and it doesn't even require cell service. I have a non activated Android device and using GPS Status it will download AGPS data over wifi. This data is pretty small in size and you only need it to initially lock on satellites faster. Without AGPS data you'll just have to wait longer to get a lock.
For an offline GPS app, I use Sygic since it uses TomTom maps and I've owned a TomTom unit before. But there are other good ones out there.
Yes, there's no contraddiction between all that has been said by both of us. Not a huge data amount but if you are abroad and a roaming area it won't be cheap, because the data flows any time a fix is needed... Just think of tunnels and areas where the GPS signal is weak. I mean, the fix is not one only, it may be 20 or even 100 during an hour of navigation.

[Q] Android won't use geo location of my wifi

Hey,
so I've got this weird problem where Android apparently ignores the location of my wifi. But let me explain:
Whenever I'm at home google now suggests that my current location is not where I currently am but rather 10 to 15 miles away from my home address.
That is kind of annoying because I get wrong weather updates, location based reminders will not work on my home address and my location history is a complete mess.
Android primarily uses these three methods for checking on your location:
- gps
- cell towers
- wifi
am I right?
So I did some tests:
1. Testing gps
In location settings I checked "Device only" (so that it would only use gps for determining my location) and opened maps
-> works flawlessly
2. Testing wifi
In location settings I checked "Battery saving" (only wifi and mobile networks). And activated airplane mode to ensure that it could not use mobile networks for location.
Reboot (any kind of "location cache" should then be wiped, I guess).
-> works flawlessly
3. Testing cell towers (mobile networks)
In location settings I checked "Battery saving" (only wifi and mobile networks) and then disabled wifi. In advanced wifi settings I unchecked "Scanning always available" (so that it could not scan for wifi networks even though I disabled wifi).
Reboot (any kind of "location cache" should then be wiped, I guess).
-> does not work flawlessly. It determines the wrong location (that google now always uses).
I live in a more rural part of the country so it makes perfect sense that mobile networks cannot determine my exact location, but why would Android ignore the wifi location (as we have seen, it knows where my wifi is located, otherwise it could not have shown me my correct location in test 2), when I'm signed in on the wifi network?
I tested this on two different devices (Moto X stock / HTC One S with CM 11).
Is there anything I could do?
*bumping
No one knows?
Could someone (who preferably lives on countryside, lol) try to reproduce this or tell me if this is how android is supposed to work (this wouldn't make any sense to me, though).
// This is the right board for this kind of question, isn't it? If not, feel free to move this thread :>
*bump
I still have no idea why this is happening.
If this is the wrong board please tell me or move the thread.
Have you ever had a GPS lock while being connected to the WLAN network? I would assume Google learns the MAC addresses and WLAN SSIDs and correlates them to your location ...
145
GarryKG said:
Have you ever had a GPS lock while being connected to the WLAN network? I would assume Google learns the MAC addresses and WLAN SSIDs and correlates them to your location ...
Click to expand...
Click to collapse
Yes. I'm using maps quite frequently (with gps enabled ofc).
But I am pretty sure google already knows the correct location of my wfi, since when I activate airplane mode and check "Battery saving" (only wifi and mobile networks are being used for location) in location settings, my correct location is determined. Since the airplane mode is activated it means that my phone can only use wifi for determining my location.
But as soon as I disable airplane mode my location is wrong again.
So I would conclude that, although google knows the correct location of my wifi, it just prioritizes mobile networks for some reason. Which is driving me insane.
*bümp
*bump
This is still bugging me. I mean I can't be the only one.
*bamp
The problem is still existent and is bugging me.
The forums look different now.
*bomp
I wish someone knew what causes this behavior.
*bemp
Even after all this time the problem still exists.
bömp
No answers
bämp.
So I guess there is no solution?
Anyway, I will keep bumping this thread but less frequent.
*bumping every once in a while.

Categories

Resources