yashsingh1/xdaforums huggingface dataset:
[HTC Inspire 4G] crypted:
I think everything you covered above is part of my Notes section including notoriously GPS-screwed CM information. ;)

There are other ROMs with the same issue as CM with GPS not working or taking forever, but I've seen it in tablets mainly.

My xtra.bin will last 7 days as that's what it's meant for.
[HTC Inspire 4G] ClearD:
Agreed on all of that, angel and crypted. :) I have been reading similar reports about cm7 nightlies being really bad with gps, but it appears they've stopped production until cm9 begins testing soon. Maybe it'll have a better gps... I can only hope lol
[HTC Inspire 4G] macr0t0r:
So...slight change of subject:

I downloaded the "Ulysse Gizmos 1.6.2" from the Google Market yesterday (cool utility that shows GPS status, compass, bubble level, magnetometer, etc). By default, it is set to "update A-GPS assistance data" upon starting the app. Since then, it seems like I need to start the Ulysse app prior to Google Maps to get the GPS to lock in a timely manner. The utility does not require root privileges, but is it possible that it overwrote something within your utility?

I've switched the Ulysse utility to update "manually," and now I'm going to re-flash the Google 3.1 patch and see if that returns things to normal. Otherwise, perhaps it's just the increased cloud cover.

I'm running version 1.2 of the TalonROM with Radio 12.56.60.25U_26.10.04.03_M and RIL 2.2.0018G. I'm located in California, USA.

Update: I reflashed your file, and now the GPS locks instantly. Hmmmm...something to keep in mind with those GPS utilities. I should tell the developer that the default to update the AGPS data should be set to manual.

- Jim
[HTC Inspire 4G] crypted:
Yeah, a lot of utilities hijack the GPS settings away from the default settings. My patch only updates the default settings to provide more accurate methods for acquiring positions. FasterFix has been the biggest reported annoyance so far...
[HTC Inspire 4G] Egrier:
I've been trying to use this and it always breaks my GPS. I've tried the google 3.1, worldwide 1.3 and the AT&T 3.1 ones and it makes it so I can't even track any says. Any ideas? I'm using Virtuous Affinity 1.48. The GPS.conf that comes with VA works but my error is way high. Like 65-80 meters and it takes a while to lock on.
[HTC Inspire 4G] crypted:
This patch will not cause those errors. Sounds ROM related. But first, tell me if you have a case on it? Do you have any other GPS tools/software installed? Have you read the Notes section such as the note about checking your build.prop to see if it needs the variable altered as Notes discuss?
[HTC Inspire 4G] Egrier:
Yeah, I have a case on it. It is a cheapo I got from Ebay. Like I said, I do get a gps lock and it does track sats when I don't install the gps tweak. I did do some build.prop tweaks. I did henrybravo's to be exact an scythe only GPS tools I have are GPS status, google maps and Navigon. No others.
[HTC Inspire 4G] crypted:
What about the build.prop tweak in my Notes section? Have you tried without the case? I'm asking you questions directly related to the Notes Section.

As I've said in a minimum of 40 posts, try without the case because most cases cover the GPS antenna on Inspire 4G's and DHD's creating HUGE problems with literal error ranges. I only use Seido cases (active or innocase) after testing 7 random brands bought off of Ebay thanks to donations.
[HTC Inspire 4G] Egrier:
Ok, I got my problem sorted out now. It was the build.prop tweak that I was missing. I changed the agps value to 1, flashed the google 3.1 zip and boom, it started working. Thanks for the help. And yes, the case is screwing up the accuracy. That doesn't make sense. What a design flaw! Now I guess every time I want to use my GPS, I have to take the case off. Smh
[HTC Inspire 4G] crypted:
Your GPS antenna is on the same square panel that the LED flash is on. Cut a hole in your case to expose a majority of that panel and you're golden.
[HTC Inspire 4G] Egrier:
That's what I ended up doing and now the error is down to 7 meters. Also, I get a fix within 10 seconds. :cool:
[HTC Inspire 4G] Crithian:
Samrle thing here. I'm running the beta ics and works beautifully. I've had it since last night and no issues so far. Great job.
[HTC Inspire 4G] crypted:
Glad ya'll are having success!
[HTC Inspire 4G] crypted:
First, I want to with everyone a very happy holiday season. I will be sporadic with my responses to any questions or comments here on the aGPS Patch threads for the next three to four weeks.

Things to think about if you're having an issue:

