(Q) Interesting GPS Problem - HTC Inspire 4G

Using:
AT&T's updated radio (see sig).
Corresponding RIL.
AngelDeath's Northeast v1.2.
GPS Status app with WiFi to download the AGPS data.
Problem:
GPS locks on fine the first time (within 10 meter accuracy in under 20 seconds) but after locking on, it becomes very inaccurate (200+ meter accuracy), and eventually loses all signal (shows no location). GPS status app shows I still have lock on with the satellites however... and it's usually more than 7 satellites.
Any guesses on what's going on and how I can fix this?
*EDIT* Yes, I am in the northeast (NY).

I was having the same issue as you on CM7 till last night. I'm not sure if the new radio and ril corrected it trying a "workaround" that was discovered to get GPS workng on the Aria.
The procedure is as follows:
Nandroid your current setup.
DL and flash any sense rom(I used CoreDroid V6), don't bother w/ the whole setup process just get it up to where you can use maps. Once there, open maps and get a lock. I also did the same w/ GPS Status after flashing the script by Angel Death as well as the ril for the newest ATT radio.
After the lock is obtained, boot to CWM via ROM Manager and restore your previous setup that you made earlier. I chose to make a nandroid of CD V6 at this time too as a safety net.
Once the restore is finished, I reflashed the ril and script after the first boot from the restore process. After flashing those two items, my GPS is rock solid and accurate to 3 meters via GPS Status and generally locks in about 5-7 seconds.
YMMV but it certainly won't hurt to try. If it does, it'll confirm my suspicion of which part(Radio-ril combo or rom flashing) fixed the issue. I suspect that since you're using the latest radio-ril that it's the latter.
Lemme know,
Tx

Tx Redneck said:
I was having the same issue as you on CM7 till last night. I'm not sure if the new radio and ril corrected it trying a "workaround" that was discovered to get GPS workng on the Aria.
The procedure is as follows:
Nandroid your current setup.
DL and flash any sense rom(I used CoreDroid V6), don't bother w/ the whole setup process just get it up to where you can use maps. Once there, open maps and get a lock. I also did the same w/ GPS Status after flashing the script by Angel Death as well as the ril for the newest ATT radio.
After the lock is obtained, boot to CWM via ROM Manager and restore your previous setup that you made earlier. I chose to make a nandroid of CD V6 at this time too as a safety net.
Once the restore is finished, I reflashed the ril and script after the first boot from the restore process. After flashing those two items, my GPS is rock solid and accurate to 3 meters via GPS Status and generally locks in about 5-7 seconds.
YMMV but it certainly won't hurt to try. If it does, it'll confirm my suspicion of which part(Radio-ril combo or rom flashing) fixed the issue. I suspect that since you're using the latest radio-ril that it's the latter.
Lemme know,
Tx
Click to expand...
Click to collapse
Based on my experience, radio-ril combo is the most likely, with a little ntp settings thrown in as well.

That's what was required to get GPS on the aria.

Log:
Full backup of my current ROM
Downloaded Inspired Ace 1.0.1 Full with no addons via ROM Manager
Installed Inspired Ace 1.0.1 Full via ROM Manager, with wipe data, cache, and dalvik cache options selected
Connected to WiFi, and downloaded GPS Status
5+ minutes later, not a single satellite is showing on the scan, let alone locking to one...
. . .?

Printerscape said:
Log:
Full backup of my current ROM
Downloaded Inspired Ace 1.0.1 Full with no addons via ROM Manager
Installed Inspired Ace 1.0.1 Full via ROM Manager, with wipe data, cache, and dalvik cache options selected
Connected to WiFi, and downloaded GPS Status
5+ minutes later, not a single satellite is showing on the scan, let alone locking to one...
. . .?
Click to expand...
Click to collapse
Do a full wipe in ClockworkMod, not ROM Manager. Format system, data, cache, and dalvik that way.

