yashsingh1/xdaforums huggingface dataset:
[HTC One X] distortedloop:
I'll believe that when you post a walking track of at least 1/2 mile and it's flawless.

Not on my phone.

Have you actually read my posts? I specifically said I was using the patch that disables agps. Do you really think that turning on BT and the cell radio is going to make this better for me? I've already tried that configuration as mentioned in an earlier post , but just for you I'll try again.

40 minutes later...

All radios and services on except for WiFi. Modified GPS conf file in use.

It took 18 minutes to even get a usable satellite lock (outdoors, sunny Los Angeles skies). Once it locked I went for a 1/2 mile walk straight down the street, turn a corner, walk up the street a bit, turn around, retrace my steps.

Results? Big fail.

The track starts out kind of straight, but once I turn the corner it goes crazy, and then it doesn't even record the track going back in the opposite direction.

I'm glad your phone is now fixed. I hope it stays that way and doesn't deteriorate.
[HTC One X] dezborders:
Sorry m8 missed your post saying you have the modified GPS.conf instslled. Have you also tried my Nandroid backup / superwipe / nandroid restore idea?

As for 1/2 mile walking track I tested this on Sunday morning on the papers run and the only time my tracks went a bit mad was during the 2 minutes where I was inside the newsagents (with iron shutters stil down in windows )

I'm sorry nothng suggested so far has stabilised your GPS, but honestly and genuinely mine is working fine at all speeds with new GPs.conf and wi fi off.
[HTC One X] distortedloop:
Nandroid, super wipe, restore?

Missed that one.

I've wiped and tried different roms. Did a super wipe when switching to ARHD.
[HTC One X] dezborders:
When i first installed the new gps.conf I wasn't convinced it was working well and also wanted to test if my original H3G branded Rom suffered the same issues (it did).

Therefore I did a Nandroid backup of my current 2.05 based Rom and restored 1.28 base H3G Rom. As soon as I confirmed 1.28 also suffered the GPS issues I wanted to go back to my 2.05 base.

Before I restored my 2.05 base Rom I decided to flash the ARHD superwipe script as the author, Mike1986, says it wipes much more than just cache and davlik.

So after flashing superwipe, then restoring my 2.05 Nandroid I have a working gps (with new GPS.conf used and with wi fi disabled). GPS now seems to work reliably at all speeds including walking with my tracks and driving with sygic.

You have nothing to lose by trying Nandroid backup, superwipe, Nandroid restore and if it doesn't work for you at least I will know that wasn't really what stabilised my GPS either.

Please let us know if you decide to try it and how you got on.
[HTC One X] ToddeSwe:
I do or i don't?

Hi!

I have a problem with my GPS on my One X as i said before here, but the day after i had discovered this it kinda somewhat repaired it self.

When i have added a destination and starts to drive the path is kinda jerky.

But when i just start my google maps or my Navigon it now is firm and stable.

So i found GPS test on Google Play but i can't tell IF something is wrong, even tough i tried to READ the help section for it, so i've attached a video of my GPS Test for you experts to look at and tell me if you see anything that is wrong with it...

This is how it looked when i first started it: http://www.youtube.com/watch?v=g_GwJ0WmVgA&feature=relmfu

And now:

http://youtu.be/1NuOflw-cZ8

Thanks in advanced!!
[HTC One X] dezborders:
See attached pic, was a sunny day so went a walk round the neighbourhood at work - approx 3/4 mile.

Lock obtained within 60 seconds then perfect tracking all the way... You can even see where I walk across to other side of street to pavement other side.
[HTC One X] ToddeSwe:
What app is uses for this tracking?

Edited: found it :)

Skickat från min HTC One X via Tapatalk 2
[HTC One X] zellfan8:
@dezborders: Great job writing the guide m8, very thorough. Can't believe how consistent you are with this issue :) testing it bit by bit and finally have it worked.

@distortedloop: all I can say is that you are so unlucky to have the worst GPS it can be with standalone GPS jumpy on its own. It's true that we have several level of damaged GPS, you just have the worst thing possible with your bad HOX. In your case, declare DOA is the best option.

@ToddeSwe: try both My Tracks and other nav apps, anything with a map. The 2nd video you posted cannot say anything about bouncy GPS. GPS Test app only show fix rate and sat number that the GPS sees.

