(In progress)Eugene Vibrants GPS fix for the Samsung captivate - Captivate Android Development

Ok guys i already 'ported" the fix, but i need someone with a pure stock rom to dump the following files from there hes/her device:
build.prop found in /system
contents.db found in /system/csc
customer.xml in /system/csc
feature.xml in /system/csc
others.xml in /system/csc
sales_code.dat in /system/csc
You can use root explorer to copy this files over to your sdcard, and post them here, thank you.
Rafyvitto

http://www.4shared.com/file/1kaJd5Kl/Stock_Files.html

Fortune090 said:
http://www.4shared.com/file/1kaJd5Kl/Stock_Files.html
Click to expand...
Click to collapse
Excellent thank you, il keep you guys updated.

Can someone with stock gps settings test this update.zip, http://www.mediafire.com/?g4p1kyiie6d3xov , let me know if it works, as always do a nandroid backup just in case your phone turns into an iphone or something, AND im not responsible if your device catches on fire or decides to leave if you after applying this update.zip =]
Intructions Step by step:
1.Place Captivate_GPS_Eugene_Fix.zip in you internal Sdcard
2. Go to rom manager choose "boot into recovery"
3."install zip from sd card"
4."choose zip from sd card"
5.Scroll until u see 'Captivate_GPS_Eugene_Fix.zip' the hit the power button.
6."Yes - Install Captivate_GPS_Eugene_Fix.zip"
7.Go back to the first menu and hit "reboot system now"
8.Let me know if it works

still takes a while to find me... my iphone4 found me in about 3 seconds

That means its not working =], on the vibrants it locks in a few seconds. =/, anyways i told eugene to take a look at it, maybe he can figure out whats wrong.

First time (cold start) took roughly 5 minutes. Then turning off GPS and waiting 15 sec before restarting GPS, hot start took only 5-10 sec.
I will leave it off for about 10 min now and report back if GPS aquisition is quicker after the first lock.
UPDATE: After about 10min of GPS off it took only 5 sec to re-aquire the satelites. I had 7 sat showing and 5 of them had a lock with 5m accuracy. Maybe you are onto something. May I ask what the fix actually does?

getting a lock is a minor problem compared to MAINTAINING an accurate lock, does this fix address that issue or just the lock on time?

Thats good news.
Although its a little sad if this is fixed by a community dev before samsung.

anosis said:
First time (cold start) took roughly 5 minutes. Then turning off GPS and waiting 15 sec before restarting GPS, hot start took only 5-10 sec.
I will leave it off for about 10 min now and report back if GPS aquisition is quicker after the first lock.
UPDATE: After about 10min of GPS off it took only 5 sec to re-aquire the satelites. I had 7 sat showing and 5 of them had a lock with 5m accuracy. Maybe you are onto something. May I ask what the fix actually does?
Click to expand...
Click to collapse
Ask eugene_373 he knows the details about the fix, i just tryed mirror hes finding on to our captivate.

Ok. Took a drive and 20min into the drive enabled the GPS. It took less than 5 sec to get a lock and the tracking was spot on for me.
One side effect I have noticed is that my screen would usually turn off after 30sec. (confirmed that my screen off setting is 30sec) however the screen will stay on for longer. It darkens but will not turn off in the amount that is set.
Only worry with this is the obvious battery drainage and the fact that you may end up randomly dialing folks because you assume the screen turned off.
WOW! The screen is still on even after 5min. This is even the case when the PWR button is acidentally pressed and you are on the lock screen - it will just stay there. Not so good.

rafyvitto said:
Ok guys i already 'ported" the fix, but i need someone with a pure stock rom to dump the following files from there hes/her device:
build.prop found in /system
contents.db found in /system/csc
customer.xml in /system/csc
feature.xml in /system/csc
others.xml in /system/csc
sales_code.dat in /system/csc
You can use root explorer to copy this files over to your sdcard, and post them here, thank you.
Rafyvitto
Click to expand...
Click to collapse
So is it safe to say you have the captivate running with the
vibrant 1.1 update zip release running with the gps ? If so I would happily run some testing for you

I applied this fix to my captivate and the gps does seem marginally better but it has the unfortunate side effect of not turning off the gps after I exit the application that is using it. I just went through approx 45% of my battery in 2-2.5 hours and I noticed the gps at the top had been trying to lock on this entire time.
Edit:
I just used task killer to kill all open apps and the gps was still actively searching (noticed on my taskbar) despite the fact the all open apps were closed.
I had the turn off the gps using the Power Control widget.

I'll help as well. Got rooted stock with AT&T crapware removed, and RM/CWM installed for backup/restore. Let me know what I need to do.

[email protected] said:
So is it safe to say you have the captivate running with the
vibrant 1.1 update zip release running with the gps ? If so I would happily run some testing for you
Click to expand...
Click to collapse
No, i ported eugene_373 vibrants gps fix over to the samsung captivate, the original vibrant gps fix wont work simply because of different build.prop's, but regardless the fix dosnt seem to fix the gps on the captivate, im waiting on eugene_373 to see if he can look at my update.zip and some how figure out whats wrong...

