yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] head_banger:
Would be great if some more people could try it out, maybe we'll discover something useful together.

Another thing you could do is downgrade the gps.tegra.so (at /system/lib/hw) with the one here:

https://github.com/TheMuppets/propr.../cm-10.2/p990/proprietary/lib/hw/gps.tegra.so

As what tonyp stated in cm10.2 thread, it works
[LG Optimus 2x] Bafun:
I'm with new bootloader and gps runs perfectly

Enviado desde mi LG-P990 usando Tapatalk 4
[LG Optimus 2x] deewhy:
This helped for me. I get a lock on 6-8 satellites now. Not as accurate as it was on 10.1, but it's workable.

I'm on oldbl.
[LG Optimus 2x] cleps:
Thanks for the help. Seems to work.
[LG Optimus 2x] szabeee:
GPS

For me wasn't helpful, still without satelit
[LG Optimus 2x] PYCON:
Me too... :cowboy:
[LG Optimus 2x] szabeee:
For me why not:confused::confused:
[LG Optimus 2x] head_banger:
Did the phone reboot when you downgraded the file or have you rebooted it

Sent from my LG-P990
[LG Optimus 2x] szabeee:
yes, but when I started my navigation said that my gps is off. I started it, but still off for the navigation. :confused:
[LG Optimus 2x] head_banger:
Have you got GPS test from play store, what does that say when you run it

Edit go to settings, security then privacy guard and deselect what ever GPS software you have if its enabled, this stopped mine from connecting :o

Sent from my LG-P990
[LG Optimus 2x] szabeee:
Yes, but nothing after few minutes

I'll try it on clean 10.2
[LG Optimus 2x] 60nine:
sorry for breaking into gps conversation... [MENTION=3605868]tonyp[/MENTION] - i'm getting "failed to locate the apk file" error when i try to uninstall an app via titanium (the rom v22, oldbl)

any clues?
[LG Optimus 2x] breeno.net:
I'll tell you what. I'm not going to update my lto.dat for at least a few days, and I'll go for a whole week if it is still usable and a new build doesn't come out. I'll report back how well it works over this time. Actual performance data is better than speculation. But why don't you give it a go, as well?

As for your other questions, time will tell with newer builds. Let's see what the future brings before we worry too much about all the possible problems that haven't happened yet. :cool:

-Breeno

---------- Post added at 06:03 PM ---------- Previous post was at 06:00 PM ----------

Have you tried installing a new lto.dat to your /data/gps folder, as has been the talk over the last day? My GPS works perfectly fine with all the other radios enabled. 11/11 fixes, solid. I even get 9/9 from my basement. My fix times are under 10 seconds, too. I almost never turn off the mobile radio or the WiFi, except when I'm in class.

-Breeno
[LG Optimus 2x] echo_21:
I would like to reproduce your results. How do you activate/deatcivate radio? Do you mean airplane mode off/on?
[LG Optimus 2x] sudden36:
Jep activating airplane mode, deactivates the radio.

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] echo_21:
Thanks again! Your results are very promising. :good:

Of cause I am speculating a bit. But as a physicist and R&D engineer I have been most often very successful using "my method" of analyzing complex systems that I don't fully understand: 1. read a lot and try to understand 2. make working assumptions from that what you understood 3. make experiments that are suitable to falsify your working assumptions. 4. If the experiment falsified the working assumption go to #1 and revise your working assumptions and experiments 5. If the experiment didn't falsify your working assumption think first of, if your experiment was really good. If so it seems you reached a next level of knowledge: your working assumption is true. Summarize and go to #1 again. As you are more experienced than before you will read and understand much better than initially.

So I would say that I posted and will continue to post working assumptions in this thread rather than only speculating blindly.

But now back to GPS fix improvement on P990:

Even if the first LTO assisted fix had a little worse location accuracy (let's say +/- 50 m worst case) than standard working aGPS, I would prefer using a working LTO instead of using a faulty working aGPS. I understand that the fixes you worked out will bring us working LTO. Then, I don't care why standard aGPS does not work correctly on our P990 as it should.

Additionally, using non accurate ephemeris data (as most probably derived from LTO data that are some days old) will only result in non accurate first fix position values when atmospheric/ionospheric parameters are deviating from the mean parameters . Who knows how often and when this happens? Please remember these words in case we observe a little inaccurate first fix position when using LTO in the future.

As I wrote, any potential lower location accuracy of LTO assisted first GPS fix will improve within minutes to let's say to +/- 10m within 1 or 2 minutes. This will be possible by downloading the current precise ephemeris data from the satellite data streams.

I will definitely give it a try. Just need to recover from my flew first. I don't know which comes first: tonyp's next theROM/clean CM10.2 or my immune system ;)
[LG Optimus 2x] echo_21:
I assume, your post is GPS related, right?