Added screenshot for short walks. The 1st one is with WiFi on, when it wandered as you see a tail of the square, I stopped to see where did it go :D The 2nd is with WiFi off, no jumpy at all
[HTC One X] KayChrisKay:
I too, have a problem, but this is with Endomondo as my tracking app. Also I have very dodgy GPS-movement even when standing still.

I'm attaching an image to show how it looks on Endomondo. I took a walk which was in a pretty straight line up street, and back.
[HTC One X] dezborders:
Read back over the last few pages. If you install a modified GPS.conf file and turn off wi fi wheneve you want to use sat nav or tracks apps there is a good chance this will get you a stable GPS signal
[HTC One X] dezborders:
Thanks for the kind words... But we must mainly thank you for producing the modified GPS.conf file that (for me) was the breakthrough in getting a stable GPS fix. :)

Hopefully our combined efforts will provide a few hox owners with a useful workaround
[HTC One X] distortedloop:
Nandroid, superwipe, restore nandroid doesn't make a lot of sense. By restoring the nandroid you're putting everything back in the /system /data and /cache partitions, so you've in effect undid what superwipe does (which is format those partitions!). This should accomplish nothing, perhaps it's coincidence, perhaps not, that it worked for you.

That said, one more attempt here to get it going similar to your results.

I formatted all partitions with clockwork recovery's mounts and storage menus, then I did a clean, fresh, virgin install of AHRD 7 on the phone, hacked the gps.conf file and then installed Titanium off the sdcard, then put GPS Status and My Tracks back with Titanium.

Then I went for a test walk using My Tracks, all radios on except WiFi off. Looking at the map on the phone afterwards, I thought "hmm...maybe it's fixed", but then I looked at the summary screen and it reported that a 1.5 mile walk was recorded as 16.79 miles, with elevation gains of 15,000', and a max speed of 879 miles per hour.

Check out the picture of the track. All I did was walk around that large block in a perfect square, which the track pretty much reflects, but there's this one set of data points that shoot out several miles away and back. If all I'd done was look at the map on the phone, I'd have thought the problem was fixed.

One of the reasons I like My Tracks is you can export the data into several formats. This particular map photo was to KML and imported into maps.google.com. What's really interesting is that the long spike isn't present in the map view on the phone in My Tracks, but there's a point at the beginning of the walk where there's a bunch of the infamous "wandering".

Another thing you can do is export to CSV and open with Excel, which I did. The first set of data looks okay (6 entries), then the next 6 are wild (this is the spike), followed by a bunch of speed errors, then the remaining 500+ data points all look in line, with maybe two minor errors. Also, all of the wild altitude data is those same 6 bad points.

Not sure I'm anywhere close to saying this is an acceptable workaround, but it bears further testing.

Ultimately, having to turn off WiFi to use GPS might not be that big a deal, but it's not acceptable long-term. There's something wrong with the phone, and HTC needs to make it right. Still, this might let those who can't let go fo the phone for a month to get it warranty serviced get by until HTC gets their act together.
[HTC One X] sleet77:
Yesterday I send my HOX to repair. We will see if they know how to fix this (I doubt but oh well... :P).
[HTC One X] ToddeSwe:
Don't think I'm having a problem...

Made a factory restore from within fastboot and now I get this (see pics)

Skickat från min HTC One X via Tapatalk 2
[HTC One X] zellfan8:
I'd be damned :eek: you're on top of the lucky chain. The way I see it, there are 5 degrees of GPS damage, guys with only AGPS issue, guys with only WiFi/GPS conflict, guys with both 2 above, and most unlucky to have faulty standalone GPS. And you, sir, are on top of the chain with GPS be able to repair itself :D
[HTC One X] ToddeSwe:
Maybe the heat at 83 degree celsius have soldered the problem area back in someway...

Pitty I didn't have this app to start with.

I wonder why Navigon is a bit jerky, because seeing this pictures I must say I'm both glad and a bit confused why my gps had problem at start...

Skickat från min HTC One X via Tapatalk 2
[HTC One X] dezborders:
Hey sorry u still have no acceptable performance of your GPS.

Which sd folder do I think may be affected by superwipe? Not a clue... I didn't write it, but the ARHD ROM author, mike1986, spent a lot of time and thought producing the script, so I trust his extensive experience. Never-the-less, I have to repeat that superwipe did appear to stabilise my GPS where simply replacing gps.conf did not - and the difference for me was like night and day.

