yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] miwanr:
My DS GPS usually work fine until I install Ice Cream Saga final with V6 supercharger script. Now it can't get any satellites. When i install agps.patch.google.build.alt.v3.1.zip it can get 1/1 fix/sat only and when installed with agps.patch.google.build.nossl.v3.1.zip give latitude & longitude without satellites like in this picture

I don't know why but two patches above usually make my DS GPS work fine.

Any suggestions for fix?

Sent from my HTC Desire S
[HTC Desire S] crypted:
Okay, so it worked fine until you installed a new ROM. Now, it won't work with the patches like it used to. Put these two together and we come to a logical conclusion that you have a bad ROM as far as GPS is concerned...

So, try another ROM.
[HTC Desire S] miwanr:
Which ROM should I try?

Sent from my HTC Desire S
[HTC Desire S] crypted:
No clue? Why not read all the other posts to see what people were having success with as a base?

I usually suggest trying the stock deoxed ROM for any device as it isn't ported from something else and should have proper drivers.
[HTC Desire S] miwanr:
I've tried with Fallout v5, v5 DS Ice, Ice Cream Saga Final, Latest CM7 ....
[HTC Desire S] rain987:
There is nothing wrong with the patch, u just have to choose the right rom that works well with this patch.

If ur current rom or the next is still having a bad gps then go back to the one that works with this patch.

I am on reaper with this patch and got a good catch of sat. Couldn't get any before patch. Same with ice ds and any other roms when I was on it.

Sent from my HTC Desire S
[HTC Desire S] anazhd:
Fallout 5 with Tweaked Kernel 8.6 ( good driver ) .
[HTC Desire S] miwanr:
I think those GPS satellites are down or broken :D

Sent from my Desire S
[HTC Desire S] crypted:
Whaaaaaaaaaaaaat?
[HTC Desire S] miwanr:
Well I really get despair with my DS. I just launched GPS Status app in my brother phone Samsung GT-S5570 running CM 7.2.0-RC5 GalaxyMini-KANG and get satellites easily in room near a window. One time my DS installed REAPER V4.0 and get satellites easily too... Now my DS get no satellites with any ROM! Is this problem related to HBOOT or RADIO version?

Sent from my HTC Desire S
[HTC Desire S] crypted:
Wow. Read the Notes Section entirely and try the Stock DEOXED. Give it time to try and lock.

Your GPS hardware could be bad.
[HTC Desire S] supersomething:
This is the best gps fix via software patching. I made the hard mod on the antenna after using this patch. my gps went nuts. after i re-patched, gps works like a charm. gps lock is less than 10 seconds.
[HTC Desire S] dionisis1976:
Thanks

Many thanks, from 0 sats indoors to 6 :)

Brilliant :good:
[HTC Desire S] crypted:
TopNTP - the app.

We need bèta testers. Hopefully we can get some useful feedback to optimize this app. The patch itself has been proven to work, we just need to know for as much as possible devices if we can a) really install the patch and b) if the app is sort of clear in its use.

Get it on Google Play!
[HTC Desire S] rain987:
On miui, the app load at setting up and it just hangs there after awhile. Will try on another rom to test it out.
[HTC Desire S] Zatta:
Doesn't it ask for superuser permission? Did you deny it unintentionally?

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[HTC Desire S] rain987:
There wasn't any prompt so I didn't thought about that :s . Check permission to give it root and it worked like magic. Got signal while sitting inside on my sofa within seconds. Before this couldn't get anything outside with clear skies.

From my DesireDS
[HTC Desire S] hundeva:
Half a minute, and my phone may had 3 or 4 satellites outdoors, indoors absolutely no chance of a lock.

With this patch, in 5 seconds it locked on 7 satellites outdoors, indoors next to a window, it locked on 4 in a few seconds. Nice job. :)
[HTC Desire S] A2Z:
On what Rom did you get those results? I really miss my GPS :(
[HTC Desire S] Giaki:
Using TopNTP, seems to work, 7-8 satellites in few seconds. Before hardly 4 satellites and many minutes to reach 6 or 7.

Desire S
[HTC Desire S] crypted:
Sounds like it's working well.
[HTC Desire S] VnnAmed:
Cool

Working as advertised. Thanks.
[HTC Desire S] Deagleex:
Very nice patch, but for some reason, sometimes the icon shows that my location has been found, but when I press button to show my location, it still says waiting for location.. :/
[HTC Desire S] Zweistein82:
TopNTP seems to be working great ... more sattelites and a more correct position ...

Thanks a lot!
[HTC Desire S] sgspluss:
Can anyone say me which are the difference about No-SSL and the normal?

Which is better to use?
[HTC Desire S] sly21:
IT WORKS!

It works excellent on Samsung Galaxy SII - i9100 (intl) with CyanogenMod 10.2 rooted!

12 satellites fixed in seconds in open field

Thank you!:good:
[HTC Desire S] Schkisz:
with or without internet connection?
[HTC Desire S] sly21:
With internet connection active, but in same conditions not worked before apply this patch
[HTC Desire S] steve_htc_wizard:
Lol, do you think he wants us to click on the thanks button????
[HTC Desire S] Charles_LV:
It seems like after applying this patch, GPS clock is now 1 hour back. Timezone on the phone is set automatically by network provider and is correct.

What else could be wrong?

I have HTC Desire 816G Dual SIM with Android 4.4.2 on Stock firmware.
[HTC Desire S] 4myphone:
Also flashable via 4ext recovery following the same instructions.
[HTC Desire S] DirkStorck:
Hi...could someone please tell me if this patch works with Desire classic running MIUI Rom ? What version should I use ?

Thank you :D
[HTC Desire S] crypted:
It should work fine on that device. MIUI users on other devices have had success reports as well.

I have heard one success report for the Desire. Let me know how it goes via Private Message. I'll support that one, too, if all works out.
[HTC Desire S] faddys123:
If downloading any of them, do they

All do the same thing?
[HTC Desire S] crypted:
Yes, in a nutshell. The different ones have to do with different SUPL servers. I always recommend the Google builds. V3.x is the most popular and is used in a bunch of ROMs. V2.x are for those who don't trust my personal, centralized NTP and XTRA servers.
[HTC Desire S] mrmojorisin':
Tried it on Virtuous Quattro Beta 8.Works like a charm. Got lock in 2 secs. Took forever before this.
[HTC Desire S] gordo79:
Done the trick on reaper, almost instantly locked on before it took ages if at all
[HTC Desire S] 4myphone:
Tried on CM9, working. Used the standard Google one. Test before flashing showed 3 to 4 satellites and no lock after 2 minutes, after flashing 6 satellites and lock in 10 seconds.

I was unable to test endymion 3.3 because I put the backup on my PC, and I'm not there, maybe test it tonight.
[HTC Desire S] Steinhund:
Works fine so far. Tested Google Maps and Navigon. Only problem is the HTC weather app. After flashing the google version via CWM it does not find my location any more, can only show my country. I'm using Endymion V3.2

Since there is no such app in ICS :-D I do not have this in Quattro Beta 8 - and Beautiful Widgets work fine.

Any solutions or ideas?

Nick
[HTC Desire S] crypted:
Sounds like the widget app doesn't parse aGPS data well if it's the only thing not functioning right.
[HTC Desire S] enomis27:
After flashed this patch via recovery can I unmount /system/ partition??
[HTC Desire S] crypted:
Once it's flashed, yes you can. But you don't have to do so.
[HTC Desire S] Steinhund:
Just found out that this problem also exists without the fix. Reinstalled a backup and the widget still only shows "Germany" instead of my current location. Strange. Maybe it is an accuweather problem? This morning everything works fine. Will watch an report.
[HTC Desire S] 4myphone:
Not working right on virtuous quattro beta 9 for me, I got a lock after about 30 seconds but it only found 3 satellites and the reported location on Google maps was way off :( any ideas?

This was using the Google patch that worked so well on beta 8 of the same ROM.
[HTC Desire S] enomis27:
For me works well on quattro beta 9
[HTC Desire S] crypted:
It would be ROM related as you can see that there are no changes in the patch, yet you experience issues when swapping for a different beta of that ROM. Also, another user said it's working on that same beta:

Make sure to reflash after you install the new beta of the ROM. Any ROM flashing will replace the contents in the patch with the ROM default.
[HTC Desire S] 4myphone:
Yeah I re-flashed the same patch that was working for me, still on the sd card. I thought ROM related too.

Enomis did you use the plain Google patch or another one?
[HTC Desire S] enomis27:
V3.1 google specific for cwm
[HTC Desire S] 4myphone:
Yep, working again thanks, I was using just Google specific and had problems but the "for cwm" build fixed it. Run out of thanks today :)
[HTC Desire S] crypted:
Glad you're up and running. I wonder if there was an issue with your recovery parsing the update script in the standard one. Probably so, but that's why I offer various alternatives for installing. ;)
[HTC Desire S] chivas112:
Thanks!! It's just awesome ;)