dweebs0r said:
I applied this fix to my captivate and the gps does seem marginally better but it has the unfortunate side effect of not turning off the gps after I exit the application that is using it. I just went through approx 45% of my battery in 2-2.5 hours and I noticed the gps at the top had been trying to lock on this entire time.
Edit:
I just used task killer to kill all open apps and the gps was still actively searching (noticed on my taskbar) despite the fact the all open apps were closed.
I had the turn off the gps using the Power Control widget.
Click to expand...
Click to collapse
I haven't experience any of does issues on my device, besides this only changes 2 lines in the build.prop, nothing major, my gps stops trying to lock me once i go out of google maps, it doesn't turn off, it never does, thats not how it works, you always need to turn of the gps manually after using a gps app.

rafyvitto said:
I haven't experience any of does issues on my device, besides this only changes 2 lines in the build.prop, nothing major, my gps stops trying to lock me once i go out of google maps, it doesn't turn off, it never does, thats not how it works, you always need to turn of the gps manually after using a gps app.
Click to expand...
Click to collapse
I think he means that he still sees the little GPS icon at the top, if its still there after exiting maps, the gps is constantly searching- thus draining a crapload of battery.

Didn't fix my GPS, still not getting a lock.

I'm so confused that people are still having issues with there gps. There is a fix out there in the forums and on plenty of sights by changing to supl.google.com amongst other settings. At most it takes 20 seconds to lock. I've used it in navigator and google maps and it follows me everywhere. Does this not work for everyone?
Sent from my SAMSUNG-SGH-I897 using XDA App

Diffed Eugene's changes
I've diffed Eugene's changes compared to a stock Vibrant and here are the details:
The first relevant change is the GPS section in customer.xml. The Captivate's customer.xml does not have this section at all.
Vibrant Stock \system\csc\customer.xml
Code:
<GPS>
<NbAGPS>1</NbAGPS>
<AGPS>
<ServAddr>lbs.geo.t-mobile.com</ServAddr>
<Port>7275</Port>
</AGPS>
</GPS>
Eugene \system\csc\customer.xml
Code:
<GPS>
[COLOR="Red"] <GPSMode>agps</GPSMode>[/COLOR]
<NbAGPS>1</NbAGPS>
<AGPS>
<ServAddr>[COLOR="Red"]i[/COLOR]bs.geo.t-mobile.com</ServAddr>
<Port>7275</Port>
</AGPS>
</GPS>
The second change is to add new settings to build.prop. Most of these changes appear to do with the modem but the two agps lines appear to be the relevant ones.
Vibrant Stock \system\build.prop
Code:
rild.libpath=/system/lib/libreference-ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
persist.sys.timezone=America/New_York
Eugene \system\build.prop
Code:
rild.libpath=/system/lib/libreference-ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
[COLOR="Red"]ro.ril.gprsclass=12
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=5
ro.ril.hsxpa=2
ro.telephony.default_network=0
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1[/COLOR]
persist.sys.timezone=America/New_York
It appears to me that this fix is trying to enable AGPS in much the same way as the LbsTest menu fixes have tried to do.
I tried adding the GPS section to my customer.xml using supl.google.com and 7276 instead of T-Mobile's server/port. I also added the two agps lines from build.prop. I cannot tell that it mas made any substantial improvement.

Related

GPS Lock For HD2 Android (Quick GPS Solution)

