[Q] Issue with GPS - Samsung Galaxy Nexus

Hi
I have issues with my data, is intermittent going on and off like for periods of one second each(seems that restarting solve this, but then again the issue), and the GPS never locks, i was on KK1 baseband, then changed to kk6, then KL1, and now im on UGkk7, and now im on UGKL1... same thing
Im with franco kernel 14.4 and AOKP 21... dont know whre is the issue...
I have wiped cache and davilk, also re-flashed AOKP 21 and gapps, so now im with the custom kernel.... and the same thing.
I have downloaded GPS test and sometimes find some satelites and sometimes dont. I have cleared AGPS and updated AGPS aswell (i dont even know what this **** does)... same thing
Note: this issue began suddenly 3 days ago, with no apparent reason when i was on KK1... i think i never did something to provoke this issue.
I have checked my gps.conf under /system/etc and found that i have this:
Code:
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
Maybe we can share our logs and find whats wrong?
Also here is a gps.conf file that one user told me that this fix the issue, but i will try it in a moment:
Code:
#NTP_SERVER=xtra1.gpsonextra.net
NTP_SERVER=us.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin[/B]
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
#Div6-PT1-GPS-LNA_LDO-00*{
#DEBUG_LEVEL = 3
DEBUG_LEVEL = 5
#Div6-PT1-GPS-LNA_LDO-00*}
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
#INTERMEDIATE_POS=1
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# ACCURACY_THRES=5000
#ACCURACY_THRES=100
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
# Add Google SUPL server and port for Huawei(FB0.B-3409)
SUPL_HOST=supl.google.com
SUPL_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
################################
# EXTRA SETTINGS
################################
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
Please feel free to share your results.

I have tried some of the settings mentioned and seems that is not a fix---

Ok seems that with Fasterfix app is locking finally, and the first time take some time to lock in but after the first time is faster, i will keep testing and let you know.

I experienced an issue with AOKP 21 where GPS would not lock. It didn't resolve until I installed AOKP Milestone 3 and turned GPS off and on again. I have a feeling it was toggling GPS that resolved it, not upgrading AOKP. Either way, I would recommend you make a backup and try the M3 release, it's working really well for me with Franco-15.2 kernel.

jdk82 said:
I experienced an issue with AOKP 21 where GPS would not lock. It didn't resolve until I installed AOKP Milestone 3 and turned GPS off and on again. I have a feeling it was toggling GPS that resolved it, not upgrading AOKP. Either way, I would recommend you make a backup and try the M3 release, it's working really well for me with Franco-15.2 kernel.
Click to expand...
Click to collapse
Thanks for your advise... so i will try milstone 3 then right now in order to see if this makes my GPS better, but Franco 15.3 is underclocked? i dont like that.

I haven't had any issues with the underclocking in Franco 15.3, if it bothers you you can always set it back to stock.

jdk82 said:
I haven't had any issues with the underclocking in Franco 15.3, if it bothers you you can always set it back to stock.
Click to expand...
Click to collapse
Ok i flashed milestone 3 from a fresh start, the GPS is working much better man! also the data.
I will keep testing, but at least fianlly is working, im on UGKL1 radio.
But about the turtle kernel, i dont see the point of having double core at 1.2Hz if you are not using it at all... im oon 14.4 franco kernel @1350Hz witch is better.

Well, over/under clocking is really a matter of preference. If you overclock your device runs faster but uses more battery. If you underclock your device runs slower (somewhat) but uses less battery. IMHO, the governor (code that decides which speed to run the CPU at) is more important than over/under clocking. I run with max=1000 min=700, never notice any lag and easily get a full days worth of somewhat heavy usage. Of course YMMV and it really depends on what you value more, speed or battery life.

Related

GPS Fix ... soooo slooowww...

