[Upgrading, Modifying and Unlocking] davidliu21:
I saw this thread that someone had posted, about wm, But i Can't find the registry edit on my phone!..

Hi there,

This topic is about my experience of configuring a-gps manually with a French operator. This may help others.

I installed a few day ago the last french official HTC ROM (see here)

My Diamond is SFR branded (French Vodafone), and after upgrading from the native SFR ROM to the HTC one, I felt a slowdown to get a good GPS signal for the apps I use: Googlemaps and iGo8. The signal also seemed less accurate.

I decided to investigate this way.

First of all, some elements that may be obvious for most of you, but reminding them does not hurt:

A-gps is a system that enhances GPS performance, by connecting to an a-gps server. As a matter of fact, this server makes use of cellular network signal to locate you faster. For further informations, see Wikipedia a-gps article.

AFAIK, a-gps is different from Quick GPS (see here) In particular, config values for a-gps and Quick GPS are located in different registry keys on Diamond.

Now let's get deeper into a-gps:

You can, once again AFAIK (and you'll correct me if I'm wrong ), use two kinds of a-gps server:

Your mobile vendor's server (i.e. HTC)

Your operator's server

I remembered that on some phones (at least Nokia N95), you have to define manually your a-gps server when using SFR network.

For Nokia, the problem is that the port used by the vendor's server is blocked by SFR WAP connection.

This is not the case of HTC a-gps server, since using HTC rom does not inhibit a-gps: it only seemed slower to me than with my SFR rom.

Here are the registry parameters for a-gps, on the original HTC ROM:

Code:

[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS]

"EnableAGPS"=dword:00000001

"ServerPort"=dword:00001C6B

"ServerIP"="10.1.101.63"

"QosPerformance"=dword:00000059

"QoSAccuracy"=dword:00000032

"TimeBetweenFixes"=dword:00000001

"NumberFixes"=dword:3B9AC9FF

"GPSMode"=dword:00000002

I guess "10.1.101.63" is the IP address of an HTC's a-gps server (?!)

I then downgraded to native SFR ROM, and here was the same key:

Code:

[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS]

"ServerURL"="geoloc2.sfr.fr"

"GPRSConnection"="WAP SFR GPRS"

"Network"="WAP SFR GPRS"

"EnableAGPS"=dword:00000001

"EnabledPrivacyMethod"=dword:00000000

"CloseConfirmMsgTime"=dword:0000003C

"PrivacyMethod"=dword:00000000

"EnableLocInfo"=dword:00000001

"ServerPort"=dword:00001C6B

"QosPerformance"=dword:00000059

"QoSAccuracy"=dword:00000032

"TimeBetweenFixes"=dword:00000001

"NumberFixes"=dword:3B9AC9FF

"GPSMode"=dword:00000002

As you see, the server is defined with its URL, "geoloc2.sfr.fr" (known as one of SFR's a-gps servers), and some parameters are different.

Of course, you have to replace "WAP SFR GPRS" by the network connection you want to use.

I upgraded to HTC ROM again, and set the operator's rom values.

Now I've got the feeling that it's harder, better, faster, stronger (and more accurate).

By the way, QuickGPS is configured in the following key: [HKEY_LOCAL_MACHINE\Software\HTC\QuickGPS].

Note that, on SFR branded rom, this key does not even exist.

but i can't find that on incite.. any ideal?