Very slow GPS locking in Hd2 Android? Some recommended changing gps.conf file but none work for me. However, I found out that if I update the Quick GPS in winmo before I boot into Android, the GPS locking in Android system is as FAST as winmo < 15 seconds.
leeyunfook said:
Very slow GPS locking in Hd2 Android? Some recommended changing gps.conf file but none work for me. However, I found out that if I update the Quick GPS in winmo before I boot into Android, the GPS locking in Android system is as FAST as winmo < 15 seconds.
Click to expand...
Click to collapse
Worked for me, Thx.
hooutoo said:
Worked for me, Thx.
Click to expand...
Click to collapse
me too. since i only use android now, i never update quickgps, but i saw this post and tried it, and it picked me up in like 5 seconds.
Update your gps.conf file in /system/etc if you have not already. It makes locking a very quick thing, even inside your house.
I found that mine was set to try to lock on EU satellites (and I'm in the US). It would take 4-5 minutes to lock. Now, I lock in <15 seconds, most of the time. No other tool/app needed.
There are a few tutorials on how to edit your gps.conf files out there in this forum already.
Bimboy said:
Update your gps.conf file in /system/etc if you have not already. It makes locking a very quick thing, even inside your house.
I found that mine was set to try to lock on EU satellites (and I'm in the US). It would take 4-5 minutes to lock. Now, I lock in <15 seconds, most of the time. No other tool/app needed.
There are a few tutorials on how to edit your gps.conf files out there in this forum already.
Click to expand...
Click to collapse
Can you make it simple for us by referencing the tutorials you found to edit this please?
This is the gps.conf fix being talked about.
avemn1 said:
Can you make it simple for us by referencing the tutorials you found to edit this please?
Click to expand...
Click to collapse
Here you go.. One of the few threads out there discussing this.
hooutoo said:
Worked for me, Thx.
Click to expand...
Click to collapse
pls give me a link to could use it
Bimboy said:
Update your gps.conf file in /system/etc if you have not already. It makes locking a very quick thing, even inside your house.
I found that mine was set to try to lock on EU satellites (and I'm in the US). It would take 4-5 minutes to lock. Now, I lock in <15 seconds, most of the time. No other tool/app needed.
There are a few tutorials on how to edit your gps.conf files out there in this forum already.
Click to expand...
Click to collapse
No didn't work for me at all. Made no difference. However, using quickGPS in Winmo before booting Android worked a treat! Android really needs quickGPS
So before reading this, I had no idea that there was a solution... I figured the 5mins to lock on was just because the builds are still not quite 100%. I've just updated my gps.conf and QuickGPS, and I now get a lock in less than 5 seconds... inside!
Thanks so much!
sorry help would be appreciated. i changed the settings in my gps.conf file. i then reset my phone tried gps and took just as long as it usually does ~5 min. I then checked gps.conf file again and it was empty. so i then decided to check a diff build that i have on my phone to copy it over. i deleted the gps file in the desire hd build that ive been using and i tried to copy over the other one. it told me that space is full and i cant copy it over IO error. I then noticed that the old gps file is still there but it wont open. any ideas? thanks in advance
One thing I noticed is GPS takes forever (or never) upon FIRST loading of a GPS program, usually Google Nav. Once I close out, then start the app back up, I then get an almost instant GPS lock.
How is Quick GPS a solution when that is a WM program so you must reboot to run it before launching Android ?
daemonfly said:
One thing I noticed is GPS takes forever (or never) upon FIRST loading of a GPS program, usually Google Nav. Once I close out, then start the app back up, I then get an almost instant GPS lock.
Click to expand...
Click to collapse
that's exactly what I do too. I'm going to try to update gps.conf just to see if that would do it.
one problem i've always had with android is my GPS takes FOREVER to find a satellite signal, most times it never does. but here's how i've solved that problem and now i get a gps signal within 30 seconds or less
step 1 - while in WM, use Quick GPS to download the satellites
step 2 - boot android up once the satellites have downloaded
step 3 - download GPS Test from the android market (it's free)
step 4 - start GPS Test and let it find the satellites (it normally finds 5-9 satellites)
step 5 - once it has found the satellites i go into google maps, type in the address of where i wanna go and select get driving directions/navigate
step 6 - the google navigation starts up and picks up a satellite within seconds and i'm on my way
molesaied88 said:
sorry help would be appreciated. i changed the settings in my gps.conf file. i then reset my phone tried gps and took just as long as it usually does ~5 min. I then checked gps.conf file again and it was empty. so i then decided to check a diff build that i have on my phone to copy it over. i deleted the gps file in the desire hd build that ive been using and i tried to copy over the other one. it told me that space is full and i cant copy it over IO error. I then noticed that the old gps file is still there but it wont open. any ideas? thanks in advance
Click to expand...
Click to collapse
You need to Unmount your SDcard before copying the file over
leeyunfook said:
Very slow GPS locking in Hd2 Android? Some recommended changing gps.conf file but none work for me. However, I found out that if I update the Quick GPS in winmo before I boot into Android, the GPS locking in Android system is as FAST as winmo < 15 seconds.
Click to expand...
Click to collapse
How do I update the QuickGPS in winmo? Can you give step by step? I'm using the Energy ROM for winmo, so it's very bare minimum.
GPS Status app under Android has the ability to download satellite data from its setting menu.
leeyunfook said:
Very slow GPS locking in Hd2 Android? Some recommended changing gps.conf file but none work for me. However, I found out that if I update the Quick GPS in winmo before I boot into Android, the GPS locking in Android system is as FAST as winmo < 15 seconds.
Click to expand...
Click to collapse
YES!! I tried it .... when I boot into Android ... it only takes less than 2 seconds to get a GPS lock!!
Do we have to boot into WM ... do QuickGPS then boot into Android everytime we need to run GPS on Android?
jason07 said:
So before reading this, I had no idea that there was a solution... I figured the 5mins to lock on was just because the builds are still not quite 100%. I've just updated my gps.conf and QuickGPS, and I now get a lock in less than 5 seconds... inside!
Thanks so much!
Click to expand...
Click to collapse
Do you need to reboot through Windows each time you want GPS in Android?

gps fixed without hardware changing. located in 10s

make sure your wifi/apn work well.
it works great on NERO V3 and V4.1
method:
dial *#3214789650# into lbs
first choose:app setting
1:Sessing Type
(Tracking)
2:test mode
(H/W Test)
3p mode
(H/W Sensitivity Test)
4:start mode
(Cold start)
5:GPS Plus
(ON)
6:
(ON)
7:
(50)
8:
(OFF)
second choose supl/cp setting
1: FQDN type
(Custom Config)
2:
supl.nokia.com
3ort
7275
4:SUPL security
ON
5:AGPS mode
(SUPL)
then back to home and reboot your device.
after it, get into lbs again
1.choose delete gps data
2.get position test
3.after located, change 1st "cold start" into "hot start".
completed.
get more detail from
bbs.gfan.com/android-503202-1-1.html
I had 3 and now running 4.1. GPS picked up within 3 - 4 seconds with v3. With 4.1 my GPS picked up in 2 seconds. I did not have to modify any files.
Sent from my SGH-T959 using XDA App
Here's the best fix:
1.) Install Nero 4.1
2.) Leave it alone.
The end.
If that doesnt work:
1.) Install Nero 4.1
2.) Do the hardware fix
3.) Leave it alone.
The end.
my solution: get a new phone once a suitable 4" replacement comes out on t-mobile.
it works!
this by far is the best solution!
I get 10m accuracy now whereas i used to get 1200m before...
Let me try it a bit more, but it seems it works!
Sent from my SGH-T959 using XDA App
HOLY ****?
i got 10 satellites in 5 seconds, then they all started connecting and now my accuracy is 12 meters???
I think your all connected to wifi, maybe thats why your getting good locks. Disable it and try again.
Sent from my SGH-T959 using Tapatalk
I was out walking my dog this morning (no wifi) and while yes I was in a clearing, I turned on GPS Status for the first time since installing the new rom so it came up with the default html page explaining GPS Status, but I read it before so I closed it immediately and was already locked onto 8/11 birds. 2 seconds maybe. 7m accuracy.
On the flip side when I first got my phone I tried to use it as a GPS to navigate and drove around for 30 minutes without ever locking onto a single bird.
I understand and do believe there is a hardware problem with many Vibrants however I also believe that there has been a HUGE software problem as well.
iwillkillyou said:
I think your all connected to wifi, maybe thats why your getting good locks. Disable it and try again.
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
I've been using OP's "fix" for 3 days and so far it's working very well. I typically get locks in 10s or less, and accuracy 15-30 ft, inside. I nearly always disable wi-fi when I test GPS, but I've tried it both ways with this setup and it's working virtually the same either way.
At this point my only reservation is I've seen so many similar suggestions to tweak some setting that don't really pan out over time. This one may do the same, but so far so good.
I have done nothing but installed axura rom.ine locks in couple of seconds and works flawllesly. Even the accuracy is fantastic.
My gps went from bad to worst, 600 metter accuracy, maybe its the rom, ill try teamwhiskey. i been crying for a working gps lately.
Sent from my SGH-T959 using Tapatalk
I do see a improvement will check it out for a few days to see if it holds
Not perfect but now I actually can get a GPS signal, which is a plus
adiprince1 said:
I have done nothing but installed axura rom.ine locks in couple of seconds and works flawllesly. Even the accuracy is fantastic.
Click to expand...
Click to collapse
I had applied both the hardware and software fixes while using many versions of Nero and my GPS would never get quick locks, usually it wouldn't lock at all.
Flashing Axura fixed my GPS too. Locks within seconds and has 7-9 meter accuracy.
Axura also fixed my fiance's GPS (with no hardware fix). She had the same issues with every other rom, slow/no locks. So I know it wasn't only my device.
I don't know what method Devs4Android used to fix the GPS, but it works perfectly. They need to sell the fix to Samsung so customers can get functioning GPS out of the box.
never had a problem with the gps locking on to sats and getting 20-40 foot accuracy. the problem is the drifting and staying locked once you start moving or just standing there. that is the problem i have. driving down the highway and bam your on the other side going the wrong way, or in the middle of the field a mile away. that is problem i have
fioricet said:
never had a problem with the gps locking on to sats and getting 20-40 foot accuracy. the problem is the drifting and staying locked once you start moving or just standing there. that is the problem i have. driving down the highway and bam your on the other side going the wrong way, or in the middle of the field a mile away. that is problem i have
Click to expand...
Click to collapse
Thankfully, Axura fixed that for me as well. Not only does it lock fast, but its accurate too.
After 2 days.
Last 2 days, I've tested my GPS in some different scenarios. In every one it has been quick and accurate enough.
I got 8 satellites in average, and the accuracy was of around 7-8 meters, something that has never happened before. I did the hardware fix, and it helped with the SNR values, but this is the definite best solution yet!
I'm still testing, but I've got a very good feeling about this method.
The only difference I see between this "fix" and other "fixes" is changing the SUPL server to supl.nokia.com. Since the original thread came from a Chinese forum, I'm guessing the SUPL server might work well in China. Not sure how effective this would be in the US or other countries.
That said, this isn't really a fix. All it does is change the SUPL server, which for most of us (using supl.google.com) works just fine. The Cold Start -> Delete GPS Data -> Lock -> Hot Start method will work just once because it clears bad cached GPS data if you've moved, but it's old news (dozens of other threads on this one) and it's not really a "fix."
The hardware fix is still one of the few real fixes out there.
jamesyl said:
The only difference I see between this "fix" and other "fixes" is changing the SUPL server to supl.nokia.com. Since the original thread came from a Chinese forum, I'm guessing the SUPL server might work well in China. Not sure how effective this would be in the US or other countries.
That said, this isn't really a fix. All it does is change the SUPL server, which for most of us (using supl.google.com) works just fine. The Cold Start -> Delete GPS Data -> Lock -> Hot Start method will work just once because it clears bad cached GPS data if you've moved, but it's old news (dozens of other threads on this one) and it's not really a "fix."
The hardware fix is still one of the few real fixes out there.
Click to expand...
Click to collapse
So I take it you haven't tried this. I agree with what you say, however, I've been using OP's suggested settings for 4 days and see a significant improvement in lock times (only exception is I leave it set to Coldstart). I've been turning my phone off at night and after booting yesterday morning it locked in 14s first time, this morning in 7s. I know lock times can vary depending on where the sats happen to be at that moment, but this performance is much better than I was getting previously, which was in the 1-4 min range on first lock of the day. It's so simple to try there's no real reason not to see if it helps, unless you're already getting lock times like this. Only time will tell if it lasts, but so far so good.
(Running pure stock JI6, and I've also done the HW fix posted in the sticky, which definitely improved my SNRs.)

GPS UK

right I have to know if its only me but even after editing the gps config file it still only works every now and then and even that requires gps status and tools? At the moment using WP7 and gps is lightning fast (fix etc) but switching back to android as android is most definatly superior in most cases at the moment. Especially the camera quality is bad and battery life is ok but better on android
Is there a rom with a WORKING gps not one that works under supervision? as I like to use the gps apps like maps and copilot etc
OK well just changed a couple things and now gps is working
I dont know whether Radio revision affects it but downgraded it to 2.12 from 2.15 and left my gps location as europe after clean flash and now getting a gps fix under 10 secs mass improvement to before (2 mins to never)
might try with UK ntp.pool settings, and see the results
Edit as you like, but < 10 seconds is about as good as it gets, don't fixit if it ain't broke!
well tried it anyways and it is even better >5 seconds is this a radio related. If so gotta write down this radio version for future reference
You get quicker fixes when you've already recently had one, I don't think a <5 seconds cold fix is possible.
willzrocking said:
OK well just changed a couple things and now gps is working
I dont know whether Radio revision affects it but downgraded it to 2.12 from 2.15 and left my gps location as europe after clean flash and now getting a gps fix under 10 secs mass improvement to before (2 mins to never)
might try with UK ntp.pool settings, and see the results
Click to expand...
Click to collapse
This is intresting.
Is it possible to keep us updated in a couple of days to check if the quick fix is consistant with radio 2.12 ?
I think it would interest alot of people.
My phone was also with 2.15 previously, as willzrocking i experienced mixed result with this radio and long time locks in any case.
This morning i was encouraged by this post and gave 2.12 a try, unfortunately for me it seems tobe no go, it seems worst than 2.15 on my phone.
In the same road to my office (10 minutes by car) 2.15 was able to lock 1 or 2 minutes before i reached destination (not really usefull...), 2.12 was not able to catch the signal.
I'm going to try have a lock in a plain surface later on today and will let you know the results.
Cheers.
Still working good for me... I am using the Cleandroid Rom but even though the gps is now very good the network keeps dropping alot and sometimes randomly the H signal disappears and replaced with G sometimes until I switch between flight mode so think I am gonna have to sacrafice the GPS until I find a better radio/rom
I've just put on 2.12 here in the UK and don't notice any real difference at all
EDIT: ooh think i've now solved it for me!
I also have an Orange San francisco ( ZTE BLADE) and that always locks on GPS very quickly...
so i had a delve into the blade's gps conf and i notice a few parts were commented out that arent for my HD2.
the parts i just added/commented out are.
I added
INTERMEDIATE_POS=0
and commented out the following to look like this
#SUPL_HOST=supl.google.com
#SUPL_PORT=7276
Now after locking/unlocking the phone and rebooting i get a lock onto GPS in under 10 seconds every time, whereas before it was very hit or miss!
Out of curiosity, those who have problems, how many have the app GPS STATUS installed? i'm wondering if it is causing a problem too.
this thing is driving me crazy... as the gps is!
2.12 was worst than 2.15, then i tried 2.08, same as 2.12. So i did a roll-back to 2.15 and tried to put crunchie's settings into my gps conf.
Didn't notice any difference so i tried to remove gps status.
After reboot i made the following test:
launching google navigator 3 times, every time i placed the phone in the same position where i was sure to get good signals.
Between each tentative i removed the phone from its position, closed navigator, turned off and then on the gps, replaced the phone back.
It took 20 secs to do this operation.
I got a fix each time, which is good, but look at locktimes...
1) around 90" (good)
2) around 3 minutes...
3) around 4 minutes...
It seems like it doesn't save gps data previously scanned, every time it's like a cold start...
I really don't know if there is any way to fix this at the moment but i would really like to know which is the difference between my phone and yours. Maybe 'cause mine is brand new? (i received it the 4th of jan)
Very important for me too. So my parts:
RADIO: 2.15.50.14
ROM: MDJ's CyanogenMod 7 v. 2.6
COUNTRY: Latvia (EUROPE)
Actually this is the only Android build where I got any week GPS signal. Previously - nothing.
Well, on WM 6.5 GPS works extremely good and stable with the same radio.
I am using GPS Status (to download some A-GPS data, which really does not helps).
I live in Latvia, but my gps.conf was set to europe.pool.ntp.org. I was able to get some week connection today with a fix in approx. 10 minutes. When I changed my gps.conf to my country: lv.pool.ntp.org GPS stopped working. Will try now to revert back.
P.S. My friend with Desire HD also living in Latvia has north-america.pool.ntp.org, but still gets fix in about 30 sec. And changing gps.conf and downloading A-GPS data does not help at all.
NTP_SERVER=lv.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
Click to expand...
Click to collapse
crunchie-uk said:
the parts i just added/commented out are.
I added
INTERMEDIATE_POS=0
and commented out the following to look like this
#SUPL_HOST=supl.google.com
#SUPL_PORT=7276
Now after locking/unlocking the phone and rebooting i get a lock onto GPS in under 10 seconds every time, whereas before it was very hit or miss!
Click to expand...
Click to collapse
That sounds promising, so I've edited my gps.conf to match and I'll get back and let you know how I get on with it.
Incidentally, I used Navigator today for the first time in ages and didn't expect it to work as I flashed a new ROM over the weekend, but it worked a treat. I'm in the UK but it was set to use a North American NTP server, so I'm surprised it worked!
Glad it did though
johncmolyneux, so that worked for you?
Can you please post in QUOTE your full gps.conf text?
Synoptex said:
johncmolyneux, so that worked for you?
Can you please post in QUOTE your full gps.conf text?
Click to expand...
Click to collapse
johncmolyneux said:
I've edited my gps.conf to match and I'll get back and let you know how I get on with it.
Click to expand...
Click to collapse
I'll let you know mate.
Ok, I tried all that in different ways rebooting each time.
Only one time I had cold start and fix in 10 sec was: (changes bolded)
NTP_SERVER=xtra1.gpsonextra.net
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
INTERMEDIATE_POS=0
#SUPL_HOST=supl.google.com
#SUPL_PORT=7276
Click to expand...
Click to collapse
This 10 sec. story was only once. Now I again can't accure sattelites. Will try to launch with gps.conf file fully empty. Will see, what it does.
Mine seems pretty stable now, but gps status seems to screw it up so for those still trying I'd advise you don't open gps status at all and/or force close it
crunchie-uk said:
Mine seems pretty stable now, but gps status seems to screw it up so for those still trying I'd advise you don't open gps status at all and/or force close it
Click to expand...
Click to collapse
I'll bear that in mind - thanks. I don't tend to use any extra apps anyway. We all know from WM days that the GPS in our phones is pretty good without it.
I'll try it tomorrow, when I drive a mile down the road to my local shop. And yes, I do know the way
crunchie-uk said:
Mine seems pretty stable now, but gps status seems to screw it up so for those still trying I'd advise you don't open gps status at all and/or force close it
Click to expand...
Click to collapse
Do you mean program GPS Status? Well, I'm using it to find a sattelites and then quickly switching to Google Maps. )))
Why do you think it can mess up the GPS reception? I'll try not to use that. Thank's.
Synoptex said:
Do you mean program GPS Status? Well, I'm using it to find a sattelites and then quickly switching to Google Maps. )))
Why do you think it can mess up the GPS reception? I'll try not to use that. Thank's.
Click to expand...
Click to collapse
When I open it to see what satellites are connected then go back to maps, maps is no longer as accurate even though gps status says it's locked.
It looks like it makes maps revert back to wifi or gsm triangulation.
Then if I go back to gps status, force close it then reopen it, gps status is no longer able to lock on nor Is maps.
So, I open maps, leave it for upto 20 seconds (usually under 10) it locks on to 2M accuracy
If I then open GPS Status, it says no satellites.
Exit back to maps and I'm no longer locked on and it doesn't seem to lock on again (cold start maybe.)
Then , force close gps status
Force close maps.
Reopen maps and I'm locked on again after a 'cold start' and then maps behaves itself again with under 5-10 second locks even after reboots and gps off/on
crunchie-uk said:
When I open it to see what satellites are connected then go back to maps, maps is no longer as accurate even though gps status says it's locked.
It looks like it makes maps revert back to wifi or gsm triangulation.
Then if I go back to gps status, force close it then reopen it, gps status is no longer able to lock on nor Is maps.
Click to expand...
Click to collapse
Oh, well, thank's. I experienced it today on a road, that after GPS Status, my Google Maps were jumping from GPS sattelites to Mobile Network Stations.
One more wish from you. Can you please post your gps.conf in a QUOTE here? I tried now this:
SUPL_HOST=lbs.geo.t-mobile.com
SUPL_PORT=7275
NTP_SERVER=xtra1.gpsonextra.net
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
Click to expand...
Click to collapse
Actually not having anything with t-mobile, but I still managed to connect... after a while, after a long while....