You didn't run superwipe, and instead performed a clean Rom install (using CWM wipe functions). Presumably you didn't format your 25GB SDCARD partition at the same time? If this is the case, then some of the folders on sdcard that superwipe WOULD have cleared may still contain data from your previous Rom. Although I agree it's unlikely, it is at least possible that your GPS is 'corrupted' by old data residing on your sdcard partition. If you have the time, I still recommend that you take a nandroid backup of your current setup, run superwipe, then do a nandroid restore. You have nothing to lose and possibly 100% stable GPS to gain. ;)

You don't come across as awkward and I hope I don't come across as unhelpful? You appear to have much worse GPS problems than most of us do, and your own experiences of your unique problems is leading you in different directions.

Apologies if I haven't answered all your questions I am currently out and about and will read over your post more thoroughly when I get home :)
[HTC One X] distortedloop:
My sdcard was formatted. I formated it as part of prepping the phone to return it to HTC. I actually formatted it twice.

I'm not sure my GPS is any worse than anyone else's, I'm just not as willing as others might be to say it performs acceptably when I have so many other devices that perform much more reliably to compare it to. My usage scenarios also demand more precision than other's might.

I think you're on to something, but I also think superwipe is a bit overkill, if not unnecessary.

Too bad it can't be more reliably tested.

By the way, nandroid restore includes the sdcard .android_secure folder.
[HTC One X] dezborders:
Good luck with the HTC return then m8, I hope it comes back perfect for you.

BTW someone just posted a msg in ARHD 7.0 thread that as soon as he flashed mike1986s 2.05 base Rom (and I am assuming he followed mikes absolute requirement to run superwipe when coming from any other Rom or base) guess what... Suddenly his gps is working properly.

If you haven't already boxed up your hox for return, humour me... Install modified GPS.conf, do a cwm Nandroid backup, run arhd superwipe, Nandroid restore and then do a my tracks test with wi fi disabled. Don't deviate in any way from the above process. Then confirm to be your GPS is still unreliable. I really would appreciate it if you could confirm one way or another. :)
[HTC One X] distortedloop:
Hmm... You might recall that I also am on ARHD 7.

Perhaps that's what improved my GPS.

I'm in no rush to send it back, I can do different testing.
[HTC One X] danlat1415:
I've had mine rooted since I got it, and I've flashed various ROMs including ARHD 7. I always superwipe when running a new ROM, so you get a fresh start everytime.

I can confirm that running superwipe does not fix the GPS.

Someone may be lucky and get an improvement with software - but at the end of the day it's a hardware problem. Software can only do so much.

Mine got returned on monday - checking HTC repair tracking, and it's currently under review - so hopefully they'll fix or replace it. I won't be accepting it back if its the same.
[HTC One X] dezborders:
Superwipe AND modified gps.conf AND running sat nav / my tracks with wi fi disabled ?
[HTC One X] distortedloop:
That wasn't directed at me, but another test run, this time in the car.

I replaced gps.conf with the stock one out of AHRD, rebooted phone. Wifi off, everything else on. 6 mile drive. My Tracks track was perfect, except about 15 meters of wandering while I sat in the parking lot letting the engine warm up.

So, now, on this phone, aGPS isn't a factor in GPS performance. Next drive gets WiFi turned back on. Speed might still be a factor, as suggested by standing still at the beginning leading to wandering, but i did hit a couple of red lights, and no hint of wandering at those intersections.

Other than your experience of "it worked for me", there's still no reason to think that superwipe and restoring nandroid should fix this. It just doesn't make sense. Superwipe alone, maybe, but once you restore the nandroid, you're putting everything you wiped back.
[HTC One X] dezborders:
Nandroid restore doesn't quite put everything back ... Try the following :-

1. Put YouTube widget on one of your home screens

2. Nandroid backup / superwipe / nandroid restore

3. Reboot and YouTube widget is missing from your homescreen

I just don't get why you are so against trying superwipe followed by Nandroid restore. Try it! Then let me know for certain its irrelevant.

Someone just posted a similar comment to mine in the s-off thread saying that in the science community they are not allowed to to tell someobe "that won't work" or "thats not relevant" unless they have tried the suggestion themselves and documented the results.