Anyone know why my GPS fix is so slow? It takes at least 10 minutes to get a fix..
I'm running - VaniljEclair RLS6
TW,
It really depends on the weather. If you look up and see clouds, it's going to be a while. If it's raining then it may never connect.
It also helps the have the best tools for the job. Use kallt_kaffe's latest kernel, and download and use "GPS Test" for connecting your GPS.
Dukenukemx said:
It really depends on the weather. If you look up and see clouds, it's going to be a while. If it's raining then it may never connect.
It also helps the have the best tools for the job. Use kallt_kaffe's latest kernel, and download and use "GPS Test" for connecting your GPS.
Click to expand...
Click to collapse
It's clear outside so its not weather related.
I'm curious what the"GPS Test" tool actually does? and just exactly what the phone is doing causing it to take so long.
Thanks,
The way GPS works is as follows.
In order to know your position on a 2 dimensional plane, you need 2 coordinates, X and Y, however in order to know your position on a 3 dimensional object, you need 3 coordinates, X, Y and Z, what we need to know is our position in a 4 dimensional space, which requires not only X, Y Z and V, so that's a lot of data right there, and to further complicate things, the satellites themselves are in motion, also in 4 dimensions.
Ok if that hasn't messed with your head, consider this, your phone only receives GPS data from the satellites, it does not transmit anything, so how does your phone know where the satellites are? simple, the satellites transmit their position, the time, their velocity and heading, ( actually it's slightly more complicated, but I'm not getting into orbital mechanics, lol).
So in order to be able to fix a position, your phone must download this data from each satellite in view, process and compare it with all the other data in order to get an initial fix.
As if this was not complicated enough, you must also realise that the satellite data is continually transmitting in an updating loop, so if the receiver gets bad data from one sat, it must discard that set and start again.
Once the initial fix is made, it's a simple matter to continually update the devices position, but once the gps is turned off, it may take some time to resynchronise, especially if the user has moved to another location before restarting gps.
To operate with reasonable accuracy, (within a few tens of metres), you must have a good signal from at least 4 satellites, more just refines the accuracy.
So why ten minutes? Well there are a number of factors, weather does play a part, but not as much as some think, typically you will lose lock on the weaker satellites, giving less accuracy.
Surrounding buildings and trees are actually great at blocking GPS signals, so in wooded or built up areas, expect slower fixes, less accuracy, and dropped locks.
Movement, this is actually the biggest problem, if you are in motion during the initial fix period, there is a high probability that your own motion will cause problems, since the gps data may be changing too fast for the device to cope with, which will cause it to continually discard data that may be valid.
All in all, the best practice is to find somewhere stationary, away from buildings and trees, turn on GPS, and just wait for it to lock, it will usually take 5 minutes from cold start, perhaps up to 10 minutes in some cases.
Once the initial fix is established, it takes less time to refix after gps is turned off, since the last data is kept in the device for future reference, (which is why it can take more time to fix if you turn off gps and then move 10K or so before turning it on again).
Winmo has a few advantages over Android for gps, since on WM you can download a 'snapshot' of the satellite data in order to 'jump start' the gps to get a faster fix, that plus cell location and agps make it much faster to get up and running compared to Android on our hardware, which lacks cell location and agps.
What GPS Test does is simply show you a lot more data than you would normally see, satellite positions, signal strengths, number of sats visible, number in use by you. Basically it lets you see that some data is actually being received by your device, how strong the signal is, and if the device has locked to a satellite. I highly recommend getting GPS Test from market if you use gps, used it on WM, and the Android port is just as good, ( I got the paid version, but the free one is excellent too).
Any questions?
zenity said:
The way GPS works is as follows.
...
Winmo has a few advantages over Android for gps, since on WM you can download a 'snapshot' of the satellite data in order to 'jump start' the gps to get a faster fix, that plus cell location and agps make it much faster to get up and running compared to Android on our hardware, which lacks cell location and agps.
...
Click to expand...
Click to collapse
Terrific write up!
So, GPS Test won't help speed up the positioning so therefore there isn't a need to download it unless your curious about any of the other settings, thanks.
Since the WM version was a bit quicker in getting the position by downloading a file is there something in the works to try and incorporate this process into Droid?
After it finds a fix, if the handset suspends is there a need to re-aquire the sats or wait again for the same process?
Thanks,
Well GPS Test won't speed up the initial or subsequent fixes, but it does give a good indication that gps is actually working, and receiving/processing the data, and once fixed, you just close that and start your preferred gps app, which will fix almost instantly since the data is current.
I don't think we have anything for android that does the same as the WM gps app, could be wrong, but have not seen anything yet.
The slowest is the initial fix, after that it usually fixes faster, suspended or powered down, only reinstall/wipe data will usually require such a long fix time again, however as I said, there are a number of factors, movement being perhaps the biggest cause of delay.
However once fixed, Android is comparable to WM, even better in some cases, since I never could get my all time favourite GPS software (trekbuddy), to work in WM, it is great in Android though
I don't think we have anything for android that does the same as the WM gps app, could be wrong, but have not seen anything yet.
Click to expand...
Click to collapse
i also looked and found nothing
The slowest is the initial fix, after that it usually fixes faster, suspended or powered down, only reinstall/wipe data will usually require such a long fix time again, however as I said, there are a number of factors, movement being perhaps the biggest cause of delay.
Click to expand...
Click to collapse
mine also takes forever every time unless i havnt moved and switch apps within 10 minutes.
However once fixed, Android is comparable to WM, even better in some cases, since I never could get my all time favourite GPS software (trekbuddy), to work in WM, it is great in Android though
Click to expand...
Click to collapse
i lose gps on the highway, unlike when i had wimo
i still think its odd that i can see 6, 7, 8 sats for 2 or 3 minutes before getting a lock
Thinking about trying this on a friends Eris, but other android devices get a lock very quickly. The other devices have working tower location, so does the android gps system use the tower location to speed up gps lock?
I'm going to take my friends Eris and turn off all radio functions, then run GPS test to see what happens and how long a lock takes...
Ok, tried a few things on the Eris. In airplane mode, launched GPS test in a lock in under 10 seconds. Restarted the phone, still in airplane mode, and immediatly launch gps test and a lock in under 10 seconds.
Do these other phones have GPS chips have almanac caching or does the OS have some way of storing almanac data to assit the GPS.
As far as I am aware, from previous experience of GPS devices, the last ephemeris data is cached in the device chipset, allowing a faster start up, provided the user has not moved too far, or left gps off long enough to make the data too old. However I do not have enough information to make more than guess that it is hardware based rather than OS based caching.
Cell tower location allows GPS to establish a 3 dimensional fix, (remember gps needs more than 3 dimensions to establish a true fix), not enough to be totally accurate, but within 20-50 Metres, which is ideal for 'seeding' the incoming gps data from satellite, allowing even faster start up, since the gps chipset does not have to do nearly as much calculation and correlation on the data, since it already knows roughly where it is.
So the delay we experience in getting a gps fix with Android on our devices has one main cause, lack of cell tower location, and it's possible that the ephemeris data cache may not be getting processed, if this is indeed cached by the hardware, and not by the OS.
Some of you may have noticed a file called gps.conf in /system/etc
It looks like this:
Code:
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
NTP is a protocol for getting accurate time from servers on the internet.
xtra.bin is asfaik the satellite almanac.
SUPL_HOST is for AGPS.
My guess is that a "real" android libgps uses this information to do a few things to help the GPS out.
1. Give it the current time
2. Prime it with the almanac
3. Use the AGPS data to provide it with correction data etc.
We could do some HaRET magic to monitor what the QuickGPS software send to the GPS chip and make our own QuickGPS tool for android or even build that into libgps.so. It's possible but is it worth the time? I don't know. I would give it a go if I wasn't allready lacking time to do everything I want to do.
kallt_kaffe said:
Some of you may have noticed a file called gps.conf in /system/etc
It looks like this:
Code:
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
NTP is a protocol for getting accurate time from servers on the internet.
xtra.bin is asfaik the satellite almanac.
SUPL_HOST is for AGPS.
My guess is that a "real" android libgps uses this information to do a few things to help the GPS out.
1. Give it the current time
2. Prime it with the almanac
3. Use the AGPS data to provide it with correction data etc.
We could do some HaRET magic to monitor what the QuickGPS software send to the GPS chip and make our own QuickGPS tool for android or even build that into libgps.so. It's possible but is it worth the time? I don't know. I would give it a go if I wasn't allready lacking time to do everything I want to do.
Click to expand...
Click to collapse
Ah, that makes sense, since Agps uses an internet server to prime the gps chipset, and if I recall correctly QuickGPS is similar, but provides the weeks Ephemeris data. Ephemeris, Almanac and Time are the three main data components of GPS, ( almanac being the one I tend to forget about....).
Perhaps changing a few server addresses in gps.conf may provide us with some aggps functionality, but I am now wondering if perhaps agps is 'broken' in our builds, or perhaps I have never noticed any data activity.
Just had a look at the website address http://xtra1.gpsonextra.net/xtra.bin, which allows me to download what I assume is the data file, so what we need to complete the puzzle is, what uses gps.conf, and where does it put the data file?, Also does anything use that data file if present?
GPS is currently pretty much useless in that it just never gets a fix, today I waited 10 minutes and still nothing - I went back to WM to use GPS, so any development in this area would be sweet!
TW,
Not sure exactly what is going on there, last night I installed the latest nbh from kallt, plus his RLS7b eclair build, this morning I started gps for the first time, using gpstest I got a first fix in under 3 minutes, which is faster than average.
Sent from my HTC Kaiser using Tapatalk
zenity said:
Not sure exactly what is going on there, last night I installed the latest nbh from kallt, plus his RLS7b eclair build, this morning I started gps for the first time, using gpstest I got a first fix in under 3 minutes, which is faster than average.
Click to expand...
Click to collapse
I'm using the same setup at the minute, tried GPS this morning and it got a fix on the move in about 5mins which isn't bad, my girlfriends HTC Hero got a fix in under a minute though and it's the first time it has connected and it's true that WM is much faster when quickGPS is updated. Any improvements here are very welcome, maybe i'll have a look into it too.
you could edit gps.conf according to your own pool server
a list of these servers can be found here. May make a small difference for some people.
Please post if this helped getting a quicker fix
http://www.pool.ntp.org/en/
Update:
i used the appropriate time server for my country (netherlands),
i used a fresh device (android had never ran on it, though the android on sdcard has been used on other devices)
i went to the toilet very quick, when i came back there was a fix.
So please go see if this makes a difference for you, and post your experiences in here
I seriously don't think it will matter what you put in gps.conf at the moment. What we need to know is how this is used on a "real" android phone.
I've tried to find some GPS code in the Hero kernel source in the past but found almost nothing and the libgps for HTC devices are asfaik closed source so I guess it's in libgps all the "magic" takes place. (I fact, for Kaisers the it would be more "right" to do our NMEA parsing in libgps instead of doing it in the kernel but since libgps evolved around the Vogue it was made in the kernel to make it appear just like the vogue gps data to libgps.so.)
So I'm guessing that a "real" libgps.so reads gps.conf, get's some data and feeds it to the GPS. Likely with AT-commands. It is possible though that it is the ril interface that does it. We have the source for our ril lib and our gpslib and I know for sure we don't do any prime:ing in the our libgps. (The sources are here: http://androidhtc.git.sourceforge.net/git/gitweb-index.cgi?p=gitroot/androidhtc/bootenv/)
It is possible to do dump stuff with HaRET when you for example enable the GPS (I've done it in the past following instructions from dzo) and also when you run QuickGPS and try to match the information sent with the information in xtra.bin. I also expect we should find it sending the current UTC time which by it self propably could speed up fix times.
Once we know what to do we either build it into libgps or we make an Android app similar to QuickGPS.
In fact, I found some dumps laying around....
At boot WinMo sends the system time to the Radio with this command:
[email protected]=2,21,43,2010,5,12
I would say the format is H,M,S,YYYY,M,D even though values are a bit strange because the files are dated 2010-05-11 but it's possible that the WinMo clock was a bit f*cked up at the moment.
Perhaps our rild is allready sending this (someone should check the source)
Otherwise you could try this and se if it helps:
echo -e "[email protected]=x\r" > /dev/smd0
(replaceing the x with the current time and date of course)
Just tried and it was going on 10 minutes with no fix...
TW,
Have you tried gpstest to see if it's actually receiving a signal at all? It is possible that you have a hardware issue, perhaps a broken antenna connection?
If that were the case then it shouldn't work in Windows and it does... ???
Strange...
Does Android require a data connection when getting a GPS fix?
TW,

Any GPS fix for T989?

My GPS sucks and I remember the vibrant also had problems with GPS.
I am running beast mod 4.2
Does our phone have any GPS fix?
Any tips to help get location?
Thanks
Sent from my SGH-T989 using Tapatalk
Im on the same rom and never had a problem getting a lock. Its pretty fast.
Maybe ur connection, location, or phone
Sent from my SGH-T989 using xda premium
this phone has THE BEST gps of ANY phone on the market right now.. it is the first phone to have dual core gps activated even
my phone takes only seconds to lock on and navigate and find places... best GPS i have ever used on any cell phone
im on stock rom
I had crappy GPS when I used beastmod
Sent from my SGH-T989 using Tapatalk
Had this phone for a day....due to T-Mobile issues I sent it back to delete the line they added on...
First thing I did tho is check GPS( coming from the vibrant)... I was inside opened GPS test and had 23 in view and 13 locked almost instantly....
Try going back to stock if that fixes it it's the rom not playing well with your phone if not get a replacement
Sent from my T959 using XDA App
clninja said:
this phone has THE BEST gps of ANY phone on the market right now.. it is the first phone to have dual core gps activated even
my phone takes only seconds to lock on and navigate and find places... best GPS i have ever used on any cell phone
im on stock rom
Click to expand...
Click to collapse
100 times this. Of any phone I've ever owned, this phone has the best GPS hands down.
My experience when flashing custom roms is that GPS signal and data signal always suffer. Coming from a Sensation, the same exact thing happened. I flashed a custom ROM, and my GPS went to ****. I think that's one of the downsides of flashing custom roms. And it's the only reason why I'm still on stock.
My GPS sucks. It points 90 degrees in the wrong direction, unless I'm moving then it points in the right direction. I have stock Android, should I get a replacement?
Sent from my SGH-T989 using XDA App
Does anyone know how to acess the gps settings? Is there a hidden menu like the g2x? If so what doo you have to enter into the dialer? I am curios to see what server the gps uses and what the slp settings are. On my g2x I had to manually add googles slp servers and tell it to use that server and to no be ms assisted. My gps went from taking bet 5 and 10 minutes to get a lock and after that I got instant locks. It picked up 47 sattalites or something crazy like that. So if someone can tell me how to get there I can check to see if it uses googlles slp servers.
Charlie
the gitel said:
My GPS sucks. It points 90 degrees in the wrong direction, unless I'm moving then it points in the right direction. I have stock Android, should I get a replacement?
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
GPS tracks your location, not your direction. I think the Compass is in charge of direction.
clninja said:
this phone has THE BEST gps of ANY phone on the market right now.. it is the first phone to have dual core gps activated even
my phone takes only seconds to lock on and navigate and find places... best GPS i have ever used on any cell phone
im on stock rom
Click to expand...
Click to collapse
highly disagree aas saying anything is the best over all is purely opinionated. sure the GPS on the TMo SGS2 is lightyears better than the vibrant and works well,but my g1 still has more accurate locks...down to 1-3 meter accuracy. side-by-side test in same lpcation and conditions.
brian_v3ntura said:
highly disagree aas saying anything is the best over all is purely opinionated. sure the GPS on the TMo SGS2 is lightyears better than the vibrant and works well,but my g1 still has more accurate locks...down to 1-3 meter accuracy. side-by-side test in same lpcation and conditions.
Click to expand...
Click to collapse
My GPS in my SGS2 locks down to 6 feet most of the time ...
This is one of the best GPS chips on the market from a tech point of view , it is the ONLY gps chip in commercial cell phones, currently, that can not only access the US-GPS system but also the Russian GLONAS system , I have 19 Sats in view and am currently locking 11 and I am inside my house with an accuracy of 9ft, INSIDE...
tcboo said:
My GPS in my SGS2 locks down to 6 feet most of the time ...
This is one of the best GPS chips on the market from a tech point of view , it is the ONLY gps chip in commercial cell phones, currently, that can not only access the US-GPS system but also the Russian GLONAS system , I have 19 Sats in view and am currently locking 11 and I am inside my house with an accuracy of 9ft, INSIDE...
Click to expand...
Click to collapse
yes one of the best chipset technology wise,but not THE best. How ggood something is depends on well its used.
1 meter = 3.3ft and my g1 accuracy is 1-3meter in my house. I only used my g1 for fun or whenever I am doing(or going somewhere) where I don't want to bring nice things. like camping, beach, etc.
My T989's GPS is also problematical.
On both the stock ROM and on Juggernaut, it often refuses to see satellites. In addition to the map sitting there dumbly, the GPS Status app will show no satellites, and this will go on for dozens of minutes. Rebooting seems to help.
Those of you with no problems, what ROM are you on?
no problems on Stock or Jugs
brian_v3ntura said:
yes one of the best chipset technology wise,but not THE best. How ggood something is depends on well its used.
1 meter = 3.3ft and my g1 accuracy is 1-3meter in my house. I only used my g1 for fun or whenever I am doing(or going somewhere) where I don't want to bring nice things. like camping, beach, etc.
Click to expand...
Click to collapse
I agree with you , but since my lock is 9 feet, which is under the 3m mark, and depending on where I am at in the house it gets better and outside is usually around 1-2 meters, it seems that it is at least as good as the g1. It could be better, but if you want better GPS buy a standalone GPS, if it locks under 10m and you still can't figure out where you are, you need more than GPS .
Different areas have different satellites you can connect to. It is also random what satellites you connect to. Assuming you can actually connect to all the satellites and the glonass ones the galaxy s2 would be better. But it all depends what area your in etc.
Over at a vodafone forum, users seem to trace down possible GPS problems in the i9100 to bad information in /etc/../gps.conf. As UK customers, they are upset that their gps.conf seems to reference servers in North America.
http://forum.vodafone.co.uk/t5/Sams...es-taking-ages-to-get-a-lock/m-p/926413#M6151
So using root explorer and sshdroid, I find that on my T989 using Juggernaut-v4.1 there is a file, /etc/gps.conf that contains:
/system/etc # find . -name gps.conf
./gps.conf
/system/etc # more gps.conf
#Test
NTP_SERVER=xtra1.gpsonextra.net
#Asia
# NTP_SERVER=asia.pool.ntp.org
#Europe
# NTP_SERVER=europe.pool.ntp.org
#North America
# NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 5
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# GPS Capabilities bit mask
# SCHEDULING = 1
# MSB = 2
# MSA = 4
# default = MSA | MSB | SCHEDULING
CAPABILITIES=0x7
/system/etc #
Click to expand...
Click to collapse
In the meantime, this thread
http://www.darkyrom.com/community/index.php?threads/guide-gps-quickest-fix-solution.2022/
gives a list of "correct" gps.conf files for the I9100.
The North American one can be found here: http://www.multiupload.com/IE16Y7MU5P and contains this:
NTP_SERVER=north-america.pool.ntp.org
NTP_SERVER=0.north-america.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 5
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=1
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=0
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
SUPL_HOST=supl.google.com
SUPL_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
#################################
##### EXTRA SETTINGS #####
#################################
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
#################################
##### AGPS Carrier settings #####
#################################
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE
#########################################
##### GPS QUICKEST FIX V1.3 By RJLM #####
#########################################
Click to expand...
Click to collapse
So the two files seem very different. I would go so far as to say that the T989 Juggernaut file looks wrong, in that the NTP_SERVER certainly seems to have a bad value.
Is this the right, or only gps.conf file on the T989?
Is the DarkyROM I9100 North American file correct?
I edited my gps.conf but mine looks different then the above, I have north-america and us, one for region and one for country and my gps works great with juggs 4.1
clninja said:
this phone has THE BEST gps of ANY phone on the market right now.. it is the first phone to have dual core gps activated even
my phone takes only seconds to lock on and navigate and find places... best GPS i have ever used on any cell phone
im on stock rom
Click to expand...
Click to collapse
in addition to the US's GPS satellite array, we now also have access to GLONASS (Russian array).
Sent from my SGH-T989 using XDA App

Motorola Defy GPS Problem Solved (to use offline LTO-AGPS) (updated 3 Aug 2012)

Firstly thanks popcorn1122 so much for amazing improvement of A/GPS here
For my findings, some parameters in the <hal> paragraph of /system/etc/gpsconfig.xml could also be added to enable the offline LTO-AGPS (Need rooting, and pls backup the file)
(red text for enabling LTO and blue text for optionally enabling logging for the first fix)
<hal
acPortName="/dev/ttyS0"
lBaudRate="115200"
cLogEnabled="true"
acLogDirectory="/data/location/com.broadcom.gps/logs/"
ltoFileName="/data/gps/lto2.dat"
acNvStoDir="/data/location/"
acCmdPipeName="/data/location/gpscmd"
bAllowIgnoreOsc="false"
bUseHalLogger="true"
/>
To get the LTO file, we could either:
(Method 1 using GPS Aids)
1. Create the folder /data/gps which GPS Aids puts the LTO file, and grant rmxrmxr-x permission
2. Install GPS Aids with both Data and GPS ENABLED, otherwise the Download LTO functions will be blocked and need re-configuration
3. Download the LTO file. GPS Aids shows how long since it has been downloaded
(Method 2 manually download)
1. Get lto.dat or lto2.dat from either : (7 days)
http://gllto.glpals.com/7day/latest/lto.dat
or (7 days)
http://gllto.glpals.com/7day/v2/latest/lto2.dat
or (30 days)
http://gllto.glpals.com/30day/v2/latest/lto2.dat
2. Rename and move the file which fits the setting of the modified ltoFileName parameter of gpsconfig.xml, granting sufficient permission for the folder like that in Method 1
(Method 3 auto download)
In the early time I developed a script to download the LTO file while mobile data switched on, and added service and trigger routines from the relevant system properties. Seeking advice by CM7 developer @maniac103, those triggering are not fully functional thus not recommended. Instead, pls try his latest build since June (here) with a marvelous settings UI for this case. Thanks Maniac for his kind concern and efforts on it.
Within the validity of the LTO file, the fix should be done in seconds even in limited open sky. We can download an updated LTO file anytime to keep the performance.
Reference:
http://www.htcmania.com/archive/index.php/t-151202.html
(sorry I cannot understand the language but thinking some param. may help)
http://forum.xda-developers.com/showthread.php?t=789383&page=4
(refer jupiter.xml from a model of SGS)
https://github.com/CyanogenMod/android_device_samsung_vibrantmtd/pull/3
(bash script for auto dowload)
https://github.com/jad3675/android_...283f4a26989dc07d45da8a8af580f51492d45f#L0R373
(init service for auto dowload)
Thanks folks for optimizing Defy for releasing its real performance!
I had tried all that before but had come to a conclusion that lto.dat never used or downloaded. The cellid are stored in learn_store.bin which is stored in /data/location
emphersis is downloaded and stored in gpsdata.nvs.It is used by motorola defy for a specified duration (seems 1 hour as per location.cfg - MIN_NAV_REQ_INTERVAL = 3600000 )which is updated in location.cfg if there is no gprs available.
I see... I also bear no hope originally just I think Defy uses BCM4750 and Broadcom promoted LTO years ago, and I found the params. like acLtoDir and lbsSyncLto from the htcmania.com thread last week, with referring other similar XML, and continue the trial-and-error. Hope this finding makes us feel our experiments worthy
manfifer said:
(Method 2 manually download)
1. Get lto.dat or lto2.dat from either :
http://gllto.glpals.com/7day/latest/lto.dat
or
http://gllto.glpals.com/7day/v2/latest/lto2.dat
2. Allocate the file which fits the setting of acLtoDir and ltoFileName parameter of gpsconfig.xml, granting sufficient permission for the folder like that in Method 1
Click to expand...
Click to collapse
What is the difference of lto.dat and lto2.dat? This files differ in size 65/39 kB.
popcorn1122 said:
I had tried all that before but had come to a conclusion that lto.dat is downloaded by the gpscmd file and converted into learn_store.bin which is stored in /data/location
learn_store.bin file is used by motorola defy for a specified duration which is updated in location.cfg if there is no gprs available.
Click to expand...
Click to collapse
I am confused. What I found is, that (without data connection on a CM7 ROM) learn_store.bin is updated, whenever GPS got a fix.
My assumption is, that this contains data that can help to get a quicker fix next time.
But I assume, that this contains only infos about the sats that has been involved in the last fix (which are only a few). Where else the Defy should now about the other satellites?
A downloaded lto.dat on the other hand probably contains information about all the satellites.
What do you think about my speculations?
PS: I found an interesting document:
The LTO data should be around 30kB and valid for around 4 days.
http://www.broadcom.com/collateral/tb/LTO-TB100-R.pdf
An indeed, the BCM whould support the LTO
http://www.google.de/url?sa=t&rct=j...sg=AFQjCNErL9qjljAhfOKhtIYORo_sn3BzDQ&cad=rja
You could use the LTO file from either URL, just rename it to be the same as the parameter "LtoFileName" and place it in any folder set by another parameter "acLtoDir". Both of them serve the purpose just the V2 version is smaller in size, similar to the one downloaded in GPS Aids. The app. downloads it as lto2.dat in /data/gps/, so I have to build this folder and set the above two parameters in gpsconfig.xml shown in the thread before installing the app.
Sorry I have no idea how LEARN_STORE.bin and gpsdata.nvs is created (thanks popcorn1122), just they would be expired and as you've raised in popcorn1122's thread, after 6 hrs or shorter time from a SUPL fix, apart from the birds with expired ephemeris (but coarse almanac data), there have other new birds visible without AGPS data in the last fix. When we are offline, the chip tends to fix them from scratch again gradually.
Like the Broadcom Technical Brief promoted, offline AGPS is useful while we are standing under dense skyscrapers without network assistance. It also expires after around 4 days, but its sufficient for me to update another LTO file. I keep turning off any data before testing LTO with GPS Status, and delete /data/location if I need restarting the phone. This is stubborn from normal application while I can easily get SUPL fix with my 3G data plan. But I'm eager to find the solution when one day I'd like to get a quick fix while travelling abroad. (time is valuable in the tour )
LTO files contain days of ephemeris data of all the birds, once the position is fixed, even some birds with weaker signals, whatever visible or obstructed, can aid the fixing. But it could not be applied properly in the stock or CM7 gpsconfig.xml settings.
I believe the Broadcom chips in this generation has this technology in their released chips as it has been applied since the era of WM phones. The key is just the implementation of the driver or configuration.
I did what you suggested in your first post, changed/added the red lines.
used "lto.dat" as filename and "/sdcard/download/" as dir.
I added a shortcut to the lto.dat (the bigger one) to my browser, so that is becomes easy to download (it will located that in the dir mentioned above.
But here I get some trouble with permissions. For a unknown reason, the permission is (after download) --xrwx--x .
Even with a terminal an su I can't change the permission to rw-rw-r--. Very strange, but OT here. ls -l show system / sdcard_r as owner.
(Edit: its because of the filesystem FAT: Can you test, whether it works from that folder despite the permissions as well?)
So I copied the file to /tmp and changed the permissions. You are mentioned
"rmxrmxr-x permission". Imho it is sufficient to be readable, at least x is not neccessary, as this is just data, right?
Reboot the phone with all data (WIFI/GPRS/EDGE/3G) DISABLED (for better testing, delete /data/location folder to clear all the GPS cache). Once again it needs some time for TTFF. Then we should notice the birds connected increased dramatically like fixing with SUPL. No need endless waiting of unassisted GPS for 3-4 days until next reboot. Of course we can download an updated LTO file anytime to keep the performance.
Click to expand...
Click to collapse
To clear the AGPS data it should be sufficient to use GPS Status. It can download and clear AGPS data.
Regarding deleting the files in /data/location:
-The gpscmd is an empty file (pipe?) so no need to delete.
-gpsdata.nvs and LEARN_STORE.BIN is recreated with a new call of GPSStatus
But the location.cfg is containing some settings and is not recreated. This is lost now. It will be created some location_tmp.cfg, but it is empty.
Regarding SUPL: Is this a service which runs with or without an DATA connection to the service provider? What I mean, do I have to enable data connection for this? Some data (like which cell, what time,..) are received without a data connection ...
I have come to a conclusion that lto.dat is not used by BCM4750 driver of defy.
Just check my post with updated information.
The driver brcm_guci_drv is the most important file which contains all details what the defy does and only takes port & speed & chip type & chip speed details from gpsconfig.xml at the startup.
The same case with location.cfg... half of the file is not used by defy. Only parts of SUPL in location.cfg are used by defy.
I tried every fix to improve offline GPS performance, but with no "visible" effect so far. But as some poeple like manfifer or popcorn told about improvements I did some test with initial state again - just to be able to make a real comparison.
The results are mixed. I did a initial download of a agps and get a fix in
Then I switched of gps and network. Every hour i enabled gps and checked with gpsstatus th ttff. It varies: 7, 100, 15, 10, 84, 74, 8, 62, 77s.
Than after 1.5h (i missed the 1h ): 758s
Again in 1h rythm: 60, 37, after midnight 445s(!!!).
At night I slept an started after 6.5h again more or less in 2h time distance:
26, 54, 221, 189, 859(!!!!) after 3.5h, 9s (after 1h:20min) ...
It is clear, that delay between GPS tests affects the ttff. But
@popcorn1122:
do we have a chance to get a driver that is compatible and handles lto data?
defy isn't the only phone with this broadcom chip, and froyo-kernel has been used in many devices.
how do you know about the driver brcm_guci_drv. I though this gps.jordan.so is responsible.
starbright_ said:
@popcorn1122:
do we have a chance to get a driver that is compatible and handles lto data?
defy isn't the only phone with this broadcom chip, and froyo-kernel has been used in many devices.
how do you know about the driver brcm_guci_drv. I though this gps.jordan.so is responsible.
Click to expand...
Click to collapse
Motorola Defy uses Broadcom GLCT ver. 2.1.3 79917, 2010/Jul/27, 09:21:25 driver. This is an old driver. Perhaps Motorola never bothered to update the driver to take real potential of the BCM4750 chip. The LTO.dat is not downloaded nor used. Also the settings of SUPL are left with basics and the fallback supl to google is disabled by default. The whole gps is dependent on MSA & MBS & SUPL. The fixes are possible without gprs or wifi or network towers. Hence the ephemeris data is straight downloaded from satellites. The GPS fixes & ephemeris data are stored in LEARN_STORE.BIN.
It is difficult to get the new driver for defy. LG , Iphone & Samsung have used BCM4750, but they have their own custom driver to meet their requirement. I have tried the LG driver called glgps , but the gps did not initialised even with the original defy config file.
gps.jordan.so file is not used by defy. The stock installation has no such file. Similar file was in Milestone and defy+. But not in defy. Hence brcm_guci_drv is the driver file and is the same MD5 as of defy+. Milestone brcm_guci_drv has a different MD5.
starbright, its great to make use of our browser downloading the LTO file instead of installing GPS Aids. Just for my CM7 browser, it won't overwrite the old file but rename the new one as "lto2-1", and I donno why it changes the extension to .txt , resulting lto2-1.txt. Anyway I tested changing the acLtoDir and LtoFileName param. to "/sdcard/download/" and "lto2.txt", the LTO is also effective after reboot and first lock. The permission of the downloaded file is --xrwxr-x, the same as the one in /data/gps from the app. I try bookmarking the whole URL but it won't download but view it, so I can only bookmark the path and download manually. Whether the LTO works is obvious. When 4-5 hrs after a SUPL locking, u need more than 1 min to lock, then the LTO is most probably failed. Normally its just several seconds, even no data for 3 days.
popcorn, I'm now using the 120304 build of CM7, attached my brcm_guci_drv, could u confirm if it has been replaced from the stock one. I tested both gps.jordan.so from CM7 and your thread, both work with SUPL and LTO, but after removing it and reboot, my GPS Status cannot view any birds and no more blinking GPS icon when enabled. If it dosen't exist in stock ROM, there should have some other libraries replaced by CM7, including brcm_guci_drv probably.
I attach the brcm_guci_drv from CM7 and the modified gpsconfig.xml early this thread.
I use Opera Mini and set the download-path as tile in start-page. Just open it an lto.dat will downoaded to the path. It keeps the *dat-extension, but make lto-2.dat, lto-3.dat ... if the old file isn't cleared.
manfifer said:
... the LTO is also effective after reboot and first lock. The permission of the downloaded file is --xrwxr-x, the same as the one in /data/gps from the app. I try bookmarking the whole URL but it won't download but view it, so I can only bookmark the path and download manually. Whether the LTO works is obvious. When 4-5 hrs after a SUPL locking, u need more than 1 min to lock, then the LTO is most probably failed. Normally its just several seconds, even no data for 3 days.
Click to expand...
Click to collapse
Sorry, have difficulties to understand this. You mean, LTO is working? No problems with the location and permission on /sdcard ? What is a SUPL lock? Does this data need a data connection or is it transferred (like clock or name of cell you are logged in without a data connection) just by login to a GSM network. (data connection active or not) Can you explain under wich circumstances the TTFF is so fast?
I couldn't see this helping effect, maybe have to test this again and compare your files.
I used lto.dat and CM 7.2.rc.
Sorry I should use "fix" instead of "lock", just mean "successful positioned"
Yes data (EDGE/GPRS/3G/WIFI) is needed to communicate with the SUPL servers
(supl.google.com, supl.nokia.com, etc.) to get a fast fix, just logon to GSM network does not work. So the use of LTO is to get rid of such network barrier, for several days.
In my testing whatever the file is in the phone (/data/gps/) or SD Card
(/sdcard/download/), it does works under --xrwxr-x , just I have to modify acLtoDir and LtoFileName param.
My TTFF (after restarting the phone) is around 30sec-2min., not fast as I keep data connection OFF for testing. The power of LTO comes with the 2nd fix and so on, whatever in open space or under dense buildings, whatever how long u restart GPS from the previous fix (good to test after we wake up as all fixes and cache should hv been expired.), usually the fix costs less than 5sec. The effect keeps until I restart the phone again (change SIM card, the phone hangs up ) or the LTO file is used more than 4 days around. But, if u move the file away, after say 3 hrs, the fix will take longer gradually, until costing more than a minute. So far, no data is allowed when GPS on.
I am just wondering why smartphones have to use A-GPS for fast fix? I own standalone gps device and hell there is a fix within 30-40sec or less without need of any data connection as on smartphones.
manfifer said:
For my findings, some parameters in the <hal> paragraph of /system/etc/gpsconfig.xml could also be added to enable the offline LTO-AGPS (Need rooting, and pls backup the file)
<hal
acPortName="/dev/ttyS0"
lBaudRate="115200"
cLogEnabled="false"
acLogDirectory="/data/location/com.broadcom.gps/logs/"
acLtoDir="/data/gps/"
ltoFileName="lto2.dat"
acNvStoDir="/data/location/"
acCmdPipeName="/data/location/gpscmd"
bAllowIgnoreOsc="false"
bUseHalLogger="false"
LbsEnable="false"
LbsLocal="true"
LbsSyncLto="true"
LbsSyncCells="true"
/>
Click to expand...
Click to collapse
My general impression is, it really helps.
Before clearing the AGPS data, TTFF takes just a few seconds, althought the last fix has been done >12h before.
But there is one thing, that let me doubt a bit. At least my understanding of lto (that is independend from AGPS) and AGPS seems to be not correct
My observation is the following:
- I start GPSStatus (without GPS and Data connection) and clear AGPS data.
- Close GPS status and wait a minute
- Enable GPSStatus and wait for TTFF - then it takes (lto.dat is around 1 day old) again very very long > 5min .
Do you know when the lto.dat will become active?
To summarize this (this is just what I currently assume):
a) With WLAN on and AGPS the fix is rather fast
b) after disabling WLAN, the once downloaded AGPS data seems to be helpful only for a very short time 1h...6h.
c) with lto-data it seems that the TTFF is fast again, although AGPS data is older than 12h
d) with cleared AGPS data, but with lto it need very long time (700s) for TTFF.
Can you do this test too?
Certainly... thanks for helping me to test this case so far.
I started the test without AGPS for 5 days. I started GPSStatus and cleared AGPS data (I hv to turn GPS ON else it'll be disabled) and turned them off for some minutes. When I start over again, it takes around a minute to have a fix, similar to the 1st fix after restarting the phone. The next fix is done in seconds in the next morning without data i.e. LTO works again.
Before this test, I tried modifying the xml to have the chip generate a log in each first fix after restart (blue words in my 1st post), but it doesn't carry on logging until the next restart. It states "Skip reading lto", imho it just indicates LTO doesn't help in the 1st fix.
Some findings I made...
the /system/bin/location file is responsible to generate LEARN_STORE.BIN
the /system/usr/bin/brcm_guci_drv is the gps driver which gets few parameters mentioned in gpsconfig.xml when the defy starts. Majority of parameters are already mentioned in the driver itself.
the /system/lib/libgps.so file is the run time file which has majority of parameters of location.cfg
location.cfg file has supl server location getting injected to gps for LBS functions. That file also has a fall back sulp server which by default is disabled. The last GPS time of a valid fix is stored in /data/location/location.cfg file
The question still remains unanswered:
Is lto.dat getting downloaded automatically?
Also I tried to get some files from motorola xoom (honeycomb), the driver(dec 2010) and other files mentioned above... but the radio and gps do not initialize with those new versions.
manfifer said:
I started GPSStatus and cleared AGPS data (I hv to turn GPS ON else it'll be disabled) and turned them off for some minutes. When I start over again, it takes around a minute to have a fix, similar to the 1st fix after restarting the phone. The next fix is done in seconds in the next morning without data i.e. LTO works again.
Click to expand...
Click to collapse
You can set GPS Status to be work even with GPS disabled (it just shows a warning than). And so it is possible to clear AGPS data, without enabling GPS.
After that I have problems to get a fix. (Have to test it again, currently heavy rain might influence the test)
This is a bit strange to me. From what I have heard, the AGPS data are injected into the chip. But how can they cleared if the chip is not powered?
It might have some low power standby, but who knows?
manfifer said:
Before this test, I tried modifying the xml to have the chip generate a log in each first fix after restart (blue words in my 1st post), but it doesn't carry on logging until the next restart. It states "Skip reading lto", imho it just indicates LTO doesn't help in the 1st fix.
Click to expand...
Click to collapse
Where does it write a log?
Good information.
Hope the defy can get fast GPS fixed.
starbright_ said:
Where does it write a log?
Click to expand...
Click to collapse
when you edit gpsconfig.xml with following lines, your logs are activated:
cLogEnabled="true"
bPrintToConsole="true"
acLogDirectory="/data/location/logs/"
bUseHalLogger="true"​
I am using this solution now for more than 2 weeks. Never need more than 120s (mostly less than a minute) to get position (without active data connection).
Just once I takes very long - that was the time, as lto.dat was more than 1 week old. Great job!!!!
The download of lto.dat could be optimised. With my fav in browser I need still a view actions:
- open filemanager
- delete old lto (to prevent to get an lto-1.dat, lto-2 dat ...)
- close filemanger
- open browser
- download by push a favorite on startscreen.
Best would be just one button/script, best running automatically every 5 days when WLAN/GPS connection is established.

Is the GPS on Hercules as good as you expect (updated with possible soln.)

I had high hopes earlier when I bought the phone, since some post here said it supposedly has glonass support
But for me, its not a good performer. Some places its fine, but in other places it just can't lock. Sometimes it can't even see the satellites. For example in the train here, my previous phone's GPS (HTC HD2 and Amaze) had no problem in locking, but I couldn't get a lock with this phone..I tried for 4-5 minutes. I have already gotten GPS Status for downloading AGPS data, but still it couldn't get a lock ?
Is it problem with gps.conf ? Right now it looks like:
Code:
/system/etc # find . -name gps.conf
./gps.conf
/system/etc # more gps.conf
#Test
NTP_SERVER=xtra1.gpsonextra.net
#Asia
# NTP_SERVER=asia.pool.ntp.org
#Europe
# NTP_SERVER=europe.pool.ntp.org
#North America
# NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 5
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# GPS Capabilities bit mask
# SCHEDULING = 1
# MSB = 2
# MSA = 4
# default = MSA | MSB | SCHEDULING
CAPABILITIES=0x7
/system/etc #
If you look the NTP_SERVER is set as xtra1.gpsonextra.net (If you put a # before a line it means its commented) but I remember on my HD2 it was supposed to be set as country/place where you are. Like for US it should be NTP_SERVER=north-america.pool.ntp.org and so on...
I did the change, however I didn't see any gains right now...I will test out more..
---Update and possible solution---
I noticed that my lock times have decreased if I manually inject aGPS data using app leo AGPS injector. Also this also reduces the instances of no lock when it can see the satellites. You can get it from here:
http://forum.xda-developers.com/showpost.php?p=16384028&postcount=1907
Basically it was developed for HTC HD2, however it would work with any phone having qualcomm GPS chipset. What it does is, it injects AGPS data and NTP time in qualcomm GPSone engine (in contrast to gps status or any other app which only inject XTRA data and not the time ).
Also I made changes in the stock gps.conf and removed the # before line NTP_SERVER=north-america.pool.ntp.org
and put a # in beginning NTP_SERVER=xtra1.gpsonextra.net (this statement doesn't make any sense xtra1.gpsonextra.net is not a NTP server, its for getting agps data). I suggest if you are having problem remove the # before according to you region.
I have tried it couple of times and the results have been encouraging. It would be great if other people having GPS problem can test it out too and share their findings. Remember to inject the data before using the GPS app. Once the data is injected it should be good for 1 day (maybe even more, but 1 day is safe to say)
Works fine for me so far.
My GPS works even without a data sign, it just takes a minute longer to lock on at 9ft accuracy. I don't know why you start having problems I know that if I want to get GPS lock without a data connection I will need my wifi to be turned in for sure to get a solid lock so I can't define why you aren't getting one, did you try flashing the agps 3.1 psych with no ssl, that really helped me get faster locks.
Sent from my SGH-T989 using xda premium
it's as good/better than i expected. coming from the vibrant, this thing's gps is amazing. lol.
My works great also.
I also recently started a thread regarding this or similar problems. I am curious about the people with no problems; What color is your phone and roughly when did you purchase it?
Works perfectly for me. Get a lock in about 2 seconds I haven't made any changes to any gps related file.
droid75 said:
Works perfectly for me. Get a lock in about 2 seconds I haven't made any changes to any gps related file.
Click to expand...
Click to collapse
What color is your phone and when did you get it?
Also what roms are you guys using?
I'm very happy with my GPS signal, it locks on in less than 10 seconds or so.
i have the titanium and got it mid feb.
Sometimes you have to toggle GPS on and off in mid flight up top in the status bar to re initialize it if it has frozen or anything.
Sent from my SGH-T989 using xda premium
funeralthirst said:
it's as good/better than i expected. coming from the vibrant, this thing's gps is amazing. lol.
Click to expand...
Click to collapse
Word. The vibrant GPS sucked big floppy donkey "insert cartman profanity word here"
Sent from my SGH-T989 using xda premium
I noticed that my lock times have decreased if I use I manually inject aGPS data using app leo AGPS injector. Also this also reduces the instances of no lock when it can see the satellites. You can get it from here:
http://forum.xda-developers.com/showpost.php?p=16384028&postcount=1907
Basically it was developed for HTC HD2, however it would work with any phone having qualcomm GPS chipset. What it does is, it injects AGPS data and NTP time in qualcomm GPSone engine (in contrast to gps status or any other app which only inject XTRA data and not the time ).
I have tried it couple of times and the results have been encouraging, however it could be a placebo also since I didn't give it much time between the fixes. It would be great if other people having GPS problem can test it out too and share their findings. Remember to inject the data before using the GPS app. Once the data is injected it should be good for 1 day (maybe even more, but 1 day is safe to say)
Mafioso said:
I noticed that my lock times have decreased if I use I manually inject aGPS data using app leo AGPS injector. Also this also reduces the instances of no lock when it can see the satellites. You can get it from here:
http://forum.xda-developers.com/showpost.php?p=16384028&postcount=1907
Basically it was developed for HTC HD2, however it would work with any phone having qualcomm GPS chipset. What it does is, it injects AGPS data and NTP time in qualcomm GPSone engine (in contrast to gps status or any other app which only inject XTRA data and not the time ).
I have tried it couple of times and the results have been encouraging, however it could be a placebo also since I didn't give it much time between the fixes. It would be great if other people having GPS problem can test it out too and share their findings. Remember to inject the data before using the GPS app. Once the data is injected it should be good for 1 day (maybe even more, but 1 day is safe to say)
Click to expand...
Click to collapse
It only lasts for a day?
Answer to OP, coming from the vibrant where there were known issues with the GPS antenna, I have had no problems with this phones ability to get me where I wanna go. Sure sometimes it shows me as driving along side the freeway instead of on it, so I feel for all those peoples house my GPS thinks I drove over. Lol
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
DeeXii said:
What color is your phone and when did you get it?
Also what roms are you guys using?
Click to expand...
Click to collapse
Black and I got it in December of last year.
DeeXii said:
It only lasts for a day?
Click to expand...
Click to collapse
Basically XTRA data is current satellite positions on the date which you download it. In a ideal world its good for 7 days since phone can approximately calculate the position of satellites for the next 7 days with it but with increasing error. But if you are getting large lock times there's no harm in doing it daily or alt days as it really a small download (i think 40kb). You can set make a script for automating it also...
Although on Amaze I never had to do it, the GPS was as good without it...maybe they automated it already on it...
This phone has the best GPS of any phone I've had so far.
ArcticWolf91 said:
This phone has the best GPS of any phone I've had so far.
Click to expand...
Click to collapse
really?
When I had the mt4g and the amaze, those seem to be a bit quicker in locking than my gs2. It wasn't that much of a difference probably a minute difference, but once locked, You're good.
I also noticed that my gs2's gps is not as good indoors.. but I don't really care much about that because I only use my GPS when i'm outdoors lol
Overall, the GPS for the gs2 is actually really good.
Teo032 said:
really?
When I had the mt4g and the amaze, those seem to be a bit quicker in locking than my gs2. It wasn't that much of a difference probably a minute difference, but once locked, You're good.
I also noticed that my gs2's gps is not as good indoors.. but I don't really care much about that because I only use my GPS when i'm outdoors lol
Overall, the GPS for the gs2 is actually really good.
Click to expand...
Click to collapse
Yeah. The MT4G also had pretty good GPS, never had any problems there. The Sensation GPS was pretty terrible. This phone locks on quickly and accurately. However, GPS was definitely better on stock than on these custom ROMs.

MY GPS doesnt work on my xperia ion

Hihi, i have a problem with my gps, i active it from Settings > location services > GPS satellite and then i use a program called dynomaster which needs gps and is always searching GPS and i noticed that when i turn on the GPS Satellite this not appears in bar notification
I dont know if this problem pass happens because i deleted apps with titanium backup
Apps deleted :
All apk related with at&t
ANT Radio service
Timescape
Liveware manager
Timescape and his derivatives
Facebook and his derivatives
Chinese keyboards
Twitter and his derivatives
Ypmobile
Office suite.
any of these affects to the gps?
Thank you
Seems you are still on ICS. The only app I would suspect is the liveware manager. I would highly suggest you flash to the Jelly Bean update though as it is so much better then ICS and the stock att rom is poop.
find GPS status and toolbox from the play store, its free, and great for messing with screwy gps stuff...the app will make sure the gps system is functioning properly...so if the gps is working, but the app is not, you can troubleshoot more from there...
If you're on ICS still, i'm not sure how the procedure goes...its been too long...but on JB, you need to first go into location services, and enable all the options for gps to work across all apps...you then need to go into google settings in your app drawer, and enable 'allow app access to gps' under 'location'...
I very often use Torque Pro, which i'm assuming is similar to dynomaster...and it too had some problems with accessing the gps system properly until i did all of the above...no issues anymore...
Upgrade to jellybean, root , then install titanium backup and freeze apps instead. saves u from such issues in future.
Reply
Only Root.
Root explorer / Total Commander -
/system/etc/GPS.conf
We are looking for a line called
SUPL_HOST
And change it to
SUPL_HOST = supl.google.com
Also,
SUPL_PORT = 7275
. reboot .
Alternatively, copy the text below in your configuration , save and restart the phone .
Code:
NTP_SERVER= ru.pool.ntp.org
XTRA_SERVER_1=xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 3
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# supl version 1.0
SUPL_VER=0x10000
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST= supl.google.com
SUPL_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
################################
# EXTRA SETTINGS
################################
If you do not want to keep , so you do not have Root rights.
Download kingoapp . com Kingo Root app on your phone and get Root rights by using it. After that, restart the phone and try to edit and save the file again.

Categories

Resources