Got 8 sattelites in less than 20 seconds, which took more than 1-2 minutes before.
[HTC Desire S] crypted:
Thanks for the response. I'm glad this has proven successful and effective for this phone.

I have moved it into my new list of officially supported. I'll be updating all of my threads to reflect the new devices that are officially supported in a few days. I want to make decisions on all of them before doing so.
[HTC Desire S] peters.:
Can smbd please send which patch works on endy 3.3? I tried the Google cwm 3.x but no success, GPS status finds 2 or 3 sattelites and it takes ages... Thnx
[HTC Desire S] crypted:
As discussed previously, some ROM's do not properly support aGPS. This patch cannot fix bad code.

I would recommend installing v1.3 to see if this gets around the issue or not. That was the most reliable version to sometimes get things working when there were more underlying problems. But, I don't recommend that version for those who do not need it.
[HTC Desire S] ljbrenes:
Does anybody know if this patch would work on the Samsung Galaxy S phone running gingerbread? If so, which patch should I install?
[HTC Desire S] crypted:
I would refer you to this thread: http://xdaforums.com/showthread.php?p=21242781 for SAMSUNG GALAXY S II tentative support.

However, it depends on your device specifically. Samsung uses a variety of chipsets. If you have one with Qualcomm, you definitely will benefit. If you have one with another chipset, such as Broadcom, your luck may be iffy. But, it should not hurt anything.

Try the Google Build v3.1 if you want. Report back on that thread. Let me know specifically the model number for you Galaxy when you report there.

Gracias and good luck! :D
[HTC Desire S] lowveld:
Well, maybe you could explain the basics before shifting the issue to "bad code".

Peters, someone already confirmed it working for Endy v3.2, and there are no changes in 3.3 that would cause issues.

What you do need is a working data connection for this fix to work, don't forget that.

Cheers

PS: Thanks for your your, i plan to include it on my roms.
[HTC Desire S] ljbrenes:
Holy GPS Batman! I flashed the google specific patch in cwm and now my phone locks into my position in like 2 seconds. Also, the accuracy is up to 3 meters, which I have never seen before in my phone, the best I have ever seen is 9.

So the patch has greatly improved the gps in my phone.

Samsung Galaxy S (note is not S II, it is the first generation galaxy S) on USA Verizon Network.

Thanks for the patches!
[HTC Desire S] faddys123:
Don't think its working on bindroid I tried it
[HTC Desire S] mmmcfc:
Nice work ... although GPS was already very fast in my phone this sped it up slightly. Will thank when on pc
[HTC Desire S] crypted:
Good to hear.

Have you tried another ROM?

Good to hear.

I'm not sure what you're wanting me to explain. I only reference bad code because that has been a terrible issue I've come across on many ROM's based on some CM7 nightlies. There were others with issues as well. Basically if you figured out the javascripts and sifted through them, you would find that aGPS was hard-coded in the compilation to disabled or to a "mega-, ultra-amazing" mode that wasn't supported by the GPS unit. I discussed this in the Notes Section a little bit and on other threads in more detail.

Also, BIG IMPORTANT THING IS TO READ NOTES! (This is directed to EVERYONE). Look at my discussion on GPS fixing Apps. They can destroy this patch and cause havoc for your signal. GPS Fix, and other Market apps, will OVERWRITE this patch entirely. I cannot help you if you do not allow for this to work at all.
[HTC Desire S] e2zippo:
Just flashed the google specific patch and I got a lock in about 4 seconds, 9/9 satellites, and I'm on lowvelds custom CM7-rom.

In other words, works great! Huge thanks!
[HTC Desire S] Bewinxed:
Lock'n'Download

GPS in 3.2.1 , lock'n'load baby :D

Thanks for the patch yo, working on HTC Desire HD @ Latest Hyperion ROM >w< <3
[HTC Desire S] crypted:
Thanks for reporting back. Desire S has made the official support list. Will be doing thread updates in a few days once I determine whether to support a few other phones or not.
[HTC Desire S] fragargon:
hi crypted,

nice work man, got few problem with gps.. tried different solution.

yours rocks, 1rst time got 55sec to lock 9 sat second time got 4 sec to lock.

I m running a cm build onto my htc desire, see my sig

I used agps.patch.google.build.cwm.v2.2

