• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

AGPS Patch Galaxy S III 3.1 & 2.2 | GET BACK TO RAPID GPS LOCK, LOCK EXTRA SATS

Search This thread

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
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.

Galaxy S III Specific Build(s)
Galaxy S III Test 2 (Like it? Don't forget to click on "Thanks" and to rate the thread)
Please comment if this helps better than the Generic. It appears to resolve MANY problems for the Verizon variant. Expect a few minutes for initial lock with very fast and accurate locks after that.
Galaxy S III Test 3 (Like it? Don't forget to click on "Thanks" and to rate the thread)
Please comment if this helps better than the Generic. It appears to resolve MANY problems for the Verizon variant. Expect a few minutes for initial lock with very fast and accurate locks after that.
Galaxy S III Test 2 ALT (Like it? *Don't forget to click on "Thanks" and to rate the thread)
Please comment if this helps better than the Generic. *It appears to resolve MANY problems for the Verizon variant. *Expect a few minutes for initial lock with very fast and accurate locks after that.
Galaxy S III Test 3 ALT (Like it? *Don't forget to click on "Thanks" and to rate the thread)
Please comment if this helps better than the Generic. *It appears to resolve MANY problems for the Verizon variant. *Expect a few minutes for initial lock with very fast and accurate locks after that.
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Unfortunately, it looks like S3 has taken a nose dive into the past and this might be why some are seeing such issues. Try this if you have problems with the standard patch series.

Generic 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://forum.xda-developers.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.
 
Last edited:

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
Here are some things you can do if you're having problems with the S3.

With no GPS icon showing up
(OPTIONAL AND RECOMMENDED: USE Triangle Away to reset counter)
1. Flash back to stock UNROOTED ICS ROM
(Stuck at samsung logo after? flash a cwm recovery, factory reset and clear cache n reboot)
2. Enter into dialer *2767*3855# (Will do a HARD reset, no internal storage will be lost except the usual data)
3. Boot up again and run maps to see if you have a GPS icon
(IF YOU DON NOT HAVE A GPS ICON YOUR HARDWARE IS MALFUNCTIONING)

With GPS icon showing but no lock
4. Turn all GPS related thing OFF
5. go into google services framework in applications, settings, and clear data
6. go into maps, delete updates if any and clear data aswell
7. reboot the phone
8. Update google maps (very important)
9.reboot for safe measure
10. turn on everything in location and services in settings
11. boot up maps
12. profit

If GPS is still flashing but no lock
1. If steps1-11 does not work for you it is highly recommended to flash Galaxy S III Test 3 (created by crypted)
2. Factory reset trough settings and repeat steps 1-3 if not gps icon or steps 4-11 if gps icon flashes
3. profit

For flashing new ROMs after the above series:
1. see if gps is showing up or not, if not then repeat steps 1-12 above and it is recommended not to flash the same rom that makes gps disappear
2. if gps icon is showing up but very inaccurate then repeat steps 4-11

This patch will work only when your device is properly working. It appears a lot of people are forgetting that fact. Bad ROMs, bad cache, and bad flashing aren't going to be fixed by a GPS configuration alteration.

Thanks to egyptshun for the above information. There's only so much I can do without a S3.
 
Last edited:

ausdim

Senior Member
Jan 9, 2007
882
2,591
I get about 18 satellites locked and a fix in 2sec on my international I9300 without any mod.

Any way maybe help other people's in other countrys.

Thank's
 

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
I get about 18 satellites locked and a fix in 2sec on my international I9300 without any mod.

Any way maybe help other people's in other countrys.

Thank's

A number of users experience GPS issues especially with custom ROMs. Some devices and some setups just need a little repair.

There are times that the most notorious phones for horrible GPS reception will have a golden nugget out there that works perfectly all the time. Maybe you have one of those...
 
  • Like
Reactions: ausdim

ausdim

Senior Member
Jan 9, 2007
882
2,591
Hmm...

Didn't know that.

So for sure this will help some user's.

Maybe i will test it also.

Thank's again.
 

MSRemmert

Member
Aug 9, 2010
47
6
I get about 18 satellites locked and a fix in 2sec on my international I9300 without any mod.

Any way maybe help other people's in other countrys.

Thank's

Not to nitpick but isn't the most you should be able to see at any one time 12?
Anyway this looks a fantastic resource. My i9300 international is reporting a lock of 11 indoors at present but I'll be interested to see how others get on. I wasn't aware the i9300 had GPS problems.
 
Last edited:

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
Not to nitpick but isn't the most you should be able to see at any one time 12?
Anyway this looks a fantastic resource. My i9300 international is reporting a lock of 11 indoors at present but I'll be interested to see how others get on. I wasn't aware the i9300 had GPS problems.

Again, Verizon's S3 users ended up using this and it works for them. I brought it to this forum as well in case there were some users needing a solution. Normally, people don't just stumble onto this patch by happenstance unless it's in their normally viewed forums.

As far as the # of satellites is concerned, a lot of newer devices are bringing support for GLONAS and the EU's satellite constellations. Further, this patch allows for intermediate "locks" which means satellites that aren't fully within your line of sight. GPS signals bounce and this allows your device to selectively use those signals that fall below an error threshold.
 
  • Like
Reactions: MSRemmert

MSRemmert

Member
Aug 9, 2010
47
6
Again, Verizon's S3 users ended up using this and it works for them. I brought it to this forum as well in case there were some users needing a solution. Normally, people don't just stumble onto this patch by happenstance unless it's in their normally viewed forums.

As far as the # of satellites is concerned, a lot of newer devices are bringing support for GLONAS and the EU's satellite constellations. Further, this patch allows for intermediate "locks" which means satellites that aren't fully within your line of sight. GPS signals bounce and this allows your device to selectively use those signals that fall below an error threshold.

I stand corrected. :)
 

priyana

Senior Member
Jul 21, 2007
3,172
1,278
So does these setting depends on the derekgordon.com (yours I presume) to be up?
I downloaded the google cwm one and the conf has only 1 NTP server, which is yours.
 

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
So does these setting depends on the derekgordon.com (yours I presume) to be up?
I downloaded the google cwm one and the conf has only 1 NTP server, which is yours.

Not to be a complete turd, but do you make a habit of NOT reading the Notes Sections on threads?

Read it.

EDIT: For the hell of it, I would recommend Notes 2, 6, 7, and 8 to cover your concerns. Other Notes go into other details as they SHOULD be doing.
 
Last edited:

priyana

Senior Member
Jul 21, 2007
3,172
1,278
Not to be a complete turd, but do you make a habit of NOT reading the Notes Sections on threads?

Read it.

EDIT: For the hell of it, I would recommend Notes 2, 6, 7, and 8 to cover your concerns. Other Notes go into other details as they SHOULD be doing.

Thanks for that.
Yeah, I must admit I have attention deficiency especially when the notes section goes to 25 points.
Sorry for that.

Sent from my GT-P1000 using xda app-developers app
 

lukesky

Senior Member
Mar 26, 2007
748
42
Nice to see you here Crypted. I was one of your old DHD users and your patch definitely made the rubbish GPS on the DHD so much better.

The GPS on the S3 is actually pretty good, so the benefits of using your patch won't be as obvious as compared to the DHD, but still, a small speed benefit is better than none.
 

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
First thing I install on any new ROM - a must-have, and has always worked flawlessly. Many thanks again

Nice to see you here Crypted. I was one of your old DHD users and your patch definitely made the rubbish GPS on the DHD so much better.

The GPS on the S3 is actually pretty good, so the benefits of using your patch won't be as obvious as compared to the DHD, but still, a small speed benefit is better than none.

Thank you both for the kind words. I hope it does bring at least some benefit to you all.

Thanks for that.
Yeah, I must admit I have attention deficiency especially when the notes section goes to 25 points.
Sorry for that.

I know there are a number of Notes, but I got very tired of responding 10,20,30 times to the same questions. Each Note was created because of extremely repetitive inquiries.

This isn't a full-time job, so I don't have the luxury of giving the great tech support answers some garner from the 1800 numbers.
 

Tectas

Senior Member
Jul 26, 2011
3,344
2,942
Not to nitpick but isn't the most you should be able to see at any one time 12?
Anyway this looks a fantastic resource. My i9300 international is reporting a lock of 11 indoors at present but I'll be interested to see how others get on. I wasn't aware the i9300 had GPS problems.

The international versions supports gps and glonas (Russian gps) at the same time, that's why there are more satellites and the fix is faster, guess the American only supports gps.

@OP thx anyway for sharing, maybe helpful for some with problems :)
But just out of curiosity, does the device still use both systems after applying the patch or just gps?

Sent from my GT-I9300 using Tapatalk 2
 
Last edited:

rlorange

Senior Member
Nov 5, 2010
4,307
2,242
Melbourne
I get 16 satellite lock within 5 seconds stock here in Australia. Using faster fix... even faster. I guess some countries are not so lucky?

Sent from my GT-I9300 using xda premium
 

Tectas

Senior Member
Jul 26, 2011
3,344
2,942
I get 16 satellite lock within 5 seconds stock here in Australia. Using faster fix... even faster. I guess some countries are not so lucky?

Sent from my GT-I9300 using xda premium

Getting a fix of 9 satellites within 15 seconds at my toilet (no window and no outer wall) in Austria^^
And 11 at the living room within 5 seconds (window and outer wall, but not standing at the window).

Sent from my GT-I9300 using Tapatalk 2
 
Last edited:

crypted

Senior Member
Nov 20, 2007
2,493
4,224
Miami, FL
derekgordon.com
I get 16 satellite lock within 5 seconds stock here in Australia. Using faster fix... even faster. I guess some countries are not so lucky?

Countries are irrelevant unless it boils down to a firewall blocking your access to aGPS data (as it's online).

Fasterfix doesn't work well with this patch as the Notes Section discusses so I assume you're implying that you are not using this patch at all. Therefore, I don't see why you're posting here.

Getting a fix of 9 satellites within 15 seconds at my toilet (no window and no outer wall) in Austria^^
And 11 at the living room within 5 seconds (window and outer wall, but not standing at the window).

Are you saying that you're getting that amount without the patch or with the patch?

The patch isn't necessary in every circumstance. Some ROM's and sometimes the phone itself just cannot perform well as far as GPS is concerned. This patch can eliminate a number of issues except where the source is screwed up or hardware is failing.
 

Tectas

Senior Member
Jul 26, 2011
3,344
2,942
Are you saying that you're getting that amount without the patch or with the patch?

The patch isn't necessary in every circumstance. Some ROM's and sometimes the phone itself just cannot perform well as far as GPS is concerned. This patch can eliminate a number of issues except where the source is screwed up or hardware is failing.

At the reported times i haven't, sry, but i have tested it now a bit.
First of all, tried both 3.1 google packages, both produced an error with status 0 at cwm touch 6.0.1.2.
Applied the fix afterwards with x-plorer without problems though.
After applying it, i got a fix of 11 satellites in about 8 seconds as average.
Without fix i got also a fix of 11 satellites, but within 5 seconds average.
But, with fix it has been more stable, it stayed almost at the fix of 11 only jumped one or two satellites up or down.
Without it hasn't been as stable, it even dropped to 7 satellites, only for about 100 milliseconds, but still.
Glonass seems also to be used still, because for short it also had 13 satellites.

Sent from my GT-I9300 using Tapatalk 2
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    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.

    Galaxy S III Specific Build(s)
    Galaxy S III Test 2 (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Please comment if this helps better than the Generic. It appears to resolve MANY problems for the Verizon variant. Expect a few minutes for initial lock with very fast and accurate locks after that.
    Galaxy S III Test 3 (Like it? Don't forget to click on "Thanks" and to rate the thread)
    Please comment if this helps better than the Generic. It appears to resolve MANY problems for the Verizon variant. Expect a few minutes for initial lock with very fast and accurate locks after that.
    Galaxy S III Test 2 ALT (Like it? *Don't forget to click on "Thanks" and to rate the thread)
    Please comment if this helps better than the Generic. *It appears to resolve MANY problems for the Verizon variant. *Expect a few minutes for initial lock with very fast and accurate locks after that.
    Galaxy S III Test 3 ALT (Like it? *Don't forget to click on "Thanks" and to rate the thread)
    Please comment if this helps better than the Generic. *It appears to resolve MANY problems for the Verizon variant. *Expect a few minutes for initial lock with very fast and accurate locks after that.
    *The alternate patch removes a variable that some GPS hardware on older models cannot handle. Unfortunately, it looks like S3 has taken a nose dive into the past and this might be why some are seeing such issues. Try this if you have problems with the standard patch series.

    Generic 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://forum.xda-developers.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.
    4
    Here are some things you can do if you're having problems with the S3.

    With no GPS icon showing up
    (OPTIONAL AND RECOMMENDED: USE Triangle Away to reset counter)
    1. Flash back to stock UNROOTED ICS ROM
    (Stuck at samsung logo after? flash a cwm recovery, factory reset and clear cache n reboot)
    2. Enter into dialer *2767*3855# (Will do a HARD reset, no internal storage will be lost except the usual data)
    3. Boot up again and run maps to see if you have a GPS icon
    (IF YOU DON NOT HAVE A GPS ICON YOUR HARDWARE IS MALFUNCTIONING)

    With GPS icon showing but no lock
    4. Turn all GPS related thing OFF
    5. go into google services framework in applications, settings, and clear data
    6. go into maps, delete updates if any and clear data aswell
    7. reboot the phone
    8. Update google maps (very important)
    9.reboot for safe measure
    10. turn on everything in location and services in settings
    11. boot up maps
    12. profit

    If GPS is still flashing but no lock
    1. If steps1-11 does not work for you it is highly recommended to flash Galaxy S III Test 3 (created by crypted)
    2. Factory reset trough settings and repeat steps 1-3 if not gps icon or steps 4-11 if gps icon flashes
    3. profit

    For flashing new ROMs after the above series:
    1. see if gps is showing up or not, if not then repeat steps 1-12 above and it is recommended not to flash the same rom that makes gps disappear
    2. if gps icon is showing up but very inaccurate then repeat steps 4-11

    This patch will work only when your device is properly working. It appears a lot of people are forgetting that fact. Bad ROMs, bad cache, and bad flashing aren't going to be fixed by a GPS configuration alteration.

    Thanks to egyptshun for the above information. There's only so much I can do without a S3.
    3
    Hi crypted... I know you do not like me !! But still i am writing this....
    As some member has mentioned in last page, S3 only reads lto2.dat. S3's Broadcom chips uses the glonass V2 of lto2.dat from glpals.com.
    The best way to edit the gps.conf file is to use the nearest npt server from http://www.pool.ntp.org/en/
    I have attached the gps.xml (Stock from latest firmware of s3 of March 2013) as you have requested.
    Also I have attached my own version of gps.conf for India NTP Server

    This is all you need to run the GPS perfect in S3.
    After changing the files in /system/etc go to /data/gps and delete the old lto2.dat and its .txt files and reboot s3 to enjoy the perfect GPS.
    1
    I get about 18 satellites locked and a fix in 2sec on my international I9300 without any mod.

    Any way maybe help other people's in other countrys.

    Thank's

    A number of users experience GPS issues especially with custom ROMs. Some devices and some setups just need a little repair.

    There are times that the most notorious phones for horrible GPS reception will have a golden nugget out there that works perfectly all the time. Maybe you have one of those...
    1

    The one you linked have some different settings...for example if you choose the version of Europe you got a gps.conf with many EU countries:

    NTP_SERVER=eu.pool.org

    NTP_SERVER=0.europe.pool.ntp.org

    NTP_SERVER=1.europe.pool.ntp.org

    NTP_SERVER=2.europe.pool.ntp.org

    NTP_SERVER=3.europe.pool.ntp.org

    NTP_SERVER=fi.pool.ntp.org

    NTP_SERVER=ru.pool.ntp.org

    NTP_SERVER=be.pool.ntp.org

    NTP_SERVER=gr.pool.ntp.org

    NTP_SERVER=hu.pool.ntp.org

    NTP_SERVER=sk.pool.ntp.org

    NTP_SERVER=ee.pool.ntp.org

    NTP_SERVER=by.pool.ntp.org

    NTP_SERVER=ro.pool.ntp.org

    NTP_SERVER=ua.pool.ntp.org

    NTP_SERVER=cz.pool.ntp.org

    NTP_SERVER=lt.pool.ntp.org

    NTP_SERVER=bg.pool.ntp.org

    NTP_SERVER=mk.pool.ntp.org

    NTP_SERVER=md.pool.ntp.org

    NTP_SERVER=lv.pool.ntp.org

    NTP_SERVER=hr.pool.ntp.org

    NTP_SERVER=yu.pool.ntp.org

    NTP_SERVER=rs.pool.ntp.org

    NTP_SERVER=ba.pool.ntp.org

    NTP_SERVER=am.pool.ntp.org

    NTP_SERVER=is.pool.ntp.org

    NTP_SERVER=li.pool.ntp.org

    NTP_SERVER=al.pool.ntp.org

    NTP_SERVER=me.pool.ntp.org

    NTP_SERVER=gi.pool.ntp.org

    NTP_SERVER=ie.pool.ntp.org

    NTP_SERVER=az.pool.ntp.org


    I prefer the gps.conf from Crypted. ;)

    Sent from my GT-I9300 using xda premium

    ---------- Post added at 11:08 PM ---------- Previous post was at 10:44 PM ----------

    I use Galaxy.S.III.Test.3.zip on official CM10.2 with Boeffla kernel beta 7 and it works amazing! It's faster then the stock gps.conf file from CM10.2.

    Sent from my GT-I9300 using xda premium