yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Robyer:
Recently I've been using ICS modded ROM by sgspluss: http://xdaforums.com/optimus-2x/development/rom-slimfaststockpluss-t2883798

and it had better (I can't say if BEST, I don't remember) GPS performance than current tonyp CM roms, but I went back to CM again so I can't test it...

Here should be nearly not modified (only root, busybox, init.d, ext4) stock ICS rom: http://xdaforums.com/showthread.php?t=2076882
[LG Optimus 2x] dev>null:
I can ! :D

1. Stock based rom like Opti-Thrust or sgspluss one have really great GPS , even today!

Just hope they don't use some pre-CM LG proprietary system file to achieve that.

For sure newer ROMS have a gps.tegra.so that wasn't there in earlier roms.

2. No. gps_brcm_conf.xml files are NOT identical. I'll compare the others, test overwriting and report soon ;) Pls. check new attachment here.

PS>All my files are from pengus, as the Zip file name reveals :) Also, I'm aware of your first post statements, but I was just adding possible ideas and variables to narrow down the field (i.e: use similar setup without changing them...always with gapps or without...always with same NTP server...etc.)

Good luck and all the best :good:
[LG Optimus 2x] wals46:
This is the rom I mentioned here some posts ago and which I'm using now, it is LG 30B from India and fixes gps in 5-10 seconds without using lto.dat.

Time ago I tested [MENTION=4920940]sgspluss[/MENTION] roms which have fast gps fix but sometimes the position and cardinal points were wrong (unless I made some mistake).
[LG Optimus 2x] echo_21:
Breaking GPS news!

Impatient readers please read 2nd part of this post!

I tried so many things (old TWRP, different basebands, RAM hack vs. no RAM hack; language German vs. English, etc.) all without success!

Breaking news: I tried another CM10.2 (theROM 10.2-20130921-UNOFFICIAL-p990 in particular ) and got GPS working with much better GPS performance (e.g. indoors GPS cold start fix within 60 seconds even after battery removal). As I tweaked so many thing in parallel I don't like to tell details at the moment. First I will systematically try to apply all changes to a recent 2015 CM11 ROM to see if it is boosting GPS performance too.

The downside is that this improvemt does nothing have to do with LTO technology and its advantages.

Stay tuned
[LG Optimus 2x] echo_21:
good GPS news but no LTO so far

Good news: I had some days of same GPS performance under ancient 10.2 (s. above) even after I uninstalled all potential GPS aiding apps like GPS status, GPS aids, etc. etc. It seemed to me that the only remaining thing that could be responsible for improvement was a changed /system/etc/gps_brcm_conf.xml.

Today I flashed CM11 Jan. 18 2015 and applied all 10 changes to /system/etc/gps_brcm_conf.xml . GPS performance improvement is same as on CM10.2: TTFF in less than 60 seconds at open window even after battery had been removed!

I really like to understand wich of the 10 changes is/are responsible for the improvement. E.g. it seems to me that the following lines were introduced by somebody who did not know what he was doing:

acNtpServer="10.21.116.63" acUtc2GpsOff="13"
AsicIP="127.0.0.1" AsicPort="2375"

I cannot find the strings "acNtpServer" to "AsicPort" in /system/bin/glgps that is to my best re-engineering knowledge the only instance that parses the contents of /system/etc/gps_brcm_conf.xml. I can only speculate that he was just trying to benefit from merging configuration parameters that were introduced to newer versions of /system/bin/glgps .

Still no advance with LTO. But I think that many P990 users will benefit anyway.
[LG Optimus 2x] dev>null:
[MENTION=5399879]echo_21[/MENTION]

acNtpServer="10.21.116.63" acUtc2GpsOff="13"
AsicIP="127.0.0.1" AsicPort="2375"

Cool mate! I came to the same conclusions: someone messed the config up !

If you ping 10.21.116.63, it does not answer.

packet loss	100 % !!!

Did some research and it was the old IP for derek gordon's NTP server (new IP is: 62.192.15.212).