Read all of the Notes Section commentary. I wrote that because so many people continually have the same or similar issue that can be easily resolved.

Remember that any GPS tools from Android Market CAN and usually DO overwrite this patch. Therefore, don't use any. The only thing I recommend if you're wanting to get stats is GPS Status, as referenced hundreds of times by yours truly.

If your getting a weak signal: remove the phone from a case and try again. Try a different ROM as CM users and ROMs derived from CM tend to show problems because of faulty ROM compilation, not this patch. Ensure your build.prop has the right variables. Go outside, try again. Lastly, delete the SUPL server section from the bottom of the gps.conf and try without that. Some models with some ROMs have issues with SUPL...outside of my control.

Post and wait for someone to respond. I'll do my best to get on the forum off and on over the holidays.

So, let me give you a general update directed to those 3.x trunk users:

My server has automatically generated an xtra.bin file for your GPS excitement 3,980 times since September 26th when the first beta went online to test it out. :eek:

My server attempts to build a new version every 30 minutes. Depending on what it can decypher from other xtra.bin sources, it provides a totally fresh xtra.bin approximately every 1.2 hours.

My server has served up over 500,000 xtra.bin files to users like you on XDA since v3.1 was released.

My server continues to provide a reliable NTP pool to v3.x users by directing your phones to a handful of RELIABLE and FAST-RESPONDING NTP servers around the world. This ensures you can travel and not have to switch NTP pools.

If you're a DEV and this is used in your ROM, please notify me via private message with a link to your ROM thread. This helps me track issues and keep you up-to-date with any new versions. We both win there!

Finally, if you use v3.x you should remember this isn't free to me. As all of the information above notes "My server...", I foot the bill to keep supplying this data. It's useful as hell to you and to me. :D

Consider donating a little to help offset server costs

AND

to help expand provisioning should enough donations come in. You can donate via Paypal by clicking the donate button next to my username on this or any of my posts. Every little bit helps. If you can't, I understand that as well. :o

Again, thanks everyone. Don't forget to click the Thanks button on my posts should you enjoy what I've got to say...like those amazing numbers cited above for 3.x users.
[HTC Inspire 4G] SUPERSUPER23:
Thanx very very good job
[HTC Inspire 4G] P00t:
Ohh no wonder why my GPS had bad connection... My ntp pool was set to some other place and not north America. I hope its better now!"
[HTC Inspire 4G] crypted:
You mean before using the patch? My patch in v3.x has a custom pool with NTP servers around the world. But, those servers have great response time all around the world rather than some which only have good times locally that are a part of NTP.ORG.
[HTC Inspire 4G] crypted:
All threads have had an overhaul that was way overdue.

High points:

Note discussion of what the patch does and what it replaces.

Note confirming ICS support from various users.

Note section has gotten long, but covers most questions I am repeatedly asked.

A total of 9 officially supported new devices.

Download section reminds people to backup their settings. You only need to backup /system/etc/gps.conf and /system/etc/suplrootcert if you have one. But, I never had to revert!

As always, please don't forget to click Thanks if you use or like this patch -AND- don't forget to Rate the thread.

Donations

are always welcome.
[HTC Inspire 4G] crypted:
FYI: Method 1, the easiest of the methods for those unfamiliar with file managers or recovery, has been updated. Some people required that the script also mount the partition. I have added that line to all options available and updated the ZIP file. Thanks

enigmaamit

for confirming that the new PUSH script works.
[HTC Inspire 4G] xpurtwitness:
I'm curious if there is a difference in this GPS fix vs the one in InspireMod 0.5. I'm on ATT HTC Inspire 4G with MIUI.us 2.1.13, if that helps. ;-)
[HTC Inspire 4G] crypted:
All that MOD appears to do is "Configure GPS for North America" which I have proven to not matter and also to still create problems because of the large amount of unreliable connectivity from NTP servers and cellular data networks in the large DNS pools at NTP.ORG. I tried downloading it, but the link won't load.

That being said, if you read the Notes portion and other pieces of information about what this patch does, you'll see this offers quite a bit more. Heck, just compare the files in this patch with the files in the MOD you discuss assuming you have the MOD file.