Your probably right that superwipe isnt important but so far you haven't been willing to follow my process exactlty as I have documented it. You don't have the modified gps.conf installed and you didn't superwipe / Nandroid restore but you still have the location wandering problem when stationary. I don't have any GPS accuracy or stability issue. Go figure.
[HTC One X] dezborders:
@distoredloop

Your phone is bust... Send it back to htc!

For anyone else who is actually willing to listen, my GPS accuracy was as bad as distortedloop's hox but is now PERFECT at all speeds - including stationary - as long as wi fi is disabled before launching a sat nav or tracking app. All other radio services (data voice bluetooth) can be enabled - only wi fi needs turned off.

I am using HTC One maXimus v2.0 Rom and below is my gps.conf

NTP_SERVER=uk.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

PHONE_TYPE=UMTS

SUPL_HOST=supl.google.com

SUPL_PORT=7276

SUPL_TLS_CERT=/etc/SuplRootCert

SLP_TYPE=FQDN_PHONE

PROTOCOL_TYPE=Non_TLS

Copy the above file replacing the existing /etc/gps.conf then set file permissions to rw/r/r

I still recommend a performing a Nandroid backup, superwipe and Nandroid restore (after modified gps.conf installed) as it made a difference for me.

I can't explain why it worked for me but I do know 100% that superwipe will do no harm to anyone who does try it.
[HTC One X] stuart0001:
Got my replacement today and it too is having similar problems, albeit to a lesser degree.

Can anyone tell me how I can view the gps.config file on an unrooted & locked phone?

I want to compare the files on this and another HOX that seems to be perfect.

Thanks
[HTC One X] dezborders:
You may be able to get read-only access to /etc folder with es file explorer evenin an uprooted phone ... There's a setting in the app called "up to root" just tick the button I'm settings
[HTC One X] dezborders:
@distortedloop

In the interests of "science" I did a test...

1. Restored Nandroid of HTC stock h3g branded 1.28 Rom. As expected, GPS totally useless even in airplane mode

2. Nandroid restored latest maximus 2.05 Nandroid backup (including pre installed modified GPS.conf)... GPS was to my surprise still as bad as it was on 1.28 rom (with wi fi off) !

3. Run arhd superwipe then restore SAME Nandroid backup as at step 2.

Ta da! GPS totally stable (with wi fi off).

Guess what, superwipe shoudnt make any difference but for me it does and its repeatable too!

If this works for me it may work for one or two other xda members and I will be glad to have helped.

Sorry it doesn't work for u distortedloop but that doesn't make you any the less wrong that superwipe is not relevant.
[HTC One X] distortedloop:
Interesting result for you. I have no idea what is going on that it works for you and not for me.

I still think you should try to identify what suprwiping is actually clearing on your phone that affects the gps and isn't restored in a nandroid,

One other thing you could try is a clean install of ARHD to see if you even need to use the patched gps conf file and superwipe.

I'll remind you my bad HOX is working acceptably with just a clean install of ARHD 7.0. No manual gps mod required.

Actually it's only acceptable if you're willing to turn WiFi off. I am willing to do so short term but not long term.
[HTC One X] dezborders:
Last weekend When I did a superwipe + clean install of Maximus 2.0 (the source of ADHD 7.x base) my GPS didn't work properly until I also installed the modified GPS.conf

I don't need to do any more testing, I know what works (for me). Currently there's nothing in arhd to tempt me into yet another superwipe and flash to a different Rom. Arhd is over tweaked for my liking and as for the 20-40 pages a day of kernel related misery from ADHD users in the thread I'm steering well clear . I like Maximus 2.0 clean fast and stable plus as close to stock as possible.

I'm also totally gob smacked to read the words "my bad hox is working acceptably" from you of all people after all the things you have said over the last few days. :P
[HTC One X] distortedloop:
Why are you gob smacked? I had already stated ARHD got it working to the same state as yours yesterday except a little bit of haywire readings at start up. Actually mine is working better in some ways because I don't have to give up agps.

I also said it was not acceptable long term. However, I can live with it for a while until the repair turn around times get a lot shorter.

I did a significant amount of testing and ROM wipes on this, much of it for your benefit, I am disappointed that you're not willing to do the same. You're the one who says it's no big deal to nandroid and superwipe so why the hesitation to give what works for me a try? How do you know that ARHD doesn't have some tweak that impacts this that your current ROM doesn't?