Using ntp.derekgordon.com at the moment seems the most effective choice.

PS. Also it may be interesting to have a gapps independent wifi location service !

Read this: http://xdaforums.com/showpost.php?p=59137985&postcount=221

If you share your magic 10 steps, I can try to reproduce on more CM11 based roms.

:fingers-crossed:
[LG Optimus 2x] tonyp:
Funny, I reverted the IP's in a recent experimental commit as well (which I adopted from some updated P970 commits):

https://github.com/tonyp/tonyp_device_lge_p990/commit/d47fe8b79baa8d04ae549453b476eaf020cbbe8b

Regaring the file. Before that it was just updated by [MENTION=2330281]aremcee[/MENTION].

Here is the commit history: https://github.com/tonyp/tonyp_devi...d04ae549453b476eaf020cbbe8b/gps_brcm_conf.xml

And the blame view: https://github.com/tonyp/tonyp_devi...e380ac2f6f0f65fc2c897260604/gps_brcm_conf.xml

Maybe the commit history will give you a couple other new ideas.

When you have a final version just send me a pull request to my p990 device repo and I'll merge it (you can use the online editor).

Where did you see that this has been Gordons server?

I doubt this a little as this IP has been used in other vendor files, too.

E.g. Lenovo: http://forums.lenovo.com/t5/Lenovo-...m-no-location/m-p/709703/highlight/true#M4835

Still, obviously we shouldn't use the IP anymore as the server is down. Hopefully this indeed was the main problem of the subpar gps performance.

Last but not least, I just learned something new which might help you, too.

On some other devices the file in question is called glconfig.xml - so you could compare a couple more default configurations.

Additionally this seems to be a nice overview: Understanding Android GPS Architecture

It does give a hint about how to enable a GPS log in case you didn't do that, yet.
[LG Optimus 2x] dev>null:
Thank you for all the infos and resources, Tony ! I checked with traceroute...and the last responding server is on the same host (hetzner.de) used by Derek Gordon. Thus deduced it could have been the older NTP server's ip. Of course I'm not 100% sure about it and it could easily be the old europe.pool.ntp.org ;)

But I've the feeling we're coming closer to the solution !

:fingers-crossed:
[LG Optimus 2x] dev>null:
[MENTION=5399879]echo_21[/MENTION] testing right now on CM11 ;)

Attachment removed, till I get it right :)
[LG Optimus 2x] echo_21:
Would you like to tell, if your SLIM FAST STOCK ROM already has a file /system/bin/glgps ? If so, what is its file size in bytes?
[LG Optimus 2x] dev>null:
It's 1.743.124 bytes in that rom. I have it too ;)

MD5: 3D8694828F6CFEB8BB2D3AA49F20AD72
[LG Optimus 2x] trivius:
I have finished testings and guess what... it's working!

I am really impressed how this kind of magic substantially improved my signal strength. Under totally cloudy sky fix came under 1/2 minute and after that GPS kept fixed, even I was apx 2m far from window in interier.

Just a comment to point 1 - shouldn't be gps_brcm_conf.xml file location /system/etc/ , instead of /data/gps/ ?

--- Edit 1 ---

Tested at this:

HW: LG Optimus 2x

CM version: 11-20150217-UNOFFICIAL-p990

Android version: 4.4.4

Baseband version: LGP990AT-00-V30a-EUR-XXX-NOV-30-2012+0

Kernel version: 2.6.39.4-Kowalski-Stable-M1, kow@lski.kernel #1, Fri Sep 6 16:10:37 CEST 2013
[LG Optimus 2x] echo_21:
Thanks for confirmation! :D

But is is no magic at all, it is just broadcom's LBS technology. I am crying as I cannot get their LTO technology working again as it did at least in 2013.

Yes, thanks! I already corrected the post .
[LG Optimus 2x] enyx.es:
Hi there

I have interest in this because I want to use my old 2x as my car GPS.

Maybe the ARP server is offline. I did ping to lge.glpals.com and didn't respond but checking others for example supl.Nokia.com does

