Guys,
I'm using a HTC Magic on Rogers current ROM (Android 1.5) and get frequent GPS lock-ups. Looks like the GPS glitches, thinks it's in the atlantic and never comes back to a working state. I've tried turning the unit off, pulling the battery and the problem persists.
The only way I've found to restore GPS operation is to factory reset the phone which is a little drastic since all that's needed is a GPS reset.
So right now I'm thinking some means to at least wipe the Almanac and Ephemeric data out of the GPS chip should force the chip to start fresh. That would defenitely be a great start. Some means of pre-loading this data from USB or something similar would be even cooler, but that's purely optional for me...
Looking at the high level Android API's there's nothing there either that covers this (you'd think a GPS Reset command would be a useful thing...) so looks like we'd need to go under the hood...
So we may need to talk direct to the GPS chip, and in my case this is a Qualcomm 7200A with a GPSone module. You'd think Qualcomm would be forthcoming with the programming info for this device but I've been looking for it all AM with no success.
There may be something in the GPS driver also but not sure if that open or closed source.
So defenitely not for the faint of heart, but if someone out there's got the knowledge I'd be much appreciated. Such an app may in fact alreadt exist, so open to any suggestions here...
I'm using a HTC Magic on Rogers current ROM (Android 1.5) and get frequent GPS lock-ups. Looks like the GPS glitches, thinks it's in the atlantic and never comes back to a working state. I've tried turning the unit off, pulling the battery and the problem persists.
The only way I've found to restore GPS operation is to factory reset the phone which is a little drastic since all that's needed is a GPS reset.
So right now I'm thinking some means to at least wipe the Almanac and Ephemeric data out of the GPS chip should force the chip to start fresh. That would defenitely be a great start. Some means of pre-loading this data from USB or something similar would be even cooler, but that's purely optional for me...
Looking at the high level Android API's there's nothing there either that covers this (you'd think a GPS Reset command would be a useful thing...) so looks like we'd need to go under the hood...
So we may need to talk direct to the GPS chip, and in my case this is a Qualcomm 7200A with a GPSone module. You'd think Qualcomm would be forthcoming with the programming info for this device but I've been looking for it all AM with no success.
There may be something in the GPS driver also but not sure if that open or closed source.
So defenitely not for the faint of heart, but if someone out there's got the knowledge I'd be much appreciated. Such an app may in fact alreadt exist, so open to any suggestions here...