Anyway, give this a try and see. I bet it'll be just fine.
[HTC Inspire 4G] Schmidty850:
Running MIUI and previously was unable to pick up any satellites at all. Flashed the Google one and instantly received 9 satellites in under 5 seconds. Absolutley FANTASTIC!!!!
[HTC Inspire 4G] crypted:
Thank you for your feedback. I'm glad this is working successfully on your phone and for the MIUI ROM as well!!!
[HTC Inspire 4G] WManzo123:
Thank you so much!!! I've been looking for a GPS fix for MIUI ROM and this did the trick! Much appreciated! I will be donating ;)
[HTC Inspire 4G] knightofthe9:
Is this compatible with cm7
[HTC Inspire 4G] crypted:
Three notes in the Notes Section discuss this. It has been known to work just fine, but some people do have issues especially with Nightly builds. For at least a couple of months last year, the nightlies were produced with aGPS and GPS disabled in its code at times.

So if this doesn't help, keep in mind the Notes section and the above statement before fully judging the patch. :D

Let us know!
[HTC Inspire 4G] xpurtwitness:
I'm going to start with the Google build, per your recommendation. However, I'm curious what the "added flavor" would be in the AT&T build.

Thank you!
[HTC Inspire 4G] crypted:
Those use SUPL variables and suplrootcerts found in stock ROM's from each provider and/or manufacturer. I don't see those as useful, though. Typically, the response is slower or not as accurate when using Network-based SUPL servers in my experience.
[HTC Inspire 4G] Jasoninaz:
Here is the data path.

http://www.robtex.com/dns/supl.google.com.html#graph

Its very important to understand the routing and how it can help people develop better applications and patches. If this helps you give thanks.
[HTC Inspire 4G] avekaria:
RE: Alternative GPS Fix

Hello Guys

I had same issues and I tried the solutions provided ( Thank you for all your work in the development section) but they did not work.

The solution to my issue was that the antenna contacts were worn out. It seems that the antenna are some sort of powder coated on the plastic. I followed the instructions in the reference.

I was not picking up any satellite.I carefully put some solder on the worn contacts (GPS antenna is the Flash light cover near camera) and assembled the phone and ran GPS test app, it pulled up 3 satellites in 4 seconds.

Take a glance at your GPS antenna contact.

Good luck and thank you all for your work.

Reference

I was not able to post outside link

so

Search "Desire HD gps antenna swap" by knglaser on youtube and follow the link on his video. Its a flicker album
[HTC Inspire 4G] crypted:
The Notes Section on my first post links to the thread containing the Youtube video as well for hardware issues.

A clear majority of problems are software-related. But you clearly had the hardware issue that some unfortunate people have.

I prefer to encourage the other tests and attempts to ensure it is NOT software before going on to the hardware issue, so that is why the hardware issue is at the end of the Notes.

Once you break a piece of hardware, you're done no matter what...
[HTC Inspire 4G] Jasoninaz:
I decided to do the Inspire 4 / Desire HD gps antenna swap (youtube). Sanded the connections

I've NEVER seen green on the GPS test until now. And before I found a good screenshot it was a solid green but now its light green for the signal bars and accuracy of 3ft which is shocking.

If you have the balls to do what I did then you will be very happy. Here is the proof
[HTC Inspire 4G] crypted:
I think your message got lost! :D
[HTC Inspire 4G] xpurtwitness:
I'm trying the patches out, one-by-one, starting with google, then google.alt, etc. I am getting absolutely no fix now! I am testing each with and without changing the build.prop setting to 1, as you mentioned *might* help.

So far, no dice. HTC Inspire 4G running MIUI.us 2.2.24 + Tiamat Kernel 1.1.5
[HTC Inspire 4G] crypted:
What was your situation beforehand?

Do you have a case on it?

Where are you located? What are your surroundings like?

Do you have a data connection?

Are you sure that the aGPS data is loading?

What app are you using to see if you have a fix?

Do you have other GPS apps installed? Ex: Fasterfix, etc.
[HTC Inspire 4G] lhinsz:
Worked absolutely perfectly for me!

I wish I could find my screenshots to post; my Inspire went from 0-1 satellites with no lock to 9-10 and a lock in just a few seconds even inside my house and with a case on!!

