yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
This is correct, and I am trying to work on this, but not being a programmer especially in linux, it makes it hard to narrow things down. And I wish there was a program like logcat that gave more detail then logcat to narrow down and pinpoint certain things. I can tell you all at least from my understanding and looking thru a kernel source there is a very important piece of the kernel missing for GPS, but I am trying to find out for sure. If my theory is right, It would help with our gps problem 10 fold, but I am not sure yet.

Glad you and the majority of people are having success with this, working on the US version now, and working on the next version globally.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mwakious:
v.1.1 works fine on Rafdroid 4.0
[HD2 Android Q&A, Help & Troubleshooting and Genera] wanahave:
After a few days testing I have almost the same results. Maybe because the Netherlands is so close to Germany.

At least for GPS satellites :-) :-)

Using HD2 CoreDroid DHD v1.4.
[HD2 Android Q&A, Help & Troubleshooting and Genera] QuaQuaRaQuaQua:
Hmm, got a GPS fix after about a minute the first time... Now i dont get one at all. Gotta use my old gps.conf again...
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
I'm starting to think that I have to put stock WinMo in my HD2 and send it to service center. I'm having this very odd problem with the GPS. If the GPS signal is not found, it jams the GPS module somehow and if I turn off the GPS, the GPS icon still flashes at the notification bar and eats battery. Only way the get it off is by rebooting the device.

If the signal is found it freezes the device. Screen stays on but nothing happens. The freeze occurs instantly after the signal is found.

I had these similar issues with stock WinMo 6.5, but the GPS still worked. If I used for example Google Maps or TomTom, the GPS looked like it turned off but it didn't. So it eated full battery charge in few hours. Only rebooting the device made the GPS turn off.

I have read that some people have managed to get round these issues by deleting some xtra.bin files, but this works only in WinMo. Is there anything similar fixes to this problem in Android? My GPS has worked with these provided settings, but after I updated my Android build, I started having these issues. RAFDROID 3.0 the GPS worked fine, but after that, I'm unable to get the GPS working again. I'm now using RAFDROID 4.0 and 2.15.50.14 radio. I have used this same radio version before and didn't have these issues, so these problems shouldn't be caused by the radio.

Please somebody help me!
[HD2 Android Q&A, Help & Troubleshooting and Genera] 4D3:
Hi,

I can't dl this, nothing happens when I hit the link

Any ideas?

Thanks

MG
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
Im running the north america file, im in Texas.

Cannot get anything.

tried using gps status

reset

reboot

wifi On

download

15 min later, nothing.
[HD2 Android Q&A, Help & Troubleshooting and Genera] WarlockW:
Here I Dl For you ..
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
File is there it works, if you have IE instead of clicking on it right click and open in new tab.

Use Mid-West.

Also what rom are you using, what radio are you using.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
oops dammit
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
CoreDroid DHD V1.4

dont know what radio version, how do I check? :o

EDIT: the odd thing, is when I open google maps, it shows my location, within about a 20 yard radius, so its getting something, if I move it follows me, but it seems to only update about every 20 sec or so... all other programs say ive got nothing.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
That sounds to me that google is getting that data from your data connection. Try using GPS Status (Free on Market) if you dont have it and see if that gives you anything, Radio version located under Settings/About Phone/Software Info, look at the line that says baseband version.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
When its getting it from my data connection (when I turn GPS OFF) the margin of error circle is several square blocks. with GPS on its about 40 yards diameter. I.E. when im in my apartment it shows me pretty much right there, when Im at an intersection out in the country, it shows me pretty much there, but just not very accurately and the update time is rather long.. I.E. at 50 miles per hour it shows me skipping along at around a 1/4 mile at a time, instead of a constant smooth movement.

radio:

15.42.50.11U_2.15.50.14

already have GPS status installed, as stated
[HD2 Android Q&A, Help & Troubleshooting and Genera] QuaQuaRaQuaQua:
TRY THIS!!

I have tried a lot of different gps.conf configurations, and none have worked so far. So i thought i'll try a blank gps.conf.