thks i hit the button ;)
[HTC Desire S] notoriousB:
I just took a shot and loaded the 3.1 google specific code on my verizon samsung fascinate (galaxy s i500). GPS locked in under 10 seconds from cold start and I was seeing & using 10 satellites. Before I loaded this patch I let it sit for about 2 minutes straight, saw only 5 satellites and had no lock at all. Seems to work great on the fascinate, thanks!!
[HTC Desire S] crypted:
Glad you're having success. But, that phone isn't the Desire S so let's get something going for you. Give me a bit and I'll see about opening up one on your phone's forum!
[HTC Desire S] doghous:
I installed it yesterday using the 2nd method (copied the two files from the archive) and it worked like a charm. I tested it today and it rocks!

It took around 5-6 seconds to lock and find my exact location.

Thanks crypted for your awesome work!
[HTC Desire S] ljbrenes:
Are you guys using an application to see how many satellites you are locked into? IF so, which one? Thanks.
[HTC Desire S] crypted:
As the Notes section discusses, GPS Status will give you all the great details about your phones performance with the GPS satellites. :)

You can get it in the Android Market.
[HTC Desire S] kartikk:
Thank you very much for this patch i am now able to get a fix in 4 secs :)

I used Google version specific version 3.1 on Endymion V3.3
[HTC Desire S] crypted:
Good deal!!! Don't forget to rate this thread. ;)

Also, feel free to share your results on your ROM's thread and suggest that the DEV talk with me about getting it baked into your favorite ROM(s).
[HTC Desire S] Steinhund:
After restoring my Endy 3.2 an flash the patch again the weather again shows only my country, but only when I'm on WLAN. Maybe there was a problem with google location services. Maybe because of this patch. Deactivating an activating the wireless networks in my location seems to solve it. Right now everything works well.
[HTC Desire S] crypted:
This patch would not affect the widget only while working for other apps. It really should have no bearing on any apps unless those apps use GPS to get your location, not network-based location services.

I'm not very familiar with the weather widget, but I think it uses network-based location and not GPS at all.
[HTC Desire S] Steinhund:
Don't know, maybe it had nothing to with the patch, maybe flashing it deactivates the Google network location services. All I did was de- an reactivating them and accept the service once again.

Once again, everything is fine now.

Thanks a lot for this.
[HTC Desire S] crypted:
Very weird. I wonder if there's something else detecting changes and automatically disabling your services. I have never had and never been informed of such a problem until now. Very strange.

But on the positive, you only had to re-enable it. Glad you're enjoying the benefits of the patch.
[HTC Desire S] kartikk:
I took me a lot of time when I tried the first time, it was much faster after I got the first fix :)

I think all the gps data is deleted after flashing the patch, that is why I think it is so much faster after the first fix (i used the Cwm method)
[HTC Desire S] crypted:
Yes, the first lock and its accuracy can take some time. I always suggest letting gps status run for a few minutes they first time.

Glad you're off to a good start now that your phone has acquired and processed the data.
[HTC Desire S] tinybeetle:
Do you think this would work for tablets with internal GPS antennas but that only have WiFi connections?

From what I've been able to deduce, your mod loads a table of GPS locations every so often into the device. Is that correct? So what happens if you can't get to the internet?

I have a Lenovo A1, it has built in GPS, but the acquire time is horrendous.

Thanks.
[HTC Desire S] crypted:
This has been used in several tablets. The Acer Iconia and the HTC Flyer have been officially supported for some time. I'm not sure about the Lenovo. You can try it and find out. If it works, let me know. I haven't had any commentary on that device from anyone up to this point.

The primary thing is that it quickly downloads aGPS data, correct. It will work for those without a data connection assuming they connected to WiFi and used GPS in some fashion to download that data within the past few hours. It should be valid for 23-24 hours depending on file age when downloaded. I'm not offering a patch that is able to control how the phone or tablet clears its cache. So, I can't swear by that.

The patch offers other tools to help with location as well.
[HTC Desire S] tinybeetle:
One more question; I didn't see this in the notes anywhere yet, what is the uninstall procedure if things don't work out?
[HTC Desire S] crypted:
I'd assume you could restore a backup or something similar.

The files replaced are /system/etc/gps.conf and /system/etc/suplrootcert.

I will try and remember to state that more clearly in the next thread update.
[HTC Desire S] crypted:
All threads have had an overhaul that was way overdue.

High points:

Note discussion of what the patch does and what it replaces.

Note confirming ICS support from various users.

Note section has gotten long, but covers most questions I am repeatedly asked.

A total of 9 officially supported new devices.

Download section reminds people to backup their settings. You only need to backup /system/etc/gps.conf and /system/etc/suplrootcert if you have one. But, I never had to revert!

That being said, welcome to official support. Thank you all who confirmed and worked with me to ensure it was proper to offer official support to this device.