Great job!
[HTC Inspire 4G] kraze1994:
This worked like a charm, I could never ever get a solid GPS signal, now I lock on to a minimum of 9 satellites. I saw 11 satellites today!
[HTC Inspire 4G] Wulamoc:
There likely won't ever be a next time (while on the ground). He won the lottery and din't get a screen shot :(

A little background info..

Because of the way that the GPS constellation works it is pretty rare to have 11 sattelites in view at once... far less so for 12. And seeing 13 lock is about as common as getting struck by lightning.

This is why a lock of 7 to 9 sattelites pretty much tells you that your device is working to it's fullest capacity, and this is simply because that is all of the sattelittes that are in view.

The design is for there to be 10 sattelites in view at a time *however* most people have obstructions along the horizon... at least anywehre their phone is usable.

More channels won't give you more sattelites... just faster locks.
[HTC Inspire 4G] crypted:
Well, you could get 12+ should you be hitting the other geolocation satellites notably GLONASS. However, very few devices are using that "developing" constellation at this point even though a number of our hardware could support it.

When the satellite number is so high, just feel happy. You can make it much narrower by tweaking three settings in the gps.conf if you don't want boundary outlying satellites.

That is to say, the gps.conf is tweaked as such to be able to "see" with GPS sat's on the horizon if you are in the open. This DOES NOT mean that those sats are used for data purposes. The only way such sat's could be used is if their data was within the margin of error permitted in the configuration. That is unlikely.

But, going from 1-2 sats to 7-9 made me quite happy when I started doing this patch. My GPS has a purpose.
[HTC Inspire 4G] crypted:
Just a friendly notice that the thread has been updated.

There is a new build which I recommend. Before questioning or inquiring why I removed the use of SSL, review the NOTE on the matter. This has proven to be a faster operation by tests in various regions and numerous devices. ;)

Lastly, I added a section for asking questions. Review that before communicating here. It gets really old seeing that people refuse to read what I've worked hard to write especially when it usually answers the questions asked.

Don't forget to consider donating if you appreciate the work and find it useful. :D
[HTC Inspire 4G] :
Without your work i think all of us inspire users would still be carrying around a map. Thank you!
[HTC Inspire 4G] crypted:
Thanks for the kind words! I hope it continues to be useful. :)
[HTC Inspire 4G] cwhitney24:
Great work....wow! Great work indeed

I got your 10 char right here

Rocking bacon...ics style
[HTC Inspire 4G] wmg316:
Sorry for this question...I did read, but was unclear on this.

I see the changes made in the gps.conf file, but does "removing the use of SSL" mean no more SuplRootCert? Your other builds in the past always contained gps.conf and SuplRootCert. The new "Google Specific No-SSL v3.1" does not have the SuplRootCert included.

I used the recovery method of installation; your install script deleted my existing gps.conf and SuplRootCert...then installed the package (gps.conf only). So do I no longer have the SuplRootCert on my device...do I not need the SuplRootCert anymore?
[HTC Inspire 4G] crypted:
Correct, the SUPLROOTCERT was used as part of the SSL connection. I removed it in the NO-SSL build because it was just an added file which wouldn't be used at all. It used minimal space but you know how some people like to complain. :D
[HTC Inspire 4G] wmg316:
Can I ask another question?

I have seen gps.conf files with NTP server entries with one line:

NTP_SERVER=north-america.pool.ntp.org
​

and others with multiple lines:

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
​

Your NTP server line is:

NTP_SERVER=ntp.derekgordon.com
​

The gps.conf files with the multiple entries: are the multiple entries there in the event the 1st server is unavailable, then the second listed will be used, and so on? And if that is the case, would it be beneficial to add the "local" NTP server lines to your gps.conf (not asking you to do this!!) just in the event your server went down?

Just asking for my understanding. :)
[HTC Inspire 4G] crypted:
I discussed this quite a bit before, but don't mind giving a brief narrative.

The NTP pool I provide is different than NTP servers. Every entry is a stratum 2 time server rather than relying on NTP.ORG. NTP.ORG is based on home-servers so to speak. None of these are relied upon servers by world entities as stratum's are. You may end up with a pool commitment from a cable modem with crap routing. Honestly, I have several NTP servers on cable modems at NTP.ORG and wouldn't want them used for my already strained phone's data network.

The NTP pool is a series of DNS entries. The DNS is operated on a primary server and a secondary server should the primary server not respond. These are not on the same machine and help ensure DNS redundancy should something go wrong on the primary server or its route temporarily. Finally, most DNS servers will cache your request for the DNS from that domain for a short time. So, lot's of security there.

Now assuming someone doesn't want to take the risk of less than 01% that the network could have a problem from my system, I provide an identical GPS configuration as 2.2 with 3.1. However, 2.2 uses NTP.ORG and Qualcomm servers which have both been proven time and again to have high latency and unreliable routing for our phone networks.

