AGPS Patch Motorola Defy 3.1 & 2.2 | Not officially supported

bobo9900

Senior Member
Dec 27, 2009
86
8
0
so in defy doesent work, mmmm i have a HTC glacier( t mobile mytouch 4g ) he uses qualcomm snapdragon, so this could work with it?
Qualcomm chip actually doesn't needs many tweak. Just check your gps.conf
If it does contain atleast these, then these tweak will do almost the same, only with his custom ntp and xtra server which I don't recommend.
Code:
NTP_SERVER=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
 

crypted

Senior Member
Nov 20, 2007
2,493
4,221
0
Miami, FL
derekgordon.com
Qualcomm chip actually doesn't needs many tweak. Just check your gps.conf
If it does contain atleast these, then these tweak will do almost the same, only with his custom ntp and xtra server which I don't recommend.
Code:
NTP_SERVER=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
Read the thread. Versions 2.x and 3.x are concurrent. 2.x has what you pasted as its base. Then, it supplies supported variables not found in most default gps.conf builds.

Therefore you did not fully review anything fully and are degrading work of someone who helps people rather than being constructive.

End of discussion.

Sent from my Desire HD using XDA App
 

bobo9900

Senior Member
Dec 27, 2009
86
8
0
Read the thread. Versions 2.x and 3.x are concurrent. 2.x has what you pasted as its base. Then, it supplies supported variables not found in most default gps.conf builds.

Therefore you did not fully review anything fully and are degrading work of someone who helps people rather than being constructive.

End of discussion.

Sent from my Desire HD using XDA App
I am being constructive. What you do is breaking peoples GPS. With minimum setting, A-GPS definitely work, maybe with a few second difference. But with your setting, if your server down, A-GPS might not work at all.

To crypted,

You doesn't need to host ntp server and xtra server. Just set it to standard setting.
Stop fooling people that you need "HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS"

I see other tweaks you do, and that indeed good. Just be true to people, and those who think your patch is good will indeed donate.
But don't fool those people that you need MAINTANENCE COSTS.
You just breaks others GPS if your server is down.

Change the server to default, and don't lie about MAINTANENCE COSTS, and I will recommend your patch.
 
Last edited:

crypted

Senior Member
Nov 20, 2007
2,493
4,221
0
Miami, FL
derekgordon.com
To crypted,

You doesn't need to host ntp server and xtra server. Just set it to standard setting.
Stop fooling people that you need "HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS"

I see other tweaks you do, and that indeed good. Just be true to people, and those who think your patch is good will indeed donate.
But don't fool those people that you need MAINTANENCE COSTS.
You just breaks others GPS if your server is down.

Change the server to default, and don't lie about MAINTANENCE COSTS, and I will recommend your patch.
Please, drop this as it is not constructive whatsoever to furthering any sort of development and assistance to any users.

There are thousands of actual users of this patch who have reviewed the thread and realize that there are two branches. Your insistence that I am fooling people is misguided and clearly shows that you are unwilling to even read what I've stated plainly to users. Your lack of involvement on this forum doesn't add to your credibility.

Please learn about NTP.ORG and its structure. Once you comprehend that there are thousands of entries for all sorts of NTP servers, some of which have HORRIBLE routing to cellular network entry points, cause major issues with NTP service for GPS usage on devices where NTP is necessary to use aGPS data. My pool utilizes a few servers with GREAT routing. This makes the issues NUMEROUS people have experienced with NTP.ORG null and has SOLVED their problems.

No, I don't need to provide anything custom. BUT for users WHO WANT A BIT BETTER LOCK TIME (5-10 seconds vs. the 15-20 seconds), it's available. Those who are concerned about what you have stated were more than happy with the decision to use the 2.x branch. Again, all other modifications are IDENTICAL and both run CONCURRENTLY for updates.

Literally, the end. This has done nothing to further any assistance for users and is nothing more than a sideshow belittling not just my effort, but the large number of people who assisted in verifying that 3.x is indeed superior in performance. Further, it suggests that the thousands of users, not to mention the ROM developers who include this in all of their builds, lack the knowledge you do. I cannot wait to see the ROMs you will develop here at XDA. I'm sure the rest of the ROM development community will be astonished and amazed.
 

