You know, the GPS from SG3 need internet to receive the bin files, to calculate the actuall position better.. so what would be, if we download the bin files.. put them into the phone, and edit the gps.conf file.. would the phone recognite them?
fe.:
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
Downloading the 3 bin files from:
Code:
http://xtra1.gpsonextra.net/xtra.bin
http://xtra2.gpsonextra.net/xtra.bin
http://xtra3.gpsonextra.net/xtra.bin
Putting them into /system/framework/ or somewhere else..
and change gps.conf to:
Code:
NTP_SERVER=europe.pool.ntp.org
XTRA_SERVER_1=/system/framework/xtra1.bin
XTRA_SERVER_2=/system/framework/xtra2.bin
XTRA_SERVER_3=/system/framework/xtra3.bin
would that work? oO
If I am correct, these files contain a rough, but more or less actual position of every GPS satellite (this data is collected and refreshed by the tracking stations) instead of some static content which can be downloaded and used from the phone memory. If you would do the above method and it worked, it would only slow down the startup, because the phone would believe that the positions in the bin files are correct, and it would try to find the satellites around the given positions, but actually they are elsewhere.
we can write an app.. that refreshes the files on every internet connection, and disables the bin files, if gps is off..
This is exactly how the Assisted GPS works, except it refreshes the bin files only when needed, without unnecessary data traffic. The satellites do two orbits a day, so if you want to speed up the GPS startup, you need as fresh files as possible. A bin file that was created half an hour ago is possibly too old, the satellites traveled 6-7 thousand kilometers since then, so nothing could be gained with an app like that.
Hi,
On Windows Mobile 6.5.x (on my old Samsung Omnia) there was something called XTRA GPS. Always when I was on internet connection (WiFi etc) I was able to refresh settings with (I think) something like this what ilendemli is talking about. I'm talking about this:
http://www.samsung-omnia.org/precise-gps-navigation/how-to-enhance-your-gps-lock-times-and-speed/ .
Please read it and develop app like this option on Omnia.
Related
Overall mac usage is ~ 10% of computer users. Here, amongst hacker-people, I'd wager it was ~5%. of that 5%, those people who actually are into signing their own update.zip files are probably pretty low. we'll say 20% of em. so .2 * .05 = .01 = 1% of the forum users here. that said, there are somewhere around 1000 people who are on here I'd say. so 1% of 1000 is about 10 people. not bad. this tool is helpful enough that it's worth it to post it.
In finder on mac, viewing hidden files is a very handy option. unfortunately, you'll find that in _each_ and _every_ directory in the OS is a file called .ds-store . I think it's some kind of indexing file.
the problems start when you create a rom file that you want to zip up without including these .ds-store files. but when you access the folder, they're automatically created! ah! here's a tool that goes through and deletes all the .ds-store files from a folder and all of it's subfolders. rather handy for those of us who need to sign things and not include excess weird stuff.
anywho just thought I'd share
* all these statistics are just educated guesses, and are probably not very right.
also, I'm exhausted and in bed posting on xda and I feel like I'm having an out-of-body experience. this is weird
rt1oo said:
Overall mac usage is ~ 10% of computer users. Here, amongst hacker-people, I'd wager it was ~5%. of that 5%, those people who actually are into signing their own update.zip files are probably pretty low. we'll say 20% of em. so .2 * .05 = .01 = 1% of the forum users here. that said, there are somewhere around 1000 people who are on here I'd say. so 1% of 1000 is about 10 people. not bad. this tool is helpful enough that it's worth it to post it.
In finder on mac, viewing hidden files is a very handy option. unfortunately, you'll find that in _each_ and _every_ directory in the OS is a file called .ds-store . I think it's some kind of indexing file.
the problems start when you create a rom file that you want to zip up without including these .ds-store files. but when you access the folder, they're automatically created! ah! here's a tool that goes through and deletes all the .ds-store files from a folder and all of it's subfolders. rather handy for those of us who need to sign things and not include excess weird stuff.
anywho just thought I'd share
* all these statistics are just educated guesses, and are probably not very right.
also, I'm exhausted and in bed posting on xda and I feel like I'm having an out-of-body experience. this is weird
Click to expand...
Click to collapse
This is a great tool. Thanks
find . -name '*.DS_Store' -type f -delete
Click to expand...
Click to collapse
that will recursively delete all ds_store files in a directory
apple ftw!
Hi everyone, I've seen a couple of requests on how to increase (or change) the max disk cache size. So I made it my mission to try and find out how to change it.
I've spent a couple of hours on it now and finally managed to figure out how to fix it
You'll either need adb or a simple file manager with a text editor. But before you do that kill Google Earth through Manage Applications or using a task manager. Once that's done either pull or edit /data/data/com.google.earth/drivers.ini.
When you've done that add the following to the end of the file before the ending bracket (so within SETTINGS).
Code:
DiskCache/cacheSize = 2000
DiskCache/minCacheSize = 0
DiskCache/cacheSizeOnDiskInMB = 2000
(Change 2000 to whatever size in MB you want).
Now simply push the file or save if you're using a file manager.
Good luck, and let me know if you run into any problems!
Impressed.., and excited...,
I´m trying to edit it but can´t find the google folder on data/data, need to have the device rooted?
Keep searching..
Have aplied Z4root to the Galaxy, installed eFile but can´t see drivers.ini anywhere.
sdcard/data/data there is only a folder called com.ideaworks3d.tackle
The only place where is com.google.earth is in: sdcard/android/data/com.google.earth/
inside this, there I found only cache folder, temp folder, and a hidden .nomedia file.
You will need to look in /data/data, not /sdcard (so yes, you need root and a file manager capable of viewing the root system).
Works!!! I could see the file with "root explorer". Edited and now limit is gone
Awesome. The Galaxy is amazing with GE with the onboard compass and multi-touch gestures response. Caching a zone conected to your wifi allows you to use GE offline on traveling, or climbing mountains. The compass auto-rotates the maps and the acelerometer controls the tilt. There are videos in youtube, I think I´ll upload another one. Thanks very much.
Just a note, if set the cache above 2000, GE resets the cache file and uses only 35KB on my phone, so no work. At 2000 (2GB) it works fine, I have more than 500MB now. In the other hand seems to me that Android version uses less amount of data so 2GB seems enough to cover a big area.
HomerSp said:
Hi everyone, I've seen a couple of requests on how to increase (or change) the max disk cache size. So I made it my mission to try and find out how to change it.
I've spent a couple of hours on it now and finally managed to figure out how to fix it
You'll either need adb or a simple file manager with a text editor. But before you do that kill Google Earth through Manage Applications or using a task manager. Once that's done either pull or edit /data/data/com.google.earth/drivers.ini.
When you've done that add the following to the end of the file before the ending bracket (so within SETTINGS).
Code:
DiskCache/cacheSize = 2000
DiskCache/minCacheSize = 0
DiskCache/cacheSizeOnDiskInMB = 2000
(Change 2000 to whatever size in MB you want).
Now simply push the file or save if you're using a file manager.
Good luck, and let me know if you run into any problems!
Click to expand...
Click to collapse
I realize this is a old topic but does this still work? I would like to increase the cache size on the desktop version of GE version 7.3.1.4507 (64-bit) and newer.
I found the drivers.ini file in Program Files/Google/Google Earth Pro/client/drivers.ini but I am not sure where to enter your code in the drivers.ini file, I will assume the ini file has changed over the years.
Code:
DiskCache/cacheSize = 2000
DiskCache/minCacheSize = 0
DiskCache/cacheSizeOnDiskInMB = 2000
Thanks in advance.
OK I started this thought in a thread regarding someones question with gps apps on android. I eventually got into trying to figure out how to get Sygic maps onto the SD card and not the internal storage.
In the Aura folder (since it's Sygic Aura) there are 3 folders (Android, Maps, and Res) Android I'm assuming contains app files, Maps containing well... maps, and res containing all the graphics for the app (voices, sounds etc) there are also 2 other files in the main Aura folder "base-is-ok.txt" which is a completely empty text file, and database.xml.
This database.xml is where I have been messing with the settings for where the app looks for it's files.
It's normal string is "Arua/Android/ or "Arua/Maps/
I tried setting this to either extStorage/SdCard/Aura and I also tried /mnt/sdcard2/Aura
Neither of these worked.
I was hoping a dev (since I am very new to the Android OS) would point me in the direction of the location of the sdcard as seen by android and whether or not I need to root my Tab plus to achieve what I am currently thinking about.
I did just find a settings file that points to locations such as MapPath=/.../Maps so I might continue messing with that.
same question
Hello,
I try to do the same thing without result,anybody can help ?
There must be something because when I put files on sd card everything work, when there is no file I got the sygic downloader and when I mess with the xml file, sygic open up then close
Thanks
Found this link on the nexus 4 forum that has multiple GPS.conf files depending on your location.
For example they have a GPS.conf specifically for different areas of the U.S.
Try them out see if it helps you like it did me. Remember this helps with satellite locks not to make your GPS work if you are on Aries or a Rom that doesn't have GPS working.
https://m.app.box.com/view_shared/w57s1v1n3hie7l5lk28i/d_1033932257
Note: rename old GPS.conf to GPS.bak....incase you want to revert to original GPS.conf
►► "One of the main reasons to root an
Android phone is to speed up the GPS
lock.
►► This happens by changing some
text in a file called gps.conf in /etc/
or /system/etc/
► Get a file explorer with root support
(root explorer, ES file explorer is good
too)
► You'll have to replace your gps.conf
with a new, tweaked one.
► Go HERE, pick your country, and
download the file inside the folder.
►► If you didn't find your country (like
me), pick the country that is the
closest to yours.
► Put it on your sdcard
► Open up your root explorer
► Copy the file
► Go to /system/etc/
► Mount system as R/W
► Paste the file, and overwrite it with
the old one.
► Now change it's permissions to rw-
r--r-- by holding on it, and clicking
permissions
► Change both owners to 0-root
Testing results:
►► The main purpose of the test is to
make Android learn the new gps.conf
file.
►► This happens by using an app that
controls GPS and AGPS.
► Download GPS test HERE, and install
it.
► Open it, go to menu-settings, and
press clear AGPS.
► OPTIONAL: reboot
► After clearing AGPS, and while
connected to the internet, press
Update GPS.
►► You'll get a GPS lock in about 5
seconds
► Leave the GPS locked for about 10
minutes for Android to learn how it
works.
►►This method will get you a lock in
5-15 seconds with or without internet
connection."
All credit goes to original poster. Mileage may vary.
Original post
http://forum.xda-developers.com/showthread.php?p=43929806
Sent from my SGH-T959V using xda premium
works perfectly on my Hercules S2 T989 with CM 10.2.0-RC1. I have been searching for the solution for ages and have tried so many 'fixes' that did not work. Thanks!
Thanks for the tips.
I had a very stressing day surveying data on my NAV android app today on stock (Xperia M 4.2.2) ROM. It was a place without any network coverage. Got very bad GPS despite of downloading all the A-gps data before going to the field. GPS was keeping resetting fix all the time and taking forever to get locations again. After downloading and installing “FasterGPS” from google play my GPS problems got fixed.
This particular app automatically configure and replace old gps.conf file, based on your location.
I guess most of these ROM firmwares are “global” so they may have a not very good gps.conf based on your location (at least Xperia M on 4.2.2 doesn’t have).
Hello.
Can anyone give me (or tell me where to get) the original gps.conf file for Italy?
I've changed it with the one I got from https://app.box.com/s/w57s1v1n3hie7l5lk28i, but i'm not that sure it's getting any better... and the problem is that I didn't get a backup file..
I have 4.7'' phone.
Thanks!
Jeez that's rule number 1 - Always do a backup ... Here's my file. It's not from Italian version, but looking into its content I doubt that your was different.
What's the problem with your GPS? My phone needs 6-10 seconds for GPS lock and I think that this is OK.
Sent from my 6039Y
Edit: Remove the .txt extension
petrov.0 said:
Jeez that's rule number 1 - Always do a backup ... Here's my file. It's not from Italian version, but looking into its content I doubt that your was different.
What's the problem with your GPS? My phone needs 6-10 seconds for GPS lock and I think that this is OK.
Sent from my 6039Y
Edit: Remove the .txt extension
Click to expand...
Click to collapse
Thanks a lot!
Didin't have a problem with gps actually, but I've copied that file cause I read that with it connecting to gps would have been quicker.
Using it for a while it seems to me that I was loosing gps connection more than I expected (but maybe that just depended on areas, not on the file), so wanted to get back to the original file.