AGPS Patch Iconia 3.1 & 2.2 | GET BACK TO RAPID GPS LOCK, CAN LOCK ONTO MORE SATS

Search This thread

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
That's really good news! I'm glad. I can't wait to test it tomorrow.

Now that we know *what* the problem is, it looks like the next task is to figure out *why* this file isn't getting downloaded. Maybe there is a setting in gps.conf or gpsconfig.xml which is responsible for instructing the unit to download this file.

We are still missing the extended ephemeris (CBEE) file, which could speed things up even faster. No idea where to get that.

I'll keep looking into it.

EDIT:

I just went outside and tested it, and yes, it appears to have been the problem. crypted, you may want to add this revelation to your long list of notes.

The next step is obviously to figure out why the file isn't being downloaded automatically, since it will have to be updated manually every 7 or so days.

Cheers, and goodnight.
-PW

The GPSD controls downloading of that file. There aren't parameters to set in the conf. The only thing I could think of for my Prime was to write a bash script to download it. I didn't try to figure out what Android supports via /usr/bin/ executables because mine downloads like it should.

Y'all need to railroad your ROM Dev's to resolve the lack of LTO support in their structure. Then, I'd consider the Prime patch since LTO appears to be the file needed for this device instead of the others.
 

Zoandroid

Senior Member
Dec 9, 2010
665
116
Thanks for the heads up on this extra file! I downloaded it and put it in gps/data and rebooted. GPS Status now locks onto several satellites within seconds, from an interior room in my house.

Do you mind if I repeat this added data in the GPS thread over on Android Forums?
 

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
I'll make a new zip with it included for everyone.

I'll assume it's like many Linux operations and must be existent to update.

Or if this won't be useful tell me so I don't waste my time. I can do it within the next 6 hours.

Sent from my Desire HD using XDA
 

Zoandroid

Senior Member
Dec 9, 2010
665
116
For my 2 cents, simply having the files and being told where to put them using an app like Root Explorer is the way I chose to go. I did not try using any method to flash them into position. It seemed overly complex.

Thanks again for your efforts on this! Without it, the GPS function on my devices was laughable. Once again the dev community shows how it can make things work so much better than the product vendor software team. :) Perhaps they spend all their time looking for bloatware to add instead of honing the device performance as they should.
 

pacificwing

Senior Member
Jul 8, 2011
153
31
Vancouver
I'll make a new zip with it included for everyone.

I'll assume it's like many Linux operations and must be existent to update.

Or if this won't be useful tell me so I don't waste my time. I can do it within the next 6 hours.

Sent from my Desire HD using XDA

That's the thing. I don't know if this file requires constant update, or if it is a one time shot. I'm told it will expire after 7 days. I guess we'll find out. The other thing is that when you force clear your AGPS data (through GPS test), the files goes away. So just because it is in the patch, doesn't mean it's going to stay put.

Adding it as part of the patch might be premature. I would just add a note to your parent thread letting people know to try it if they aren't getting results.

I think until we figure out how to force the system to add the file on its own, this is just a band-aid that some people need to be aware of. There are people who claim not to need it, which makes me think that this is a problem limited to a select group of people.

Thanks for the heads up on this extra file! I downloaded it and put it in gps/data and rebooted. GPS Status now locks onto several satellites within seconds, from an interior room in my house.

Do you mind if I repeat this added data in the GPS thread over on Android Forums?

By all means. Spread the word. The more people who know about it, the more likely Acer is to do something to fix it. I would like the fix to be official, but I'm guessing like most things, the dev community is going to have to do it for them.
 

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
That's the thing. I don't know if this file requires constant update, or if it is a one time shot. I'm told it will expire after 7 days. I guess we'll find out. The other thing is that when you force clear your AGPS data (through GPS test), the files goes away. So just because it is in the patch, doesn't mean it's going to stay put.

Adding it as part of the patch might be premature. I would just add a note to your parent thread letting people know to try it if they aren't getting results.

I think until we figure out how to force the system to add the file on its own, this is just a band-aid that some people need to be aware of. There are people who claim not to need it, which makes me think that this is a problem limited to a select group of people.

Have you set its file permissions to read only for all but root? See if this keeps it from being removed? Not sure if that'll help as we don't know what's deleting it.
 

jlary

