yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] crypted:
Official support has is now available for more devices. This brings the total officially supported to 32.

Welcome these newbies to the fold:

Samsung Galaxy S III (AT&T, Rogers, Bell, Telus)

Samsung Galaxy S III I9300, I9305

Asus Transformer TF300T

Motorola Droid X2

Samsung Galaxy S 4G

If you appreciate this growing work, always consider clicking the Thanks.

Remember that I pay monthly hosting fees for the space and bandwidth necessary to keep this patch working on the backend. So, please consider donating a few bucks if you're a user. All donations go directly to the patch provisioning and there is absolutely no overhead to benefit me.
[Optimus One, P500 Android Development] crypted:
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!
[Optimus One, P500 Android Development] crypted:
It doesn't matter. Basically, if the first pool's DNS is dead, it will go to the next. So in theory having them there is good for redundancy. But, if the entire domain NTP.ORG stops resolving, we're SOL.

Honestly, the NTP packet is so minuscule that you don't need to have a UK pool versus the global pools I use up top. It may matter only if your phone's internal clock is extremely off OR you have a very slow data connection.

V3.x will have some surprises. It may involve my own NTP servers or pools. It may involve a lot more than that, too. ;)
[Optimus One, P500 Android Development] crypted:
Not to discount my point about enabling certain settings as someone already said works above, but my flashable ZIP works on the devices I own or have access to. But, I know that it doesn't work on some other devices. The assumption is that people know how to either adb push or how to use a file explorer app with proper permissions to get around that on those devices it won't work on.

I'll try and release the adb push method as a downloadable ZIP with a batch file as soon as I can. I'm pretty swamped with real life stuff right now, though.
[Optimus One, P500 Android Development] digitalface:
Interesting ;) GPS lock is now stupidly quick, I wish I had backed up the original gpsconf to compare the differences, how does it work so well!?
[Optimus One, P500 Android Development] crypted:
Depends on what ROM you're coming from. Many ROMs either have blank gps.confs, no SUPLROOTCERTs, mismatched confs and certs, OR more often they only have a couple variables in the gps.conf but are missing a lot of key parts.

Also, some say I'm a dumb ass and have ramrodded me on these forums. But, I found that the normal xtra server has been overloaded and takes several seconds and longer to download the necessary aGPS data. So, I dropped that and started using secondaries. Lastly, I believe that the usage of different NTP pools is useful.

The XTRA and NTP portions will be the focus on 3.x. 2.x was a variable washout to lessen the amount of variables that are unnecessary for newer hardware.
[Optimus One, P500 Android Development] storm11:
Thank you , works like a charm xD

Sent from me phone xD
[Optimus One, P500 Android Development] Paulojrc:
Hi guys. Using method 1 it's needed to change the files permissions? If so, can you tell me the final permissions?
[Optimus One, P500 Android Development] crypted:
Enable root permissions and enable mount system in ES File Explorer. Should do the trick. If not, use Terminal to delete the original files and then copy files over.
[Optimus One, P500 Android Development] Paulojrc:
Ok. You didn't understood my question. I'm talking about the permissions (read,write,etc) of gps.conf file and Suplrootcert.
[Optimus One, P500 Android Development] crypted:
Ah, I didn't ever have to change permissions to do it. I've been able to copy each file using ES File Explorer without any issue. Should you have one, use terminal and as root copy it over.
[Optimus One, P500 Android Development] buzzdr0id:
This is freaking awesome !! I got a lock within 3-5 seconds !! Thanks a ton man !!!!!!!!
[Optimus One, P500 Android Development] mentalityx:
Extremely good fix. I have been using Faster Fix and that would show me.in different parts of town. It was usually wrong by a block or two.

Did the Tmobile patch using method 1. Method 2 would not take at all with any patch.

After the first boot and trying it out room about a minute to look and locate. Since then I lock on to 8-9 satellites in 4 seconds. Thanks a ton.
[Optimus One, P500 Android Development] crypted:
Glad to hear it. Interesting avatar by the way. USAF huh? 1C3X1.
[Optimus One, P500 Android Development] angeloilcampione:
When 3.x :D ???
[Optimus One, P500 Android Development] Paulojrc:
Thank you cryped great work. Running very well....
[Optimus One, P500 Android Development] Garuxa:
Question