GPS performance in EVO shift

I recently switched from EVO 4G to EVO shift 4G and noticed a huge difference in the GPS performance in these two models. I used AGPS in both phones (built-in + tower). My previous EVO 4G caught GPS signal usually in 5 seconds (most of time, it is instantly). However, it takes 1 minutes for EVO shift to get GPS signal. And it easily gets lost during driving...
My question is: are EVO and EVO shift using the same GPS chipset? If yes, why are there so huge difference in the performance.
ctzw said:
I recently switched from EVO 4G to EVO shift 4G and noticed a huge difference in the GPS performance in these two models. I used AGPS in both phones (built-in + tower). My previous EVO 4G caught GPS signal usually in 5 seconds (most of time, it is instantly). However, it takes 1 minutes for EVO shift to get GPS signal. And it easily gets lost during driving...
My question is: are EVO and EVO shift using the same GPS chipset? If yes, why are there so huge difference in the performance.
Click to expand...
Click to collapse
Turn on wireless network assistance. Yes, same chipset.
VICODAN said:
Turn on wireless network assistance. Yes, same chipset.
Click to expand...
Click to collapse
Sometimes even with this on the GPS lock is very slow. I've found editing the /etc/gps.conf file with your local NTP server from pool.ntp.org and changing the SUPL source to Sony Erricson's helps greatly. This is what mine looks like:
Code:
NTP_SERVER=us.pool.ntp.org
NTP_SERVER=0.us.pool.ntp.org
NTP_SERVER=1.us.pool.ntp.org
NTP_SERVER=2.us.pool.ntp.org
NTP_SERVER=3.us.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 =0
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=0
# Report supl ref location as position, 1=enable, 0=disable
REPORT_POSITION_USE_SUPL_REFLOC=1
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST=supl.sonyericsson.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=3425
SUPL_SECURE_PORT=7275
SUPL_TLS_HOST=FQDN
SUPL_TLS_CERT=/etc/SuplRootCert
# FOR C2K PDE SUPPORT, set the following
C2K_HOST=c2k.pde.com
C2K_PORT=1234
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE
Edit it as necessarily for your country then use the app "GPS Status" to reset your GPS, download a fresh SUPL file, and get your first GPS lock (very important as the first lock will be slow). After that you'll have near instant locks.
Nice. Doesn't fasterfix do this?
Sent from my PG06100 using XDA App
VICODAN said:
Nice. Doesn't fasterfix do this?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Fasterfix only updates your NTP servers and doesn't touch the SUPL source. Besides, why waste system resources with an app if all you have to do is edit a text file which also gives you more options?
Sent from my PG06100 using XDA App
I noticed a significant improvement doing this a while back.. prior to that I had a really difficult time obtaining a lock. Honestly I think this should just be included in shift roms, since it seems quite a few users have gps issues.
What app should I use to open the file referenced above? I used OI Notepad, as that's what is installed, and I only see XTRA_SERVER and the NTP lines of code. Nothing else.
tokuzumi said:
What app should I use to open the file referenced above? I used OI Notepad, as that's what is installed, and I only see XTRA_SERVER and the NTP lines of code. Nothing else.
Click to expand...
Click to collapse
Copy & paste mine into notepad on your desktop, edit as neccissary, save the file to your sdcard as gps.conf, then use a root explorer to copy & paste the file over /etc/gps.conf. Easiest way to do it. Restart your phone then install GPS Test and inside GPS Test under the Tools menu goto Manage A-GPS State. Reset the GPS and download fresh SUPL data then wait for a gps lock.
Sent from my PG06100 using XDA App
Nice protip. However, does this have any effect on the GPS losing fix after it had acquired?
I often run into a problem where I open Google Nav for navigation in the car (clear view of the sky thru the windshield), it gets a lock, then a minute later loses the lock and won't find it again no matter how long I leave it open. If I have time at a red light, I can exit Nav go into GPS Status, reset A-Data, re-download then re-launch Nav and it will lock again immediately, but again lose lock a few mins later.
No problem in my stock nandroid backup or a Sense ROM like MikShift. Only happening with CM7 - been happening since my first install of nightly 90-something, still happening up through 224.
I've tried the GPSCLRX fix, as well as the updated GPS driver for Speedy.
I'll try this, but wondering if anyone has seen a positive affect already.
cmags said:
Nice protip. However, does this have any effect on the GPS losing fix after it had acquired?
I often run into a problem where I open Google Nav for navigation in the car (clear view of the sky thru the windshield), it gets a lock, then a minute later loses the lock and won't find it again no matter how long I leave it open. If I have time at a red light, I can exit Nav go into GPS Status, reset A-Data, re-download then re-launch Nav and it will lock again immediately, but again lose lock a few mins later.
No problem in my stock nandroid backup or a Sense ROM like MikShift. Only happening with CM7 - been happening since my first install of nightly 90-something, still happening up through 224.
I've tried the GPSCLRX fix, as well as the updated GPS driver for Speedy.
I'll try this, but wondering if anyone has seen a positive affect already.
Click to expand...
Click to collapse
I met this problem before. But that was because I was using a new radio version 1.08.xxx (I found on this forum). Then I flashed the older radio 1.07.xx back to shift. The GPS signal becomes stable, I mean, it won't easily get lost during driving. However, it would still take a while (longer than my Evo 4G) to get locked. I will try the gps.conf method above.
cmags said:
Nice protip. However, does this have any effect on the GPS losing fix after it had acquired?
I often run into a problem where I open Google Nav for navigation in the car (clear view of the sky thru the windshield), it gets a lock, then a minute later loses the lock and won't find it again no matter how long I leave it open. If I have time at a red light, I can exit Nav go into GPS Status, reset A-Data, re-download then re-launch Nav and it will lock again immediately, but again lose lock a few mins later.
No problem in my stock nandroid backup or a Sense ROM like MikShift. Only happening with CM7 - been happening since my first install of nightly 90-something, still happening up through 224.
I've tried the GPSCLRX fix, as well as the updated GPS driver for Speedy.
I'll try this, but wondering if anyone has seen a positive affect already.
Click to expand...
Click to collapse
I had this problem before and what fixed it was a full wipe + fresh install of CM7.1 nightly. Since then most I've had happen is I lost my fix while passing through NYC to CT going under all the underpasses and the GWB, but got an instant lock again once I was in the open. And yes I'm using the new radio.
Ron Overdrive said:
I had this problem before and what fixed it was a full wipe + fresh install of CM7.1 nightly. Since then most I've had happen is I lost my fix while passing through NYC to CT going under all the underpasses and the GWB, but got an instant lock again once I was in the open. And yes I'm using the new radio.
Click to expand...
Click to collapse
Yep I had lots of GPS issues myself and then it started working great after I wiped and reflashed my phone. I'll be trying your tips as well.
Took me a while to find it again so before people start giving me credit for the findings here's the thread I got my gps.conf script from: http://forum.xda-developers.com/showthread.php?t=1239713
Ron Overdrive said:
Took me a while to find it again so before people start giving me credit for the findings here's the thread I got my gps.conf script from: http://forum.xda-developers.com/showthread.php?t=1239713
Click to expand...
Click to collapse
Decided to try the fix on the thread you posted. My GPS works great, but I just wanted to see if this would improve it. It definately did, my GPS now locks within 8 seconds or less .
prboy1969 said:
Decided to try the fix on the thread you posted. My GPS works great, but I just wanted to see if this would improve it. It definately did, my GPS now locks within 8 seconds or less .
Click to expand...
Click to collapse
how the GPSLock performance indoors
if using a script that
Once you follow all te steps, even inside it locks fairly quickly. Under 20seconds for me.
Unfortunately my shift also had poor gps performance and was never curable no matter what rom I used, some if them made it worse. Other than that it was always a great phone.
Sent from my MB855 using XDA App
My GPS lock, and performance were always ok. But after doing this it was great. I regularly get GPS Lock in under 29 seconds
TEAM MiK
Mik Roms Since 3/13/11