Member
Aug 9, 2011
29
6
Rockville
For my 2 cents, simply having the files and being told where to put them using an app like Root Explorer is the way I chose to go. I did not try using any method to flash them into position. It seemed overly complex.

Thanks again for your efforts on this! Without it, the GPS function on my devices was laughable. Once again the dev community shows how it can make things work so much better than the product vendor software team. :) Perhaps they spend all their time looking for bloatware to add instead of honing the device performance as they should.

Just to add another voice to this, I'm using KJY2010's Honeylicious Flash Glass (HC3.2.1) rom. It only has the gldata.sto in /data/gps. I downloaded the lto.dat and put it in /data/gps (also changed permissions to 644) and now I get an almost immediate lock indoors using 8/9 satellites that is dead on when looking at the location via the Map app.

Jeff.
 

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
Just to add another voice to this, I'm using KJY2010's Honeylicious Flash Glass (HC3.2.1) rom. It only has the gldata.sto in /data/gps. I downloaded the lto.dat and put it in /data/gps (also changed permissions to 644) and now I get an almost immediate lock indoors using 8/9 satellites that is dead on when looking at the location via the Map app.

So the patch plus the LTO.DAT is the necessary predicate for success at this point? I really am perplexed that it is not being loaded automatically at all and that it removes the file without fully refreshing it.

Not every person is having this issue with GPS not functioning without the LTO file. It appears to be a ROM specific issue. My curiosity would be the same base for the ROM's needing the LTO or what differences there may be.

Also, did the stock ROM use LTO at all? Or, what files did it have?
 

maris__

Senior Member
Aug 26, 2011
450
204
My impression is that without LTO.DAT aGPS is not working, and your modified gps.conf files are almost without function. LTO.DAT is seems to be missing in all Acer ROMs. There was a single custom ROM for the A500 that has been devloped from an Asus android HC version. This custom ROM included the LTO.DAT and showed much faster sat fix than all Acer based ROMs. So it is likely that there is a general failure in all Acer ROMs to download this file.

Best regards, maris
 

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
My impression is that without LTO.DAT aGPS is not working, and your modified gps.conf files are almost without function. LTO.DAT is seems to be missing in all Acer ROMs. There was a single custom ROM for the A500 that has been devloped from an Asus android HC version. This custom ROM included the LTO.DAT and showed much faster sat fix than all Acer based ROMs. So it is likely that there is a general failure in all Acer ROMs to download this file.

I would be hardpressed to agree that the modified patch is worthless here. A lot of other users noted that it was successful in the past.

I can see the issue you state with the LTO.DAT hindering some people. But, from personal and others' tests I can say it appears that it is not necessary for LTO-using devices to operate properly in a majority of cases. The issue comes down to what I ponder as hardware and software mixed in causing the issue for those who cannot get GPS going without LTO.

In the above paragraph is based upon LTO.DAT, my personal observations on the Transformer Prime and comparing to others' observations on that device. It may not be this particular device but the process remains similar.
 

maris__

Senior Member
Aug 26, 2011
450
204
No, I did not want to say that the patches are worthless in those ROMs. But adding LTO.DAT seems to have even a larger effect on sat fix than the patches.

Best regards, maris
 

pacificwing

Senior Member
Jul 8, 2011
153
31
Vancouver
No, I did not want to say that the patches are worthless in those ROMs. But adding LTO.DAT seems to have even a larger effect on sat fix than the patches.

Best regards, maris

I agree, the patch is far from worthless. It does improve gps efficiency, and I'm using it now. It will continue to be usefull after this LTO problem is resolved.

I wonder if more people need this LTO patch then we realize. As I've mentioned on other threads, active WPS (wifi location) can fool someone into thinking their gps works fine, if they are only using google maps (or some other mapping program) as reference.

I would wager that anyone using a ROM based on stock is having this issue, whether or not they realize it.

Until we have a perminant fix, we should do what we can to educate people to the benifits of both the LTO fix, and the benifits of the patch. They also need to be shown to use "gps test" for reference, rather than just maps.

Cheers,
-PW
 
Last edited:

Zoandroid