I can't believe that: As the speed of light (as well as the speed of GPS signals) is 300,000 km/second, a mismatch of 1ms means a position error of 300km! Starting with the first fix the time data has to be taken from the GPS satellite data streams. This time data is much much more accurate than 1ms.

Note: e.g. missiles and projectiles don't have aGPS nor NTP access at all. Even though they use to hit their target within a few meters.

What I believe is that the first fix will be earlier with (local) NTP instead of without.
[LG Optimus 2x] Peppe91:
Guys sorry for the intrusion but I would like to know if any of you does not always work the back button. Sometimes the only way to go back is to press home button. it's only me? (clean install about one month ago)

thanks
[LG Optimus 2x] Gonox:
Sometimes I also noticed this problem with some aplications, thr back button doesnt work
[LG Optimus 2x] breeno.net:
That's new to me. I don't remember having that problem a month ago (whatever build was current at that time). You really should update to build 22. It is very, very nice compared to earlier builds. At least, I have found my phone to be much more stable and smooth as butter. :good:

As always, read the build highlights on page 1, and then click through to the build announcement for additional instructions.

For build 22, you will see that tonyp recommends wipe dalvik / cache.

-Breeno

BTW - Not an intrusion, at least not for me. I'm always interested in new questions that aren't dumb! ;)
[LG Optimus 2x] DeeKay773:
Wifi bug

Allright, after 1 week of using exp-opt I've random checked the wifi and that no-other-wifi-networks bug is back here. I don't know what is causing the problem, I had been running exp-opt whole summer with same (even more) apps in phone.

[MENTION=3605868]tonyp[/MENTION]

I have log right here, but I'm not that experienced to clean it till the bug came, so for saving your time, opening wifi settings is @ time 13:09-13:10, I have noticed some fails there. Hope it'll be useful somehow. Thanks in advance :)

Edit: Also tried to run phone from safe mode [long press restart device button in power menu] but it didn't help at all :/ still no wifi but my saved visible (im 100% sure i can catch my neighbour's wifi in my apartment)

Edit #2: I was playing a little bit with wiping some /root partitions and i found out that nothing changes until /data are wiped. Probably there is some corrupted file?
[LG Optimus 2x] ppino:
I'm in build 22 and noticed this too. Only happened in Facebook, when I make a zoom in a photo, then can't back to the wall and the only solution is to press home button.

Could be app related.
[LG Optimus 2x] Peppe91:
I follow Tonyp From the earlier T-Build and since the first THE ROM and I always read very carefully every his single post..I'm on the latest build (22) and kk126 no rh.

Obviously i wiped cache and dalvik before flashing due to the flag changes.. It's not app related because i noticed that happens randomly and when it happens it does not matter what app you are using, it just doesn't work the hw key (but if i long press it kills the app) ;)

i'm quite new in android ecc but i'm learning quite fast, if i can help with something, i'm here!! If needs some logs ecc no problem at all..

Brenno thanks for the fast reply and kindness.
[LG Optimus 2x] dr.lube:
Switch off and on the screen and the back button will work again :)
[LG Optimus 2x] Gonox:
Good idea , I will try this when I will encounter the back button problem ;)

[MENTION=5458952]breeno.net[/MENTION]

I am already on build 22 , and also did full wipe, I also posted a comment about back problem because it also happent to me and I tought I had a hardware problem, but it's not a big problem we can overcome it, and the fact that it happends only in some apps it's not a big deal :)
[LG Optimus 2x] proyatzu:
Yeah, same here
[LG Optimus 2x] filarod:
Or you can just long press the home button, return to Facebook and the back button will work again. I think this should work with any other app. I've only faced this problem with build #20. Always with clean installs. Build #22 works very good.
[LG Optimus 2x] breeno.net:
I don't use Facebook, so you could be very right that it is simply an app bug.

-Breeno

EDIT: I tested zooming on photos in the G+ app and the Gallery app. No problems using the back button there.
[LG Optimus 2x] breeno.net:
I think you may misunderstand the ephemeris functionality of the GPS system. See here: Global Positioning System, Wikipedia. Pay particular attention to ephemeris details.

