GPS.conf - Samsung Galaxy S (4G Model)

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).

Related

TT 5.1 - HOME, FAVORITES ETC... How to Save!!!

OMG, I've managed to do it!!!
Some may have spotted my various posts asking how to get TT to save my home location, favorites etc as they were being lost every time I switched of TT.
Here's how:-
- Go to START - PROGRAMS - FILE EXPLORER on the PDA.
- Open the folder called PROGRAM FILES and NAVIGATOR.
- Delete the file called NAVIGATOR.CFG.
- Go to the SD card, find a folder called GREAT BRITAIN-MAP or something to that effect, open it.
- Delete the file called GREAT BRITAIN-MAP.CFG.
- Perform a soft reset.
TT will then ask you where you want your home location to be set as.
IT WORKS!! Can't tell you how happy I am!!
Hope this helps others too...

Internal GPS-Calculator?

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.

[VZW][AUDIO/MOD] Power On/Off Sound Files

Sooooooo if you own the VZW G2...I KNOW YOU HATE THE POWER ON/OFF SOUNDS JUST AS MUCH AS I DO
Sooooooo I made a couple for my personal use but id thought id spread the wealth lol.
The PowerOn sound byte is the original PS1 system start up
Download: https://www.dropbox.com/s/mu627jjddxo7bz8/PowerOn.ogg
The PowerOff sound byte is from Streets of Rage 2 Round Clear
Download: https://www.dropbox.com/s/dx9iak6d016ctsc/PowerOff.ogg
Instructions
I use Root Explorer but any file browsing app should work for you and follow this path
system/media/audio/ui
Look for PowerOn.ogg and PowerOff.ogg
Rename name them to PowerOn.bak and PowerOff.bak
(To have and to hold till death do you part....orrrrr you just so happen to need them later on and rename them back to the original...you choice)
Take you newly downloaded files and Copy/Paste them into the folder and PROFIT!!!!!!!!
It works immediately so feel free to restart the phone and enjoy
THIS HAS BEEN TESTED ON THE VZW VARIANT
FEEL FREE TO TEST ON A DIFFERENT VARIANT IF YOU WANT BUT I AM NOT RESPONSIBLE FOR YOU NUKING YOUR PHONE​
Thanks. Worked for me.
Sent from my VS980 4G using Tapatalk 4
Finally worked, had to copy + rename and copy again (so I have .bak and .ogg files there)
PS1 sound brings back memories
So in theory if we just rename those files we wont have any sound... right?
Zei said:
Take you newly downloaded files and Copy/Paste them into the folder and PROFIT!!!!!!!!
It works immediately so feel free to restart the phone and enjoy
Click to expand...
Click to collapse
Have any other sound files?
Ill try to add more to the OP. Ive been extra busy as of late so ill get to it when I can
Bump so I took OP's idea and expanded it to lock/unlock (the files are in the same location
system/media/audio/ui
Method involves Zedge to get MP3s (c/p to PC) then use VLC to convert to OGG files (c/p to the path above)
Best way to get audio track is to use Zedge, get whatever notification you want (get short one for unlock) then copy file(s) to PC and
open VLC ---> Media ---> Convert/Save ---> Add... (this should open popup) ---> Convert/Save (bottom right next to cancel); this opens new popup ---> under profile select 'Audio - Vorbis (OGG)' then select destination ----> ***MUST IMPORTANT PART*** Change the name to particle_lock or particle_unlock (if you use a different unlock animation then use that name respectively) ---> hit start then c/p to path above on your phone
I recommend changing the original sound files to file extension .bak (like OP recommended) so you can return to normal if something goes wrong etc. Oyeah, the lock sound lasts longer while the unlock is quite short so keep that in mind.
Sorry if I complicated simple thing but hope this helps someone, also all credit to Zei (OP) since this is just an extension of his wonderful MOD.

Tasker: Help With Task To Daily Download File