id10terrordfw said:
Do a full wipe in ClockworkMod, not ROM Manager. Format system, data, cache, and dalvik that way.
Click to expand...
Click to collapse
Log:
Boot into ClockworkMod Recovery
Wipe data/factory reset, wipe cache partition, advanced->wipe Dalvik cache, reboot into ClockworkMod Recovery again (why not)
Install zip from SDCard->Inspired Ace v1.0.1->Reboot
Connected to WiFi, and downloaded GPS Status
5+ minutes later, not a single satellite is showing again on the scan...
=(
Should I try the default stock AT&T radio, and not the updated AT&T radio?

Are you indoors or outdoors?
Sent from my Inspire 4G using XDA Premium App

id10terrordfw said:
Are you indoors or outdoors?
Click to expand...
Click to collapse
I'm indoor, but leave the phone outdoor at the balcony for ~5 minutes, and check back to see if it's locked on.
The fact that it's not even seeing one satellite... wth?
*EDIT*
I re-flashed the AT&T's updated radio, and re-flashed the corresponding RIL (basically followed these directions), unto the freshly installed Inspired Ace.
Going to try to leave the GPS Status app on and leave it for ~5 minutes outdoors.

Printerscape said:
I'm indoor, but leave the phone outdoor at the balcony for ~5 minutes, and check back to see if it's locked on.
The fact that it's not even seeing one satellite... wth?
Click to expand...
Click to collapse
Go all the way outside with an unobstructed view of the sky. Sometimes it can take quite a while for first lock, even first satellite acquisition. I've personally seen over 300 seconds. Also, download fasterfix from the market and change your time pool to north america. It may be set to asia by default.
If not, i know of one other step to take. Install attn1's 1.84 Froyo ROM and see what happens.

id10terrordfw said:
Go all the way outside with an unobstructed view of the sky. Sometimes it can take quite a while for first lock, even first satellite acquisition. I've personally seen over 300 seconds. Also, download fasterfix from the market and change your time pool to north america. It may be set to asia by default.
If not, i know of one other step to take. Install attn1's 1.84 Froyo ROM and see what happens.
Click to expand...
Click to collapse
Sigh, this time I waited like 10 minutes (I did install fasterfix after you mentioned it), and I came back to 0/0 fix/satellites :/.
Going to just restore my backup, and do a flash of the radio and RIL (like it stated in that post I linked), and just hope for the best...

Related

[TEMP][FIX] Potential GPS fix Froyo. 12/02/10

So after reading around and trying things and discovering that LbsTestMode.apk doesnt exist for our phone, I just editted the file directly.
So without futher ado follow the below steps to see if it fixes YOUR gps.
MOST of the credit for this goes to the guys in the captivate and vibrant forums.
1. Copy the following into a file named secgps.conf
Code:
#Generated by GpsLocationProvider.
#Thu Dec 02 13:09:21 EST 2010
SSL=1
SSL_TYPE=0
POSITION_MODE=7
OPERATION_TEST_MODE=0
ACCURACY=50
SESSION_TYPE=1
SERVER_MODE=0
ENABLE_NMEA=false
START_MODE=HOT
GPS_LOGGING=0
AGPS_MODE=0
DYNAMIC_ACCURACY=1
ADDRESS_MODE=1
TIME_BTW_FIX=2000
OPERATION_MODE=MSBASED
USE_DEFAULT=true
DYNAMIC_ACCURACY_VALUE=50
SUPL_PORT=7276
ENABLE_XTRA=true
SUPL_HOST=supl.google.com
NUM_OF_FIX=999999999
TIMEOUT=3600
2. adb push secgps.conf /sdcard/secgps.conf
3. adb shell
4. su
5. remount rw
6. cat /sdcard/secgps.conf > /data/gps/secgps.conf
or copy it with root explorer of esfile explorer
7. reboot
Secondary fix to help speed up gps locks.
Code:
Use Root Explorer or some other method (I use Root Explorer as it has a built in Text Editor and automatically backs up the altered file.) to go to here:
system/etc/gps.conf
Use the text editor to alter the gps.conf file to this (if you are in the US):
NTP_SERVER=us.pool.ntp.org
XTRA_SERVER_1=north-america.pool.ntp.org
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
Now go to some place you should normally get a gps signal and launch maps.
this should correct it.
Couple of notes, this file appears to be dynamically generated, so if we can someone get a LbsTestMode.apk that works with the epic, or a script to copy the file over cron based through to make sure the settings stick that would be best.
if your gps stops working as it did after the fix, simply copy it back to /data/gps/ and reboot.
This is entirely a beta attempt and may not correct anything..
this is also for ADVANCED people, do not bother posting if you dont understand how and what you're doing above as we're not here to hold hands we're here for a solution.
art3mis-nyc said:
So after reading around and trying things and discovering that LbsTestMode.apk doesnt exist for our phone, I just editted the file directly.
So without futher ado follow the below steps to see if it fixes YOUR gps.
MOST of the credit for this goes to the guys in the captivate and vibrant forums.
1. Copy the following into a file named secgps.conf
Code:
#Generated by GpsLocationProvider.
#Thu Dec 02 13:09:21 EST 2010
SSL=1
SSL_TYPE=0
POSITION_MODE=7
OPERATION_TEST_MODE=0
ACCURACY=50
SESSION_TYPE=1
SERVER_MODE=0
ENABLE_NMEA=false
START_MODE=HOT
GPS_LOGGING=0
AGPS_MODE=0
DYNAMIC_ACCURACY=1
ADDRESS_MODE=1
TIME_BTW_FIX=2000
OPERATION_MODE=MSBASED
USE_DEFAULT=true
DYNAMIC_ACCURACY_VALUE=50
SUPL_PORT=7276
ENABLE_XTRA=true
SUPL_HOST=supl.google.com
NUM_OF_FIX=999999999
TIMEOUT=3600
2. adb push secgps.conf /sdcard/secgps.conf
3. adb shell
4. su
5. remount rw
6. cat /sdcard/secgps.conf > /data/gps/secgps.conf
or copy it with root explorer of esfile explorer
7. reboot
Secondary fix to help speed up gps locks.
Code:
Use Root Explorer or some other method (I use Root Explorer as it has a built in Text Editor and automatically backs up the altered file.) to go to here:
system/etc/gps.conf
Use the text editor to alter the gps.conf file to this (if you are in the US):
NTP_SERVER=us.pool.ntp.org
XTRA_SERVER_1=north-america.pool.ntp.org
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
Now go to some place you should normally get a gps signal and launch maps.
this should correct it.
Couple of notes, this file appears to be dynamically generated, so if we can someone get a LbsTestMode.apk that works with the epic, or a script to copy the file over cron based through to make sure the settings stick that would be best.
if your gps stops working as it did after the fix, simply copy it back to /data/gps/ and reboot.
This is entirely a beta attempt and may not correct anything..
this is also for ADVANCED people, do not bother posting if you dont understand how and what you're doing above as we're not here to hold hands we're here for a solution.
Click to expand...
Click to collapse
Lol... i'll hold ur hand. Plus it seems that the GPS locks faster now. but like u said it's temporary
I was playing around with this at work yesterday (also saw this on the captivate forum), but didn't have time to give it a test last night.
Here is a reference for more info on the captivate discussion http://forum.xda-developers.com/showthread.php?t=789383
Edit 20101203:
There are four major things going on in this fix, so lets talk about each one separately.
============================================================
1) Operation Mode - Switch to MSBASED
Standalone - The handset has no connection to the network, and uses only the GPS satellite signals it can currently receive to try and establish a location.
MS Based - The handset is connected to the network, and uses the GPS signals and a location signal from the network.
============================================================
2) Switching from WARM to HOT
Should make getting a fix faster provided you have cache money.
##GPSCLRX# if you aren't feeling as fresh as you would like to be
============================================================
3) SUPL server change for SUPL
Broadcom's Hosted Secure User Plane Location (SUPL) Location Platform (SLP) offers Mobile Network Operators (MNO) and service providers all the functionality of the most precise wireless location technologies including Assisted GPS (AGPS) without the need to make investments in Location Based Services (LBS) infrastructure.
SUPL is the emerging standard developed by the Open Mobile Alliance (OMA) for AGPS using existing IP networks as the underlying data bearer. SUPL lends itself very well to a hosted
solution where the vendor takes responsibility for providing a specified quality of service, assured by Service Level Agreement.
Doing a quick pingarooski, the google SUPL servers seem to be faster
============================================================
4) Time server
Do-whatcha-like but if you are in the US, the pool us.pool.ntp.org is probably going to be the fastest. But hey be my guest. If you want to run a time server from your phone you could always put in localhost.
How did you switch from hot to cold start? The old dialer code doesn't work in froyo.
Is this file erased with #gpsclrx## dialercode?
Hi, I have a broken GPS. Im running the Froyo Stock(ish) ODIN Tar that has the built in root and clockwork.
I was running 2.1 Epic Experience before and GPS worked fine. I wiped my data and cache and then used ODIN to flash the DK17 Froyo.
My GPS has not worked and I have not gone back to other roms just to perform a workaround.
I did try as you suggested with the secgps.conf file but it still will not give me a lock.
Thanks for all your efforts on this.. I really want GPS working
Brian
Gps would not work at all, before.
This fixes it for me.
For those wondering, it didn't work until I did both fixes. do both fixes...
Sent from my SPH-D700 using XDA App
brian_hoffman said:
Hi, I have a broken GPS. Im running the Froyo Stock(ish) ODIN Tar that has the built in root and clockwork.
I was running 2.1 Epic Experience before and GPS worked fine. I wiped my data and cache and then used ODIN to flash the DK17 Froyo.
My GPS has not worked and I have not gone back to other roms just to perform a workaround.
I did try as you suggested with the secgps.conf file but it still will not give me a lock.
Thanks for all your efforts on this.. I really want GPS working
Brian
Click to expand...
Click to collapse
I had this issue. I put on stock..got a gps fix. the applied a froyo ROM Quantum over my stock..got another GPS fix. THEN I wiped the froyo ROM.
All good now. I use ##GPSCLRX# to reset the GPS if it's taking to long too lock. I get lock in about 10 seconds now. 9 satellites and more.
ZenInsight said:
I had this issue. I put on stock..got a gps fix. the applied a froyo ROM Quantum over my stock..got another GPS fix. THEN I wiped the froyo ROM.
All good now. I use ##GPSCLRX# to reset the GPS if it's taking to long too lock. I get lock in about 10 seconds now. 9 satellites and more.
Click to expand...
Click to collapse
I'm hesitant to format my phone.. I just got it up and going and customized and synced. Not that its THAT big of a pain..
I guess I just hoped I could run this build till the official froyo comes out without re-doing everything.
On a side note, I did try both the above fixes as it was mentioned that it worked for someone else.
I also tried your ##GPSCLRX# to clear my GPS.. But it didn't work.
At this point it may be best to start over again.
I tried downloading some GPS test app, flashing some update.zip (gps Fix) from a different thread, manually changing the files mentioned here and clearing my GPS from the dialer code.
I'm feeling defeated, I'm not sure why we need to lock in a from a different modem. I'm guessing it generates some file? that sticks on a system upgrade?
I really hope this gets resolved the right way.
My GPS was working wonderfully using Mammon's Froyo 1.0.3 (I went through a bit of a process inspired by the first Froyo GPS fix post, involving flashing to DI18 and getting a lock before flashing Froyo)
Then today the nav program started to lose the GPS signal (going back to maps or toggling the GPS off and on seemed to get the signal back, but it was still flaky). I tried parts of this mod (I left start mode on warm and operating mode on standalone, going to experiment with each setting one at a time to look for any noticeable changes)
So the only thing I changed so far is the uml server and port, and while I am getting roughly the same performance as before the change, now my position is off - it used to be almost spot-on when reporting anything lower than 4m accuracy, but now it claims 1m and is still a good 15 feet (roughly 4 - 5m) north east of my actual position. It's still plenty accurate enough for navigation, so this is simply an observation - the google server appears to be slightly off, whether it's an (admittedly tiny) location error, or the maps aren't quite in sync with the GPS data on the server (I don't know much at all about how GPS works, so if anyone can explain the uml's role in the locating process, or anything else about how GPS works under the hood, please enlighten us)
That being said, I do think that I'm getting a lock ever so slightly quicker, but I was already getting a fairly rapid lock pre-mod so it's hard to be certain.
fastmikey1969 said:
How did you switch from hot to cold start? The old dialer code doesn't work in froyo.
Is this file erased with #gpsclrx## dialercode?
Click to expand...
Click to collapse
there is no dialer code(or associated program) in froyo on the epic for some reason hence the need to automate a cron to replace this file once it's been editted.
you can switch it just by editing the file directly and changing but im still not sure under what circumstance s the file gets regenerated dynamically.
brian_hoffman said:
I'm hesitant to format my phone.. I just got it up and going and customized and synced. Not that its THAT big of a pain..
I guess I just hoped I could run this build till the official froyo comes out without re-doing everything.
On a side note, I did try both the above fixes as it was mentioned that it worked for someone else.
I also tried your ##GPSCLRX# to clear my GPS.. But it didn't work.
At this point it may be best to start over again.
I tried downloading some GPS test app, flashing some update.zip (gps Fix) from a different thread, manually changing the files mentioned here and clearing my GPS from the dialer code.
I'm feeling defeated, I'm not sure why we need to lock in a from a different modem. I'm guessing it generates some file? that sticks on a system upgrade?
I really hope this gets resolved the right way.
Click to expand...
Click to collapse
no real reason to format the phone, give the above settings a try thoruhg whatever file explorer you use and see how it works.
if nothing else it may work for a few hours
The "gps fix" post by BThomas22 does some of this (modifies the /system/etc/gps.conf). I'm curious about "secgps.conf" as it doesn't exist on the filesystem at all typically, and there's already a "gps.conf" with those settings in it. Are you sure that tool didn't just do backups to a secgps.conf or something? Are we sure this file is actually read?
This also seems more likely to help with slow locks and cache issues some people are facing, but is almost certainly not the solution to the no GPS at all issue some people are having after flashing a froyo modem.
http://forum.xda-developers.com/showthread.php?t=839710 has an inexplicably working solution (verified by several people including myself) for at least some of the people who get no lock ever. If you're on a froyo modem, install "GPS Status" or "GPS Test" from the market and if you don't get any sats in view, you'll likely be fixed by those steps.
I haven't had the cache/slow issue, so I can't speak to whether this helps that or not, but the AGPS parts seem as though they would.
drunix said:
The "gps fix" post by BThomas22 does some of this (modifies the /system/etc/gps.conf). I'm curious about "secgps.conf" as it doesn't exist on the filesystem at all typically, and there's already a "gps.conf" with those settings in it. Are you sure that tool didn't just do backups to a secgps.conf or something? Are we sure this file is actually read?
Click to expand...
Click to collapse
Nope not at all.
This also seems more likely to help with slow locks and cache issues some people are facing, but is almost certainly not the solution to the no GPS at all issue some people are having after flashing a froyo modem.
http://forum.xda-developers.com/showthread.php?t=839710 has an inexplicably working solution (verified by several people including myself) for at least some of the people who get no lock ever. If you're on a froyo modem, install "GPS Status" or "GPS Test" from the market and if you don't get any sats in view, you'll likely be fixed by those steps.
Click to expand...
Click to collapse
That method has also not worked for a lot of people as well, so it's rather hard to say. I suspect that the only reason the modem flash "works" is because it caches data that the dk17 modem then reads as far as sat position and other things to basically give directions without actually "locking". No sats in view could also mean you just dont have a good line of site either(happens to me at work until i move near a window)
I haven't had the cache/slow issue, so I can't speak to whether this helps that or not, but the AGPS parts seem as though they would.
Click to expand...
Click to collapse
And the ntp part is meant to speed up caching and lock but the rest of it is more to configure it correctly.
I don't have the gps problem at all so couldnt say for sure.
PS: did you try this on your phone completely without other gps "fixes" or did you just come in to post a rather meaningless post about a bunch of stuff we're already aware of and attempting to dealing with, and not offer any solution or any new information or even just results?
brian_hoffman said:
I'm hesitant to format my phone.. I just got it up and going and customized and synced. Not that its THAT big of a pain..
I guess I just hoped I could run this build till the official froyo comes out without re-doing everything.
On a side note, I did try both the above fixes as it was mentioned that it worked for someone else.
I also tried your ##GPSCLRX# to clear my GPS.. But it didn't work.
At this point it may be best to start over again.
I tried downloading some GPS test app, flashing some update.zip (gps Fix) from a different thread, manually changing the files mentioned here and clearing my GPS from the dialer code.
I'm feeling defeated, I'm not sure why we need to lock in a from a different modem. I'm guessing it generates some file? that sticks on a system upgrade?
I really hope this gets resolved the right way.
Click to expand...
Click to collapse
I had the same/similar issue with GPS not working at all. Sound 0 satellites. Tried all of the stuff, but the only thing that I found to fix it was to redo the ODIN flash of froyo. I hope that helps.
ZenInsight said:
I had this issue. I put on stock..got a gps fix. the applied a froyo ROM Quantum over my stock..got another GPS fix. THEN I wiped the froyo ROM.
All good now. I use ##GPSCLRX# to reset the GPS if it's taking to long too lock. I get lock in about 10 seconds now. 9 satellites and more.
Click to expand...
Click to collapse
I get a good lock as well(most of the time). How do you see how many satellites are locking? I get accuracy reading of 8ft but nowhere does it state how many satellites...
1deviant said:
I get a good lock as well(most of the time). How do you see how many satellites are locking? I get accuracy reading of 8ft but nowhere does it state how many satellites...
Click to expand...
Click to collapse
get the app GPS Status, that will show ya all the infos
art3mis-nyc said:
The "gps fix" post by BThomas22 does some of this (modifies the /system/etc/gps.conf). I'm curious about "secgps.conf" as it doesn't exist on the filesystem at all typically, and there's already a "gps.conf" with those settings in it. Are you sure that tool didn't just do backups to a secgps.conf or something? Are we sure this file is actually read?
Nope not at all.
Click to expand...
Click to collapse
If you delete secgps.conf and reboot, the file is regenerated. This would seem to indicate that it is being used, as it is recreated upon reboot if it is missing. If it exists, it isn't overwritten however.
Also, gps.conf does not have the same settings as secgps.conf.
plapczyn said:
If you delete secgps.conf and reboot, the file is regenerated. This would seem to indicate that it is being used, as it is recreated upon reboot if it is missing. If it exists, it isn't overwritten however.
Also, gps.conf does not have the same settings as secgps.conf.
Click to expand...
Click to collapse
Phil, you're very smart! Thanks for the info!
chillaxtodamax said:
Phil, you're very smart! Thanks for the info!
Click to expand...
Click to collapse
Thanks Yuhan. I was waiting all semester for you to tell me that.
plapczyn said:
Thanks Yuhan. I was waiting all semester for you to tell me that.
Click to expand...
Click to collapse
No problem. See you in homeroom on Monday!