I looked at the gps.conf and I noticed that the south-america.pool.ntp.org server is not on the file. Why was not put that server in the file? :confused:
[Optimus One, P500 Android Development] crypted:
La verdad es que no lo necesita. Puedo agregar. Sin embargo, no se utilizara. El primero (pool.ntp) es global y se utiliza por defecto. Si la entrada DNS falla, el siguiente se utiliza, etc.

The first one is always used. However, custom NTP pools via my own domain are in consideration for 3.x. I anticipate NTP to join the 3.x trunk at v3.1. v3.0 will be a big surprise, although some might not appreciate it.
[Optimus One, P500 Android Development] Garuxa:
Oh i see.

I test this...

Gracias :)

Enviado desde mi GT-I5500
[Optimus One, P500 Android Development] crypted:
Great, let me know how it goes.
[Optimus One, P500 Android Development] landeiro:
Dont work for me. The GPS Lock fast but there isnt signal. I use AGA ROM with franco kernel 1.1. Solutions?
[Optimus One, P500 Android Development] r66:
dont work for asia thailand

gps never not lock sometime lock sloq but wrong 200kilometer:(

plesase update for asia thailand

cheers
[Optimus One, P500 Android Development] crypted:
To both users:

Many factors can cause this. What are the conditions you're testing in? Have you tried outside in an open area? Do you have a data connection? If you have a case, did you try removing it?

Also, I some ROM's appear to be cooked from other phones. This causes some issues with SANE variables I think. "Give v1.3 worldwide" a try and report back.
[Optimus One, P500 Android Development] Stumpalump:
Correct permissions for these files are rw-r--r--
[Optimus One, P500 Android Development] crypted:
Thanks for that. I'm lazy when it comes to doing "ls -lah" on my phone. Hate the screen keyboards! :o
[Optimus One, P500 Android Development] landeiro:
I tested outside, I didnt have any sinal. Open Area, in the beach and near the beach ths sinal is very strong but this patch doesnt work. Only lock GPS very fast. I tested many times and change the currect files.
[Optimus One, P500 Android Development] crypted:
Can you download the old v1.3 version and test it? Try the normal one before trying the alternate.
[Optimus One, P500 Android Development] crypted:
v2.1 is out

Everyone, the latest version is out. It's a minor update.

I put a changelog on the thread now. It's just above the Notes section.

Also, there is a new installation method. You can install via a batch script. It uses adb push behind the scenes to install whatever patch you select from the menu options.
[Optimus One, P500 Android Development] angeloilcampione:
The lock with 2.1 isn't good for me, :(
[Optimus One, P500 Android Development] crypted:
I added some new Notes. One recommends v1.3 if you have issues with v2.x because of SANE values missing or otherwise being unsupplied by some ROMs.
[Optimus One, P500 Android Development] Stumpalump:
After some testing, GPS seems to be working pretty amazing now. Thanks!
[Optimus One, P500 Android Development] sinax09:
problems

The lock is very fast, but it lock's me at ~200km N-V. I use Optimus One with 2.3 Stock 2.3 Ginger

---------- Post added at 06:26 PM ---------- Previous post was at 05:58 PM ----------

ps. sometimes it gets it right, but still like 100 meters North off.
[Optimus One, P500 Android Development] crypted:
That doesn't make sense. This patch doesn't do anything that would effect location like that. Give "v1.3 worldwide" a try. Maybe your phone needs a variable that I removed in the 2.x trunk.
[Optimus One, P500 Android Development] nd4spdbh:
mine does something similar... i live in southern california, and when i go to lock onto my position it will say im in the middle of no where in nevada (a good 400mi away)

every now and they it will grab on to my exact location super quick ... but having it give a non acurate location half the time doesnt work... going to try the 1.3 worldwide one now.

EDIT - ... 1.3 yeilds the same results.... going to just grab the gps.conf from the original stock rom and go from there.
[Optimus One, P500 Android Development] thachtunganh:
I have the greatest problem :D

I'm in Hanoi Viet Nam and i'm using your GPS.conf only build 2.1 ... when i go to the map , i said that i'm in Lao :D
[Optimus One, P500 Android Development] sinax09:
It looks like i'm not the only one having this problem, i tried 1.3 worldwide and it's the same. Btw, i'm from Bucharest, Romania.
[Optimus One, P500 Android Development] dancom96:
I get the same thing. Plus, sometimes when it can't actually get lock, it says it has one, and says that I am in the last location I was where I had a lock
[Optimus One, P500 Android Development] crypted:
Very troubling indeed. It sounds as if the phone isn't even trying to use your GPS. These location errors are from tower or server location information. If I have GPS off on my phone, I get a large deviation from my real location as well.

Could you all tell me:

1. Do you have a case on your phone?

2. Are you trying this outside?

3. Did your GPS work before?

4. What ROM are you using?

5. Download this file from your phone and tell me how fast it downloaded: http://xtra2.gpsonextra.net/xtra.bin
[Optimus One, P500 Android Development] dancom96:
1. No case

2. Both, it sometimes happens outside, but after a few seconds it changes from the last location to where I am now, same thing for inside, but takes much longer. In both cases, it is often off by half a km.

3. Yes, it worked before, very well in buildings too.

4. 6.6.1 mik_os

5. It's pretty much instant
[Optimus One, P500 Android Development] crypted:
So, it worked before trying this patch? Or, an older version of this patch worked?
[Optimus One, P500 Android Development] thachtunganh:
1. No case too

2. Both out and inside

3. Yes , but it works bad

4. Andy 2.3.4 Phoenix rom

5. ~2 seconds
[Optimus One, P500 Android Development] crypted:
From what you said and the other person above, the GPS isn't even being used. Make sure it is enabled and turned on for your device. Your positioning is solely based on your tower and IP information. This could very well make you show up in Laos because tower readings are not precise.

Example: if my GPS is off, I will end up 4000 miles away randomly rather than within the standard 5 miles when I get a good tower-based reading.

I know it works in Vietnam as there are other users from your country using the v2.1 patch right now. One wrote me today saying how great it works.
[Optimus One, P500 Android Development] thachtunganh:
OK , but i always check GPS is turn on before i'm using map :) , and i have just tried it again , outside , it still give me that i'm in Laos right know...

But i will try another version of your GPS patch , also Thanks for replying me :d

Sorry for my bad English :D
[Optimus One, P500 Android Development] crypted:
It sounds either that the ROM you use has not setup GPS functionality properly or you have bad hardware.

If v1.3 worldwide doesn't work, I'd try a different ROM.
[Optimus One, P500 Android Development] thachtunganh:
Ok :)
[Optimus One, P500 Android Development] dancom96:
My GPS locks to around 50m, then it stops using it completely, so it doesn't update my location unless I restart the app. What would the cause of this be?
[Optimus One, P500 Android Development] crypted:
What's the app you are using? I haven't had the problem you describe. The GPS sounds like it's working if it's within 50m unlike the other post above.
[Optimus One, P500 Android Development] dancom96:
Google Maps, I mean like, it should update as you move, but what it does now for me is lock on correctly, but then after a few seconds the GPS icon is gone, and my location is static, and not updating as I move
[Optimus One, P500 Android Development] crypted:
Have you tried another app to see if this happens? Maybe try "GPS Status" and see if it holds a lock and the error range for proximity... Then, we will know if you need to reinstall Maps or if it's something else.

