5,595,268 Members 47,474 Now Online
XDA Developers Android and Mobile Development Forum

[ONLINE] Instantaneous GPS Fixation v1.2! *FOR ALL ANDROIDS PHONES!*

Tip us?
 
AngelDeath
Old
(Last edited by AngelDeath; 25th February 2013 at 01:38 AM.) Reason: SYSTEM FAILURE.
#1  
AngelDeath's Avatar
Senior Member - OP
Thanks Meter 1354
Posts: 2,065
Join Date: May 2009
Location: Cherry Hill, New Jersey

 
DONATE TO ME
Thumbs up [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.

USA 1.1 Files Also located on the site.

XDA Members Click Here

Please do not re-post ftp link. please link to this post. Thank You.

You Tube Video taken by TxRedneck of the script in action:

GPS Script In Action

*** Running Donators List ***

feloccio
tilleke
steve_gr
9646gt
jjrumph
Sharp Rock
inneyeseakay
Tenbeau
boomerod


Thank you for your Donations.

Files Below are 1.0 versions, if you dont see your country in the list above then you need one of the files from below or in post #2.
Attached Files
File Type: zip Africa.zip - [Click for QR Code] (157.2 KB, 2168 views)
File Type: zip Asia.zip - [Click for QR Code] (157.3 KB, 17896 views)
File Type: zip Europe.zip - [Click for QR Code] (157.2 KB, 33015 views)
File Type: zip North America.zip - [Click for QR Code] (157.7 KB, 12619 views)
File Type: zip Oceania.zip - [Click for QR Code] (157.3 KB, 2250 views)
File Type: zip South America.zip - [Click for QR Code] (157.2 KB, 5133 views)
File Type: zip UK.zip - [Click for QR Code] (157.2 KB, 3421 views)
File Type: zip US Mid-East.zip - [Click for QR Code] (157.3 KB, 3441 views)
Android Instantaneous GPS Fixation
AGPS Script Development

Devices:

HTC One Max 803s Unlocked/Unrooted
ROM: Complete Stock (ATM)

(2) HTC ONE X Global
ROM: Currently Stock JB!! 4.2.2

(3) Samsung Galaxy Note
ROM: JB!! 4.3
The Following 335 Users Say Thank You to AngelDeath For This Useful Post: [ Click to Expand ]
 
AngelDeath
Old
(Last edited by AngelDeath; 24th April 2011 at 09:53 AM.) Reason: Updated Roms, Kernels, & todo list.
#2  
AngelDeath's Avatar
Senior Member - OP
Thanks Meter 1354
Posts: 2,065
Join Date: May 2009
Location: Cherry Hill, New Jersey

 
DONATE TO ME
Mar.29.2011 UPDATE:

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.

1.0 Initial Release

ROMS TESTED: (Either by or by Users)

Raidroid HD Sense v1.2 - Desire HD Base
Rafdroid 2.3 & Rafdroid 3.0 & 4.0
Motoman PCB Desire Build v0.1
CMYLXGOs Stock Desire HD v1.0.9n & v1.1.4
Unofficial CM7 Nightlies
GPC_hd2_gingerbread_v1.7
TyphooN CyanogenMod 7 RC2 v2.6 (2.3.3)
Motoman234 Black & Blue Remix V1.0
NexusHD2 Gingerbread v2.3
HyperDroidGBX-v9 2.3.3 with Hyperkernel v 5.0

ROMS FAILED:

imilka's RAM Desire HD (Erratic lock times for two days)
HyperdroidGBX 7.0 (Have not gotten any locks for 10 minutes)

KERNELS TESTED:

GPC226 Kernel
GPC215 Kernel
CM7 Kernel (Nightlies)
Gauner 1.29.11 Kernel
Rafpigna 1.7OC Kernel
TyTungR2 Kernel
MDJ 10.3OC Kernel
Raidroid Kernel
GL Kernel V6
GL Kernel V10

KERNELS FAILED:

NONE

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.

SuplRootCert - CWR: Thanks Carl1961 again!
http://forum.xda-developers.com/show...9&postcount=64

For anyone that doesnt have CWR,Thanks to WarlockW here'sa link to do an ADB push from your computer.
http://forum.xda-developers.com/show...5&postcount=78
Attached Files
File Type: apk com.eclipsim.gpsstatus2-2.apk - [Click for QR Code] (414.5 KB, 3213 views)
File Type: zip US Mid-West.zip - [Click for QR Code] (157.3 KB, 1087 views)
File Type: zip Florida ONLY.zip - [Click for QR Code] (157.3 KB, 550 views)
File Type: zip LOCAL UK ONLY.zip - [Click for QR Code] (157.3 KB, 711 views)
Android Instantaneous GPS Fixation
AGPS Script Development

Devices:

HTC One Max 803s Unlocked/Unrooted
ROM: Complete Stock (ATM)

(2) HTC ONE X Global
ROM: Currently Stock JB!! 4.2.2

(3) Samsung Galaxy Note
ROM: JB!! 4.3
The Following 36 Users Say Thank You to AngelDeath For This Useful Post: [ Click to Expand ]
 
daemonfly
Old
#3  
Senior Member
Thanks Meter 5
Posts: 185
Join Date: Apr 2010
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
 
AngelDeath
Old
#4  
AngelDeath's Avatar
Senior Member - OP
Thanks Meter 1354
Posts: 2,065
Join Date: May 2009
Location: Cherry Hill, New Jersey

 
DONATE TO ME
Quote:
Originally Posted by daemonfly View Post
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.
Android Instantaneous GPS Fixation
AGPS Script Development

Devices:

HTC One Max 803s Unlocked/Unrooted
ROM: Complete Stock (ATM)

(2) HTC ONE X Global
ROM: Currently Stock JB!! 4.2.2

(3) Samsung Galaxy Note
ROM: JB!! 4.3
The Following 2 Users Say Thank You to AngelDeath For This Useful Post: [ Click to Expand ]
 
augustopacheco
Old
#5  
Senior Member
Thanks Meter 7
Posts: 102
Join Date: Jan 2010
Location: V.N.Gaia
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.
 
the_scotsman
Old
#6  
the_scotsman's Avatar
Assistant Forum Admin / Moderator Committee / Haggis Muncher
Thanks Meter 8428
Posts: 22,455
Join Date: Jan 2006
Location: NSW, Australia Likes: Anything alcoholic or caffeinated

 
DONATE TO ME
So are these just editing the time server in gps.conf?

Personally I haven't found that to make a huge difference...but it may work for others

Oh and GPS devices don't send anything back up to the satellites, they are only receivers
 
huggs
Old
#7  
huggs's Avatar
Senior Member
Thanks Meter 207
Posts: 1,493
Join Date: Jan 2010
Location: the internet
Quote:
Originally Posted by augustopacheco View Post
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.
The Following 2 Users Say Thank You to huggs For This Useful Post: [ Click to Expand ]
 
gear_rus
Old
#8  
gear_rus's Avatar
Senior Member
Thanks Meter 22
Posts: 155
Join Date: Jun 2010
Location: Novosibirsk
Good, but one question: does Russia come under "europe" part of your script, if so, will give it a try
Euro HD2 (Originally 1.66 Russian Stock)
Android: Ultimate Droid (Tytung Kernel, UD ROM Family, non-RAM, the FASTest thing I've ever expirienced)
Radio: 2.15.50 (found in master radio thread)
My Splash Screen (specially for Hl2 fans)
My tutorial for doing a clean install of Ultimate Droid ROM (lots of info, explains how to change logo after MAGLDR, check it out ;])
THANKS button really IS there for a reason lol
 
htc-hd2
Old
#9  
htc-hd2's Avatar
Senior Member
Thanks Meter 32
Posts: 288
Join Date: Oct 2009
Location: Almere
At the moment my GPS will fix (cold start) after +/- 70 secons.
I'm going to give your "tweaks" a go and will report back.
- www.APKinstall.com. An Android online .apk file installer for newbies and pro's.
- Video Message Online. Create your own video message online for family and friends to see.

Sent from my Nokia 3310
 
AngelDeath
Old
(Last edited by AngelDeath; 14th February 2011 at 10:08 AM.)
#10  
AngelDeath's Avatar
Senior Member - OP
Thanks Meter 1354
Posts: 2,065
Join Date: May 2009
Location: Cherry Hill, New Jersey

 
DONATE TO ME
Quote:
Originally Posted by augustopacheco View Post
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.
Android Instantaneous GPS Fixation
AGPS Script Development

Devices:

HTC One Max 803s Unlocked/Unrooted
ROM: Complete Stock (ATM)

(2) HTC ONE X Global
ROM: Currently Stock JB!! 4.2.2

(3) Samsung Galaxy Note
ROM: JB!! 4.3

The Following 2 Users Say Thank You to AngelDeath For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes