yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] crypted:
Version 3.1 is released. If you didn't think it could get any faster, well you may be surprised. Beta-testers are swearing to instant locks. My magic tricks sure do pay off!

Pay off? Speaking of that... There have been 30,000 downloads of v3.0. My server has served over 100,000 xtra.bin downloads. And even though I stated that this costs me money to provide,

there's been zero donations

since v3.0 was released. A few bucks really can help defray the hosting and provisioning costs I incur to keep y'all running top notch. If each user gave $0.10, that would be worth a whole dediated server for a year. Just sayin'.

Devs: I request that you notate your threads with which version of my patch you're using. If you include v3.x, please note the cost to your user base. Send me a message if you're using the patch so I can keep track and keep you in the loop of any impending changes.

With that, let me know how well this performs for you. I'm interested whether users see an increase in performance over the amazing speed that v3.0 provided.
[HTC Sensation] KCuadrado:
3.0 was great. I'm going to download & flash 3.1 now. This thread should be stickied!

Sent from my HTC Sensation 4G.
[HTC Sensation] emanon:
Thanks for the workz, really appreciate all your effort...

Here is something to help out. confirmation 5J184320K6680281J

\Regards,
[HTC Sensation] crypted:
I'd suggest messaging the forum admin and suggesting that.

Thanks a lot man. I just sent you an email back with some general info about what you're helping support. :)
[HTC Sensation] 4D3:
am i blind or is there no donate link?
[HTC Sensation] crypted:
Should be one next to my name on all posts and I think in my signature. ;)

Let me know how 3.1 works out.
[HTC Sensation] BACARDILIMON:
I have a question. i have tried all 3 versions and am now downloading the stock ruu and gonna try it again. i can not get more than 2 sat and it never locks. i was on ctdroids 2.0.0 with sense 3.5 and it just seems odd that i cant get any lock whats so ever.
[HTC Sensation] crypted:
Case/no case? Did you review the notes?
[HTC Sensation] BACARDILIMON:
no case and yes i did everything in the notes
[HTC Sensation] arich:
3.0 tmous specific worked magic on my senny. Can't wait to try 3.1!!
[HTC Sensation] Waveblade:
Something For Nothing only works in starcraft to my recollection. i will def try it out and hope it stays true here haha
[HTC Sensation] killcreek:
First and foremost thanks for this wonderful tweak.....I would like to give all the details so that hoping for some fix for my issue

Rom ARHD 3.6.7

Kernel: Faux 0.2.5r latest

I followed all the steps provided in the first post.

I installed google build 3.1

Then shut down my phone and removed the battery for 30 sec and switced on. Also I edited the values in build.prop file...

As a last resort I even super wiped Rom and installled everything afresh. But nothing helped..

I get a fix of around 9 - 11 satellites using GPS STATUS using ur mod but I never get a LOCK to use the GPS...it keeps trying to get a LOCK....

Am I missing something here....??? Please let me know if there is anything to fix the issue. Please let me know if anymore info is required
[HTC Sensation] crypted:
A number of users reported issues with the Faux kernel before. I don't know if it was resolved, but that the kernel had aGPS improperly compiled into it. Try another kernel.

If you're seeing the satellites, I would suggest that this patch has done its job the best it can. It sounds as though there is something else in your kernel prohibiting the complete lock.

You may try any of the Alternate builds and see if it helps. If that doesn't, I would suggest manually deleting the suplrootcert from /etc/ or flashing the GPS Only version and trying that.

But, I'm leaning towards the kernel from past user experience.
[HTC Sensation] crypted:
I wanted to post a few things to the user community.

1. If you're a DEV and are using this in your ROM, please private message me your ROM thread and which version of this patch you're using. This will be useful with tracking, letting you know of updates for your ROM, and supporting users. If you know of this being used in a ROM, and you're not a DEV, you can report it to!

2. Version 3.1 is a great success. Today alone, the xtra.bin has been served 61,441 times to aGPS Patch users. The 3.1 files have been downloaded almost 10,000 times today as well.