Hey Guys -
I hope I've got this in the correct category. If not, please let me know or move...
I love Tasker! I consider myself an intermediate user as I'm no expert, but have made many scripts to automate various tasks - many of them in great detail. There's one that I'm trying to create which I need your assistance with and/or suggestions for the best method, please...
I already have a Profile set up so that when I enter my car the following happens:
- Bluetooth is enabled
- My phone connects to my car's bluetooth
- My morning radio show starts to play in Poweramp
This is great, but I'm having to manually download and copy the MP3 to my phone daily. The functionality I want to add is:
- Every x hours / minutes, my phone connects to an FTP server
- It checks a specific folder for an MP3 file (See Note below)
- If it exists, it downloads & deletes it. If not there, it disconnects and stops the task
- Once downloaded, it moves it to a specified folder located off the root
- The next time I get in my car, I want it to start playing the new file instead of the last one played if possible. I don't care if Poweramp is used as long as it has resume support if there's no new file
Note
Here's a catch - I'll have to use wildcards for both the folder and file name as both have the date of broadcast in their name. Fortunatly, there are other parts of their name which do not change. One option is that I can use wildcards on my FTP server so that each day's folder (+ files) download to a specific folder on the FTP site. This way, I could have the task check for any folder + files to download and not have to be more specific. Also, the only reason I have the "delete" option in there is so that once it downloads, it doesn't try to download it again on the next run.
So what do you suggest? I just bought and downloaded the Tasker plugin "SSHFTPDownUploader," so am going to play with it. If you have any other ideas - even those which may not use Tasker, let me know.
Thanks!
bzowk said:
Hey Guys -
I hope I've got this in the correct category. If not, please let me know or move...
I love Tasker! I consider myself an intermediate user as I'm no expert, but have made many scripts to automate various tasks - many of them in great detail. There's one that I'm trying to create which I need your assistance with and/or suggestions for the best method, please...
I already have a Profile set up so that when I enter my car the following happens:
- Bluetooth is enabled
- My phone connects to my car's bluetooth
- My morning radio show starts to play in Poweramp
This is great, but I'm having to manually download and copy the MP3 to my phone daily. The functionality I want to add is:
- Every x hours / minutes, my phone connects to an FTP server
- It checks a specific folder for an MP3 file (See Note below)
- If it exists, it downloads & deletes it. If not there, it disconnects and stops the task
- Once downloaded, it moves it to a specified folder located off the root
- The next time I get in my car, I want it to start playing the new file instead of the last one played if possible. I don't care if Poweramp is used as long as it has resume support if there's no new file
Note
Here's a catch - I'll have to use wildcards for both the folder and file name as both have the date of broadcast in their name. Fortunatly, there are other parts of their name which do not change. One option is that I can use wildcards on my FTP server so that each day's folder (+ files) download to a specific folder on the FTP site. This way, I could have the task check for any folder + files to download and not have to be more specific. Also, the only reason I have the "delete" option in there is so that once it downloads, it doesn't try to download it again on the next run.
So what do you suggest? I just bought and downloaded the Tasker plugin "SSHFTPDownUploader," so am going to play with it. If you have any other ideas - even those which may not use Tasker, let me know.
Thanks!
Click to expand...
Click to collapse
How does tasker know when you get info your car?
Sent from Galaxy Note 3 SM-N9005

|ROOT/ADB?| Fully stopping Instant Apps from installing ever again

Hey guys, this is my first thread, and I'm a bit confused on the app. Today I'll tell how did I stop the freaking google 'malware' from installing and updating every single day. This would work on any rooted device that has access to the data partition, maybe it could be reproduced via adb without root.
First off, I searched everywhere looking on how to disable, uninstall, break, or do anything to this forced battery hog. The best answers were using 'pm hide' on the package but this caused a very high battery usage, due to the file dependencies. So I searched where it was installed. Luckily enough, it is an user app, so it means I would find it on /data/app and /data/data. I will use solid explorer, but any file manager with root access and chmod to change permissions should do just fine.
Once we locate the folder (/data/app/com.google.android.instantapps.supervisor-1 in my case) we delete it. Utterly. After that, we will create a file, and name it exactly the same as the folder did. This is a dummy file that the system will believe it is a folder, and will try to install the application inside it. We fill that file with enough random characters for making the system think it can't just delete it (sometimes cleaners point empty files as worthless and wipe them out)
Now we need to make the dummy file unremovable for anyone but us, by using chmod. Solid explorer has a nice interface for that. We long press the file, enter to properties and set the permission to 0 0 0 (attributes tab). This makes play store unable to delete the file to recover the old folder, and when it tries to download the package, it will fail because it won't have a respective folder to be sent to.
After this, we reboot the phone and see that google play services for instant apps has lost roughly 90% of it's size, and when we enter settings>google>google play instant it'll ask for installation. I was bold enough to accept, just for getting an error dialogue when it tried to install itself.
Known issue: The app reinstalls once again after reboot. The cause is that, when android can't install the app in the first folder (the one that ends with a -1), it can create a second one (ending with a -2 instead), like an alternative. This is solved by just doing the same procedure above on the second folder, and you will end up having two dummy files instead of one. A third folder cannot show up, or at least it didn't in my phone.
Notes: You can repeat this with the folder in /data/data and any other data partition level instant app folder, but I wouldn't do it because I already broke all functionality since I deleted the base apk, and the app size is less than 300KB now so I don't think the trouble is worth it.
You must whitelist these files from any memory cleaner, i.e SD maid corpse finder will delete it thinking it's a leftover of an old app
WARNING; I'M NOT RESPONSIBLE FOR ANY MISLEADS, WRONGS, OR PLUTONIUM-UNSTABLE ROMS THAT MAY EXPLODE IN ANY WAY. YOU ARE THE RESPONSIBLE FOR YOUR DEVICE'S SAFETY AS THIS ISN'T EVEN FULLY TESTED IN MY PHONE AND I DON'T KNOW THE ULTIMATE CONSEQUENCES OF DOING THIS. YOU ARE WARNED.
PD: Please make some suggestions about how I made the thread, I did what I think it's my best

Categories

Resources