loyukfai

Member
Jan 29, 2010
20
4
23
Can someone explains what this patch actually does and how it's an improvement to 1) stock ROMs and 2) CyanogenMod users?

The original post sounds like snake oil to me.

Thanks in advance.
 

bobo9900

Senior Member
Dec 27, 2009
86
8
0
No, I don't need to provide anything custom. BUT for users WHO WANT A BIT BETTER LOCK TIME (5-10 seconds vs. the 15-20 seconds), it's available. Those who are concerned about what you have stated were more than happy with the decision to use the 2.x branch. Again, all other modifications are IDENTICAL and both run CONCURRENTLY for updates.
A BIT BETTER LOCK TIME? 10 sec better when your server is up, and then if your server is down, no a-gps? So people have to pay you, to keep a-gps working?

Nah.. Please be real. With minimum setting, agps definitely work.

---------- Post added at 11:40 AM ---------- Previous post was at 11:38 AM ----------

Can someone explains what this patch actually does and how it's an improvement to 1) stock ROMs and 2) CyanogenMod users?

The original post sounds like snake oil to me.

Thanks in advance.
This patch don't work for defy. Only for qualcomm gps chip.
 
Last edited:

crypted

Senior Member
Nov 20, 2007
2,493
4,221
0
Miami, FL
derekgordon.com
Can someone explains what this patch actually does and how it's an improvement to 1) stock ROMs and 2) CyanogenMod users?

The original post sounds like snake oil to me.

Thanks in advance.
Simply put, this offers a number of variables that most hardware and software (ROM-specifically) supports. The generic, vanilla gps.conf in stock ROM's tend to work fine on the stock ROM's. However, people tend to find that it fails to operate that well on custom ROM's. This is due to the ROM bases, generally. The patch enables features that should be enabled to make the aGPS function well with those custom ROM's. Should a variable not be supported, the software simply ignores it.

As mentioned above, v3.x is different in v2.x in ONLY two ways.

1) The 3.x trunk uses a custom NTP pool that I created. This pool uses NTP servers located on different continents, but show very quick response times to cellular networks. This resolved a problem whereby users of the generic NTP.ORG were not getting locks because the NTP packets timed out from poorly routed NTP servers listed within NTP.ORG's DNS pool.

2) The second part is that it uses my server and its mirrors to supply a different route to obtain the xtra.bin file that Qualcomm chipsets use to provide almanac data for satellite location. Qualcomm servers, specifically server1, have spikes in response time because of high demand. My goal was to cut down those response time issues. The next part was to work with others to develop a process to provide better xtra.bin data should Qualcomm provide one already full of stale information. This has happened more than once.

If anything, the "snake oil" would be the very much proven v3.x while v2.x does not remove any part of the standard Qualcomm or NTP.ORG references. However, this "snake oil" has convinced thousands including a number of ROM developers who readily include v3.x in all of their builds since its release.

EDIT: As this other user asserts, this patch supposedly cannot help Defy users. However, that is not entirely true. Yes, it doesn't assist in that the xtra.bin file isn't utilized for this phone. However, current tests and other user input show that the rest of the gps.conf variables have assisted users. This is why you see some other people posting on this thread that it worked for them.
 

sUpErwHoO

Senior Member
Aug 21, 2011
277
38
0
Bangalore, Karnataka
Well it works for me, the agps lock time has reduced drastically, I flashed the first zip, thanks crypted!