Senior Member
Dec 9, 2010
665
116
My impression is that without LTO.DAT aGPS is not working, and your modified gps.conf files are almost without function. LTO.DAT is seems to be missing in all Acer ROMs. There was a single custom ROM for the A500 that has been devloped from an Asus android HC version. This custom ROM included the LTO.DAT and showed much faster sat fix than all Acer based ROMs. So it is likely that there is a general failure in all Acer ROMs to download this file.

Best regards, maris

I disagree. The modified gps.conf all by itself turned the GPS on 2 phones and my tablet from useless into instantly locking on and being accurate. Often it will actually show WHERE in my house I am sitting when viewed from Google Maps!
 

shaun298

Senior Member
Jun 14, 2011
595
44
Union City Indiana
I went back to Thor's 14.2 tonight, to try and figure out why it works so much better on that ROM.

After looking over the filesystem, and the logs, I found one noticeable difference:

/data/gps/lto.dat

It exists in the old Thor 14.2 rom, but it is not generated or successfully pulled in any other ROM.

Anyway, apparently this file (long term orbit data) holds some critical information for the locking component of satellites. Without it, you may see multiple satellites, but locking on could take ages. This file speeds up locking considerably.

For more information, here is a link:
http://www.broadcom.com/collateral/tb/LTO-TB100-R.pdf

Anyhow. You can get the file here:
http://gllto.glpals.com/7day/latest/lto.dat

Unfortunatly, I won't be able to test it until morning. But everything I've read (including my log file above) indicates that that file is supposed to be there, and is not getting pulled. I've downloaded the file onto a clean install of Flexreapers ROM, and am going to place it in /data/gps/.

I'll let you know how it goes tomorrow morning. It may be that including this file into your patch could result in better performance on the A500. That may not be viable though, since apparently the file is supposed to be updated every 7 days for optimum performance.

It still doesn't explain why the file is not getting generated/downloaded in the first place though. But that is another issue.

EDIT:

Okay. So I've not been upstairs to try it yet, but I can say from the logs I'm getting much fewer error messages with this file present. It's looking hopefull.

On that note: Any idea where I might get a copy of the "/data/gps/cbee.cbee" file I'm apparently missing?

Where else can I get the lto.dat. the link above just loads my screen with junk and no download. Or am I doing it wrong. Thanks
 

Zoandroid

Senior Member
Dec 9, 2010
665
116
When exactly is the lto.dat file getting removed for you guys? Mine was indeed missing just now after having put it there last night. So I put another copy of it in the system/etc file, (for my own convenience if I need to keep replacing it) and then used Root Explorer to remove all the Write permissions. I then copied that altered file and placed it in system/etc/gps. I ran GPS Status which took 20 seconds to lock (lying flat). Then I rebooted, and the lto.dat files are still where I put them. Ran GPS Status again (standing vertical) and it locked in 5 seconds. Checked once again and the lto.dat files are still there. I'll monitor the situation and report back if they disappear.

Also, I don't know if you folks are aware of something else I learned from another source. Standing up the A500 makes the GPS lock in much faster. For some reason the GPS doesn't like working as well when the tablet is horizontal.