Heinz 57 GPS Problems?

I recently installed the latest version of Heinz 57 on my mesmerize.
Here is an order of what i did.
1) "EC10_Root_recovery.tar.md5" flashed to device
2) "update.zip" applied to blue cwm (and "cwm-recovery-ALL.zip" applied to boot in red rather than blue and apply the update.zip every time)
3) "Mesmerize_EC10_PnP_0.5.zip" installed via red cwm (you need this before heinz, so i read/found out the hard way)
4) "Heinz_57.Hybrid_v4_30_11_OTB.zip" applied to device.
5) attached USCC apps and a few others from the PnP addons
Everything works great, EXCEPT the GPS.
I tried re-flashing and reinstalling all the zips, but the GPS just never really finds my location.
Symptoms:
a. My Foursquare widget on the desktop is useless and says "No Location Info. Click to Locate".
b. My latitude updated once, but refuses to update again.
c. I downloaded "GPS Status" to try and diagnose the problem. Rather than have little green satellites with numbers next to them, i have one large-ish brown circle and one hollow green circle. At the bottom of the screen, the GPS is constantly rotating (thinking) trying to get a lock, but nothing happens. I tried using GPS Status to reset the GPS data, but nothing happened.
Can anyone help me??
Thanks in advance!
-Wombatant
Wombatant said:
I recently installed the latest version of Heinz 57 on my mesmerize.
Here is an order of what i did.
1) "EC10_Root_recovery.tar.md5" flashed to device
2) "update.zip" applied to blue cwm (and "cwm-recovery-ALL.zip" applied to boot in red rather than blue and apply the update.zip every time)
3) "Mesmerize_EC10_PnP_0.5.zip" installed via red cwm (you need this before heinz, so i read/found out the hard way)
4) "Heinz_57.Hybrid_v4_30_11_OTB.zip" applied to device.
5) attached USCC apps and a few others from the PnP addons
Everything works great, EXCEPT the GPS.
I tried re-flashing and reinstalling all the zips, but the GPS just never really finds my location.
Symptoms:
a. My Foursquare widget on the desktop is useless and says "No Location Info. Click to Locate".
b. My latitude updated once, but refuses to update again.
c. I downloaded "GPS Status" to try and diagnose the problem. Rather than have little green satellites with numbers next to them, i have one large-ish brown circle and one hollow green circle. At the bottom of the screen, the GPS is constantly rotating (thinking) trying to get a lock, but nothing happens. I tried using GPS Status to reset the GPS data, but nothing happened.
Can anyone help me??
Thanks in advance!
-Wombatant
Click to expand...
Click to collapse
Turn gps and use wireless networks on in location and security. I locked on in a couple of seconds, 10 of 11 satellites. I wiped my phone completely and did a fresh install and it works perfectly fine.
I tried turning "use wireless networks" on and i rebooted after, but it did not solve anything. I try and log onto latitude and it says login failed, and GPS is continually blinking and will not give me a lock.
GPS status still shows 0 satellites.
Wombatant said:
I tried turning "use wireless networks" on and i rebooted after, but it did not solve anything. I try and log onto latitude and it says login failed, and GPS is continually blinking and will not give me a lock.
GPS status still shows 0 satellites.
Click to expand...
Click to collapse
are you outside?
I'm not sure that it clears any different from gps status, but if you go in to settings/tsm parts/dial code hidden menu/gpsclrx, then use the mentioned fix that seemed to do the trick for me quite well
jplaidlaw said:
I'm not sure that it clears any different from gps status, but if you go in to settings/tsm parts/dial code hidden menu/gpsclrx, then use the mentioned fix that seemed to do the trick for me quite well
Click to expand...
Click to collapse
I can confirm that this right here will fix it, at least it did for me. i am inside a metal building and it fixed onto my location right on the dot with no problems