As always, please don't forget to click Thanks if you use or like this patch -AND- don't forget to Rate the thread.

Donations

are always welcome.
[HTC Desire S] enigmaamit:
Thank you for bringing official support to this device. And consequently, a very warm welcome to the Desire S community.

I've been an avid follower of all new trends in enhancing the device experience, and i must say i'm glad something like this has been created for our phones... Just flashed the patch using adb. Heading out to work now, so will test it on the way.

P.S. : You may wanna add a note regarding "adb remount", to mount /system as r/w, in the adb push method that you've listed at the top, for those who are new to adb, but are keen to learn. Just a suggestion... it can be unnerving for new users to see an error message the first time they try out something new :)
[HTC Desire S] crypted:
Thanks for the kind remarks. Hope you get some benefit of your flashing.

Also, thanks for the tip on the adb portion. I intend to update it so that such extra commands isn't necessary.
[HTC Desire S] ex-slym:
Nice work! But why did you remove wi-fi positioning (ENABLE_WIPER=1) from the tweak?
[HTC Desire S] crypted:
I'd have to review my notes more thoroughly, but I do recall that for some reason in a number of countries like Tunisia that variable made it almost impossible to get a valid reading on a two different devices and on different ROM's with different bases.

More went into that determination, but that was almost six months ago. :D

You can re-add it if you know it does not have an affect on anything you utilize. But, it's not necessary whatsoever as far as this patch goes.
[HTC Desire S] nodeffect:
This is so awesome, it's working great. I've used the CWM method, it works flawlessly. Thanks for this man!

btw, whats the difference between 2.x and 3.x? Is 3.x better?
[HTC Desire S] catd3ViL:
Still not working on my device and i've tried replace..replace and replace gps.conf again, but still not works my gps?! :confused:
[HTC Desire S] crypted:
How well did you review the Notes? Why not explain to us your entire situation?

1. What ROM? Try a different ROM.

2. Are you using a case? Take it out of the case.

3. Did you try an "Alternate" build of the patch? This resolves a problem if you have an older GPS unit in your phone than most. It happens.

4. Where are you testing? What are your surroundings like?

5. How does your GPS perform before the patch?
[HTC Desire S] Rapier:
OK...I must add my thanks to the already long list and come with the feedback.

ROM: Virtuous RC1 (ICS 4.0.3)

Recovery: 4EXT Recovery Touch 1.0.0.3 RC1 pre-release

Map software: Google Maps 6.1.0

Before I couldn't lock to GPS at all even if I've tried several minutes leaving phone in the car craddle. Installed the recommended patch (3.1 Google Specific build) without any issues, flashed without problems with 4EXT Recovery Touch. After the installation, the lock was almost instant (20 sec or so) even if I was in a basement (this could be due to the AGPS...there-s no way I can get a lock if no direct line of sight).

Navigation was fluid, no lags and position shown accurate on map. Very rarely, when staying at a red light, the map was rotating showing me positioned at 90 degrees to the road...but as soon as I was moving, the right direction was restored. This could be due to the acceleration sensor /compass, don't think is a big issue and since I didn't have a lock before I cannot compare cause I wasn't using Maps.

Later edit: Oh yes, and I forgot to say... I'm using a case for the phone (CaseMate Barely There) and doesn't seem to interfere. Also I can confirm your updated script works...I was surprised to see that "system" was mounted by the script and I didn't understood why you have given the instructions to mount it manually from recovery before flashing. Now I see...you have updated the ZIP file to include the new script that mounts system, but you didn't update the instructions at that time.
[HTC Desire S] crypted:
Awesome! I'm happy that so many people are finding this beneficial.

FYI: Method 1, the easiest of the methods for those unfamiliar with file managers or recovery, has been updated. Some people required that the script also mount the partition. I have added that line to all options available and updated the ZIP file. Thanks

enigmaamit

for confirming that the new PUSH script works.
[HTC Desire S] catd3ViL:
Thanks for your response Mr. Crypted!

I'm sorry before, this is my:

1. I use custom ROM Saga3D base on Desire S official sense 3.0

2. For now i'm not use a case (will planning it to buy a case)

3. Yes, I was try it the "Alternate" build of the patch

4. Surely, in my area a lot of housing environment and also a couple of buildings

5. The same result after I use this the AGPS patch, doesn't fix :rolleyes:

Btw, I try the method 2 of this where your explained in the page one and when I activate the gps, I always got this message on my latitude app "Your current location is temporarily unavailable" and I've also tried replacing the ntp server for in my region.

Regards