I backed up my gps.conf, then deleted all text inside, saved it, and rebooted.

I have never had a fix this quick before.... ever...

This is with a empty gps.conf, being in Oslo, Norway...

Can someone else please try this too, and give your results here??

Also leave the city and country you tested in...
[HD2 Android Q&A, Help & Troubleshooting and Genera] htcvidi:
I did the same test a week ago (i deleted gps.conf file) and the fix was faster, but this doesn't occurs everytime.

I think the only interesting entries in the gps.conf file are ntp servers, intermediate_pos and accuracy_thres.

The entries "supl" and "C2K" are useless because there is no agps interface in the gps drivers on Hd2 android.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
htcvidi,

I think your partially right about the agps, thats what I am trying to work on, but need help in that respect, cause I know nothing about the kernel or linux for that matter, and based on some source codes I have seen in the gits I dont see the code implimented in the kernel, which leads me to believe the same thing, but GPS Status has me puzzled a bit when it says its downloading the agps, some say its stored in the gps chip itself, some say it doesnt, I kinda believe the latter, but the simple catlog run during that time doesnt show anything as to that part of the code at all, which then leaves me dumb founded.

Anyone good with programming and kernel compiling let me know.

Would love if tytung or GL would help out but we'll see.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
regarding the radio.

Im running 15.42.50.11U_2.15.50.14

Is this the correct one, for sure?

because in regards to this problem, I have tried and changed everything else, have tried 2 different builds, numerous .conf files, including no (blank) config file.. GPS Status.. etc etc

the Radio is the only thing I can think of that I have not messed with.

its been so long since I mess with it I don't remember how to install/use a different one.

Im looking at this thread: http://xdaforums.com/showthread.php?t=611787

I think I might just try a few different ones, if I can remember/figure out how to install them.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lolmensch:
and you are right. on my g1 i could see every single satellite appear (long before there was a lock) same is for my dads desire.

seems like there is only communication btw driver and os when there is a lock. it is totally independent of which app you use. (navigon (it has a satellite menu/display too) / gps toolbox / gps status)

@AngelDeath cold start in less than 15seconds! you are great :D (germany)
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
If you are using the built-in Navigation app, make sure to set it to driving and not walking. If you are using a different app for GPS navigation, check within settings to be sure that you are having the app update itself as quickly as possible. For example, I use Car Home Beta and there is a setting to refresh the GPS Update Rate to High which gives me the fastest update rate for the satellite signal. I do not experience the lag you mention at freeway speeds with any of the navigation apps. If changing the settings to driving don't work, then I would suspect that there is an issue with strength of the satellite signals in your area and you may not be getting enough signals for an adequate proximity lock while travelling in your car. You can use either GPS Test or GPS Toolbox, both free on the Market to determine the signal strength in your area. Also, GPS Status and Toolbox can let you know the same thing.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
neither GPStest nor GPS status show any reception at all.

I was mistaken about google maps working, it was using wifi locations to track me.. creepy.

Thats why I want to try a different radio version, ive tried pretty much everything else.

EDIT: im trying to flash a different radio version, but custumRUU, DAF.exe keeps giving me usb init failed :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] lolmensch:
damn gps doesnt work either... if i reboot it gets a lock almost immediately but after leaving the phone idle for 1-2 hours it takes about 3-5 minutes to lock again...

didnt have that issue in sense based roms.. (but sadly they are a lot slower than aosp or cm)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
I believe theory of GPS data being stored in chip comes from the fact, doing QuickGPS data download in WinMo used to help get faster lock in Android (from my personal experience also GPS lock time was on par with WinMo)...when android was running from SD.

From what I know, QuickGPS only downlaods file packedephemeris.ee from AGPS server and puts in Windows folder. Logically this should not help GPS in Android...but it still does :confused:

To counter it, some people said normally people do QuickGPS download, and then start the GPS to get a lock and then go to Android so lock is faster in Android...but again i've tried it personally its not the case, you can do download without starting GPS and then goto Android and the lock is still faster..