Also the same to acntpdserver doesn't respond but I think use GPS.conf

Don't know what is asic but is pointing to the phone so I really don't know the point to this.

Maybe using alternative servers might increase performance??

Thanks for your investigation

Enviado desde mi MI 2 mediante Tapatalk
[LG Optimus 2x] echo_21:
Did you follow this instruction?

If not, please do it and you will most probably get GPS performance boost like confirmed independently here.

Believe or not: gps.conf is of no use!

Regards echo_21
[LG Optimus 2x] foober:
If i using ICS by sgsplus i can use this 'patch' for GPS ?
[LG Optimus 2x] echo_21:
Hi foober, I don't know as I haven't tested ICS by sgsplus. But I think that it may work. I would give it a try. Please check:

Is your P990 rooted? (If not it would be very hard to apply the patch as you could not easily modify /system/etc/gps_brcm_conf.xml)

Do you have a file /system/bin/glgsp?

Is its size 1,743,124 bytes?

Do you have a file /system/lib/hw/gps.tegra.so?

Do you have a file /data/gps/gldata.sto?

Is its file date March 2015?

If you can answer all 6 questions with "yes" follow this instruction .

In case you have to answer at least one question with "no" please report here.
[LG Optimus 2x] echo_21:
GPS on CM7 temasek 135.4. improved !

We now have another independent confirmation. But please read [MENTION=3326121]kenra[/MENTION] 's PM (kenra has less than 10 posts and is not allowed to post here) :

Testers of this instruction for other ROMs are welcome.
[LG Optimus 2x] dev>null:
Unfortunately my tests on KK and Daydream ROM by CNBLACK had negative results. Sorry I can't investigate in too deep since I needed to revert the phone to my working ROM...but GPS always gave 0/0 fixes even after following all steps.

On a side note, to avoid false positives, CM7 and SGSpluss rom already had a quite good working GPS, so it would be interesting to evaluate this patch applied to latest android/cm versions ! Latest tonyp's is my next test ;) Will keep you updated.
[LG Optimus 2x] foober:
6x yes:thumbup:
[LG Optimus 2x] echo_21:
Regarding [MENTION=5160773]dev>null[/MENTION] 's experiences I have to add a prerequisite #7 :

Is your P990 rooted? (If not it would be very hard to apply the patch as you could not easily modify /system/etc/gps_brcm_conf.xml)

Do you have a file /system/bin/glgsp?

Is its size 1,743,124 bytes?

Do you have a file /system/lib/hw/gps.tegra.so?

Do you have a file /data/gps/gldata.sto?

Is its file date March 2015?

Have you had have at least 1 GPS fix with your current ROM? (the described patch can only improve GPS performance: no doubt: it cannot do witchcraft making a non-working GPS working)

Best regards

echo_21
[LG Optimus 2x] dev>null:
[MENTION=5399879]echo_21[/MENTION] Aww! I wished it was black magic :D

:good:
[LG Optimus 2x] DeeKay773:
Thanks mate! :) The fix worked! However, after few reboots and days not using GPS it's the same as it was before. (Checked gps_brcm_conf.xml, everything is set like it should be). Do I need to delete /data/gps stuff and reboot with battery out for a while everytime before I use GPS?
[LG Optimus 2x] echo_21:
Thanks for report. It seems to me that there are only few testers of the potential GPS performance boost as described here.

But [MENTION=5273392]DeeKay773[/MENTION], please help that we do not lose your valuable test results:

What is the version of your baseband?

What is the type and version of your kernel?

What is the type and version of your ROM?

Has your P990 always had life internet connect when you started GPS? Note: LBS is not LTO. LBS (without LTO) requires life internet connection as described here.

No definitely not! No one would likely accept such a work-around. All you should need for successful LBS assisted GPS is life internet connection prior you start GPS (this is the main dis-advantage of LBS over LTO) . Please repeat your tests and report result here. And please please please never forget to tell you versions (see above).

I can tell that I only have decreased GPS performance if my P990 does not have life internet connection. But as soon as

