Any source code for this? Some ROM developers might want to integrate this.
All there is to it is the /etc/gps.conf and the /etc/suplrootcert.
Over 30 ROM's have this baked in. All the devs do is place those files in their ROM files. Very easy!
Any source code for this? Some ROM developers might want to integrate this.
All there is to it is the /etc/gps.conf and the /etc/suplrootcert.
Over 30 ROM's have this baked in. All the devs do is place those files in their ROM files. Very easy!
Sure doesn't. But they build for many devices that don't share this hardware so it may not be in their best interés either.
Sent from my Desire HD using XDA App
CM included many fixes for many individual devices which do not have common hardware.
Im just suggesting something, nothing else.
NTP_SERVER=north-america.pool.ntp.org
AGPS=http://xtra3.gpsonextra.net/xtra.bin
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
I would recommend the following options in /system/etc/gps.conf:
Code:NTP_SERVER=north-america.pool.ntp.org AGPS=http://xtra3.gpsonextra.net/xtra.bin XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
This avoids using 3rd party AGPS servers and NTP servers, and uses the standard ntp.org NTP (which has TONS of servers backing it) as well as Qualcomm's GPS servers.
Use version 2.2 and review the notes section.
Tons of servers is meaningless. I use stratum 2 servers rather than tons of random ntp repeaters. Wikipedia it.
Sent from my Desire HD using XDA App
The whole point of your post is to solicit donations. Even though you're hosting your "mirror" of the GPS data on a GoDaddy shared hosting account.
A question about permissions that the gps.conf file should have :
* my old backuped one was ---rwxr-x
* my new one (CWM) is now rw-r--r-- (just as the SuplRootCert I didn't have before)
It is to be corrected with root explorer, right ?
(testing it on ICS 0.3.10 on Desire Bravo)
There is no reason to change permissions. Each level of user can read the files. Writing and executing aren't necessary because these are only configuration files that the GPSD daemon will look to for operational guidance. It can read it no matter what.
It does make sense to my left brain, and my right one just like the placebo effect :
#before
Ics 0.3.10 : systematic reboot of the phone between 1 and 45 sec (1 most of the time) after launching Google Navigation. Maps would live a little bit more, but will crash the phone too. Note that the Google map used by c:geo (geocaching app) will live very well without any crash... Can't understand why
#after
-> without fixing perm
Google Navigation crashed (but not the phone) 2 of the 3 times I tried. The third one, I got a 10min drive without any problems.
=> after restoring perms of the original
NOT A CRASH AT ALL
Anyway BIG THANKS !!!
Now I can have ICS and a fully operational Nav on my HTC Desire Bravo *\o/*
Very strange in my mind based on personal Linux experiences. This might be a new issue with ICS. I cannot recreate and have not heard of this issue on Froyo or Gingerbread.
Never had a prob under Froyo or Gingerbread with Google Nav, and I've been on it since 08/2010 with Leedroid's roms until the HD port...
This was very new to me with these first ICS rom I tried (ICS 0.3.9/10 and 0.4.0RC).
For some reason I think Leeroid included all or part of this patch. But that may have been for other devices only.
Anyway, you're up and rolling with ICS and the patch so all is well.
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
NTP_SERVER=europe.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
I have to test more.
Now on ICS 0.4.0RC5 which includes your patch, I tried not to change anything to perms, and well... had some crashes or reboots on maps and google nav, but not so quickly...
Not really easy to perform real tests as I won't drive the same 10km 20 times in a day to get the same conditions
Will keep on like that one or two days before trying to change anything and again have some days to confirm or infirm the effect
On Lee's roms, gps.conf was just like that :
Code:NTP_SERVER=north-america.pool.ntp.org XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin SUPL_HOST=supl.google.com SUPL_PORT=7276
when on ICS before applying your patch there was :
Code:NTP_SERVER=europe.pool.ntp.org XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin SUPL_HOST=supl.google.com SUPL_PORT=7276
not a big difference... america would be better when I'm in europe ??
Used the cwm patch and wow am seeing great results using ilwt cm7 rom and very happy! Thank u for this
Sent from my HTC Vision using XDA App
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
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
TopNTP - the app.
We need bèta testers. Hopefully we can get some useful feedback to optimize this app. The patch itself has been proven to work, we just need to know for as much as possible devices if we can a) really install the patch and b) if the app is sort of clear in its use.
Get it on Google Play!
This app does installs a customized gps.conf file for your GPS. It has several different profiles to choose from. We recommend to use the default Google profile but it is up to you. Appart from the profiles you can customize the one chosen.
NTP servers
Derek Gordon maintains a special NTP server pool for you. Dispite what everyone thinks, it is not necessarily the one closest to you which is the best. We consider Derek Gordon's server to be the best option to choose because it has the best data and is most frequently updated.
For more information about the NTP server check out the "About this app" section found under the settings of this app. Also, feel free to visit derekgordon.com for more in depth information.
aGPS Alamanacs
Derek Gordon maintains a special aGPS almanac for devices using Qualcomm or similar chipsets. This xtra.bin data file is updated every 30 minutes and is located on a content delivery system maintained by the generous donations of ther userbase.
For more information about the NTP server check out the "About this app" section found under the settings of this app. Also, feel free to visit derekgordon.com for more in depth information.
Donations
To maintain the server we need money. Donations through this app will be divided between Derek Gordon (Crypted) and Zatta on XDA.
Each star costs 2 Euro and will reduce the waiting time before you can install the patch. 0 star users wait 20 seconds, 1 star users 10, 2 star users only 5 and 3 star users and Premium users can install immediately.
You can become a premium user for only 5 Euro. This is a discount of 1 euro compared to a three star user! We choose this method to allow every one to use all features of this app and because we believe in XDA developers users. Please, don't leech!
Backup and restore
On the first run of this app a backup is made on your SD card. Don't remove it because a backup is only made during the first run (or at an update if you choose to remove it anyway) and no other backup is found on your SD card.
ROM updates
The patch this app provides is located on your /system partition so every time you do update your ROM the patch is overwritten and you will have to redo the patch.
Unless you are using a Cyanogenmod based ROM and your rom has addon.d support. In that case a script will be placed in the addon.d directory to preserve the patch.
It can be disabled in the app's settings but is enabled by default.
Asus users
On ASUS roms a typical file is present at /system/etc/gps, namely the gpsconfig.xml file. This app pathes that file as well, to be specific the PeriodicTimeOutSec parameter. Of course a backup is made of this file as well.