I should take a peek into the gps conf file to see if Mike killed agps.

Do you just not bother to actually read my posts? You really seem to miss many of the things I convey in my posts each day... it's a bit frustrating trying to communicate with you.

Cheers.
[HTC One X] zellfan8:
Interesting, so what did you do with your gps.conf and differences to the original one? The way I'm seeing it right now is that some ports for AGPS was missing thus phone cannot use AGPS and have to rely on standalone GPS unit.
[HTC One X] dezborders:
Apologies I tend to speed read, especially when reading on a small mobile screen and not a pc... It's nothing personal if I miss a few points in your long (but informative!) Posts.

I will most likely try out ARHD again when the next base is released by HTC but I feel I have 'contributed' plenty to this thread and whether a particular hox owner needs only the GPS.conf mod, or also wi fi off, or even both those plus superwipe & Nandroid restore, there's plenty of options and combinations to try.

What we can probably all agree on is that if all of the above doesn't stabilise someone's GPS performance then nothing will.

I didn't write the changes to gps.conf myself but as far as I can tell there's a couple of extra lines or vlaues in there that effectively disable or cripple agps.

Keep asking me questions and challenging findings m8 and try not to be upset if I don't fully respond, we all have busy lives outside of xda :)
[HTC One X] dezborders:
Hey m8, all I did to the GPS.conf you posted on Saturday was edited the first line with es text editor to change the ntp server to UK. I didn't want to use fasterfix to do this in case it nuked the disable agps elements.
[HTC One X] BarryH_GEG:
You realize that those settings do nothing but assist the GPS in getting its first lock? Once locked, the chip memorizes the position of the satellites and either keeps up with them or not. Those settings wouldn't come in to play again until your turned GPS off and turned it back on again. Essentially those tables you're pointing at are just telling the chip where the satellites should be so it can find them faster and it's a one-time event.

The "a" in aGPS refers to using radio (vs. GPS) signals to help the GPS chip lock faster.

"Assisted GPS, generally abbreviated as A-GPS or aGPS, is a system which can, under certain conditions, improve the startup performance, or time-to-first-fix of a GPS satellite-based positioning system. It is used extensively with GPS-capable cellular phones as its development was accelerated by the U.S. FCC's 911 mandate making the location of a cell phone available to emergency call dispatchers"

http://en.wikipedia.org/wiki/Assisted_GPS

Geo-location which is using Wi-Fi and/or wireless signals to approximate location has nothing to do with GPS.

"Internet and computer geolocation can be performed by associating a geographic location with the Internet Protocol (IP) address, MAC address, RFID, hardware embedded article/production number, embedded software number (such as UUID, Exif/IPTC/XMP or modern steganography), invoice, Wi-Fi connection location, or device GPS coordinates, or other, perhaps self-disclosed information. Geolocation usually works by automatically looking up an IP address on a WHOIS service and retrieving the registrant's physical address"

http://en.wikipedia.org/wiki/Geo-location

Bottom line is if your GPS chip’s not able to keep up with the satellites as they and your device move all the s/w in the world can't help you. The only true way to test the chip itself is to put the phone in airplane mode and cold boot it.

P.S. - My GPS (w/o the use of Wi-Fi) is fine so they're all not broken. I've used it tons of times with CoPilot and about a week ago walking through Tokyo. Here's a screen cap I just took with just the GPS chip locating me. It's spot on and doesn't fluctuate.
[HTC One X] dezborders:
Yeah I have a general idea how agps works and what it does.

However... The big deal here is that the modified gps.conf DOES appear to make a difference for some hox owners. We don't know why, and I dont even care why... I just know that on my specific hox and rom/configuration it stabilised GPS where without it sat nav is unusable. Sorry if this doesn't answer your question

Edit: one thing that does come to mind is that everyone (including myself) has been confident up until now that the GPS issue is due to antenna problems or signal interference between different radio circuits. I'm starting to wonder if a genuine hardware or microcode issue inside the GPS chip is triggered by specific data - like agps, or google wi fi location - and causes GPS instability until said data is wiped from the system by various methods (disabling agps, disabling WiFi, running superwipe before flashing Rom or before restoring Nandroid backup etc). Not remotely scientific, just my own personal hunch after weeks of trying combinations of other people's suggestions for a workaround.