Edit:
Sometimes it shows me at the wrong place after I used this patch, please fix?? The difference is almost 7 kms ( about 4.3 miles).
It was working fine till a reboot and now this popped up :(
 
Last edited:

crypted

Senior Member
Nov 20, 2007
2,493
4,221
0
Miami, FL
derekgordon.com
Well it works for me, the agps lock time has reduced drastically, I flashed the first zip, thanks crypted!

Edit:
Sometimes it shows me at the wrong place after I used this patch, please fix?? The difference is almost 7 kms ( about 4.3 miles).
It was working fine till a reboot and now this popped up :(
That variation implies that aGPS isn't being used and that your location is based on a tower instead of satellites. It worked fine for how long? Assuming that you had a broadcom aGPS file which expired after 4 hours, this would increase the lock-time needed. If this patch supplies a file incompatible to broadcom, aGPS will be much slower to operate. Still fixable.

Do you, or anyone else for that matter, have a copy of the stock gps.conf for this phone? If so, please private message me the file.

Even though it is a different chipset, some minor modifications could bring official support to this device still.
 

adi4motion

Senior Member
May 23, 2010
723
462
0
We could really use a GPS fix on Motorola Defy!
We do have GPS & A-GPS but the GPS Navigation is awfull...positioning is erratic...tried all GPS apps, even GMaps Navigation... i get fast lock and reported accurancy is good (~9m) but positioning is all wrong...
It gets to the real position after few seconds but that's not good at all while driving...
 
Last edited:

crypted

Senior Member
Nov 20, 2007
2,493
4,221
0
Miami, FL
derekgordon.com
We could really use a GPS fix on Motorola Defy!
We do have GPS & A-GPS but the GPS Navigation is awfull...positioning is erratic...tried all GPS apps, even GMaps Navigation... i get fast lock and reported accurancy is good (~9m) but positioning is all wrong...
It gets to the real position after few seconds but that's not goog at all while driving...
If you could get me a copy of the stock gps.conf, I would appreciate it.
 

Sir Flashalot

Senior Member
Feb 5, 2011
541
257
0
Camelot
Tried it using method 2. Does seem to give some improvement but doesn't work as good as Angeldeath's method: http://forum.xda-developers.com/showthread.php?t=953630. Gives me 1st-fix w/o wifi in 10-20 sec on 9/12 sats.

---------- Post added at 12:16 AM ---------- Previous post was at 12:12 AM ----------

We could really use a GPS fix on Motorola Defy!
We do have GPS & A-GPS but the GPS Navigation is awfull...positioning is erratic...tried all GPS apps, even GMaps Navigation... i get fast lock and reported accurancy is good (~9m) but positioning is all wrong...
It gets to the real position after few seconds but that's not good at all while driving...
For car navigation I suggest to try Navigon.
 

crypted

Senior Member
Nov 20, 2007
2,493
4,221
0
Miami, FL
derekgordon.com
Tried it using method 2. Does seem to give some improvement but doesn't work as good as Angeldeath's method: http://forum.xda-developers.com/showthread.php?t=953630. Gives me 1st-fix w/o wifi in 10-20 sec on 9/12 sats.

---------- Post added at 12:16 AM ---------- Previous post was at 12:12 AM ----------



For car navigation I suggest to try Navigon.
There is no legitimate reason for that other patch should surpass this one. That would be purely a placebo effect. Nonetheless, that's good to know that our core structure does indeed work on this device.
 

sUpErwHoO

Senior Member
Aug 21, 2011
277
38
0
Bangalore, Karnataka
That variation implies that aGPS isn't being used and that your location is based on a tower instead of satellites. It worked fine for how long? Assuming that you had a broadcom aGPS file which expired after 4 hours, this would increase the lock-time needed. If this patch supplies a file incompatible to broadcom, aGPS will be much slower to operate. Still fixable.

Do you, or anyone else for that matter, have a copy of the stock gps.conf for this phone? If so, please private message me the file.

Even though it is a different chipset, some minor modifications could bring official support to this device still.
it worked for almost ten hours, and acurate to maybe a cm :S so i dont know how a simple reboot changed this! the lock time, as said was about 20+ seconds for the first run and reduced to around 5.
ty!
 

crypted

Senior Member
Nov 20, 2007
2,493
4,221
0
Miami, FL
derekgordon.com
it worked for almost ten hours, and acurate to maybe a cm :S so i dont know how a simple reboot changed this! the lock time, as said was about 20+ seconds for the first run and reduced to around 5.
ty!
Now that I have the gps.conf, I'll review and get back with you on a broadcom option hopefully! Give me a little bit. It's late and the wife wants to go to a movie. Will see what I can knock out in the next few hours.