[ONLINE] Instantaneous GPS Fixation v1.2! *FOR ALL ANDROIDS PHONES!*
12.05.2011
I would like to take this time to thank everyone that has helped in making this a success, I would like to also thank Rom Makers that have felt that my work was worth adding to their roms, and also to the Users that have taken my work with my permission, and expanded on it.
I am currently looking at adding more locations to the list soon, so keep an eye out
If anyone can help my next project and is Good at programming APK's please PM me.
12.05.12 REGIONAL VERSIONS 1.2 FINAL RELEASED!
USA & International & REGIONAL CWR!
UPDATE:
I would like to thank everyone that has tried this, most of you have had very good success, and some of you have not, do understand that a rom can make the difference, as well as your location, and despite popular belief; weather.
Greetings All,
As some of you have know the long await GPS Script that some have been seeing me speak about. I'll explain how this has come to surface.
As we all know since Windows Mobile we all have had issues at one time or another with the GPS working correctly. Now in Android, we find ourselves in the same boat, with GPS not working, or working some days and not so much on other days. One of the biggest complaints I think that we all have had is LONG wait times. So I went on a quest to find out exactly how this worked And some of what I found out in my opinion is surprising. It seems that as we all know the "GPS.conf" is the helpful source for our locks.
Now I dont mean to give everyone a lesson on GPS but I am sure I'm not 100% right, but from what I have read and seen, neither is our gps.conf file. The file is a generic code and customized to use google as our source. Then we had extra options to add which again were in my book generalized but somewhat helpful. I checked this against US carriers (Such as: AT&T, Verizon, T-Mobile) and found, they all had similar files doing the same thing, some claim success, and others didnt.
One of the problems with our files is the fact its been dumbed down, to the point its TOO General, and the reason for this is cause Developers (Not referring to XDA) have done this to avoid possible errors or conflicts with other parts of the phone or software, so my opinion is they made it simple, but simple doesnt always work. We all know this to be the case cause how many times have we had generic drivers, or files that are used, so that this way "it works". The GPS basically sends signals down to earth and earth sends signals up to the Satellite to determine locations, this as we all have come to know as "PINGS". And obviously the faster the ping, the closer it is. And the closer it is, the faster the lock. The file works the same way. The generic file is using the same servers worldwide no matter were you are and are generic, so the long lock times are cause we are all using the same locations, and as well when a server is overloaded, or as I have seen too many ping requests it has a filter to deny any further requests for "x" period of time, and overloaded systems have a longer response time.
Think of it this way, GPS's send their information to for the most part one location, and it is primarily from what I have read controled by the Navy (at least here in the states), their are 3 tiers to the GPS signal:
1st Tier, Direct; 2nd Tier, Stratum 1; 3rd Tier, Stratum 2, All time servers. There is one more category that GPS's have, and that is they are also ATOMIC CLOCKS which sync with Earth bound Atomic clocks. So why are all the developers using only a generic script, pinging probably 1 sub-par time server expecting that they are going to get any solid results? And using only 1 time server and overloading it? So to get the best possible locks and signal the concept is to utilize every tier, to get the best possible lock. As well there is numerous commands that have been left out of the scrtipt which further enables the GPS to get a faster lock, and going through all the commands from searching the different sites, I compiled different scripts so that i could get the best possible lock.
Big Thanks to SLBENZ for helping out with testing and giving feedback to the scripts I made and helping making the scripts the best possible to work with any region. Also thanks to WarlockW for also testing out the scripts and confirming what I was hoping to hear. Thanks to Pinnacle Another tester not part of these forums, for also testing and giving feedback. Thanks to Carl1961 and WarlockW Carl for making a CWR script for WarlockW and Warlock for allowing me to use the script. Also a Thanks and the jesture to CMYLXGO who also tested the script gave input and has my script in his rom. The Scripts are broken down into 9 Regions and they are as follows:
Africa, Asia, Europe, Oceania, UK, South America, US Mid-East, US Mid-West (Located on post #2), and North America. Local UK Only (Post #2), LOCAL FLORIDA ONLY (Post#2), SuplRootCert (Post #2)
The North America Script should be used by people in Mexico, Puerto Rico, Venezula, Costa Rica, and Canada. The only other person who should use this script is a person who travels to different states for work purposes, and should not be used by someone who doesnt travel often.
Huge Thanks for Carl1961 for fixing the CWR files so they can load as intended. All files have been replaced and can now be installed using CWR.
Install Instructions:
1) Download the ZIP file for your region or close to your region.
2) DO NOT UNZIP the file.
3) Place the file on your SDCARD.
4) DO NOT USE MAGDLR, or CWR to copy the file to your SDCard. Use either your computer, or put Android into Disk Drive mode to avoid corruption.
5) Reboot your phone into CWR.
6) Choose Install ZIP from Sdcard
7) Choose install Zip file
8) Let it run
9) Reboot
10) If you prefer install the GPS Status App attached to post #2
a) If you do, hit the home key then go to settings then Display &Tools.
b) Choose the last one "Show time to GPS fix".
If you have Wifi turned on it will download the AGPS file which will help with the locks but is not needed.
GPS locks will vary, There is no guarantee and I can not give you one, but based on testing, your locks should occur in the following:
First Lock: 30 seconds to possibly 3 mins (3mins if the weather is bad, or there is something going on with the GPS sats, most occur under 80 seconds)
Second and all subsequent locks: 4 seconds to 30 seconds. (Unless GPS is not used for more then 2 days, then refer to First Lock)
Please also post comments of good bad or ugly, Please USE the THANKS BUTTON and use the posts for problems suggestions, or requests.
All of the v1.1 & 1.2 files are CWR files! Since there is 62 countries that have been done, I cant attach them here. So I decided to host all of them on my own personal server. There is no waiting for files. Please if for whatever reason you dont connect just refresh and it will download.
If you dont see your Country, please ask. As I said some countries have no choice but to use the 1.0 versions attached to Post 1 & 2. There are no time servers in every country and some countries (also not in the list) which either are restricted, or have not been maintained.
If the files work for you, and if your feeling generous, or appreciate the hours put into the work so far, feel free to donate. Coffee does wonders to keep me awake.
12.05.11 GPS Scripts v1.2 REGIONAL
All the 1.0 files that are attached to in Post #1 & #2 are now Updated to 1.2 and are located on the FTP in the Regional Folder.
4.24.11 GPS Scripts v1.2 4.25.2011
Argentina, Australia, Austria, Belarus, Belgium, Bosnia and Herzegovina, Bulgaria, Cambodia, Canada, China, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hong Kong, Hungary, India, Indonesia, Iran, Ireland, Italy, Japan, Korea, Kyrgyzstan, Latvia, Lithuania (Now Available: 1.1 & 1.2), Luxembourg, Macedonia, Malaysia, Mexico, Moldova, Netherlands, New Caledonia, New Zealand, Norway, Panama, Philippines, Poland, Portugal, Qatar, Republic of Serbia,
Romania, Russia, Singapore, Slovakia, Slovenia, Spain, Sri Lanka, Sweden, Switzerland, Taiwan, Thailand, Turkey, Ukraine, United Kingdom, Uzbekistan, Vietnam, Yugoslavia.
All Countries 1.1 Files Also Located on the site.
4.24.11 USA GPS Scripts v1.2. 4.25.2011
As I promised I have broken down the US into Six Regions:
North East: Michigan to Maine, Illinois to Virginia
South East: Tenn. to Miss, North Carolina to Florida
North Mid States: North Dakota to Wisconsin, Nebraska to Iowa
South Mid States: Colorado to Missouri, Louisiana to New Mexico
North West: Montana to Washington, Wyoming to Oregon
South West: California to Utah & New Mexico
If you look at a USA map how I broke it down will make sense to you.
Thanks Carl1961!
South West, North East, South East, South Mid States, North Mid States, North West, Hawaii Only.
If anyone has been keeping track of the Dev forum Post, you will see we are making progress in the GPS/AGPS development. One of the key things that has surfaced thank to MEMIN1857 is the GPSFix.0.1.apk file, which can be downloaded from his post: GPSFIX-0.1.apk. Install this on your phone, and then run it after install, there is no gui, it will download the necessary "xtra.bin" file that is needed by the GPS/AGPS, and after 30 seconds it will say fixed. This is one of the cruiel parts of the GPS that has been missing. Also I found through lots of searching you should add the following lines to the end of your GPS.conf file located in /system/etc. Add the following to the end of the file:
AGPS=/data/xtra.bin
XTRA_SERVER_1=/data/xtra.bin
Also jaba_cz had a line in theory which I will post here which you can add at the end as well, all three lines will not break anything, so its safe to add this line too, I just cant confirm results as of yet:
AGPS=http://xtra1.gpsonextra.net/xtra.bin
Many people are working on this with alot of info I am hoping soon we will get the gps working for everyone in an acceptable manner.
USA & International v1.2 Released!
Todo List: for V1.2
New command codes Adding New Code to Gps.Conf file! *DONE V1.2*
AGPS Aiding *IN PROGRESS* Looking to make Library implimentation THANKS ARNE182! Faster First Locks *DONE V1.1 & 1.2* Narrowing GPS searches for countries *DONE V1.1* Splitting USA into 6 regions for locks *DONE V1.1*
1.2 RELEASE 4/24/2011 Change Log:
Fixed All Banners for all Zip files.
Added More command codes.
Rearranged command sequences.
Added Line by jaba_cz.
1.1 Second Release Change Log:
Added commands for xtra.bin to point to phone.
Added more commands for faster fix.
WARNING: THE FILE "SUPLROOTCERT" COULD POSSIBLY INCREASE YOUR LOCK TIMES, IT IS ORIGINALLY PULLED FROM AN AT&T PHONE, IF YOU INSTALLED THIS FILE AND EXPERIENCE LONGER LOCK TIMES PLEASE DELETE THE FILE. YOU CAN DELETE THE LINE ALSO IN THE CONF FILE BUT IT ISNT REQUIRED.
Thanks for all the hard work, I'll give this a try this week and see how it goes.
Now, from your explanation of one of the actual problems, servers being overloaded, I have a ponderance. I'm guessing if someone ran their own time server (which many do, or at least have the resources to do so), they would be able to modify their phone's config to use their own servers for quicker response. Or does the general user not have access to whats needed for the GPS lock?
Samsung Galaxy S3: Depends - Either a modified current stock rom or CM. HD2: Retired until I find a use for it NOOKColor: Whatever CM build/version works. Toshiba Thrive: Latest Dalepl rooted stock builds
Thanks for all the hard work, I'll give this a try this week and see how it goes.
Now, from your explanation of one of the actual problems, servers being overloaded, I have a ponderance. I'm guessing if someone ran their own time server (which many do, or at least have the resources to do so), they would be able to modify their phone's config to use their own servers for quicker response. Or does the general user not have access to whats needed for the GPS lock?
Actually no, normal time server will not work, so if you ran your own time server you would not have the same results, If you ran your own time server, you would be considered the same as the pool.ntp.org site, since those servers are in a round about way, 4 or 5th tier or possible further down, not saying pool.ntp.org doesnt work, but the higher in the chain you are the less round robin time you have to wait especially local.
tank you for your excellent work. i try install europe.zip, but i have error. i have magldr v1.13 and when i try to install zip from sdcard, i choose europe.zip, and he cant't open zip (bad). i download to my pc and copy to sdcard. please help.
tank you for your excellent work. i try install europe.zip, but i have error. i have magldr v1.13 and when i try to install zip from sdcard, i choose europe.zip, and he cant't open zip (bad). i download to my pc and copy to sdcard. please help.
Same result for me with US Midwest. So I just unzipped it, took the gps.config out and moved it to my sd card, and then used Root Explorer to move the gps.config file to system/etc/ of my phone.
Haven't tested it out yet, I will in a couple of hours on my way to work.
tank you for your excellent work. i try install europe.zip, but i have error. i have magldr v1.13 and when i try to install zip from sdcard, i choose europe.zip, and he cant't open zip (bad). i download to my pc and copy to sdcard. please help.
I will look into it. It might be that the zips might have gotten compressed even though I told it not to, but you can take it out and use root explorer to copy out over. Will look at it in the morning, might have to replace the bad ones. Thanks for pointing this out.
Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?