In short, ephemeris for each sat is calculated on the ground and each sat receives an upload of its own ephemeris data every four hours. LTO data is essentially ephemeris data calculated over a seven day window instead of a four hour window.

Now some reasonable assumptions made in the context of the above, and assuming a 64 sat constellation:

Nothing inherently limits accurate sat ephemeris calculations to a mere four hours. The four hour window is likely related to US military reliance on the GPS system, and their need to ensure regular updates in the case of enemy interference with the GPS sat constellation;

The validity of ephemeris calculations for any particular sat may be invalidated by external interactions with the actual satellite, or by a choice to initiate maneuvers;

It is rare for an external impact with debris to invalidate the ephemeris calculations for just one sat within seven days, more rare for it to happen to multiple sats within a seven day window, and even more rare for it to happen to multiple sats within the same viewpoint of the sky;

Sat orbits are relatively stable and only maneuvered to correct orbital anomalies;

The lto.dat file that I am using contains seven days of ephemeris calculations for the GPS constellation (Broadcom also regularly generates a 30 day lto.dat file, BTW). If my above assumptions are correct, then there is no reason to expect that the data will become so obsolete over seven days so as to make it useless, except under the most catastrophic circumstances. Four sats are required to accurately determine position+time. At worst, with LTO enabled I receive a quick fix on nine sats. Invalidating the LTO ephemeris data would require the data for six of those sats to become obsolete within the seven day window of the LTO data. I believe that it is highly unlikely that there will be orbital disruptions to six sats that are relevant to any particular GPS receiver within a seven day window.

We will see soon enough. I can report that as of today I am still receiving a fix on 11/11 sats from the ground floor of my house. First fix this morning took 16 seconds, but the GPS was disabled overnight. Seems reasonable, and is still way ahead of my GPS performance before installing the lto.dat on my phone.

Come now, you are spending more time on these posts than it takes to install the most recent LTO. Tell you what, I'll post instructions with a script later today that will make it very easy for anyone to manually update to the latest lto.dat file. ;)

-Breeno
[LG Optimus 2x] BS86:
I can confirm that the lto.dat improves lock speed.

Did not have gps activated since flashing build 22, copied the fresh downloaded lto.dat to /data/gps, set rw- r-- r-- and did a reboot.

Went outside, activated gps and started gps status app. Locked to 5/5 after 2 seconds and went up to 9/9 after another 2 seconds.

Drove through a long tunnel and lost lock, and had instant lock at the end when I was not even out of the tunnel, it used to take 10 seconds to relock there

Therefore, yes, add it plz ;)

Sent from my Nexus 7 with Tapatalk 4
[LG Optimus 2x] wucinac:
moment ago, my phone did not want to turn on the screen. just lay on the table for about half an hour after completion of the call. not react to the on / off button, so I had to remove the battery. build 22.

syslog
[LG Optimus 2x] breeno.net:
Scripted Manual Installation of Latest LTO File

DEPRECATED: This is no longer useful as of TheROM build 23, as LTO data updates occur automatically. Thanks to all who tested and reported results!

By popular demand (not really), here are some easy instructions to install a script that manually updates to the latest lto.dat. You only need this if you want to test your phone with only the latest lto.dat file. If you want something more permanent, you might look at [MENTION=4920940]sgspluss[/MENTION]' solution (as of writing his fix also replaces gps.conf and uses a different lto.dat source file, plus a more complex script): [ICS / JB] Fast GPS Fix

Instructions

Download the attached file (getlto.sh.txt) to your internal SD card. Then, start Terminal Emulator and enter the following commands (ensure you have an active Internet connection):

su

cd /data/gps

cp /sdcard/getlto.sh.txt ./getlto.sh

chmod 700 getlto.sh

./getlto.sh

exit

All done. You should now have the latest lto.dat file installed on your phone, and you also have a script which you can run to update to future versions of lto.dat.

Subsequent lto.dat updates may be performed with the following commands in Terminal Emulator:

su

/data/gps/getlto.sh

exit

For those of you with some Unix background, it wouldn't be very hard to add error checking to the script and then add it to the system crontab (or other scheduling app) to automate it. I would suggest retrieval on a three day schedule. Although, it's probably not worth your time if a future build of TheROM incorporates automatic lto.dat updates from CM10.2. :fingers-crossed:

Removal is simple. Open Terminal Emulator and enter:

su

rm /data/gps/getlto.sh

rm /data/gps/lto.dat

exit

Have fun, and report your successes or failures! :highfive:

-Breeno

UPDATED: Just to be clear, this script is manual because it will not automatically download a new lto.dat file when your old one expires after seven days. If you don't run it again before seven days is up then you will no longer benefit from LTO. Only for testing purposes, not production ready.
[LG Optimus 2x] pijas82:
Viber does not work on some calls with friends build22
[LG Optimus 2x] fabiodelaplazia:
Caméra +flash =picture White :(

Envoyé depuis mon GT-N7100 avec Tapatalk
[LG Optimus 2x] flopower1996:
Use another camera app.

Gesendet von meinem Amazon Kindle Fire2 mit Tapatalk 2
[LG Optimus 2x] echo_21:
I think lying in a warm bed and typing is fine. But believe me, running around outside on a rainy 4°C November day with 39.5° C fever testing GPS on my P990 would not make my wife really happy. ;)

Thanks to your work, I am looking forward to see GPS fix working much more reliable on my P990. I will try your script this weekend. It would be very cool if I got a fix even in my bed room where I never got a fix before.

Just to get you right: do you conclude that LTO assisted GPS fix speed in general is higher than that with correctly working standard aGPS even in case where the aGPS receiver has connection to the internet?

My working assumption up to now is that first fix speed of LTO-GPS and aGPS in principal should be identical. Another working assumption is that aGPS never worked fine on my P990 producing the problems with no or late first fixes.

Thanks for helping to bring light into the dark!

I understand that it may look, as I misunderstood the ephemeris functionality. But I still know that raw ephemeris data describe only pure 4d orbital data of each satellite and don't have anything to do with time delay fluctuations produced by air density changes. I also still know that satellite orbits are very stable and therefore long-term well predictable.

But I remember I read a GPS article that told, the ephemeris data transmitted from the satellites were numerically pre-corrected by the effects of the current time delay deviation. This manages that the GPS receivers show a more accurate position. Unfortunately I cannot find this paper anymore. Or, maybe my fever lets me hallucinate about the past? :confused:

Anyway, even if my remembrance was right (you see, I am beginning doubt), as I wrote only the first fix and some subsequent hot fixes would be affected by a small accuracy decrease. Therefore, it is not that important to finally clarify this point.

Have a good night!
[LG Optimus 2x] fabiodelaplazia:
Othe apps not compatible With cm10.2

Envoyé depuis mon GT-N7100 avec Tapatalk
[LG Optimus 2x] flopower1996:
Check camera zoom fx out in the play store. It works like a charm on cm10.2