3. Updates will continue to occur server-side for v3.1 and beyond. This means that barring any unforeseen issues, v3.1 will stick for some time without a predecessor. As you may have noticed, your xtra.bin and your NTP pool are through me! This means I can keep providing incoming data for you without needing to update the patch to achieve the same changes. Feel free to toss a penny in the pot.

4. Rate the thread! Some threads have been rated nicely. Others have been attacked with +1 ratings by users who failed to read instructions and/or seek help fixing their issues. This gives a bad impression to new users on XDA. I shouldn't be held accountable for hardware, ROM, or other software related issues out of the control of this patch.

5. Let everyone know of your success. If you're using this patch, let people know what ROM, RIL, Radio, and case you're utilizing. This will help greatly in supporting users who want to know what to use this patch with for best results. I only own one device I officially support, so it's hard helping those seeking assistance with those pieces of advice!

Thanks again for being supportive of this project. I'm glad that I could assist many of you with the same GPS issues I was facing. I literally decided not to buy a new GPS for my car after fixing this issue when my first version was release. :)
[HTC Sensation] killcreek:
Thanks for the suggestion. I even swicted to Bricked kernel for the testing purpose.. it didn't help me either... still no locks inspite to getting fix to 9 satellites :mad:

I have a question here.

Does it usually takes long time for locking for the 1st time.????

Also i didn't understand you mentioning deleting the suplrootcert from /etc/ .. you mean to say just navigate to that folder and delete that file.???

Also how to flash GPS only version. i didn't understand this as well. sorry for the noob question. :o
[HTC Sensation] crypted:
Yeah, just navigate to the /etc/ folder using ES File Explorer and delete the suplrootcert to see if that helps.
[HTC Sensation] killcreek:
Finally i was able to get the lock..

Below are the steps i carried out. i am not sure which one helped me out :P

1) Added these 2 lines at the end of GPS.conf file in /system/etc/

C2K_HOST=default

C2K_PORT=0

Then save gps.conf file and restart your device.

2) GPS Status --> Tools --> Reset

3) GPS Status --> Tools --> Download GPS Data.

Probably i suggest you to add the 1st point to your FAQ. It might help others too.

PS: I got that information from one of the Mike's post

A small help from my side. Keep rocking Bro.

Confirmation number:	0WG39935KV0888823 :)

Cheers,

Bharath
[HTC Sensation] crypted:
I'm curious did you try step 2 & 3 before the mod you mentioned? I long since dropped those lines because it would require libraries supplying a c2k. The only host I know of was shutdown by the provider a year ago.

Hmm.

Thanks for all the info though. I can only help everyone when I know some about all situations no matter how weird.
[HTC Sensation] emanon:
Wow I got accurate location and gps lock in less than 15 second from inside the house. I use Google trunk version 3.1 on AOSP CM 7.1 Alpha 10 Mod with Bricked kernel v1.6b2 and copilot live. Awesome work Crypted keep up the good work.

\Regards,
[HTC Sensation] killcreek:
I believe that i did step 2 & 3 prior to step 1. Again not sure thou. I am just happy that its working now. probably i would like to debug this and see which was causing the issue.

Just out of curiosity. what does this step 2 & 3 actually do.?

what does it resets? and what does it downloads??

Oh yes. this might be dumb. but what the hell.!!! i even changed the permissions of gps.conf to rw-r--r-- . i know that this might have not had any effect on the connection. but still this is one of the step carried out before the issue got resolved.

Also i would like to know if getting a lock for the very first time takes some time???
[HTC Sensation] hwaaka:
Can you use faster fix with this patch?
[HTC Sensation] crypted:
Sorry for the late reply, I honestly forgot to respond. First time I've done that in months.

Referring to the first boot question, as Note 6 of the Notes Section has stated for quite some time:

Permissions will only matter if you have it set so nothing can read it. Shouldn't have made any difference. Just don't make it 777 and get some rogue app owning your GPS!

I didn't create GPS Status, but the resting your GPS will entirely reset the daemon and clear all cached aGPS data. Downloading GPS data obtains the latest xtra.bin file.

You are one more of the many that skipped a step in my instructions by not reviewing the Notes Section. Note #12 of the Note Section has said for quite some time (three months? maybe):

Other software, specifically Fasterfix, will cause interference and will OVERWRITE this working patch. You're basically nullifying the gps.conf and SUPL data I provide when using that patch. It doesn't provide half of what mine does, but will takeover and toss mine out.
[HTC Sensation] sergeybrin:
Garbage, says I'm in the ocean off the coast of Africa. How do I uninstall this junk
[HTC Sensation] crypted:
Clearly over 250k downloads and less than 100 complaints. A majority of those were resolved to not be the patch at all. In fact, I don't think any of them were specifically this patch.

Now you're stating you're seeing a huge difference in locations. That means your aGPS is not functioning. Therefore, it is hardware OR ROM-related unless you failed to comply with the Notes Section and are using other GPS fixing tools alongside this which result in conflicts.

The next step would be to inform the community which ROM you're using. Most likely it's going to be ROM-related as numerous times in threads and discussed in the Notes Section for about three months.

Certain ROM's by some act of an unknown power to me get screwed up where aGPS is disabled internally. Others provide bad build.prop files without including requisite variables for aGPS to be able to function. Lastly, aGPS requires a data connection to obtain data.

For the heck of it, such positioning comes from bad data being supplied to your phone from either your cell-tower or from the SUPL server. Usually it's the former. There is a tower in OKC that puts me in Manhattan, New York which is nearly 1,500 miles away. I had this issue all the damn time and was one reason I ended up developing this patch... I needed a working aGPS solution rather than relying on faulty gps.conf files supplied by stock ROMs and faulty cell-tower data fed to my phone.
[HTC Sensation] killcreek:
Finally i could find out the exact root cause after 2 - 3 cycles of testing. At least for my device i have to do this once a day if i am using GPS everyday.

1) GPS Status --> Tools --> Manage aGPS state --> Reset

2) GPS Status --> Tools --> Manage aGPS state --> Download

If i do the above 2 steps, then i would get a lock within 5 seconds.
[HTC Sensation] crypted:
This should not be the case. It sounds like something isn't clearing your cache or renewing it. Have you tried a different ROM? What one are you using?

Also, I believe GPS Status has a setting to download it at set intervals so it would be automatic. You're the first to need this, though.
[HTC Sensation] killcreek:
I am using ARHD 3.6.7.. everytime I face an issue with locking...I just do those 2 steps ang GPS gets locked in less than 5 seconds
[HTC Sensation] crypted:
Sounds good. If you get tired of that, check into the automatic downloading built into the app. Either way, I'm glad my patch was able to help you get the best results possible for your individualized circumstances! ;)
[HTC Sensation] zcdg:
For me this fix doesn't do anything better than standard stock GPS.conf. Kind of useless for me.... Even in some cases standard simple GPS.conf works better.
[HTC Sensation] crypted:
Interesting. What about the build.prop settings? Are they what is recommended in my Notes Section? Which ROM do you experience no benefit with? Lastly, which build/version of the patch are you using? I'd like to know for my own notes and to ask beta testers to confirm whether they see an issue.

However, multiple beta-testers on all officially supported devices test releases for about 3-4 weeks before I release them. So, it was vetted through a lot of different ROMs, radios, and travel.
[HTC Sensation] zcdg:
Using 1.73.401.2 stock rooted. Original build.prop. Tryed to change to yours recomended - didn't notice any positive effect. GPS is just good working with all original - very good fix(defenetly AGPS - fix is fast). May be your fix needed for some custom roms which are not good at the begining?

As i said after some of your changes in GPS.conf it was even overall worse(may be just feeling). i can't remember all changes i made - spend few days of testing - finaly returned to all original suplied with ROM.

PS: did experiments with all versions

Also tried to modify some settings in your GPS.conf as extra experiments.
[HTC Sensation] crypted:
Ah yeah, second line of the thread states for those with problems. ;) If you're good, then you're a lucky person with a stable device!!!

Many of us find we're not in such a good position. Custom ROM's are the main source of problems. They use libraries and other files not designed for any of our devices. So, it requires a lot more to get GPS working. Sometimes, stock ROM's aren't that good either as was our case with the Inspire 4G.

Anyway, don't touch what you got if it's working...can't fix what isn't broke. :D
[HTC Sensation] zcdg:
Sorry - i forgot to mention my device originaly is just Sensation, not XE.

So i meant that i flashed and using now XE stock rom(without any so called "improvements") on my regular Sensation. So my ROm doesn't belong originaly to my device.
[HTC Sensation] West0000:
Made no difference for me, either. GPS was pretty crappy when stock standard, and it still is. I'm using an unbranded ROM.
[HTC Sensation] crypted:
I take that to mean you're using your own ROM. Have you reviewed the Notes Section? Do you have aGPS enabled in all of the various java files? The builld.prop is correct? A proper RIL and Radio combination is in use? No case on the phone? Have you confirmed this patch works for you on other ROMs rather than just failing on the unbranded?

Lots of unanswered questions and sounds like we're dealing with a bunch of assumptions from the get-go. I'm up for helping so long as we're working openly and directly. :)
[HTC Sensation] West0000:
By unbranded I mean a stock European ROM. I've reviewed the notes section, and followed the instructions. However, I haven't altered any of the files. I'm using a Sensation, and I'm really disappointed with the GPS performance on it. It does lock, but often takes a long time.

Actually, thinking about it, perhaps I should elaborate—the bad performance I'm getting is on Google Navigation. When I use GPS Status, it seems to fix quickly. I suppose it's conceivable that it's just the Google software itself that's problematic.
[HTC Sensation] crypted:
Well that seems more logical, then. If you're getting fast locks in GPS Status, then my software patch is doing its job. There have been others who've had problems with Google Maps.

Each software package that uses GPS has its own libraries for processing GPS data. This could be your issue. I would suggest uninstalling Google Maps all the way and reinstalling it with the latest version. If that doesn't work, try something like Mapquest for testing purposes.
[HTC Sensation] zcdg:
With proper ROM/settings performance of Sensation is very good - it locks with accuracy of 3-5 meters in seconds on open air with original files.

But it didn't work properly for me(fix may take minutes and not so accurate) on any ROM based on leaked test 2.08.401.X. I did try all possible things -no good results.
[HTC Sensation] crypted:
Well if you're saying you had great results except now with this leaked build with all ROMs you test with it, doesn't it sound as though it is ROM related?

There are a number of ROM configurations that cause fall-out on aGPS. I cannot fix bad code with a proper gps.conf and actual SUPL certificates that work with specific SUPL servers.
[HTC Sensation] zcdg:
yes of course it is rom related. and i have now great results with 1.73 XE ROM which works perfecty without any fix files.

leaked based ROMs i tried before - nothing helped to fix gps there for me.

and of course you can't fix rom probems with gps.conf.

just want to say GPS of Sensation itself works very good for me.
[HTC Sensation] secano:
I had been having problems since installing ARHD 4.1.7 regarding quick locking my GPS. Tried this and still no dice...even after 5 minutes, sometimes it just wouldn't lock. I was even starting to think that my GPS antenna was faulty. So, I decided to pull my HD2's gps.conf file from ROM: HyperDroid-CM7-v5.5.2[a2sd][CyanogenMod7 LEO 2.3.7][seader_R9] - and try it on this one...and GUESS WHAT? Locks in less that 10 seconds now. Here's what's inside my gps.conf file:

NTP_SERVER=0.europe.pool.ntp.org

NTP_SERVER=1.europe.pool.ntp.org

NTP_SERVER=2.europe.pool.ntp.org

NTP_SERVER=3.europe.pool.ntp.org

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin

XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

SUPL_HOST=supl.google.com

SUPL_PORT=7276

###########################################vg

# Enable/disable automatic (periodic) #

# download requests of gpsOneXTRA #

# assistance data to client #

# Range: 0 to 1 #

# Default: 0 (Disabled) #

###########################################

GPS1_XTRA_AUTO_DOWNLOAD_ENABLED=1

###########################################

# Time (in hours) between automatic #

# download requests of gpsOneXTRA #

# assistance data to client #

# Range: 1 to 168 (168 = hr in a week) #

# Default: 24 hr #

###########################################

GPS1_XTRA_DOWNLOAD_INTERVAL=12