In response to your initial answers, I asked if this was working before using the patch. Could you answer that as well? If your GPS was working, what was wrong with it that made you want to use this patch?
[Optimus One, P500 Android Development] dancom96:
It was working prior to the fix, it took ~20 seconds, so I wanted to see if this would make it faster.
[Optimus One, P500 Android Development] crypted:
Can you send me your original gps.conf so I can review? And mind trying another ROM with the patch?
[Optimus One, P500 Android Development] nd4spdbh:
gps was on every time i tried to get a lock, and it put my position a good 600mi away.

gps would take a long time before these patches, but when it did lock on it was accurate. Neither the latest 2.1 or the worldwide 1.3 worked... they both produced the same issues.

I ended up grabbing the gps.conf from the original stock rom that came on my phone and popping it on my current setup (CyanoMMatt v1.1) and it locks on quick and accurate EVERY TIME now, so im sticking with the gps conf from my original rom.... and thats what i suggest for everyone, cus these patches didnt work at all!

if you want i can attach the original gps.conf from my Optimus T rom (usa)
[Optimus One, P500 Android Development] crypted:
Hundreds of users with this device have no problem... Many variables are in each unique situation.

Thanks for being a complete asshole on my thread decrying my work. People like you are why we lose good developers of free solutions.

I doubt those with problems read all notes and references. Further I help those struggling when asked and provided enough detail. You asked nothing but chose to attack my dedication to helping others.