Gesendet von meinem Amazon Kindle Fire2 mit Tapatalk 2
[LG Optimus 2x] fabiodelaplazia:
I tested picture White too :(

Envoyé depuis mon GT-N7100 avec Tapatalk
[LG Optimus 2x] breeno.net:
Yes, try it from bed! :fingers-crossed:

I can't confirm a conclusion on the basis of observation. My mobile network provider does not have an aGPS infrastructure.

However, I would theorize with strong conviction that LTO is superior to aGPS for one simple reason: LTO is cached in local storage, while aGPS data is transmitted over a network. Disk is faster than a mobile network in every probable instance, so LTO-provided data should be utilized by the phone faster than aGPS-provided data.

LTO was Broadcom's answer to the deficiencies of aGPS, after all.

Since you seem to have no problem with nerding out, :highfive: I found a short academic paper written this year about aGPS. It is pending journal publication, but one of the authors has posted it here: When Assistance becomes Dependence: Characterizing the costs and inefficiencies of A-GPS. You might find additional related reading on the author's home page: Narseo Vallina-Rodriguez, University of Cambridge.

-Breeno

DAILY UPDATE ON LTO WITHOUT GPS.CONF: We've had snowfall this morning in my part of Canada. Visibility is down to 6KM, which is just pushing the boundaries between what I would classify as light and medium snowfall. My first fix today came after 18 seconds with 8/8 sats (double the minimum required for location+time calculation). My second came after 12 seconds and fixed 9/10 sats. Once again taken from inside the main floor of my two story house. Very respectable results given the weather, and still way ahead of performance I had without an lto.dat file.
[LG Optimus 2x] pijas82:
Top NTP and androits GPS i have fix 11sat
[LG Optimus 2x] crypted:
In re GPS debate @ my work

Just to point this out, my servers are paid two years in advance and all donations go to paying them further forward.

I have no intent for my work to go bye-bye. It's backed up thrice daily and is now wholly automated. This is to ensure that if I get busy, the system (and fast GPS/NTP times) continue to flow freely.

Further, TopNTP is a joint collaboration that [MENTION=3366694]Zatta[/MENTION] and I came up with. It's my patch with a UI approach for those who prefer apps. It's in the Play Store.
[LG Optimus 2x] breeno.net:
That's great news for everyone that relies on your gps.conf and xtra.bin files! Thanks for your efforts!

I'm not sure if you know this, but the LG O2X (P990) uses a Broadcom GPS chip rather than a Qualcomm chip. TopNTP's description only indicates that it auto-pulls xtra.bin (the Qualcomm format). Is that still the case, or has lto.dat (the Broadcom format) been added as well?

Also, do you happen to know what the behaviour is on a Qualcomm-based phone if the gps.conf file is deleted? Does GPS become disabled (that is, it won't even show the "GPS fix pending" icon on the status bar despite GPS being enabled in the phone GUI settings)?

I ask because I am able to get a quick lock on my phone without any gps.conf file, so long as I have a current lto.dat. However, deleting the Broadcom specific configuration file (gps_brcm_conf.xml) entirely disables the GPS on the phone, even with a valid gps.conf file. Forum posts indicate that the stock ROMs and CM7 did not use the gps.conf file, but tonyp recalls that it made a difference for him on CM10.1. When one considers the fact that Broadcom's CM10.2 xml file contains settings also found in gps.conf (such as SUPL server parameters), it appears on balance that the LG O2X does not in fact utilize gps.conf in CM10.2, either. However, the final piece of "smoking gun" proof has yet to appear.

I'd appreciate any info you may have that helps conclusively determine the state of GPS configuration on this phone.

Thanks again! You're providing a very important service to all those Qualcomm users out there! They are lucky to have you! :good:

-Breeno
[LG Optimus 2x] rajdoll:
I tried this and can confirm that this really gave me super fast GPS fixes and even in places where I never ever had fixes in the past on any ROM or version. Excellent finding breeno, you are the man!!!

Only issue now is that what if you don't have internet access for more than 7 days?
[LG Optimus 2x] BTW lover:
For me the nexus 5 battery life is noticable worse than it used to be on the o2x with pengus + tony power.
[LG Optimus 2x] sgspluss:
After update from today its basicly the same as your manually .sh do ;)

I have cleaned it out so no more scripts as needed are inside and the gps.conf are the same, as you can find also in tonys CM10.1 or pengus CM10 (so it cant being bad at all).

That means in the flashable.zip you find:

- unter data/gps the needed lto.dat

- new gps.conf (same as you can find in CM10 and CM10.1)

- init.d script for checking the lto.dat on every boot/reboot, and if its older then 5 days it will update it automaticly

--------THATS ALL--------
[LG Optimus 2x] :
I'm having issues where trebuchet is crashing when using the camera and trebuchet takes about 7 attempts to be able to restart. Logcat attached. Thanks for your time :)
[LG Optimus 2x] calvxrr:
For me [MENTION=4711029]sgsplus[/MENTION] script doesn't work. I have therom extopt freshly installed. I did everything as it is said in [MENTION=4711029]sgsplus[/MENTION] fast gps fix op. Then I installed GPS toolbox. Now it doesn't show any sattelites.

Did I forget to do sth?

Edit:

After reboot one more, everything

worka fine.
[LG Optimus 2x] DcR-Nl:
Please, create a separate thread to talk about the GPS fixes. Thank you.

GPS speed has always depended on your location... I'm expecting TheRom specific updates and questions when I see new posts, not endless(!) discussions about a feature that's not broken in TheRom (works fine for me and probably more people).

Sent from my O2x with Tapatalk

//EDIT: Is this a CM10.2 or TheROM issue? Long lasting discussions about one bug, which not effects most of the users, have always been redirected to a separated thread, otherwise unrelated bug reports will get much less attention. I smell a double standard, just an honest opinion, no attack in any way...:rolleyes:
[LG Optimus 2x] BS86:
When I look in here, I expect some development related posts, not a post telling others to post elsewhere ;)

Gps is working worse for most of us on 10.2 then it did up to 10.1, and it was always worse then it is on other devices, so it is perfectly fitting into this development thread

Sent from my Nexus 7 with Tapatalk 4