I stop my offline navigation app (of course Android stops GPS then)

I make sure that there is life internet access

I restart my offline navigation

I have excellent GPS performance again.
[LG Optimus 2x] DeeKay773:
Thanks for advice, i had bugged location settings - gps was enabled before internet access. I did a reboot and all works flawlessly now. :)

V30A eur baseband

#8 firtecy kernel 3.1

Tonyps build 30.1. 4.4.4

Btw the online connection is needed always when I want to use GPS?
[LG Optimus 2x] echo_21:
Please read again "First the bad news: ..." in http://xdaforums.com/showthread.php?p=59223874
[LG Optimus 2x] DeeKay773:
Allright i am completely blind. I can do a little testing as soon as i graduate, to compare time since last succesful connection and time needed to get fix without internet access. :)
[LG Optimus 2x] echo_21:
Lol np.

If you really want to repeat this LBS assisted GPS test w/o internet access please make sure to start GPS at least 5 hours after previous GPS start (with internet access). Reason: the downloaded LBS data from the last time are valid for 2-4 hours. So your test w/o internet access would be very unfair if you restart it as the previous LBS data are valid.

Anyway, I did this test many many times (see "... hard work ..." in this post). The result is 100% clear: there is no permanent GPS performance boost by broadcomm's LBS technology if you don't have internet access at least every 1-2 hours.

Only broadcomm's LTO technology provides performant autonomous GPS operation (i.e. it works w/o any internet access within 7 days). For details read this opening post.
[LG Optimus 2x] dev>null:
[MENTION=5399879]echo_21[/MENTION] Cool! Using your fixes I managed to get GPS fix and good performance, stable signal, etc... with latest CM11 builds by [MENTION=5021221]gucky01[/MENTION] ;)

Thank you mate :good:
[LG Optimus 2x] enyx.es:
[MENTION=5399879]echo_21[/MENTION] can you please guide me how did you got the logs on post #2 ?

Also im trying to follow your instructions but i dont see the "glgpsctrl" file in some roms and im not able to find them

thank you
[LG Optimus 2x] echo_21:
Sorry for late reply! I was very busy.

See OP post chapter "current knowledge". I added an instruction how to enable GPS logging today.

To be honest I don't know if GPS may work without /data/gps/gpsctrl virtual file (pipe? socket?). Does GPS work on P990 that don't have /data/gps/gpsctrl ?
[LG Optimus 2x] echo_21:
Pull request

Hi tonyp, it seems that most of the users who tried my patch got a GPS improvement. I just edited /system/etc/gps_brcm_conf.xml accordingly and created my first pull Github request. Have you got it yet?

You may also consider to delete /system/etc/gps.conf from your ROMs. No instance inside P990 ever reads this file but the exsitence of this file misleaded many people.

Best regards

echo_21
[LG Optimus 2x] tonyp:
I don't see a pull request :eek:

https://github.com/tonyp/tonyp_device_lge_p990/pulls
[LG Optimus 2x] echo_21:
Sorry, I just needed to learn how to propose pull requests correctly. Now it is there: see https://github.com/tonyp/tonyp_device_lge_p990/pulls

A side note: my change LbsSyncLto="true" works fine (i.e. lto.dat will be downloaded by /system/bin/glgps once in 3 days). Now your download mechanism of lto.dat in ROM is redundant/concurrent. Please consider introducing a new build.prop parameter to allow enabling/disabling the lto.dat download. Disabled should be default.

Anyway I still was not able the make the LTO mechanism work again (see opening post).
[Xperia Z3 Q&A, Help & Troubleshooting] Ariana Grande:
I backed up TA before unlocking the bootloader. Now I have restored it, I want to know if functions that need DRM key like Bionz, X reality stay intact? I mean those functions just depend on DRM key or anything else? I heard someone said Bionz will be lost forever once unlocking bootloader whether the DRM keys can be restored or not. And here's my DRM key status, 3 first lines is key ok, active