You can always keep a copy of v2.2 on your phone's sd-card in case of an issue but I can assure you that I do not intend to lose my domain which I've owned for a decade nor stop hosting data whatsoever. A person could always donate to help pay the bill if they really enjoy the added speed benefits... :p

EDIT: I removed the other extra repositories for redundancy because there has never been a failure and more recent ROM's have drivers that ignore these secondaries anyway.
[HTC Inspire 4G] dj sampson:
Thanks crypted! Running cm7.1 with lordmod kernel on inspire 4g. Ran it through cwm.... easy as pie. Pulled 8 satellites with an otterbox and inside a house. Had 0 satellites on lock before. Amazing patch!
[HTC Inspire 4G] gbeardmore:
I flashed the No-SSL on my Inspire 4G. I literally had 2 satellites in the first second and had 8-10 within 5-8 seconds. My accuracy is now 6-12', where it used to average 60+ feet most of the time.

Truly Amazing! Thank you!
[HTC Inspire 4G] maRRRco89:
i would ask to Crypted if this patch could work in the case of most 2011 Xperia phone, for the problem described here:

http://xdaforums.com/showthread.php?p=23789081#post23789081

Thanks
[HTC Inspire 4G] crypted:
Definitely 100% if there's a qualcomm chipset... If not, I have a test patch that helps other devices. Private message me and we can work through it.
[HTC Inspire 4G] delidogg:
Thanks for the good work guys,,,
[HTC Inspire 4G] maRRRco89:
are you sure?

the problem is different from the description you wrote in this discussion

there is a drop out every 5 minutes with data disabled

the bug en fact forces the system to download something, also if you don't have data enabled, and this results in a drop out

like the agps works also without data !!!!that's impossible :eek::eek::eek:

I don't want to use agps, but only gps chip without data, and xperia firmware now doesnt' allow it.

Yes, is a qualcomm.

but please, read my PM, we can speak better about there
[HTC Inspire 4G] lateral18:
the scripts works pretty good , before i used to get a 60 ft accuracy now i get it within 10 feet . but it takes like 2 mins to lock on .. im using the att build .

i was thinking , is it because i have script manager to run one of the function of the V6 supercharger script which is set up to drop the cache every 2 hrs . keeps the phone running smooth as hell , i never need to reboot . well does that affect the script in anyway? or is there something else i need to do ?

thanks for the great work
[HTC Inspire 4G] crypted:
Well gps caché is valid for 24 hours and is updated by gpsd upon expiration. If you can exempt it, do so. Otherwise you're tossing gps caché that's still valid.
[HTC Inspire 4G] d00mz:
Just wanted to say thanks again for all your hard work. I've now moved on to greener pastures (Samsung Galaxy Note), check out this GPS performance out of the box! I didn't even know there were that many satellites up there.
[HTC Inspire 4G] crypted:
There aren't that many gps satellites in your viewable area. Probably some glonass.
[HTC Inspire 4G] freedompc:
Very nice

Great script! I am experiencing accuracy now within 6-50 feet depending on city or rural areas. Currently running this on the AT&T build.

Running: [The Collective]Redemption v1.0-Alpha 4.0 (aka ICS on speed and steroids) on an HTC Inspire.
[HTC Inspire 4G] CYRAXDroid:
Thank for this patch
[HTC Inspire 4G] tonedinh:
Holy ****!!!

Holy Crap!!! I can lock on so fast now, thank you so much!! Before i had to wait a couple or few min. but now it does it in about 4 to 10 secs. Great job!!!!!! using HTC Inspire 4G:D
[HTC Inspire 4G] tonedinh:
Locks

Mod edit - no need to quote the whole first post!!

Forgot to say I get about average 7 to 9 Sat Locks on average!!
[HTC Inspire 4G] ghostryder12:
Sweet app. Thanks. Downloaded and went from 1-2 to 6-12. And I'm sitting in an apartment complex with several buildings all around me. Lock on less than 5 seconds!!!!!!!
[HTC Inspire 4G] BeGrateful:
Really ... the whole first post?!?
[HTC Inspire 4G] CYRAXDroid:
Ok I had this work for me with the same Rom that I was using I did flash the 3.1 for at t and I just the other did I had re flash the Rom same one and I flash the same patch for at t now its taking over 30 mins to look on I'm using the endomondo app it's not locking on I clear cache from app and boot into recovery
[HTC Inspire 4G] crypted:
Consider uninstalling new apps until you get to the bottom of it, then, since as you say all else is the same and it worked. The patch won't magically stop. Something is prohibiting its functionality.