Edit: why not send me the conf and help test. Jesus.
[Optimus One, P500 Android Development] crypted:
I will be creating a test build for those who have had some problems on their particular devices. I'm private messaging them a link. As with others, I'm dedicated to and interested in knowing WHY someone has a problem.

This aGPS Patch is not problematic for tons of people worldwide on over 8 devices including the LG Optimus One. But, there are a few people on several devices who have had problems. It hasn't been the script so much as hardware or ROM-related.

But, if I can deduce the actual problem, I can have it tested on many other devices. If a change to a variable doesn't cause problems for the other 99% of users, I can alter it as a general release. If it seems necessary to make a special release, I'll do that instead. That is why there is a GPS alternate release. Some very old HTC devices and the first production run of HTC DesireHD's have older GPS units.

Explanation at an end...
[Optimus One, P500 Android Development] nd4spdbh:
im sorry if it came off as attacking, but like stated 2.x didnt work... and 1.3 actually caused my phone to lock up / display weird stuff on the screen and reboot.... and that was not caused by the OC.

I will admit (and like stated) the gps settings that came with my rom (CyanogenMMatt V1.1) made lock on times really slow, the times your gps conf's locked on to my actual location, lock on was crazy quick.

Attached is the gps.conf i now use (from the stock USA tmobile LG p509 rom) lock on takes about 5-10secs max... is accurate every time.

Hope this helps.
[Optimus One, P500 Android Development] storm11:
Hey i'm on cm7 5.6.7 & I flashed your 2.1 version , the lock is incredibly fast but is not accurate :( please look into the matter xD

Sent from me phone xD
[Optimus One, P500 Android Development] nd4spdbh:
read above posts... others (including myself) are having the issue. have you tried the 1.3 worldwide?
[Optimus One, P500 Android Development] hotshot05:
Just tried flashing this with CWM v5.0.1.0

Got an error -

"E:Error in /sdcard/agps.patch.generic.build.v2.1.zip

(Status() )

Installation Aborted"
[Optimus One, P500 Android Development] thachtunganh:
Unzip the patch you downloaded and copy gps.conf and SuplRootCert file to /system/etc and set them 644 permission using root explorer :D
[Optimus One, P500 Android Development] crypted:
I have several test builds out for people to try. I'll private message you it as well.

I'm trying to keep this thread from being flooded with test build information because it's really for sorting y'all out and to use in making a new release with.
[Optimus One, P500 Android Development] crypted:
So far, I have had three confirmations that v2.2 beta LG build works 100% with phones that had issues.

I believe the issue relates to ROM's keeping specific libs in them. Those libs, involved in GPS processing, require LG supl information and not carrier or Google versions.

So, v2.2 is in the pipeline. I have a little bit more to do and some more tests to get confirmed before it's released for all 8 officially supported devices.
[Optimus One, P500 Android Development] nd4spdbh:
FYI, when i used the original gps.conf from the LG froyo usa rom that came on my phone, i didnt transfer any certification... and it locks on just fine as well...

but like stated in my pm the two tests of 2.2 yielded a quick lock.
[Optimus One, P500 Android Development] crypted:
Yeah, LG supls don't require certs.
[Optimus One, P500 Android Development] zapito:
Awesome!

Works like a charm in my p500, before installing this patch gps lock lasts about 2 to 5 minutes, now in 10 seconds is perfectly locking and with high signal, also in indoors!

Thanks man, your patch is awesome
[Optimus One, P500 Android Development] crypted:
Gracias. Es bien que este funciona mejor para ti. Yo tengo Claro tambien porque yo visito el Peru muchas veces cada ano.

Anyway, it's good to see that others are not having issues and adds to my point above that these others issues weren't patch related so much as ROM or hardware. But, we've got a solution for ROM issues in a new LG-only release planned soon.
[Optimus One, P500 Android Development] crypted:
I have released v2.2. Changelog is updated. A new version is out for LG phones. It might work with others just fine as it is only a change in SUPL to LG servers.

Still working on v3.x I promise!
[Optimus One, P500 Android Development] deniso177:
I decided to retest this as you have released updates, and so far so good.