View attachment 3180182
[Xperia Z3 Q&A, Help & Troubleshooting] gregbradley:
Restoring the TA will bring back all functionality you had before unlocking
[Xperia Z3 Q&A, Help & Troubleshooting] Gustavo RD78:
[MENTION=6427907]Ariana Grande[/MENTION]

everything is okay!

Send from my Xperia Z3
[Xperia Z3 Q&A, Help & Troubleshooting] Ariana Grande:
Thank you guys very much
[Themer General Discussion] spammehere:
I am trying to create some widgets with Everything Widget

But I could not find the "Force English" option

Please help
[M.O.J.O. General] wastate2014:
Check out this kewl looking Kickstarter called ZRRO
[M.O.J.O. General] gwaldo:
https://www.kickstarter.com/projects/1623845638/zrro-touch-your-tv-from-the-couch

Another android microconsole, but with touch pad controllers.

IMO, it's not a good idea, bringing touch to a TV device is backwards thinking for the microconsole/AndroidTV cause!
[M.O.J.O. General] wastate2014:
Now you have to admit it be fun to try? You no the old saying never know till you try? I ordered one as a novelty I may like it.
[M.O.J.O. General] gwaldo:
I can think of a few things I'd rather try:

* Steam box's controller

* Obox

I think there's apps that turn your mobile phone into something similar right?

This to me, doesn't do much for me.

But yeah, good luck with that.
[M.O.J.O. General] Sir Jaxxy:
I have to agree. Not only is it backwards thinking the console itself is extremely underpowered for the price point. They say that it will be retailing for $250 USD but it is only going to have a Quad Core A9 CPU and an Octo Core Mali-450 GPU. Add to that the controller is straight BT and not BT4. Honestly these guys would have done allot better had they just released the controller with multi device support.
[M.O.J.O. General] gwaldo:
I guess the only innovation these guys have done is the touch controller, but yeah.. not that great, but innovative regardless.

At end of the day, good spec's aren't the most important things, ie ouya, C64, wii, etc all under powered but brought something new to the table.

But with android, it helps to stay a head of the curve, that's one thing madcatz did right and obox, looks to be extending with the modular philosophy.
[M.O.J.O. General] AndroidSupaFan:
So true. I was thinking if this controller was supported by the MOJO , it would be one of the greatest entertainment device out there.

The number one turn-off of the MOJO after months of use is the simple fact that I can't play all android games with the (fantastic) CTRLR.

Who knows, perhaps someone will come up with a controller like this which will connect with the MOJO.
[M.O.J.O. General] gwaldo:
I think Tinycore as that feature now, which turns your mobile phone into that controller... unless it can do something more?

http://xdaforums.com/showthread.php?t=2652749
[Verizon Motorola Droid Turbo Accessories] hollywoodfrodo:
So one of the best things about the Turbo is the Turbo Charging. I wanted to be able to do this in my car, but there was no Car Turbo Charger on Motorola's website. Eventually found out that they don't make one, but other companies do. After looking on Amazon, found this guy: http://goo.gl/rbfX1H Only cost $16 (at least when I bought it) and has additional usb charging port for additional device. Comes in white as well. And yes, it turbo charges the same as the home turbo charger which is awesome!!!

The key is to just make sure the charger supports Qualcomm Quick Charge 2.0 - there are several others on Amazon you might want to check out, but I found this one to be the best for the money and features and it's working great for me!
[Verizon Motorola Droid Turbo Accessories] Jaocagomez:
This is pretty useful, I didn't know we had quick charge on car
[Verizon Motorola Droid Turbo Accessories] kyleds:
Umm... Verizon sells them.
[Verizon Motorola Droid Turbo Accessories] rlmesq:
Ummm... for twice the price. That was the point of the original post.
[Verizon Motorola Droid Turbo Accessories] Artnig:
Thank you for posting this. I received my charger today and its perfect!
[Verizon Motorola Droid Turbo Accessories] this_is_nascar:
This is the one I purchased, as I liked the idea of the tiny LED light at the tip.
[Verizon Motorola Droid Turbo Accessories] hollywoodfrodo:
Working great for me