Also if you don't do QuickGPS and do GPS Status in Android download, the lock time is not the same with longer times with GPS status..

My thoery is QuickGPS can only help times in Android is if it writes something on chip or loads the packedephemeris.ee file somewhere (independent of Windows or Android) which GPS sensors can use apart from putting it in Windows folder, otherwise ephemeris data is first downloaded through satellites and then GPS start to get a fix which is cause for slow fix.

I'm basing my assumption on information found in this thread which explain how QuickGPS work

http://htcwiki.wetpaint.com/thread/939263/How+Quick+GPS+Works

I know its not what you're looking for, but i'm also not a linux coder, hope its worth something for you..
[HD2 Android Q&A, Help & Troubleshooting and Genera] venky80:
Awesome fastest lock ever on my device ,running UD 3,Works great ,

Amazing find and great job bro
[HD2 Android Q&A, Help & Troubleshooting and Genera] Kupfel:
just flashed this. Works amazingly well! never had gps fix that fast!
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Sorry Wingnutt for not answering you before, but alot going on and searching too. The one thing i dont understand is that even without my conf your not getting locks, thats what puzzles me, I know there was one or two people from texas that had success, but you not having any at all is troubling me and leading me to believe it might (hence might) be hardware related. Because with the script and GPS status in the US most get locks in 5 min or less, and relocks in much faster time, you not even getting that is strange. The Radio is fine, cause thats the same radio I have in both my HD2's so I can tell you its not the radio, but for sh%ts and giggles try re-flashing the same radio, there could be a possibility it might have flashed wrong. And try one of the Roms (if you dont use them already) from the list above and see if you have any different success.

Thanks bookmarked for reading. But I think that I am going to have to do alot of reading in the cooking, kitchen, and kernel section, as to how to do it in Ubuntu, so that I can test my theory out, since no one of the Rom Makers or Kernel makers seem to be interested in this or the Bluetooth Generic Mac Addy.

Will keep you guys posted.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
Well one thing that kinda perked my ears..

I re-read the FAQ for the rom Im running, and there was mention of, if you wanted to change your GPS region, go into the .data file on your SD card, and edit the config.txt file..

there is no such file in my .data folder on my SD card.

I made a post regarding this but have yet to get any reply.

I had 1 android NAND build, with which GPS NEVER WORKED AT ALL NOT EVEN ONCE, from that I flashed back to the stock winmo 6.5 rom, GPS worked fine.. Flashed to the current NAND rom Im running now.. nothing, not even a peep.. GPS tests shows 0 viewable sats... no even a hint or whimper.
[HD2 Android Q&A, Help & Troubleshooting and Genera] stonelessrock:
GPS locks but takes forever to find satellites...the best i could get was 15mins:eek: that too in an open field..and the second time it takes almost the same time but the phone has to be placed in open sky area..current build m using is CMYLXGOs Stock Desire HD(2)[RUU1.84][RAFPIGNA 1.8OC] ...i tried the GPS fix for India and Asia as well:confused:..

where as the Raidroid HD Sense v1.2 - Desire HD Base build lets the gps lock qucik and can do it within the building with accuracy of 2mtr.... :confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] lolmensch:
10 seconds fix with gps conf deleted... seems pretty random. the first tries your modified gps conf file helped a lot AngelDeath but after letting my phone idle for sime hours, it took from 30secs to 6min for a lock...
[HD2 Android Q&A, Help & Troubleshooting and Genera] long-d:
replaced the gps.cfg and indeed , works like it should now.. perfect.. thanx :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
flashed a different radio version

No change gpstext still shows 0 in view 0 in use

flashed coredroid 1.5

it says in the FAQ on that roms page.. that If I need to change my GPS region.

I need to go to my SD card. open the .data folder, and edit the config.txt file in side.

there is no config.txt file in that folder..

I asked, several times on that thread where the file is or what to do, and the only goddamn answer I get is to come check this thread...

figures.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
Update:

Reflashed new radio

2.09.50.29_2