[TIP] Have you tried MS Based aGPS to help gps lock?

The following seemed to have helped some people on my post on AF so figured I'd post it here as well.
If you're still having GPS issues in an area where you have data coverage, and you've tried changing the gps.conf and possibly updating your libraries as noted in other threads, have you tried changing your GPS settings to MS Based instead of the default of "Standalone"?
From wikipedia:
Mobile Station Based (MSB) - In MSB mode A-GPS operation, the A-GPS device receives ephemeris, reference location, reference time and other optional assistance data from the A-GPS server. With the help of the above data, the A-GPS device receives signals from the visible satellites and calculates the position.
You can do that by doing the following, as noted in my previous post:
My GPS was really taking a long time to lock. Usually 10 minutes or so using GPS Status before it would lock. I tried both just using gps only and then also with wireless network and it still took a long time. So I updated the lbstestmode.apk to use MS Based and the gps.conf file that was mentioned earlier and now I get a lock in GPS Status in about 8 seconds from a cold boot using only the GPS with no wireless network.
If anyone wants to try, I've attached a flashable zip. I took the zip posted by merkuralex earlier in the other gps thread (thanks merkuralex) and added the lbstestmode.apk posted in this SDX thread:
http://forum.sdx-developers.com/index.php?topic=13593.0
The following flashable zips are attached:
lbstestmode_mt_gps_conf.zip - contains the gps.conf file from the other thread + the lbstestmode.apk file.
lbstestmode.zip - contains only the lbstestmode.apk
I'll repost the instructions here (thanks to cornaljoe on sdx for the actual instructions):
Pre-1. Flash the one of the attached zips in CWM first to install the lbstestmode.apk (or just copy the lbstestmode.apk into /system/app/ if you'd rather) and then reboot your phone.
Follow these directions:
1. After boot create a shortcut to Activities -> LbsTestMode -> .LbsTestMode
You may have to install LauncherPro if your launcher doesn't support the activities option under shortcuts. Once installed all launchers will have this option.
My note: Just an FYI, LauncherPro can be downloaded from the Market for free if you don't already have it. Or any other app that allows you to create shortcuts (such as AnyCut I think can also do that)
2. Start LbsTestMode and goto the application settings and set it to MS Based and press back until you exit app.
3. Reboot phone and then use GPS Status under a clear sky until you get a lock.
The main thing to pay attention to is the numbers labeled Error(m) and Fix/Sat in the lower corners of the compass.
Error(m) is the accuracy of your location in meters which shows after you get a lock. Fix/Sat is the number of satellites locked and in view prospectively.
In GPS Status, you can do the following to force aGPS data to download:
3A. Click Menu --> Tools --> Manage A-GPS state --> Reset . This will clear all previous A-GPS data.
3B. Click Menu --> Tools --> Manage A-GPS state --> Download. This will download fresh A-GPS data.
3C. Let GPS Status lock. The first time will take longer as your gps/phone syncs the data.
After you get a lock, you can try powering down your phone and then restarting and see if your lock is faster from a cold start.
This may or may not help you. All I can say is that changing to MS Based helped my gps lock time--I usually have data access where I am.
I have done this, and it works perfect!
Cloudy and raining here today. I will definitely try it. Quick question though, you saying use either zip or use one before the other? I'm not really clear on this.
Also do You have to keep the short cut?
You need to apply the zip first (in CWM) or else you won't have the option to create the shortcut
Wich one, there's 2 zips? I've got it all installed and working. Even though its cloudy, I got instant lock on. I'll test it again tommarow when I go out of town. So far so good though.
Edit: indoors is about 10 sec lock on. Great find OP. Has anyone posted this over at hofo? Another question, will clearing data cache from apps hurt it any?
Sent from my MOTWX435KT using XDA App
Everything went great today. I left my phone off all night so it could get a solid cold start this morning. Its cloudy and rainy again today too. I hit the road this morning and fired the GPS up and it locked in about 15 seconds. Great job on this fix. Also since then it has been instant lock times when i try it.
Sent from my MOTWX435KT using XDA App
tcross8361 said:
Everything went great today. I left my phone off all night so it could get a solid cold start this morning. Its cloudy and rainy again today too. I hit the road this morning and fired the GPS up and it locked in about 15 seconds. Great job on this fix. Also since then it has been instant lock times when i try it.
Sent from my MOTWX435KT using XDA App
Click to expand...
Click to collapse
Which ZIP did you use? I used the lbstestmode_mt_gps_conf.zip
idbl_fanatic said:
Which ZIP did you use? I used the lbstestmode_mt_gps_conf.zip
Click to expand...
Click to collapse
Actually I installed them both...lol But that's the last one I used.
I did have a bit of a hiccup on my way home. After lunch I turned my phone off. When I got back on the road 3 hours later I turned it back on and started up Navigation. It took a minute or so on the first lock. I exited out of Navigation and waited 20 minutes or so. I started it up again and it took about 30 seconds. Every time after that it was instant lock. Still very impressed. It was very cloudy and rainy today though. I was getting 1.1 mb down and 500 kb up today also. I would post this over at HoFo for all the nay sayers, but I wouldn't be able to answer any technical questions if anyone had them.
This place is starting to remind me of Seatle, rain every day...lol. I guess Fall is here to stay.
You are wasting your time.
I have traced this code extensively. For those who are unaware the GPS works on RPCs, which are internally processed by the kernel and passed to the chipset.
The chipset on this phone does not know how to handle AGPS requests - XTRA requests to inject the time (NTP time) and the orbital data are flatly refused.
You can set whatever you want, the data will never get to the chip. The Froyo base load intentionally discards such attempts and never sends them. If you load Gingerbread (and build it from source, as I have) and FORCE it to be sent it will return an error every time.
The problem appears to be in the silicon and/or the radio driver itself, which there is no source for. If someone's going to fix this, it's going to be at the radio interface level - not in user space.
My CM7 port is capable of cramming the data in there but it's turned off right now as when I enable it there's a fairly decent chance that the consequence of trying to do so is that the radio locks up and forces a watchdog reset (that is, a reboot on the phone)

[Q] 2.2 vs 2.3 vs CM7/MIUI/AOSP (GPS Question)

From what i've noticed, and this could be due to the particular phone I have (G2x), the GPS on 2.2 locks on almost immediately.
2.3 takes a couple of seconds longer, and all other roms to include CM7 take a long time, if not at all! Sometimes, I have to restart my phone to 'refresh' the GPS. I have tried the GPS fix that was posted on the forums.
What could be going on?
gps
for me only miui had working gps, but i like cm7 too much to use miui. I tried updating baseband yesterday and couldnt get passed an error. Nothing is working! Ive been searching the threads, anyone got a gps fix that works for cm7?
I swear that I'm going to put this in my sig I say it so much.
1. Get the GPS Status and tool box app and install it
2. Run it and let it get the GPS aiding data then reboot
3. Launch GPS Status again and get a lock
4. Run your preferred GPS app.
Волк said:
I swear that I'm going to put this in my sig I say it so much.
1. Get the GPS Status and tool box app and install it
2. Run it and let it get the GPS aiding data then reboot
3. Launch GPS Status again and get a lock
4. Run your preferred GPS app.
Click to expand...
Click to collapse
I havent tried this, Ill do it and see if it helps...But I JUST did everything in this thread http://forum.xda-developers.com/showthread.php?t=1308297&highlight=gps ...and I can actually get a lock now in under 30 sec.
Give it a day or so. I did that when I first came here, thought it was great, then I started to have problems again. Then I saw someone mention rebooting and another about using GPS status, so i tried it and voila, I can now get consistent GPS locks.
rainynight88 said:
From what i've noticed, and this could be due to the particular phone I have (G2x), the GPS on 2.2 locks on almost immediately.
2.3 takes a couple of seconds longer, and all other roms to include CM7 take a long time, if not at all! Sometimes, I have to restart my phone to 'refresh' the GPS. I have tried the GPS fix that was posted on the forums.
What could be going on?
Click to expand...
Click to collapse
Same here, particular ROMs lock instantly for me with out any modification. Try Galnet stable from rootzwiki or SINGH MIUI.
P.S Posting your carrier and geography might help

GPS Issues fixed

I had terrible GPS reception even before I flashed NexusMod GB. However, I finally found a good fix for the gps to lock on to my location. Make sure you download the correct version. I downloaded the 2.x google and i also tried the 2.x att since i am on 2.3.6 and both worked great!
http://forum.xda-developers.com/showthread.php?t=1438129
Instructions that worked for me:
Method 3 (easiest if you use a compatible version of CWR or CWM)*:
1. Download the patch
2. Boot into CWR (Clockwork Recovery)
3. Mount /system/ partition (on the main menu, select the "Mounts and storage" option, then "mount /system")
4. Flash the patch (on the main menu, select "Install zip from sdcard," then "choose zip from sdcard," and find the zip and select it)
5. Reboot the device
6. Review the NOTES section.
*This was built for and works on Inspire 4G and DesireHD versions of Clockwork Recovery. The Google CWM Flashable Build has binaries known to work with CWM on the X8. It may work on other devices. Please message me your success if you try and flash with recovery version and phone model as part of the message.
Once it boot up I went to system>location and security> and disabled use wireless networks/use gps satellites/use sensor aiding. I then rebooted and enabled use gps satellites. I then opened google maps and my gps is now finding me faster and it actually gets close to me.
I patched this today because it seems to take at least 5 minutes to lock onto a location. This did not help unfortunately. I'm thinking I should do a fresh odin of the official ICS...I did an upgrade from UCLF5 through Kies. I guess I blame myself for forcing it to a probably untested scenario.
Lucid first try downloading gps status, clear agps and download the data again.
kishke said:
Lucid first try downloading gps status, clear agps and download the data again.
Click to expand...
Click to collapse
Thanks. After reading the forums and noticing that it wasn't a major issue for most, I realized the problem was mostly my device. Reading through the notes, I tried the battery removal for 30 seconds suggestion. I thought it had 1% chance of working, but after I did it, it actually started locking on instantly again. If this doesn't stick, then I'll try the clearing of agps. I think that probably sounded like it would have worked too.
Actually, just try turning off using network based location services when you plan using the GPS. I just leave if off unless I'm indoors and need a location fix.
I fought this for the last year and a half on my Atrix 4g, and the same thing when I got my SkyRocket last week.
Fire up GPS Status and Toolbox (Free, and a GREAT app! https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2&feature=search_result) and watch how long it takes to get a lock from a cold start of the GPS.
With the wireless based location services on, it can take 2 to 5 minutes for the phone to get a location. It shouldn't, but it does. But, with it off, I get a GPS location fix in under 10 seconds when outside.
WolfmanRobby said:
Actually, just try turning off using network based location services when you plan using the GPS. I just leave if off unless I'm indoors and need a location fix.
I fought this for the last year and a half on my Atrix 4g, and the same thing when I got my SkyRocket last week.
Fire up GPS Status and Toolbox (Free, and a GREAT app! https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2&feature=search_result) and watch how long it takes to get a lock from a cold start of the GPS.
With the wireless based location services on, it can take 2 to 5 minutes for the phone to get a location. It shouldn't, but it does. But, with it off, I get a GPS location fix in under 10 seconds when outside.
Click to expand...
Click to collapse
THIS. Had issues myself until I followed the above procedure.

Categories

Resources