Still loving my Onite Quick Charge Car Charger - I added a YouTube video review (and unboxing) for anyone who wants a closer look at it: https://youtu.be/LMUCoRUbKyc
[Verizon Motorola Droid Turbo Accessories] silverfoxbrazil:
the link from amazon isn't working to me, what's the name of this charger?
[Verizon Motorola Droid Turbo Accessories] ChazzMatt:
This is the one I bought. Probably the same one. Dual port Turbo charger. Don't worry. IF the 2nd device is not a Quick Charge device (old tablet, old phone), it's still safe. Will automatically downscale to the charge needed.

$15.99

Extsud® Qualcomm Quick Charge 2.0 USB Intelligent Car Charger With Two USB Turbo Fast Adaptive Quick Charge Ports

http://www.amazon.com/gp/product/B00XJ7OTS0?psc=1&redirect=true&ref_=oh_aui_detailpage_o01_s00
[Verizon Motorola Droid Turbo Accessories] Ungo:
I use the original quick charger that came with my phone in my car with an ac car power inverter. So anything with a normal plug can go into your cigarette lighter port. Basically something like this...

http://www.amazon.com/ENERGIZER-Ultra-Silent-Inverter-cigarette-compatible/dp/B00VMRHE7C/ref=sr_1_2?ie=UTF8&qid=1438281631&sr=8-2&keywords=12+watt+car+power+inverter

This is a little expensive because it has USB ports too. But Walmart, Amazon, etc. always have sales on these. The one I have I got for $9.99 with tax. Just gotta look around. I just did a quick search for an example.
[Verizon Motorola Droid Turbo Accessories] nick314:
I haven't tried the two port ones with quick charge, however

The Choe 4 port quick charger adfoc.us/29745255996782

and the Tronsmart 4 port charger adfoc.us/29745256032891

have both performed great for me. I have to give the Tronsmart the edge due to simply feeling a bit more solid, not having a glossy finish, the longer warranty and the 5 star rating vs the choe's 4 star.
[Lenovo P780] beamquaker:
hi i got a p780 today i managed to get my rom backed up and rooted it and my imei number before i installed this rom http://xdaforums.com/lenovo-p780/development/miui-v5-4-6-2-jb-4-2-lenovo-p780-dual-t2795361. it went well but im in the uk and i have a virgin mobile contract . i had to order a new sim as my old one was to small . so i thought ill buy a payg sim on the same network . i cant get any signal at all i can see my number and it says its using t mobile but i cant get it working . i tried one of the new modems i seen at the top of this page but i flashed it and its still not working . any suggestions you guys are like experts . i have learnt so much already but i have no idea what to do now.
[Lenovo P780] stympy:
Hi. Go here

Look what you have to do:

1. download all

2. copy all to one folder on your internal storage or sd card

3. reboot to recovery TWRP(not optional)

4. go to Install, navigate to your folder with modem software

5. select one modem

6. swipe to install

7. reboot

8. check signal

9. if first modem is not working retry this procedure with next and next till works !

10. good luck.

Share with us what modem is working, Country and network! :D
[Lenovo P780] beamquaker:
i have another problem im on a Chinese rom could that be the problem .
[Lenovo P780] stympy:
Yes. Describe your firmware !
[Lenovo P780] beamquaker:
its Lenovo_P780MIUI_14.12.22_CN_H25.0.zip . what row rom can i install over it . i got it from one of your posts
[Lenovo P780] stympy:
Ok. This is an good rom you have there !

No matter if your MIUI is CN based. Do what i told you in my first post with modems !
[Lenovo P780] beamquaker:
im on it . ill let u know. well i discovered my wifes virgin phone has a different network from the payg sim i got today . one is virgin which i am going to assume is ee and the payg is t mobile . so i will wait til tomorrow when i get my new sim from virgin . then i will test the modems . but tbh is hope it works when i put it in as i like the phone and hope to keep it .
[Lenovo P780] stympy:
I will wait for feedback tomorow ! :D

Good Luck !