Reflashed rom

NAND CoreDroid 1.5

flashed US Mid-East.zip with CWR

went outside, launched GPSstatus, downloaded assistance

15 min later, no lock, gps test says 0 in view, 0 in use.
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
I am sorry if I am the bearer of bad news but I believe your GPS chipset in you phone may have failed. Based on your postings of this GPS problem, it reminds me when I was testing GPS chipsets for my company's AGPS and RFID tracking products. Whenever we had a GPS unit not pick up any satellite, our vendor would also test that defective unit and confirmed the chipset went bad.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
It woked like champ under Winmo

20 min later after android install, nothing.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
I went to the thread Sergio wrote about the config.txt file. Now I use Raf's rom and on my SDcard I do have a .data file, but obviously no config.txt file in there. But have a go with this:

Create a file called "config.txt"

Then read this, it is directly from Raf"s post:

============ CONFIG.TXT ============

Used some ideas and code bits from Dandiest's init script.

You can create a config.txt file on the root of your sdcard to configure some things at boot.

Actually you can configure the following options

gps_zone=[your country]

check http://www.pool.ntp.org/zone/@ for country codes (example: it for italy, us for usa.. and so on...)

sd_boost

sd_boost=0 -> sd bost not active (default)

sd_boost=1 -> sd boost active

* SD Boost deactivate journal on your ext partition. This gives you more performance but if you not shut off your phone properly or you pull out the battery while running you can have data loss or data corruption. If you activate sd boost, then you want to go back to norma sd usage, just change the config.txt back to sd_boost=0 and journal will be recreated on next boot *

ppp_mode=[1 or 0]

1 to enable PPP

0 to enable RMNET.

Default is 0

RMNET is more stable and less battery hungry, but in some countries/carries PPP can work better.

old_light_driver=[1 or 0]

0 to use the new light driver (working notification leds, button backlight control)

1 to use the old light driver (no notifications leds, buttons will go off after 10 seconds)

default is 0

auto_btn_backlight=[1 or 0]

1 to have the buttons backlight going off/on with the screen

0 to have the buttons backlight going off after 10 seconds from when the last button is pressed

default is 1

this work only if old_light_driver=0

wifi_mac_change=[1 or 0]

1 tells the system that you will need to change the wifi mac address to a custom one

0 tells the system that you will use the wifi mac address based on device hardware

custom_wifi_mac=yy:yy:yy:yy:yy:yy

here you have to write the wifi mac address you want.

This is needed, and will work, only if you specify wifi_mac_change=1

If you not write any mac address here, the default 00:11:22:33:44:55 will be used

Just an example on how a file could look:

Code:

gps_zone=it

ppp_mode=0

old_light_driver=0

auto_btn_backlight=1

Test this idea out, if you dont see any changes, try adding it to the root of your sdcard.

I understand your saying that the gps works under winmo, but the best way if you havent done it already to check truly if your GPS is working in winmo, is to do this:

Install WinMo.

After setup, run quickgps.

After put the phone in Airplane Mode. (Kills all wifi and data connections)

Run your gps test.

If you still have the same result as you do in android, then the gps chip has failed, if you get a lock then there must be something with the rom your using.

I know its frustrating, but I am running out of ideas and am slowly starting to think slbenz might be right.
[HD2 Android Q&A, Help & Troubleshooting and Genera] slbenz:
Wingnutt,

Since your phone's GPS is still working under Winmo, then I would suggest you try loading a different build and see if GPS still doesn't work. If it works on the other Android build, great! If it still doesn't then your phone is probably one of the few that I have seen on other posts that isn't compatible with the Android builds for the use of GPS. Not sure adding the config.txt file may be of any help. Of the several builds I have tried, including Gingerbread, I haven't see this config.txt file in the .data folder. But after looking at the build thread you have, the chef suggests it, so I would try it first. If that doesn't work, then load a different Android build to see if you get a GPS lock. Another suggestion that I have seen was to go back to Winmo, get a GPS lock in Winmo so that it can load all the GPS data there then load an Android build. In this order and way, it is supposed to help the GPS speed under Android. But I would do this last. Whichever way you try, I hope you are able to resolve your GPS issue. I can't imagine not having my GPS work on my phone. I use the navigation function almost everyday and couldn't live without.
[HD2 Android Q&A, Help & Troubleshooting and Genera] stonelessrock:
GPS lock takes forever to find satellites and that to only when under direct sky...:mad: ..if inside a building it just wont lock...
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
ive tried 3 android builds, 2 are coredroid and the other, actually I dont remember the name of the first :confused:

I downloaded a GPS util, and all it ever says is "status: initalizing gps" thats it.. I know, under winmo there were com and baud settings and all kinds of stuff that you could look at under GPS settings.. But with these android builds I cant seem to find an app or file that lets you look at or edit that info. Would be nice to look at the "nuts and bolts" of it.

Im thinking about seeing if I can get the phone replaced who knows, maybe it is just a dud (in this regard) I have insurance/protection plan... but Will T-Mo freak out when they get the old one back and it has android on it? do I need to reflash it back to 100% stock to avoid hassle from them before sending it off?

whatcha think?
[HD2 Android Q&A, Help & Troubleshooting and Genera] WarlockW:
Yes .. you will need to remove HSPL and Android ..

Dl the Stock WM and install before sending back ..

http://xdaforums.com/showthread.php?t=611433

4) Uninstallation

Only way to remove the HSPL is to flash an original SPL from SD card.

- Take any "RUU_signed.nbh" from a STOCK WM ROM and copy it to SD card.

- Rename it to "leoimg.nbh"

- Reset the device while pressing the volume down button.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
India has a very very limited time servers, unfortunately you are bound to the pool, and whatever is in that pool is what your subject to. There are no functioning time servers in India that are either maintained any longer or for public use, with this limitation your locks will be much longer since 1) you are relying on the pool, and 2) your relying on the actual gps signal. The combination of the two will unfortunately have this result.
[HD2 Android Q&A, Help & Troubleshooting and Genera] AngelDeath:
Great, Then you should have no trouble when you get a new one in its place, then you can start enjoying your phone to the fullest. Please keep us posted. And follow Warlocks instructions about flashing back.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Mafioso:
Dude you have to be under direct sky to get a lock...99% of the times you won't get a lock while inside a building, because building structure breaks the GPS signal...
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wingnutt:
Ok, replacment phone is on the way.

So I guess tonight Ill flash her back to stock.

So, when new phone gets here:

make sure gps works... :p

flash HSPL 2.08

Flash Radio 2.15.50.14

Flash Magldr

Install Android ROM..

cross fingers..

try GPS..

rejoice and drink a beer to celebrate OR cry, throw things, drink a beer to drowned sorrows.

The only thing im 100% about is the eventual application of beer. Does everything else look correct?

EDIT: where is a good source for a stock RUU_signed.nbh

I dont see a link to one in that thread, unless I just missed it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Esaj2:
I'm starting to think that I have similar problems like Wingnutt. I have also serious problems with GPS in Android. The strangest thing is, that I haven't had these issues always. GPS did work in the past very well. Now when I try to use the GPS it freezes the phone instantly after when the signal is found and I need to take out the battery to get it working again. Today I reverted back to WinMo 6.5 and discovered that GPS actually works and works very well. So what's causing all the trouble in Android? And like I said, GPS has worked in the past with NAND Android builds. It's pointless to send the phone for repair, if it's "not broken".

My radio version is 2.15.50.14 (I have used this same radio as long as I have used NAND Android builds and with this radio the GPS has worked in the past).

I'm using RAFDROID 4.0.1 (GPS has worked with RAFDROID 3.0 and I have informed rafpigna about this issue)

GPS has also worked in "Stock NAND Android ROM"

I'm not using custom mac or at least I haven't set anything like that. Could it be set on default?

My SD card root doesn't have file called "config.txt"

Is there anything that can cause this instant freeze, when using the GPS?