I have a lot of problems with my tablet's GPS compass requiring recalibration pretty much every time I use GPS Status. It may be a result of the computers and peripherals nearby where I leave it to charge overnight. But my phones have historically had the same problem, and they charged in a different room. Or, it could just be me. Early versions of digital watch displays used to go blank on me when I wore one (even the first day). If I left the watch sit it would come back. For over 20 years I have worn analog watches because of this.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 67
    AGPS PATCH

    REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.

    List of officially supported devices is at the bottom of this post.

    Use this if you're having GPS issues (unreliability, no functionality, etc.)

    This patch provides a worldwide solution to GPS issue for multiple devices. Using a general ROM without this has resulted in 10+ minutes of GPS delay. Also, GPS lock kept being lost. By using this patch, most people experience a GPS lock within 10 seconds (2 - 20 seconds range can be expected). Typically, a device using this patch will lock onto 7 - 9 satellites. Users have reported up to 11 satellites being locked at once. Without this patch, the average satellite count is 4.

    HOWTO INSTALL: (Remember to make a backup. See Notes section for what this patch does.)

    Method 1:
    1. Download the "ADB Push Installer". This contains all versions for the latest build and old v1.3 versions.
    2. Extract the files into a specific folder.
    3. Plug your device into the computer and get it ready for adb pushing. Nothing out of the ordinary required.
    4. Open the batch file called "ADB Installation Script - RUN THIS" if you use Windows. Otherwise, run the Linux SH script if you use Linux.
    5. Select the version you want from the list.
    6. Follow the prompts to reboot. You're done.
    4. Review the NOTES section.

    Method 2:
    1. Download the patch
    2. Copy all file(s)* into /etc/ of the system (not sd-card) using ES File Explorer, Root Explorer, or some other form. You must have SYSTEM set to Mounted and Root enabled. Check your explorer app's SETTINGS to do this.
    **Files will be: gps.conf & SUPLROOTCERT -OR- only gps.conf for NO-SSL builds.**
    3. Reboot the device
    4. Review the NOTES section.
    *Files are located in the /system/ folder of the ZIP. Do not copy the other directories or folders.

    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)
    If you receive "(Status 0) Installation aborted" this Method will not work for you. Use one of the other methods.
    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.


    Downloads:
    SEE THE NOTES SECTION (PARTICULARLY NOTES 1,2, & 3) FOR ALL SORTS OF INFORMATION AND FACTS ABOUT THIS PATCH, WHAT EACH BUILD IS FOR, VERSION DIFFERENCES, AND KNOWN ISSUES WITH SOLUTIONS.

    Recommended Builds (pick either):
    Download the Google Specific No-SSL v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)

    Confused with all the options below? As the Notes section dictates: I recommend the GOOGLE BUILD of all devices. Other builds have changes in their SUPL server information and/or other variables pertinent to that manufacturer. These builds do not appear to operate as fast as Google build's but are available for your enjoyment.

    3.x trunk Alternative Options (currently v3.1)
    Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific NO-SSL TWRP build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    *The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.

    2.x trunk Alternative Options (currently v2.2)
    Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
    *The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.


    Changelog: (I'll try to keep this correct and current)
    Code:
    v3.1 update - New Version
    introduced the NO SSL version for Google build.  Shows faster performance times.
    
    v3.1(HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
    introduced my own NTP pools
    repaired the LG Alternate build (was same as standard build, compilation error)
    
    v3.0 (HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
    based on v2.2 configuration
    has my own XTRA/AGPS server instead of Qualcomm
    re-added two AGPS variables from v1.3   (two beta-testers saw instant results with these re-added)
    re-added on USE SUPL variable from v1.3   (two beta-testers saw instant results with these re-added)
    variables are now divided into sections and sections have descriptions

    Code:
    v2.2 update - New Version
    introduced the NO SSL version for Google build.  Shows faster performance times.
    
    v2.2 (additional builds added)
    added a new SUPL version using data from Sony Ericsson
    added an alternate release using LG SUPL servers
    added an alternate release using Google SUPL servers
    updated the ADB PUSH to include new versions
    fixed broken download links for the patch
    
    v2.2
    removed local AGPS variable
    removed local XTRA_SERVER variable
    created LG Build with LG SUPL servers (some LG ROMs fail to work with non-LG SUPL servers)
    reduced redundancy in NTP and XTRA (unnecessary entries)
    added newly located SUPL server to T-Mobile build
    
    v2.1 (encompassing changes between 1.3 to 2.1)
    removed two NTP server pools
    removed xtra1 server
    removed multiple SUPL_HOST entries
    aligned SUPL_HOST with SUPLROOTCERT in each package
    increased QOS timeout from 89 to 100
    removed QOS standalone timeout variable
    removed extra AGPS variables


    Old Versions:
    3.x Trunk:
    v3.0 ADB Push Installer
    v3.0 Google Build
    v3.0 Google Alternate Build
    v3.0 Google CWM Build
    v3.0 AT&T Build
    v3.0 T-Mobile Build
    v3.0 LG Build
    v3.0 LG Alternate Build
    v3.0 Sony Ericsson Build
    v3.0 GPS Only Build
    v3.0 GPS Only Alternate Build

    2.x Trunk:
    v2.1 Google Generic Build
    v2.1 AT&T Specific Build
    v2.1 T-Mobile Specific Build
    v2.1 GPS.Conf Only Build
    v2.1 GPS.Conf Only Build (alternate)
    v2.0 Google Generic Build
    v2.0 AT&T Specific Build
    v2.0 T-Mobile Specific Build
    v2.0 GPS.Conf Only Build
    v2.0 GPS.Conf Only Build (alternate)

    1.x Trunk:
    Worldwide 1.3
    Worldwide 1.3n (alternate)
    North America 1.2
    Worldwide 1.2
    Worldwide 1.2n (alternate)
    North America 1.1
    Worldwide 1.1
    Worldwide 1.0 (not recommended)
    North America 1.0 (not recommended)


    Rules For Posting Questions:
    1. Read the Notes Section first. I will refuse to answer questions that can be answered by some reading. If it is based upon something in the Notes Section, REFER TO THE NOTE when asking.
    2. Answer the following questions: What ROM you are using?, What kernel are you using?, What GPS apps you have installed?, Where is your general location?, Are you using a case?, Has your GPS worked fine before?, Does it work fine with some apps and not others?, What else happened around the time your GPS stopped working? -AND- Have you reviewed the Notes Section?
    3. DO NOT criticize the user of custom third-party NTP pools and xtra.bin data as dangerous. You obviously HAVE NOT read the Notes section OR reviewed the concurrent branch 2.x to discover it offers the standard NTP pool and Qualcomm-based xtra.bin server.
    4. Don't indulge yourself in ignornat posts. Provide information that may be relevant to helping. Simply stating "this stopped working" or "I can't get it to work" helps nothing and only annoys other readers AND those who may be willing to help you just will not do it.


    NOTES Section:
    1. This patch will work with virtually all Qualcomm, Android phones and has been reported to work with other chipsets as well. That means hundreds of devices could see a benefit to GPS performance from this patch.
    2. This patch has various objectives to ensure stability and efficacy with GPS. Locally, the patch will replace your /system/etc/gps.conf and your /system/etc/suplrootcert if you have this file. You can compare the difference in what you have to this one to get an idea of all the changes. V3.1, onward, contains section descriptions for variables in use. Most notably, starting with v3.1 the aGPS Patch uses my own central NTP DNS pool and my own central xtra.bin server by default. The xtra.bin does have fallback servers should mine fail. But, that is very, VERY much an unlikely scenario. These two imperatives allow for better stability and speed by providing top-rated NTP servers and prime-routed network access to transmit the xtra.bin to your phone.
    3. I recommend the GOOGLE BUILD of all trunks. However, you can use any build with any phone. You may have good luck with specific builds that do not fit your phone or carrier criteria. If you're curious, test it and see.
    4. This works with ANY ROM unless the ROM has aGPS and/or GPS disabled in the code. This happens with CMx nightlies and some betas! I cannot fix this, neither can you.
    5. Remember, this has to be reflashed when you update or change ROMs.
    6. Short patch history: The 1.x trunk only flashed a modified gps.conf file which relied solely on Qualcomm and NTP.ORG. Starting with 2.x, a gps.conf and a matching SUPLROOTCERT file for SUPL server authentication is included. The 3.x trunk offers the same as v2.x but adds better sourcing for NTP data and for the xtra.bin file; it utilizes my own server to do so.
    7. Why toss out SSL?Whether or not you have a current SUPL certificate is questionable. Some have expired. Some will expire soon. Either way, the servers may provide SSL access without proper certificates depending upon configuration. That aside, I have found that SSL and secure communications over data networks slows the response times. I see no reason to use SSL for location information. If someone has a logger to obtain your location, SSL will not assist in stopping it. The bad app will continue to obtain your information by "stealing" it and you have more problems than a simple SSL-SUPL communications leak.
    8. NO-SSL Builds will not have a SUPLROOTCERT because these builds do not use SSL. The SUPLROOTCERT is a certificate used for authentication of SSL connections. There is no need for this file for the GPS at this point.
    9. IF you have issues with v2.x or v3.x, your ROM might require more variables. Try the old worldwide v1.3 version in this instance.
    10. IF you still are facing issues, it might be that your GPS hardware is very much outdated. Try any "Alternate" build to see if this helps.
    11. CMx ROM users may not experience benefits from this patch. However, we have had good reports from CM users with one negative one. Remember to do all of the steps when flashing and the following notes are important too!
    12. Reports indicate that this patch DOES WORK with the next iteration of Android, Jelly Bean. This patch has worked from Android 2.2 (Froyo) up through Android 4.1 (Jelly Bean). Therefore, it works with all iterations on the market. I will remove support as soon as it is confirmed to NOT work with a new version of Android.
    13. Reports show that certain ROM's including some CM builds require a modification in the build.prop. You need to change "ro.ril.def.agps.mode = 2" or "ro.ril.def.agps.mode = 0" to be "ro.ril.def.agps.mode = 1" in order for aGPS to properly function. Only do this IF YOU ARE HAVING PROBLEMS after attempting the standard patch.
    14. Your phone "learns" about the individual GPS satellites. This is part of the aGPS design. Don't be surprised if the first time you use GPS Status that it takes 20+ seconds to "lock".
    15. I have read a lot that indicates that it is best to let your GPS run using any application for a while to "learn" aGPS information. I let GPS Status run for about 10 minutes (it has an option to disable the screen timeout, which I do) each "first time" to learn. I say each because I test a lot of tweaks and fully reset/delete GPS cached information to start retesting.
    16. Remember, this has to be reflashed when you update or change ROMs. Each ROM will have its own gps.conf, normally not suited to all devices.
    17. I use GPS Status to test my signal strength. It isn't 100% accurate, but it gives a very good sense of how the GPS is performing.
    18. If you're wondering why GPS is slow on certain apps? Or, you show up as on a street when you're 6 meters away from it? Well, those apps process GPS data differently which is out of anyone's control except the app developer. Certain apps will force your location to a street until you pass the app error threshold. Food for thought.
    19. DO NOT USE ANY OTHER GPS FIXING APPS with this patch. If you do, and you still have problems, I cannot help you. A number of these Apps will overwrite what my patch does dynamically.
    20. Variables are described starting in v3.0. Open up gps.conf in a text editor to read about what variable sections are for. It isn't in-depth, but should be enough to help you get a general understanding.
    21. Still having weak GPS reception? Take your case off. Cases have been known to affect signal, though some argue against it. Personally, I get 3 more sat's when I remove my case.
    22. There is a reported variable that can cause some GPS units not to work as well as it should with this patch. This is very odd as it's hit-and-miss and only seems to cause problems on less than 10% of handsets. This doesn't mean it screws up anything! It's possibly an older piece of GPS hardware incompatible with this variable. Have no fear, v1.2 will remove this variable for the worldwide version. This issue is more prone to occur in DHD.
    23. Tried taking the battery out for 30 seconds? Some have reported that their phone required the battery to be removed. First, power off the device. Second, remove the battery for 30 seconds. Third, put it back in and give it a try. I cannot explain this except for possible cache clearing.
    24. Some Inspire 4G and DHD devices have hardware problems. There is a known problem that the spring connectors to the GPS antenna sometimes are out of place or quit touching. http://xdaforums.com/showthread.php?t=1101066 provides a video on self-repair.
    25. An error in flashing this patch means that this method will not work for you. Use one of the other methods for flashing this patch. Don't ask why or for a fix. There are hundreds of variations of recovery systems and update binaries. I do not have the time or desire to support them all. This is why I describe other install methods. Reference error: E:Error in /sdcard/android apps/agps.patch.google.build.nossl.v3.1.zip (Status 0) Installation aborted.
    26. Location is way off? Like, not near you at all? This means your GPS is not actually being used. Try the following to resolve it: Goto Settings -> Locations and disable ALL options. Reboot into recovery. Clear Cache and Dalvik Cache. Reboot normally. Go back to Settings -> Locations and only enable GPS. Reboot once more and try your GPS again. If this didn't work, did you read all of the Notes such as the one about the battery or RIL?
    27. Donations: If you wonder why I asked for donations, it's simple. Users of v3.x are gaining extra, noticeable benefit over v2.x. This comes at a cost to someone. I pay the bills to provide a reliable data setup to transmit the xtra.bin data file and to provide the top NTP SERVERS in one DNS pool. To help keep this going, I just ask for the user to consider a donation. Nothing more, nothing less. Thank you for your consideration.

    AGPS Patch Officially Supported Devices:
    Acer Iconia
    Asus Transformer Prime
    Asus Transformer (TF101)
    Asus Transformer TF300T
    HTC Inspire 4G
    HTC Desire HD
    HTC Sensation
    HTC Incredible S
    HTC Salsa
    HTC Flyer
    HTC Evo 3D
    HTC Desire S
    HTC Wildfire
    HTC Wildfire S
    HTC Droid Incredible 2
    HTC Thunderbolt
    HTC Desire
    HTC Desire Z
    HTC One X
    LG GT-540 OPTIMUS
    LG Optimus One
    Motorola Triumph
    Motorola Droid X2
    Samsung Galaxy S II Skyrocket (SGH-I727)
    Samsung Galaxy S II (I9100)
    Samsung Galaxy S II (SGH-T989)
    Samsung Galaxy S Plus I9000
    Samsung Galaxy Nexus
    Samssung Galaxy S III (AT&T, Rogers, Bell, Telus)
    Samsung Galaxy S III I9300, I9305
    Samsung Galaxy S 4G
    Sony Ericcson XPERIA X8

    * I do not officially support all devices that this patch is known to work on at this time. You may private message me your success story for official support considerations.

    Thanks Section
    While this has gone a long distance since its inception, I want to still send thanks to Angeldeath for permitting me to take his early work and start tweaking it for HTC Inspire 4G users. This inevitably led to what we have here today.
    Thank you to all those who joined and participate in the testing community. Without their help, I couldn't get enough data to know how well this works on different devices and in various regions of this planet we call Earth.
    Thank you eagleeyetom, husky69, and tamagotono for their work in building an ADB pushing environment for Windows and for Linux respectively.


    If you are happy with the patch and find this thread useful, please consider pressing the "Thanks" button on any of my posts on this thread. You may also consider rating this thread with five stars if you're satisfied. You may do so just below "Search This Thread" on the right-side at the top of this post. Donations are appreciated (See last NOTE)


    REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
    6
    NEW VERSION(S) OUT!

    v2.2 is updated. There were bad ZIP links for which I apologize for. Further, I added some new BUILDS. These builds can work on all phones no matter what your manufacturer is. However, some manufacturers provide SUPL data for their hardware. I'm helping you take advantage of multiple SUPL SERVER providers.

    v3.0 is here! What does this mean for you?
    I provide you with my very own xtra.bin file. This has led to some beta-testers having INSTANT locks. I can't promise that, but it works wonderfully for all testers except one person in China.

    Guess what! It costs me money to provide this. Donations would be welcome to cover hosting fees should this work for you.

    What's next for the 3.x trunk?
    You should see v3.1 in a matters of weeks depending on reported success of v3.0. I intend to create my own NTP servers and NTP pools. This may cost a few dollars a month, but should be worth it for all of us.
    Other flashing recoveries may be supported. Right now, I'm only providing for Clockwork Recovery. But, there are two other easy installation methods available aside from CWR in Method #3.

    I've added more notes. Read them if you have issues before posting.

    I've added more information to Method 2 installations.

    Finally, click thanks on this POST if you truly enjoy and appreciate the work! ;)
    3
    v2.0 is out

    First round of v2.0 is released. The beta-testers loved it and all gave the go-ahead today. I hope you all enjoy it as well.

    Do note the multiple versions. I'm trying to help as many as we can specifically based on what people wanted.

    I use the Generic/Google version even though I'm an AT&T customer.
    2
    Version 3.1 is released. If you didn't think it could get any faster, well you may be surprised. Beta-testers are swearing to instant locks. My magic tricks sure do pay off!

    Pay off? Speaking of that... There have been 30,000 downloads of v3.0. My server has served over 100,000 xtra.bin downloads. And even though I stated that this costs me money to provide, there's been zero donations since v3.0 was released. A few bucks really can help defray the hosting and provisioning costs I incur to keep y'all running top notch. If each user gave $0.10, that would be worth a whole dediated server for a year. Just sayin'.

    Devs: I request that you notate your threads with which version of my patch you're using. If you include v3.x, please note the cost to your user base. Send me a message if you're using the patch so I can keep track and keep you in the loop of any impending changes.

    With that, let me know how well this performs for you. I'm interested whether users see an increase in performance over the amazing speed that v3.0 provided.
    2
    v2.1 is out

    Everyone, the latest version is out. It's a minor update.

    I put a changelog on the thread now. It's just above the Notes section.

    Also, there is a new installation method. You can install via a batch script. It uses adb push behind the scenes to install whatever patch you select from the menu options.