Go Back   xda-developers > Development and hacking > Windows applications and games

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th January 2009, 09:12 PM
NuShrike's Avatar
NuShrike NuShrike is offline
Senior Member
 
Join Date: Sep 2007
Posts: 863
Exclamation [APP] Fusion GPS Fix 1.0.1.1 2009/03/13

So here's something to try to deal with the anemic GPS on the Raphael, and any other post-WM5 with slow GPS locking.

This app runs after install, and after soft-reset, and immediately starts up the GPS hardware through the WM5+ GPS API. It waits 5 minutes for a GPS lock, or it quits. A pop-up will tell you whether GPS lock was established or timed out before it quits.

The GPS polling is limited to every 5 seconds to try to conserve some CPU cycles. Currently does not use AGPS, but you can turn it on/off at your registry leisure.

This attempts to reduce the Time-To-First-Fix (TTFF) during which the GPS ephemeris almanac is slowly built up. This can take up to 12.5 minutes for a non-QuickGPS/AGPS accelerated device from a cold-start. By kick-starting immediately after soft-reset, subsequent GPS locks for the next ~6 days (without updating QuickGPS) should be much quicker.

Takes 23K of disk, and 1K of ram.

updates:
1.0.1.1: GPS power kept on until lock or timeout using CABuddy's GPS code framework; states lock time in seconds
1.0.0.5: added much belated icon to app and top-bar
1.0.0.4: switched from pop-up window to wifi notify-style pop-up (457)
1.0.0.3: fix multi-threading issues that caused popup notifications to fail
1.0.0.2: makes sure the app is disconnected from the GPS before the app exits
Attached Files
File Type: cab FusionGPSFix.1.0.0.5.CAB (18.8 KB, 318 views)
File Type: cab FusionGPSFix.1.0.1.1.CAB (18.9 KB, 309 views)
__________________
Support what I do and donate me a frankfurter.

Last edited by Noonski; 4th May 2009 at 10:42 AM.. Reason: title was not Google Friendly.
Reply With Quote
Sponsored Links

  #2  
Old 6th January 2009, 09:53 PM
crazyC crazyC is offline
Senior Member
 
Join Date: Jul 2006
Location: Gravesend
Posts: 465
Default

Will get my raphael tomorrow (O2 Serra) and have heard of and been concerned at the various GPS issues - could you explain this app a bit more ?

Many thanks
__________________
__________________
Touch Pro 2 (Vodafone UK) - NRG Genesis ROM (23016), radio 4.46.25.24 - security unlocked
O2 XDA Serra - Cooking my own ROM thanks to lots of people, but mainly Da G and Hilaireg, Radio 1.12.25.19 - now lost interest as TP2 is here....
O2 XDA Stellar - KaiserChef creation based on Mbarvian's Solace ROMs - now Deceased
Orange M3100 - for fun
Reply With Quote

  #3  
Old 6th January 2009, 10:23 PM
norkoastal norkoastal is offline
Senior Member
 
Join Date: Dec 2007
Location: Bay Area
Posts: 291
Default

so compared to launching say GPS test every morning this would save battery life since its not constantly trying to lock? Sounds like a better alternative...
__________________
Device: HTC Fuze | ROM: WM6.5 BUILD23420[MANILA][22OCT09] TAEL ROM v2.23420
Reply With Quote

  #4  
Old 6th January 2009, 10:59 PM
NuShrike's Avatar
NuShrike NuShrike is offline
Senior Member
 
Join Date: Sep 2007
Posts: 863
Default

Quote:
Originally Posted by crazyC View Post
Will get my raphael tomorrow (O2 Serra) and have heard of and been concerned at the various GPS issues - could you explain this app a bit more ?
Raphael, or just the FUZE, has much weaker GPS reception compared to my Kaiser, and will take a lot longer to lock to the GPS signal. FusionGPSFix acts like a GPS app and basically does an automatic cold-start of the GPS after soft-reset which many people have been doing manually.

When the GPS data from the WM5+ GPSAPI says the quality of the GPS signal is GPS or DGPS, then that's when all other GPS apps will get an instant lock.

So FusionGPSFix then quits out, and that's it until next soft-reset, or manual run.

norkoastal: yes, but I'm not sure how long of a period before it needs a kick again. Once I find a pattern, I may try to schedule a run every few hours, or every few hours after you turn on the device.
__________________
Support what I do and donate me a frankfurter.
Reply With Quote

  #5  
Old 7th January 2009, 12:14 PM
NuShrike's Avatar
NuShrike NuShrike is offline
Senior Member
 
Join Date: Sep 2007
Posts: 863
Default 1.0.0.2

Updated version posted which makes sure the connection to the GPS is shut off before the app exits. I had a strange issue of battery drain that I couldn't trace to a dangling process otherwise today.

Verified GPS operation and shutoff with a Kaiser which has the useful GPS blinky lights, and with HomeScreen PlusPlus which shows battery drain levels.

Works great with CamerAware Buddy and Navizon.
__________________
Support what I do and donate me a frankfurter.
Reply With Quote

  #6  
Old 7th January 2009, 01:11 PM
NLS NLS is offline
Senior Member
 
Join Date: May 2005
Location: GREECE!
Posts: 1,298
Default

looks like a great idea, I wonder how it works in practice
__________________
---
NLS
Reply With Quote

  #7  
Old 8th January 2009, 01:40 AM
NuShrike's Avatar
NuShrike NuShrike is offline
Senior Member
 
Join Date: Sep 2007
Posts: 863
Default

Quote:
Originally Posted by NLS View Post
looks like a great idea, I wonder how it works in practice
How's it working for you? So far now I'm maintaining quick locks that take only a few seconds.

I do activesync multiple times a day so QuickGPS updates very often also.
__________________
Support what I do and donate me a frankfurter.
Reply With Quote

  #8  
Old 8th January 2009, 02:19 AM
norkoastal norkoastal is offline
Senior Member
 
Join Date: Dec 2007
Location: Bay Area
Posts: 291
Default

any plans on making a icon for the app? I was thinkink I could map it to my ptt button or launch from my favored programs list. thanks
__________________
Device: HTC Fuze | ROM: WM6.5 BUILD23420[MANILA][22OCT09] TAEL ROM v2.23420
Reply With Quote

  #9  
Old 8th January 2009, 03:15 AM
NuShrike's Avatar
NuShrike NuShrike is offline
Senior Member
 
Join Date: Sep 2007
Posts: 863
Default

Quote:
Originally Posted by norkoastal View Post
any plans on making a icon for the app? I was thinkink I could map it to my ptt button or launch from my favored programs list. thanks
I'll try a rusty hand at it for the next update.
__________________
Support what I do and donate me a frankfurter.
Reply With Quote

  #10  
Old 8th January 2009, 12:22 PM
sblop sblop is offline
Senior Member
 
Join Date: Sep 2007
Location: Svendborg
Posts: 365
Default

Great app.

I just had the problem wit batterydraining.
The last two days I have been happy if my phone could do 6 hours. :-)

I have notised that the program gives a pop-up telling weather or not I has gotten a gps fix... - As I have my phone restarting automatic about 3am, I would like to know if the program disconnect from the gps before this popup shows, so my phone doesnt drain during the night. ;-)
Reply With Quote

Reply

Tags
fuze, gps, raphael, touch pro

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:25 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.