Will test in different locations to give it more of a challenge.

But one thing i did notice, and this will require you to change your description post a little.

I am locking onto 12 satellites now =)

will post screenshot if you want, without the coords of course =p

---------- Post added at 07:30 PM ---------- Previous post was at 06:41 PM ----------

Btw i just left my phone for about 1 hour on gp status on charger, and my phone shat itself, was very hot and didnt load past lg, it was low on battery so the charger was getting it from 0 %, but ye its fine after i took battery out and restarted, i guess gps status takes a lot of energy
[Optimus One, P500 Android Development] Javi22:
Hello. I want to know If my GPS is working on my phone with miks rom cm7 6.5.7

Im not sure If it works, I have tried the apps "Gps status" and "gps test"; theese are the results:

In Gps status apparently is working, even It shows me acceleration in g´s. But Gps test doesnt show me all data

should I flash this patch or its fine? I dont think so because in Maps, only can obtain my location If I set in settings "use network for obtain location". If I disable it, cant obtain my location so I think isnt working but not sure

sorry my ingnorance
[Optimus One, P500 Android Development] crypted:
Definitely try this patch. Consider removing it from a case if its in one too.
[Optimus One, P500 Android Development] deniso177:
the patch should help you, if not try fasterfix from market, that replaces your gps.conf with that developers version, and you set the area your in for your own time servers, mik_os default gps.conf always works laggy for a lot of people
[Optimus One, P500 Android Development] crypted:
All that app does is change ntp to something different. I tried it before starting this.

Ntp doesn't matter as much as some think. I wrote a long post about it elsewhere. I'll try and consolidate it all sometime into obe location for people's review.

I'd say use the patch and remove the phone from any case for testing.
[Optimus One, P500 Android Development] deniso177:
Oh ye its not like your patch, but just saying that it helped me as well as others over the gps.conf that miks rom has

---------- Post added at 12:45 AM ---------- Previous post was at 12:43 AM ----------

Btw im currently testing yours now, it again did lock on a little longer at start then my previous gps.conf, but when it did it was pretty steady and at one point i had 12 satellites locked on ( I screen-shoted it), will test in various locations, to see how it handles and how agps works.
[Optimus One, P500 Android Development] crypted:
Nah I know. We all need starting points. No worries. ;)

This should solve most peoples problems. But a rare few have other issues out of the patches control. Sometimes ROMs are baked in a way that halts this patches attempt to get gps rolling.
[Optimus One, P500 Android Development] Javi22:
Ok thank you so I will try the patch now and compare results :)

will post feedback here

Edit; Well I have download the Lg phones specific, then copied gps.conf and suplrootcert into /etc/ and reboot. Now Gps test shows me 4 satelites, but still not showing me all data and maps still on cant obtain location.
[Optimus One, P500 Android Development] storm11:
applied the new patch , locks instantly but off by around 2 miles :O :/
[Optimus One, P500 Android Development] crypted:
Can you try gps only alternate?

Or even better, edit the gps.conf in your etc folder to have intermediatepos set to =0 instead of =1?

It sounds as if your devices both may be struggling with correct parsing of intermediate data from satellites not fully connected.
[Optimus One, P500 Android Development] Javi22:
Yeeah you are a magician!! Really I have done what you said and this is the result

So now it shows me all data and more satellites, thank you a lot men!

I think is the first time I get gps working since I have the phone. It worked better on outdoor than indoor but in indoor worked too. And only toke about 30 seconds, great

Btw I don't know why maps still cannot obtain my location unless I set the option "use network ", instead gps. :S

Thank you mate, so grateful!
[Optimus One, P500 Android Development] fancccc:
11 satellites with case off. amazing
[Optimus One, P500 Android Development] dancom96:
That happens for me when I'm inside a thick building, are you inside or out?
[Optimus One, P500 Android Development] Javi22:
Well I tried it from my apartment window heheh, tomorrow will try outdoor...thanks ;)
[Optimus One, P500 Android Development] storm11:
Wow the change of value did it , awesome thanks man
[Optimus One, P500 Android Development] Javi22:
Maps still not working with Gps, only through network location but It work too, so its everything fine

Awesome work, thanks for the patch
[Optimus One, P500 Android Development] crypted:
Well we know now that some people need the alternate patch with this phone. Hmm.

I'll try to remember to make an LG build with the alternate setting.