###########################################

# Enable/disable to shutdown the gpsOne #

# engine properly on GPS off #

# Range: 0 to 1 #

# Default: 1 (Enabled) #

###########################################

GPS1_CLEANUP_ENABLED=1

###########################################

# Time (in seconds) between invoking #

# pdsm_get_position() #

# Range: 2 to 120 #

# Default: 2 seconds #

###########################################

GPS1_SESSION_TIMEOUT=2

GPS1_MEASUREMENT_PRECISION=3

Even though it mentions "europe", this works perfectly fine here in New York.

I say, give it a shot.

Download - http://db.tt/8OXPRmMQ
[HTC Sensation] crypted:
So you choose to hijacked my thread and assert some difference when using a conf that has variables that should not work with your hardware and you paste a link and more on top of it.

Why not start your own thread instead of this?

I'm sure theres a reason for your different luck outside of one of ky builds vs this. Which build did you try? And, did you follow the notes section for directives?
[HTC Sensation] hwaaka:
Working good with SenseAy 2.1.0 stockXE kernel. Flashed 3.1 Google specific via cw. Locking within seconds. Powered down and removed battery for 30 seconds. Let GPS status run for 10mins. Mean
[HTC Sensation] Sdobron:
10.58 radio, faux kernel 25b2, CM7, google trunk version 3.1.

GPS is the best I've ever used on any android device. Before I would have tons of hiccups with locks on 10.56 radio. I've changed quite a few things so I'm not sure exactly what improved the gps this much.

Also be sure to set agps mode to 1 in build.prop.
[HTC Sensation] West0000:
Okay, cheers for the reply. I'll try that.
[HTC Sensation] moeinf:
links are dead ?
[HTC Sensation] Bastaerd:
Try F5, think crypted's site is bombarded by traffic so it won't loss sometimes.
[HTC Sensation] crypted:
I haven't noticed site issues. Please give details about when where and what your ip is via private message.

I assure you there's plenty of bandwidth to go around. Also of a link is dead, try another. Report bad links so I can fix should there be some.
[HTC Sensation] Bastaerd:
Had a hickup yesterday but after refreshing page it worked so the problem, if there is any could be on my side. Anyways, I'll shoot you a pm ;)
[HTC Sensation] crypted:
Sounds good. To be safe, I established two remote monitoring services to watch and obtain various pieces of information from the server. Some of those are: CPU loadspike, memory usage, bandwidth usage, latency (ping), and primary uplink route swapping. Everything appears great and all logs from the past two days show no issues. I didn't review past 2 December.
[HTC Sensation] Suprize3131:
Thanks this thread was an awesome find ,now I'm getting instant locks In that's inside my house!!

Sent from my HTC Sensation 4G elegancia series xda premium
[HTC Sensation] crypted:
Very happy you're having success with it.
[HTC Sensation] mutiny:
GPS locks fast for me but the accuracy is no better than stock. I constantly get from 30+ to 60+ meters in accuracy. Driving with my Sensation as my GPS is a nightmare. Is there a fix for this or is this a CM 7 (rom) problem?
[HTC Sensation] crypted:
Did you read the Notes section? CM is a bad ROM for GPS.
[HTC Sensation] c19932:
for some reason, after applying this patch, the GPS would INSTANTLY lock to my previous location (whereever I was last at when my gps was on). And then it would take a while for it to actually lock to the new location. any idea?
[HTC Sensation] jabbermacy:
Could not disagree more despite what is said about CM7; I use Hypersensation and I get within 5-6 meters every time... not bad, not BEST but not bad...
[HTC Sensation] crypted:
Not every build or every ROM based on it is bad mind you. But out of all the ROM's I've helped people with, CM7 nightlies have been the worst by far.

The facts are that the builds from time to time have aGPS and GPS hardcoded as OFF and unable to be enabled by any patch because the ROM literally has it as disabled. When I first started offering this patch, the first month was almost all complaints from CM users whereas other ROMs were happy as could be.

Not every nightly had the problem. And, the last few nightlies they released were fine. But there was a long period of hell for me sorting through to inevitably find out they didn't allow GPS. :o