[Q] GPS: lots of sats in sight, none connected.

I've played Ingress for several months. One thing I do daily is recharging 20~30 portals during my commute by bus -- open Ingress after getting on a bus, waiting for the GPS to get fix, and collect XMs and recharge.
However, in the recent one or two months, my phone's not able to get me GPS fix near my home -- even on a square. GPS status shows many sats in yellow, but none becomes green. Rebooting the phone doesn't solve it.
When I get to another place, two or three kms from my home, my phone still can't get fix. What's strange is, if I reboot my phone there, and try GPS again, it usually gets instant fix.
Also, I can always get instant fix anywhere near my working place.
I have two questions:
1. Which of the software parts affects GPS performance? I switched among multiple ROMs during these months, but I should be always on cloudyfa's KK baseband.
2. Anyone else has encountered the situation that you stand on a square on a not-so-cloudy day, with no high building around, 24 sats in sight, but your phone just can't connect to any? Has anyone solved it? How?
Try using faster fix app and change the ntp to your location and see if that helps
danial.aw said:
Try using faster fix app and change the ntp to your location and see if that helps
Click to expand...
Click to collapse
Thanks. That didn't make any difference.
coolcfan said:
Thanks. That didn't make any difference.
Click to expand...
Click to collapse
Download GPS Test from the Play Store, go to the app settings and press Update A-GPS while your data connection is on. Wait a few moments and the app should lock on to GPS satellites. You should be good to go from there.
robogo1982 said:
Download GPS Test from the Play Store, go to the app settings and press Update A-GPS while your data connection is on. Wait a few moments and the app should lock on to GPS satellites. You should be good to go from there.
Click to expand...
Click to collapse
GPS Status from play store also has that A-GPS downloading feature, and that's not helping me either.
If not changed nothing in software that can cause bad reception (build prop edit, rom, ...) try something hardware
Réparer en 5 minutes le GPS LG g2: http://youtu.be/UdDJqFxpRy8
siggey said:
If not changed nothing in software that can cause bad reception (build prop edit, rom, ...) try something hardware
Réparer en 5 minutes le GPS LG g2: http://youtu.be/UdDJqFxpRy8
Click to expand...
Click to collapse
Thank you! Good video. I will try it after having tried all software ways.
Which properties in build.prop affects GPS performance? I'd like to check them first.
Also, try TopNTP app before opening up the phone.
I've been through a few smartphones and running various ROMs on each, here's my observation.
a. If the phone's gps takes long time but eventually locked then those apps mentioned above do help.
b. If the phone's gps take long time and never locked then those apps above are useless, they won't do a thing.
My advice 1: restart the phone and see the gps gets locked reasonable fast, if not
My advice 2: changing ROM. Do focus on firmware first before touching hardware.
Long time means 15' or more.

Categories

Resources