yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
No, you didnt do anything wrong, (will check the file for bad reading, hope you didnt use dft's usb storage to copy over, magdlr has issues). The only thing I can tell you is 1) Try a reboot, 2) dont know what the weather has been like up there, but if its been as bad as it has been down here that could be the cause. In GPS Status (If you use it) hit the window key, then tools, then manage a-gps then reset, go back in again and then choose download agps, but do this after a reboot and see what happens.

Part of the problem I am tryig to work on is the agps lack of support, it is in the kernel, but I need a kernel developer to work with me in finding certain scripts to see if they are in the kernel or not. But you havent told me a couple of things, like what rom are you using? And what is your location. If you are in the east coast, the recent weather has really affected the duration of the signal. I myself have had issues the last two days with long wait times.

What rom are you using? Cause I have never heard of such a thing happening. that definitely is a rom or driver issue.

It wasnt moved, I asked DHarvey where I should post this, he thought here would be best, I disagree, but never the less, its here, and if a mod feels it would be better elsewhere where it can be seen, then by all means.
[HD2 Android Q&A, Help & Troubleshooting and Genera] flame10:
I'm using HyperDroid-CM7-v1.0.3 , after using India.zip first time after boot GPS fixed in 3 minutes, latter the fix was within 10-15 seconds

Thanks for your hard work
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Well I just tried that IRC channels, and all I got was being ignored, I know I'm not a freaking genius, but a simple question to see if a file exists cant even be answered, such wonderful help :/
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
I never said all native android phones have agps support. I meant my other phone with native android has agps support and it is working very well.

Here is how AGPS works. Normally you need a complete gps message that is transmitted to earth every 30 seconds. So a non agps device would need to be able to receive the full message to be able to lock. This usually takes about 1 minute. If it misses some message part, it would take longer. With AGPS there are gps receivers on top of buildings that receive this message all the time and share it over the internet. So your receiver can learn the full ephemeris data without listening for it for a minute or more. That makes first locks (cold fix) very fast. Usually like 5-10 seconds in open air. Even without agps support, if you get a lock once, then relocks will be just like agps for a few hours to a day. (since you already listened and learned the message) The gps chip retains this data even when disabled/not used.

The second phone I have is a midrange Android phone from Samsung Galaxy, 551 (also known as i5510)

AFAIK Android has agps support but our hd2 gps driver does not support/report agps function so it doesn't work.

Inspire should have agps support BTW, you need to enable it from location & security (it is a different setting than just enabling gps) and you must have a working/enabled data connection with apn settings having the word "default,suppl" in apn type. In open air you should get a real fix under 10 seconds with agps. If you are not noticing the agps difference in your Inspire then your agps is not working. (If you are getting first cold locks in minute then your agps is not working, you should get it under 30 in worst case senario, like moving or being near tall buildings) Maybe you are not noticing because after any first lock, you don't need agps anymore for at least half a day.

IMO the hd2 gps driver should be modified to implement agps and it should work automatically. (agps tick would show up in location & security menu)

For others: agps should not be confused with location service which uses wifi ip or gsm service towers for a rough location and it works in just 1 second.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Your exactly right about the fact that the gps driver lacks the agps, that from what I have seen is located in the kernel itself, the problem is not knowing much about kernels and from the little knowledge I have and the one kernel dev, the file for agps does not exist in the kernel for our hd2's for agps support, true agps support. I am getting my inspire 4g again tomorrow (returned my original cause it cost $53, and found another place that cost $21), I will check it throughly tomorrow).

Thats part of the reason I made the gps.conf, because gps is based off time servers, and the more locations you give it, the faster the lock. Because I cant test everywhere around the world and can only test here, of the 4 testers and myself, with the conf file we all are able to get a lock normally under 60 seconds, most of the time in 30 seconds for cold locks, and 4-10 seconds for hot locks. And as you already have read many times, the sats are not always in the same place every hour due to the rotation of the earth.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
Yeah, I'm thinking also its a driver issue. My current Android build is RAFDROID 4.0.2. And since this issue seems to be exatly the same, like before the repair, the GPS probably doesn't work in the earlier versions of RAFDROID. However something has changed in my phone, because the GPS has worked with nand Android builds in the past and even with RAFDROID 3.0. Now however, it doesn't matter which build I use, the issue always exists. Could it be caused because of the GPS module? I mean, does the WinMo 6.5 QuickGPS app save the AGPS data directly to the GPS module? So could there be some kind of corruption in the GPS module? I was having some sudden reboots, while using Google Maps and TomTom in the WinMo, but I was able to fix them, by hard resetting the device.

First time I started having this issue was, when I updated from RAFDROID 3.0 to 3.1. After that, the GPS has always caused instant freezing, when using GPS in the Android. Even downgrading back to 3.0, didn't solve the issue. Now I'm having this issue with all Android builds.
[HD2 Android Q&A, Help & Troubleshooting and Genera] nixman:
Like I said in previous posts, I'm coming from Serbia (Europe) and have been using HyperDroid CM7 1.0.3. Also, the radio version is the latest 2.15.50.14 and kernel is tytung_r7. It seems that gps should be working fine on this build, but I'm still having issues...can't get lock, no matter what I do!
[HD2 Android Q&A, Help & Troubleshooting and Genera] D4rk50ul:
You had previously made a Hawaii only file for me and I greatly appreciate it. I was just wondering if there is a difference between that one and the v1.1 that you have uploaded right now on Page 1. I was trying an archive compare tool and data comparing but I figure you might know off the top of your head :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
Ohh sorry to hear that :(...lets hope the new fixes done by Charansingh work..
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
Unfortunately even 30-60 seconds is too long if you happen to use gps in the real world every day. For smartphone standards waiting 30-60 seconds (sometimes more if you are near buildings) is unacceptable. I almost everyday enter a route to igo software but it is not practical to wait while you are driving and not knowing where to go. You can actually drive a lot in 60 seconds.

Anyone please don't tell me why I can't simply wait 60 seconds, of course I can, but I know if agps is implemented gps/navigation experience will be much much more lovely. (since I am experiencing it with my other agps phone)

I know hd2 wasn't meant to be running Android and the roms we are using are hard work of a lot of people and is free so even if agps is never implemented I would still be grateful. But it would be nice since IMO it wouldn't be extremely hard to implement agps given the progress hd2 android project has accomplished.

We should discuss this over irc, maybe the people who wrote our lights driver, gps driver, some kernel codes would be motivated to help.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Well I use Raf's as well, but I use 4.0, I didnt upgrade to 4.0.2. From what I know it should work with that build, but yours is a strange situation, your experiencing the same thing as you did before, which leads me to believe they didnt fix it, but again, your running Android and they are testing it with WinMo, If the GPS module (By module I assume you mean the chip) was corrupted, then doing a reset agps in Gps Status should clear that. If you are referring to the driver when you say module, that cant be cause when you do a clean install, that doesnt apply.

Try Rafs 1.8 kernel, or Gl's V11 kernel and see if you have any success.

Nope I just put it under the States Heading then the International, Hawaii is still the same, it cant get better without AGPS support, or if Hawaii has more accessible time servers.

Well understand that standalone units take lober then 60 seconds to lock onto the gps sats, as you may already know that gps units need 3 signals to cause a fix to occur, anything less then that will no lock. And standalone units only rely on the same thing the HD2 does as of right now, obviously if you have a data plan and you have that turned on, your locks will be instant until the gps chip locks, but when you have wifi and data turned off (Airplane Mode) all your relying on at that time is the GPS chip. Unfortunately thats where we are now, as unless Charansingh sovled that part of the script thats missing.

And as far as trying to talk to them in IRC, look a few posts up, I already tried that and got ignored.

But I am going to post about this in the Dev forum, cause obviously no one is willing to work with me on this, and at this point I'll just throw the script up and let them fight for the glory even though we all know who pointed them to it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Well The post has been put up in the Dev Forum: [25.MAR.2011][All Kernel Devs] AGPS Script Development

Let's see what comes of it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
It's possible that my GPS module or "chip" could be somehow broken physically, but it's no point sending the device back for repair, because they send it back and say, "there's nothig wrong with the GPS". I'm really hoping it's not a hardware issue, because if it is, there's really nothing that can be done. I have still about a year left from the warranty and changing the module myself, will void the warranty. I just cannot understand why does the GPS still work in WinMo, but not in Android? Because if the module was somehow broken, should the GPS be defective also in WinMo?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Yes but if you have wifi and data on, then that would superceed the gps chip and would make you think that, the best way to know is in winmo to put the phone in airplane mode and see if you get a lock solely on the gps chip, if not then safe to say it would be the chip, but if you have a warranty why not send it back to the cell provider and let them change it for you? They never fix phones.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
I have tried flight mode, Wifi and 3G off etc. and the GPS DOES WORK. So the chip is not dead.

I've got my HD2 back from service center yesterday. Here in Finland they usually don't change your phone to new one. The service provider sends the mobile to authorized repair center and they order the new parts and change them to the device. It's usually very rare, that your phone gets switched to new one. Usually it happens, if your phone breaks, when it's less than two weeks old. Because of this, I'm reluctant to send the device to repair, because the servicing time could be as long as two months, because they are waiting spare parts to arrive from China, Taiwan etc. Nothing I can do about it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Well I can tell you the gps chip is a simple board, why the problem occurs in android on some phones and not others I dont know, Unless the GPS chip is different outside of the US, or different regions, which then would explain the erractic behavior of the GPS because at that point it would be a driver issue, since most drivers from what I am reading are based off the desire hd phones.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
Thank you for your help!

I'm now decided that I'm going to send the device back in repair. Just noticed that they hadn't changed the GPS chip or antenna. I also tried taking the sim card away and by doing so, I was unable to get GPS lock. So possibly the GPS is dead. But it's weird that even TomTom app thinks that I'm connected to numerous satellites via GPS, if it's not true. I was even able to navigate with the TomTom software. So either the GSM data is very accurate or the GPS does work.
[HD2 Android Q&A, Help & Troubleshooting and Genera] namila007:
is this working for hyperdeoid cm7 ver?????
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
I'm taking back what I just said. I was tipped off that installing GPS Test 1.4 app, will tell me, if my GPS is broken. When it was installed, it choose COM4 port and voila, my GPS started looking signal and even found it. After I run that app, my GPS started working also without sim card and flight mode enabled. However I'm still using WinMo so it's likely that this success won't tranfer to Android. Is there a way to choose the com port in Android manually? Because that seemed to be the key, getting the GPS working again. I've already tried GPS status app, but it does the same thing like any other Android GPS app, it causes instant freeze, if it finds the GPS signal.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lukesan:
Esaj2, I am testing now with an older Rafpigna build 3.x something as you know I am also facing issues the last couple of days.

Get yourself a clean properly formated SD card and maybe install an 'older' image like me.

Just do a clean install and just install gps status and nothing else to make sure nothing messes up anything.

I even deleted my gps.conf file and my lock times are the same.

Start up gps status and place the phone outside. Normally after 1 to 2 minutes I suddenly see the sats.

Let us know what happens!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
Before I sent my phone for repair the first time, I did exatly what you just said. I installed an older version of Rafdoid (3.0), where my GPS did work in the past. However the same freezing issue was there also.

I'm not sure, if you have exactly the same issue as I do. Because I'm not even able to get the GPS working for a brief moment in Android. My device is able to find the GPS signal, but at the same second, it causes the phone to freeze. So my GPS doesn't work at all in Android. This is really really strange, because I have used the GPS successfully in many different nand Android builds in the past.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lukesan:
From what I think is that our phones are fubar.

I just thought I had a perfect test with iGo which ran over 3 hours in demo. Unfortunately a gps icon on in the end which like you you couldn't get rid of and no more gps signal untill reboot.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
So you did this test in Android or WinMo?

I returned back to Rafdroid 4.0.2, because clearly the GPS is not physically broken. Otherwise I wouldn't be able to use the GPS in WinMo. And this is the reason, why it's pointless sendind the device for repair. They just test the device and of course the GPS does work in WinMo, so I get the same device back, but loose 50€. I've had this problem over a month now it's very frustrating. We are probably the only one who have this issue, so it's not likely that we are gonna get outside help. I've spent hours trying to fix this problem, but haven't found a working solution.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Again my suspicion is the chip might be different, I do know that after June or Sept 2010, the phone hardware did change slightly, so it might be a revision that isnt apparent, where with winmo it supports both.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
I bought by phone in march 2010, so I think I have the older hardware. But like I said, the GPS has worked in the past even with Android. So I was able to use the GPS, but nowadays I'm just facing instant freezing, when even trying to use the GPS.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Now, I am posting this here and I am going to post it into my thread in the DEV Forum and I would like anyone to test this out to verify I'm not nuts.

I want anyone willing to try this to report back to this thread the results:

Install the GPSfix-0.1.apk thats been posted by MEMIN1857, then run it, after which I want you to use your favorite root explorer, navigate to system/etc/gps.conf, open this file to edit the text, at the last line I want you to put this line:

AGPS=/data/xtra.bin

XTRA_SERVER_1=/data/xtra.bin

Then save and exit the file. Then run your GPS software, or GPS Status, and post the results, cause I just did this and added the two lines, and I got a very fast lock, much faster then that I anticipated.

Please post results!
[HD2 Android Q&A, Help & Troubleshooting and Genera] jIMMy_11:
I dont get any lock on HyperDroid v10 GBX ... any Solution for Germany ? :P

Does this combo not work ?
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
The apk works, but I was trying something, since the apk downloads the file that we all are missing, I was seeing if pointing the gps.conf file to the location instead of the web would have made a difference, I thought it did, but I think I'll test it in a couple of hours again after the sats arent in the same place and see if I have the same result.

Again it was just a thought process based on the thread I made in the Dev forum.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
Thank God, the GPS is now working in Android!!! After so much hard work, I was finally able to get the GPS working! I'm so happy man right now! :D

What I did, was took off the sim card (just to save time), then I decided to try to get the GPS working, no matter how long it would take. The device froze maybe five times, but then it started working. Most surprizing was that I got super fast cold lock. I did download that GPSfix-01.apk, which might have something to do about it.

I have to do further testing, but at least I got the GPS working again for now. Don't know yet, if this is just luck, but hopefully the GPS continues to work. Fingers crossed.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lukesan:
Good!

Well mine is also assembled in that periode, March or April 210.

Going to try the APK
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
I celebrated too fast. :( Now it seems, that I might have the same issue like you. The GPS works for some time, but then it freezes. I don't mean that the whole phone freezes, but the GPS does freeze. So if I'm using some kind of navigation software and I'm travelling somewhere, it seems to stop navigating and thinks that I'm at the same place and not moving, although I'm moving all the time. First I thought that I just lost my satellite signal, but it didn't recover even when I did leave it seeking the signal for several minutes. I'm now going back to WinMo and if this happens there as well, it's certain that the GPS module is physically broken. There's really no altenative.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lukesan:
Euhm, what the ... something where it is warm.

Installed the apk and added the 2 lines and rebooted to make sure.

The gps.conf is stock, meaning europe pool.

Locked in 7 sec flat.

Now I must admit that I have been using the GPS about 45 minutes ago so.

We will know tomorrow if the thing works like it should (fingers crossed)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
I have now run the GPS in WinMo about half an hour and haven't had any freezing or signal issues. So the GPS freezing in Android could have been temporary. Maybe the heat has something to do with it, dunno. I'm not really sure, what's going on inside my phone. At least now the GPS does work in Android at least for some time. I need to do more testing tomorrow.
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
AngelDeath,

Added the apk and script you suggested. Here are my results so far: First initial lock using GPS Status and Toolbox took 125 seconds, normally for me it is around 40-50 seconds. Second, relocks were between 5-10 seconds which is about the same as before.

Then I turned off the phone and pulled out the battery. Did this several times to get a better handle for a cold start lock the past hour or so that I have been using this new configuration. Probably will have to wait some time to see what happens when the satellites move fully out of position.

Here is what I am now finding now: First, the warm starts are consistently around 10 seconds. Second, the relocks are coming in between 4-5 seconds. Third, I also noticed that more of the satellites are in the green bar zone with stronger signals overall. In fact, 7/7, 8/8 or 9/10 satellites are in the green bar zone vs. before I would see 4/7, 4/8 or 7/10 with green bars not quite as tall. Whether I use GPS Status, Car Home Beta, Navigation or Google Maps apps, all are locking much more consistently faster for me right now. Just finished a backup/restore cycle and found that the GPS first start is 8 seconds. Relock times are still the same between 4-5 seconds.

You may have found something here that can address the GPS issues so many of us experience on our phones. Will update you more once more time goes by.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lukesan:
Ok tested again this morning.

I'm affraid 2 min plus to get a fix so the temp agps.apk is not working fullu I'm affraid.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
I have now done more testing and the news isn't good. At first it seems that the GPS works well in WinMo, but after switching back and forth between apps, which uses GPS, the GPS stopped responding and got stuck. I fully closed the apps via task manager every time, but it looks like the GPS module itself is somehow corrupt. I don't think the issue is the antenna, because I have good satellite signal pretty much always. The GPS itself however does get stuck, but luckily it doesn't freeze the whole phone. But I need to restart the phone every time, because the GPS won't turn off, when it gets stuck, so it eats a lot of battery. I'm probably sending my device back in repair and I have now written a detailed report, how the issues occur and what's causing them. Hopefully the service center will now replace the GPS module and the issue goes away.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lukesan:
Tried again. Stuck somewhere on a road now and have to reset the whole phone to get reception again