AstroGPSLauncher - Launch Tomtom/iGuidance/Other - Mogul, XV6800 ROM Development

First I would like to say thanks to Shadowmite and Baffles for their idea of GPS Launcher. Shadowmite's GPSLauncher and Baffles' GPS Launcher are great gps launcher but aren't suite my need so I decided to write one myself.
Shadowmite's GPSLauncher is nice and compact but more work, I need to launch the application and click the 'Tomtom' to launch it (2 step). I like Baffles' idea when click on it and launch immediately but unfortunately it use .NET use lot of RAM.
I have issue on both application for tomtom is that when turn off the screen or someone call in, gps connection get lost and re-click it to open up the gps port for tomtom.
This AstroGPSLauncher open the gps port and launch 'gps application'. AstroGPSLauncher will close itself upon 'gps application' exit in which won't have issue when someone call in or turn off the phone.
iGuidance has issue with refresh the screen. To get iGuidance work correctly you need to get GPS Gate to redirect com 4 to com 2 and use this launcher to launch iGuidanceQVGA.exe, on iGuidance set to com 2. This way won't have map refresh issue.
--How to use this AstroGPSLauncher ---
--Copy AstroGPSLauncher to your Main Memory
\AstroGPSLauncher\AstroGPSLauncher.exe
(YOu can copy AstroGPSLauncher to SD Card but you need to change the path inside the shortcut if you use)
This launcher launch gps application through parameter(if you know what I meant) . I have provide two shortcuts 'Tomtom Launcher' which and 'iGuidance Launcher' for your need(Make sure you install tomtom app or iGuidance to main memory which you should). If you install on different location, you need to use notepad and edit the shortcut to correct gps application and icon or you can use 'SK Shortcut Manager' to create a short that point to your launcher.
SK Shortcut Manager - New Short cut Instruction
Name = you provide
Command = select AstroGPSLauncher
Parameters = select your gps application
and set icon to your gps application.
BTW, this application only take 2k of RAM (very small) and 10k for disk memory. It much less memory usage than Shadowmite's GPSLauncher and Baffles' GPS Launcher
If you like this application, please give some comments.
Thanks to shadowmite cab the file.

For people have problem to get AstroGPSLauncer to work
Please use 'SK Shortcut Manager to create a shortcut for you and simplify your process
Sk Shortcut Manager can be download here http://handheld.softpedia.com/get/S...-Applications/SK-Shortcut-Manager-18241.shtml
[SK Shortcut Manager]
Create new Shortcut
Name = you provide
Command = select AstroGPSLauncher
Parameters = select your gps application
and set icon to your gps application.
YOu can uninstall SK Shortcut Manager after done create a shortcut for your GPS
If you use iGuidance, you can use TalynOne 'iGuidanceInternalGPSLauncher.mscr', with GPSGate to get one step launch solution
Read this thread for more detail.
http://forum.xda-developers.com/showthread.php?t=363431

Awesome! Thanks AstronusX, will be testing this soon. I updated my FAQ with info about your app.
http://forum.xda-developers.com/showthread.php?t=363431
Edit: Just tested it, I first had to change the IGuidance shortcut to point to my storage card, as you described. I tested both TomTom and IGuidance and they work as advertised. I also tested running TomTom, turning off my Mogul, waiting 30 seconds, and turning it back on, and TomTom reacquired the GPS within 10 seconds. Awesome, thanks again AstronusX!

Works perfect with iGuidance.
Thanks!

What are the chances of adding auto-launch/auto-kill of GPSGate to this app? That would be the end-all-be-all launcher for iGuidance.

I created an iGuidance one tap autolauncher. If GpsGate is not running, it starts it. The script then stores your device's current Power timeout, and backlight timeout and brightness settings. Then sets your device for no timeouts for power and backlight, and sets your backlight to maximum brightness. It then sets iGuidance to skip the startup warning dialog, before launching iGuidance through AstroGPSLauncher. Once you exit iGuidance the script will restore your previous backlight/power settings. The only thing not working in the script right now is that it doesn't terminate GpsGate on exit if the script started GpsGate. I have not found a reliable way to close GpsGate. All current methods I've tried of closing/terminating GpsGate leave an unresponsive icon in the tray of the Today screen.
For those who are interested, I've made a copy of this script available for download HERE. Instructions on how to install/use the script are in the included "iGuidanceInternalGPSLauncher.mscr" Mortscript file.

Working quite well with iGo 2006

Nice job, working well with TomTom.

can we just dumb this down to my level for a sec lol...for my iguidance...
iGuidance has issue with refresh the screen. To get iGuidance work correctly you need to get GPS Gate to redirect com 4 to com 2 and use this launcher to launch iGuidanceQVGA.exe, on iGuidance set to com 2. This way won't have map refresh issue.
huh? i installed astrogpslauncher and changed the shortcut to open my iguidance on my sd card...it all opens, but whats with the redirect port? how would i do this? thanks! this is gonna make me sooooooooooo happy

Is there a way we can add run this launcher from the HTC home ? How would I get this launcher into the program shortcuts? thanks

help
ok i have igo instlled on main memory can some one plz tell me what to edit the shortcut to? and were do i put the gps launcher and shortcut plz?

turilo said:
ok i have igo instlled on main memory can some one plz tell me what to edit the shortcut to? and were do i put the gps launcher and shortcut plz?
Click to expand...
Click to collapse
i'm interested in this too b/c i'm lost

friguy33 said:
can we just dumb this down to my level for a sec lol...for my iguidance...
iGuidance has issue with refresh the screen. To get iGuidance work correctly you need to get GPS Gate to redirect com 4 to com 2 and use this launcher to launch iGuidanceQVGA.exe, on iGuidance set to com 2. This way won't have map refresh issue.
huh? i installed astrogpslauncher and changed the shortcut to open my iguidance on my sd card...it all opens, but whats with the redirect port? how would i do this? thanks! this is gonna make me sooooooooooo happy
Click to expand...
Click to collapse
You need to install GPSGAte software or GPSProxy to redirect the port to com2 and use AstroGPSLauncher shortcuts to launch it.
1999TL said:
Is there a way we can add run this launcher from the HTC home ? How would I get this launcher into the program shortcuts? thanks
Click to expand...
Click to collapse
- Yes you can, just copy the shortcut to \Windows\Start Menu\Programs and you can select from HTC Home selection
turilo said:
ok i have igo instlled on main memory can some one plz tell me what to edit the shortcut to? and were do i put the gps launcher and shortcut plz?
Click to expand...
Click to collapse
-- For iGo to work you also need to redirect your port as well, use GPSGate or GPSProxy to redirect your port to com2. After that, use 'Notepad' and open one of the short cut(eg. Tomtom Navigator Launcher) and change Tomtom Path to iGo Path and copy ur new shortcut to to \Windows\Start Menu\Programs and launch it from there (make sure you have gpsgate setup and it is running).
--Note: You can find 'Tomtom Navigator Launcher' shortcut in my zip file.
To create shortcut, you can use SK ShortCut Manager to make it simple and you can change icon as well.

Yah, I figured out the shortcut last night. This program ROCKS! THank you so much. I find a signal in 10 secs. With my bluetooth receiver, sometimes the damn thing wouldn't even connect. THANKS!!
I love this damn phone. Iphone killer

I'm glad it works for you

friguy33 said:
can we just dumb this down to my level for a sec lol...for my iguidance...
iGuidance has issue with refresh the screen. To get iGuidance work correctly you need to get GPS Gate to redirect com 4 to com 2 and use this launcher to launch iGuidanceQVGA.exe, on iGuidance set to com 2. This way won't have map refresh issue.
huh? i installed astrogpslauncher and changed the shortcut to open my iguidance on my sd card...it all opens, but whats with the redirect port? how would i do this? thanks! this is gonna make me sooooooooooo happy
Click to expand...
Click to collapse
More detailed instructions on how to setup GpsGate and iGuidance are here:
http://forum.xda-developers.com/showthread.php?t=363431

So i got it working with iguidance, kinda annoying though. The GpsGate (which is not free, any free alternatives?) puts an icon on the today screen, so i run gpsgate then iguidance, what is the benefit of running the AstroGPSLauncher instead of just running iGuidance itself? iGuidnace was a little "choppy" when i drove to work today. might try tomtom (no TTS) sadly and see if its better.

friguy33 said:
So i got it working with iguidance, kinda annoying though. The GpsGate (which is not free, any free alternatives?) puts an icon on the today screen, so i run gpsgate then iguidance, what is the benefit of running the AstroGPSLauncher instead of just running iGuidance itself? iGuidnace was a little "choppy" when i drove to work today. might try tomtom (no TTS) sadly and see if its better.
Click to expand...
Click to collapse
Try my MortScript, it automates the AstroGPSLauncher, GpsGate launch process, it also turns off the backlight timeout while iGuidance is running, and skips the warning screen for you.
Without the AstroGPSLauncher iGuidance will not see the GPS at all, unless you ran another program that started the GPS for you, AstroGPSLauncher starts your GPS radio for you, and keeps it alive.
Also check my FAQ for a link to a free GpsGate alternative, though I haven't tested to see if it works.

Tilt & TomTom
Has anybody have any problems with there Tilt phone after installing TomTom 6. ?

I tried your mortscript but wasnt working...put the shortcut in the program folder, installed mortscript but when i try and run it says script/programs/GPSLauncher/iGuidanceinternalGPSLa (its then cut off) not found. waiting for existance. storage card not initialized?
iGuidance is on my storage card obviously but its all working other wise...how do i fix this? thanks...new to mort script so i apologize if this is basic crap...

Related

TomTom gps launcher

EDIT: Updated new version:
This is a universal gps proxy launcher, hardset to launch tomtom to begin with, but configurable to launch anything you like and know the path to. When you first run it a new file will be created at \gpslaunch.ini. This file has 1 line, the path to a app you want to launch. By default it will be the main memory location tomtom is installed to. Feel free to change it as you like for other apps.
What it does:
Open the GPS port properly, and then launch the app, 30 seconds later it exits leaving just your new app running and using the gps.
Enjoy!
wat is the difference between this one and his earlier one
works...thank you
is there a difference between this and the gpstest app recommended on pdaphonehome?
This app launches only tomtom, it's not settable, but it's also not a .NET app. I wrote this because I hate .net and refused to run a .net launcher as it takes more memory and cpu then it should. This simple opens the port, waits 2.5 seconds, launches tomtom, waits 30 seconds, and exits unless you told it not to.
I could revise it a bit if there is demand but it works in present form.
Thank you shadowmite, how about add some icon to your application?
work gr8, thx!
What exactly does this do?
wallywallyv said:
What exactly does this do?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=1863863&postcount=5
working perfectly. cant live without it for tomtom. thank you
Simple and sweet!
Ozzy Osbourne swearing is great with TomTom
What happens if one has moved the Tom Tom files to storage card, will this app know or give you the option of changing the launch folders?
Never mind, i see there is no config file. thanks.
Blah.. meant to post that in another thread.. but now that its here. The program does work in the sense that its starting tomtom, just tells me no gps attached.
Just having the hardest time here. I do have the com4, no hardware port, 4800, and auto config set correctly. As is the location settings in the phone. The other day i was able to get a connection using Google. Just doesn't seem to want to work, its either seeking or stuck at initializing. When it was working the other day though, google was spot on while driving.
Where is everyone getting TomTom? Anyone?
When it starts TomTom for about the first 30 seconds to 2 minutes sometimes it won't show a gps, but if you wait it will come up and show it. Until there is a gps fix the "no gps device" message won't go away. You can't trust that. All this trouble is because TomTom didn't code their port open properly to begin with. I hope they catch on here that they should fix their codebase.
I'll release a update tonight to have a config file for users wanting another program to launch instead. And I'll do away with the button to where it just auto runs.
New version put up in the first post, now configurable:
http://forum.xda-developers.com/showpost.php?p=1862619&postcount=1
Shadowmite said:
New version put up in the first post, now configurable:
http://forum.xda-developers.com/showpost.php?p=1862619&postcount=1
Click to expand...
Click to collapse
Thank you.
Shadowmite said:
This app launches only tomtom, it's not settable, but it's also not a .NET app. I wrote this because I hate .net and refused to run a .net launcher as it takes more memory and cpu then it should. This simple opens the port, waits 2.5 seconds, launches tomtom, waits 30 seconds, and exits unless you told it not to.
I could revise it a bit if there is demand but it works in present form.
Click to expand...
Click to collapse
Off topic, but I'm willing to bet the difference in overhead between my launcher and yours is negligible especially considering the fact that the launchers only run for under a minute unless configured otherwise.
It is slightly offtopic, but worth mentioning... Actually the .net framework entirely loads to run your app, it's pretty big. Regardless of length of time running, .net sucks. It's like saying to use a 21' moving truck to move a washing machine home from the store. No offense to your app, it's a nice one, I talked to you on the chat (zule) and tried to get you moving in native code. If you remember I am however the one who suggested a "launcher" while you were thinking daemon.
Shadowmite said:
It is slightly offtopic, but worth mentioning... Actually the .net framework entirely loads to run your app, it's pretty big. Regardless of length of time running, .net sucks. It's like saying to use a 21' moving truck to move a washing machine home from the store. No offense to your app, it's a nice one, I talked to you on the chat (zule) and tried to get you moving in native code. If you remember I am however the one who suggested a "launcher" while you were thinking daemon.
Click to expand...
Click to collapse
Yeah, I understand the .net issue. I only used .net to rapidly develop a test of theory. I never intended to release the .net app, it was more of a proof of theory for me, but I decided to release it to help people out with their GPS troubles until the BG daemon (which involves considerably more code, as you know) is anywhere remotely close to being ready.

[Useful Tip] As a GPS-Camera

I have read the article about Gps based camera with Athena.
No software for it.. It was so sad..
But, I finally found a good tip to use gps based camera.
I will let you know how I use it.
You need two programs.
1. Schap's advanced configuration tool for ppc - change setting ppc
2. Opanda IExif 2.3 for PC - read photo information
How I use~~
1. Install advanced config. tool in main memory of X7500
2. Change setting of camera
Gps Photo : Disable -> Enable
3. Soft reset
4. Change camera mode to gps-camera.. athena will try to get the gps signal for a while.
5. after connected, take a photo. - the photo might get gps information.
6. copy the photo to the PC
7. install Opanda IExif (freeware)
8. run the program.
9. open the photo file which you want to check.
10. click gps tab. or you can find gps section in exif tab.
11. click right mouse button and choose 'Locate Spot on Map by GPS'
12. program will open brower with google map.
13. finally you can know where the photo taken.
- I cannot find the program which can read exif information on pocketpc.
- If it is, very helpful.
- I'm not a programmer so I cannot make what I want.
- I attatched the ppc program and my original picture(GPS_007.jpg) and the google map position..
- Plz, download PC program here.. http://www.opanda.com/en/download/IExif_2.3_en.exe
I hope it will help you to use athena a lot..
Thanks..
From vaint [South Korea]
No joy
GPS Photo works only on certain ROMs. In my case no joy. On original HC WM6 I used GPS Photo, but after switching to Irus Full SPL1.2 It says that it can not initialize GPS, and returns to Photo mode.
I can live with it, as this rom is really good, but if anybody can give some clue...
Thanks in advance.
There is a GPS program called "TurboGps" it's free and it
will put the co-ordinates at the top of pics.
bigtsr said:
There is a GPS program called "TurboGps" it's free and it
will put the co-ordinates at the top of pics.
Click to expand...
Click to collapse
Funy, I have it on my PPC, but did not noticed this option. Thanks for info.
Still need PhotoGPS
TurboGPS is not a elp. It stamps your photo with the psosition but only on the photo. It does not put your possition in to Exif registru of the phot. So you can not use it with Opanda Exif.
So no joy.
Does anybody know how to make Camera app use photo GPS option. Do we need to return to factory ROM?
Thanks a lot! it works on my Athena well.
Thnxs for the info! ive always wanted to do that.
How do you know when its got the GPS signal?
I assume your talking about TurboGps achieving signal lock.
I just watch the info at the top of the compass screen I then goto
Tools/Various/Camera shot.
ah thnxs hehe you didn't say about that program in the instructions. Really cool program thnxs for the tip
what comm port and buad rate did you use...i can't get a gps lock
Vico100 said:
what comm port and buad rate did you use...i can't get a gps lock
Click to expand...
Click to collapse
Well there was a great debate a while ago and if you search GPS
you can read all about it.
Having said that the 7501 gps setting is COM 5 @ 4800 baud,
this will give access to data stream,this is setup up in
Start/Settings/System/External GPS.
If you are going to use multiple access to the gps as I do the settings
are slightly different-Programs/GPS program port = COM 8 and Hardware/GPS
hardware port = COM 5 @ 4800 baud and Access = check mark Manage
GPS automatically.
In TurboGPS Tools/GPSSetup = COM 5 @ 4800 (or in my case [email protected])
and you must turn it on Tools/GPS/Connect.
Make sure your are outdoors to get a faster fix.
bigtsr said:
Well there was a great debate a while ago and if you search GPS
you can read all about it.
Having said that the 7501 gps setting is COM 5 @ 4800 baud,
this will give access to data stream,this is setup up in
Start/Settings/System/External GPS.
If you are going to use multiple access to the gps as I do the settings
are slightly different-Programs/GPS program port = COM 8 and Hardware/GPS
hardware port = COM 5 @ 4800 baud and Access = check mark Manage
GPS automatically.
In TurboGPS Tools/GPSSetup = COM 5 @ 4800 (or in my case [email protected])
and you must turn it on Tools/GPS/Connect.
Make sure your are outdoors to get a faster fix.
Click to expand...
Click to collapse
It is ot exactly the case. Maybe inX7501 Gps uses com5. In my x7500 and in x7510 it is com4, not com5.
However, deppendent which rom I have used, I could get gps photo runing or not. Other soft, which provide manual setting for com and speed, would work well. These software, which deppends on system api, would not work in some roms (this inclueds gps photo in camera app). So in x7500 originak WM6.0 and Sogaths roms wold provide gps photo and gps api. Irus Full rom and some others do not. The same with original WM6.1 rom in my x7510, which does not provide gps photo nither, although apps which access gps chip directly work well if I set them for com4 and speed between 4800 and 38400.

How to speed up sogarth ROM :)

It's simpler than you can imagine: Is a DIAMOND ROM... remember?
Test diamond cheats, install task manager from FDCSOFT and play with services and processes: kill biotouch.exe and SIM ACCESS PROFILE sap..., stop athena sensor service and set it to start manually (to stop home screen rotation and keep other rotations active, managing them with GSENSOR)
Using this cheat I tested many Diamond applications using gsensor and they work
WOOOOOWWW, is really fast now!
It works fine. Thank you for this tricky settings.
By the way... I have tested many ROM's the last days. The fastest ROM was the Chinese one with Irus translations.
sergiopi said:
It's simpler than you can imagine: Is a DIAMOND ROM... remember?
Test diamond cheats, install task manager from FDCSOFT and play with services and processes: kill biotouch.exe and SIM ACCESS PROFILE sap..., stop athena sensor service and set it to start manually (to stop home screen rotation and keep other rotations active, managing them with GSENSOR)
Using this cheat I tested many Diamond applications using gsensor and they work
WOOOOOWWW, is really fast now!
Click to expand...
Click to collapse
the gsensor did not work for me any trick i need to know?
irus said:
the gsensor did not work for me any trick i need to know?
Click to expand...
Click to collapse
I stopped, using FDCSOFT taskmanager, the service HTCSENSOR (ATHENA), and sat up it as manual start. This stopped home screen rotation, leaving rotation working in applications.
Installed GSENS fron skkv software. Run the prgram you want to manage then GSEN config. Tap on the right bottom menu', choose windows name, or program name, or... Save, then exit.
Restart GSENS
Have anyone tested to see if this works with Sogarth Vanilla ROM? I was able to stop the SAPsettings.exe but I couldnt find biotouch.exe.
Sergiopi where would I find that at inside Task Manager.....Processor?
I also tried to follow the tips, and I was unable to find biotouch.exe as well. I did kill the sap settings though. With regards to setting htcsensor (athena) as manual, when I tried that I got the could not connect to Gsensor error everytime. With both Htc Sensor, and Htc Sensor(athena) as active and automatic, I set gSens to autostart and I get full directional rotation on startup, which is what I want...i guess heh. Currently running the Vanilla 0 PP rom, and it does seem very fast, noticbly over the regular irus/sogarth rom. I did read somewhere in a thread that there was like a reg setting where you could adjust the reaction time for autorotate? or am I just dreaming stuff up? Either way, HUGE thanks to Irus, and Sogarth for releasing such Great rom variations. You guys truly are an asset to us all here at XDA
Thanks touchlasvegas.
What ROM are you running? where did you find it at?
Kenjari, I believe the name of the rom im running is the Irus Vanilla 0MB Page Pool version, and its posted near the end of the Irus Ultra Vanilla page.
How fast and stable is it? what spl.? and whats the memory looking like?
It seems quite fast, and i cant live without the autorotate features. SPL 1.2, and ive only ran the rom for a day or so...no lockups so far. After installing a couple programs, looking at 121 storage avail, and 66.83 program memory available.
Kenjari said:
Have anyone tested to see if this works with Sogarth Vanilla ROM? I was able to stop the SAPsettings.exe but I couldnt find biotouch.exe.
Sergiopi where would I find that at inside Task Manager.....Processor?
Click to expand...
Click to collapse
thats because i removed biotouch and htc home its in the addones if you want it
Thanks irus

Adapter program to enable assisted GPS on the Verizon xv6800 "MR1" (WM 6.1) ROM

Adapter program to enable assisted GPS on the Verizon xv6800 "MR1" (WM 6.1) ROM
I've written up a program that will enable the use of assisted GPS on the MR1 Verizon ROM. This may be of use to you if you do not want to use a custom ROM, -or- you cannot get GPS working on a custom ROM.
Note: This method does not currently work on dcd's releases. My code has only been verified to work on the Verizion MR1 ROM. I believe this is because the Sprint GPS intermediate driver does not support the DRM/locked down GPS functionality required to talk to gpsOne once the firmware has been programmed for locked down GPS mode.
You can always flash back to MR1 from a custom ROM. If you already have GPS working on your custom ROM, this is probably not necessary, and you should keep your existing ROM.
A cab installer (courtsey of gc14) can be found here: http://forum.xda-developers.com/attachment.php?attachmentid=111774&d=1220913180. Note that due to a bug in the .cab file, you cannot automatically uninstall the cab, but you can just manually delete the files that it installs (see below to discover which files those include).
Otherwise, you can manually install the program, as detailed below.
The installation of my GPS adapter is a bit complicated right now, and this is a fairly beta release. I have only tested it with Google Maps. However, it should work with any GPS-enabled program that can use the standard GPSAPI.dll functions.
Note that your GPS program must be configured to use Windows-managed GPS and not an explicit COM port. My adapter module does not support the NMEA serial interface, only the "cooked" GPSAPI.dll interface. Notably, the HTC GPC Test program uses the NMEA COM port interface, and will not work with the GPS adapter.
The GPS adapter system consists of several parts under the hood:
- gpssrv.exe, a program that I wrote which understands how to decrypt GPS data from the chipset when it is operating in locked down GPS mode. This program acts as an intermediary server, through which all GPS clients can indirectly access location information.
- gpsapi.dll, a replacement for the OS-level gpsapi.dll. The replacement DLL communicates with gpssrv.exe to retrieve positioning information. This model allows multiple programs to receive GPS data at the same time, as the locked down GPS interface only supports one concurrent user.
- oemgpsOne.dll, a modified version of the Verizon oemgpsOne.dll module for communicating with the gpsOne chipset driver.
- stdgps.dll, a copy of the standard OS gpsapi.dll. Due to limitations in Windows CE, this needs to have a different name than the replacement gpsap.dll. It is otherwise identical to the shipping version of gpsapi.dll.
To install the GPS adapter, you should grab the program files at the following URL:
http://www.nynaeve.net/Skywing/xv6800gps/gpsserver.zip
Currently, there's no CAB installer, so all of the installation must be done manually. Sorry. A CAB may come later on, if someone feels like doing the work to build one for me.
After extracting the zip onto your device, follow these instructions:
1. Create a "\Program Files\GPSServer" directory on your device.
2. Copy gpssrv.exe, oemgpsOne.dll, and stdgps.dll to "\Program Files\GPSServer".
3. Copy gpsapi.dll into the directory where your GPS program resides. For example, "\Program Files\GoogleMaps".
Optionally, you can copy gpsapi.dll to your \Windows directory instead of the directory for the main .exe of your chosen GPS application. This may be more reliable, as if something loads the Windows-supplied gpsapi.dll before the custom gpsapi.dll, things will break. Doing this is slightly more complicated.
To (optionally) copy the new gpsapi.dll to your \Windows directory, you may use these steps:
1. Rename gpsapi.dll to something else (e.g. "gpsapix.dll").
2. Copy the renamed gpsapi.dll to \Windows
3. Rename the renamed gpsapi.dll in \Windows back to gpsapi.dll.
The renaming juggling is necessary as File Explorer will otherwise refuse to supersede an XIP ROM file. You can simply delete \Windows\gpsapi.dll after doing these steps to revert back to the standard Windows gpsapi.dll, without having to hard reset your device, although this will again break GPS for you.
After that, you should be able to start your GPS program (e.g. Google Maps) and receive location data. Note that being inside in a shielded location may impede the process of acquiring a GPS fix. Also, to gain the benefit of assisted GPS mode, you need to have an active cell data connection, and you should not be connected to ActiveSync or Wi-Fi.
There are some registry settings that you can create on the device to tweak how the GPS adapter functions:
REG_SZ HKEY_LOCAL_MACHINE\Software\Valhalla Legends\GPSServer\ServerPath = "Path to gpssrv.exe". Defaults to "\Program Files\GPSServer\gpssrv.exe" if not set.
REG_DWORD HKEY_LOCAL_MACHINE\Software\Valhalla Legends\GPSServer\AllowDeviceStateChange = 0/1. Defaults to 0 if not set. If set to 1, then gpsapi.dll will send device state change notifications to your GPS program. Some programs appear to have buggy GPS handling (Google Maps in particular), and will break if this option is set.
REG_DWORD HKEY_LOCAL_MACHINE\Software\Valhalla Legends\GPSServer\PDEAddress = IP address of the PDE to use. Defaults to 0x845FAE42.
REG_DWORD HKEY_LOCAL_MACHINE\Software\Valhalla Legends\GPSServer\PDEPort = Port number for the PDE. Defaults to 8888.
REG_DWORD HKEY_LOCAL_MACHINE\Software\Valhalla Legends\GPSServer\Mode = gpsOne mode to set. Defaults to 2.
REG_DWORD HKEY_LOCAL_MACHINE\Software\Valhalla Legends\GPSServer\QoSAccuracy = Relative fix accuracy requested. Defaults to 64. (Max of 255, higher values request a more accurate fix, but this may increase the time to acquire a fix.)
REG_DWORD HKEY_LOCAL_MACHINE\Software\Valhalla Legends\GPSServer\QoSPerformance = QoS performance flag. Defaults to 10. As to what effect this has on the gpsOne chipset, I'm not entirely certain yet. Debugging reveals that the value internally is called the QoS performance value, hence the name. The meaning of this value is likely buried in some gpsOne technical document that I have not found yet.
REG_DWORD HKEY_LOCAL_MACHINE\Software\Valhalla Legends\GPSServer\FixInterval = Time, in milliseconds, between requests to the gpsOne chipset for an updated GPS fix. Defaults to 1000.
The default values should work fine, so you don't need to bother with the registry values unless you really want to. Most of the defaults were gathered by researching the settings that VZ Navigator uses internally.
---
Program compatibility list:
---
- Only programs that use GPSAPI.dll and not a COM port will work with the adapter. Most GPS programs will support using GPSAPI.dll.
- Google Maps will function if you configure it such that the GPS setting is set to "Managed by Windows". This is the default setting. Also, remember to check "Use GPS" in the menu when you start Google Maps, in order to enable GPS inside of Google Maps.
- Live Search will function if you configure it such that the GPS setting is set to "GPS Intermediate Driver". This is the default setting.
- HTC GPS Tool will not work properly, as it can only use a COM port.
- If you want to use VZ Navigator after having installed the GPS adapter, then you need to place oemgpsOne.dll and stdgps.dll in \Windows.
---
Other notes:
- The GPS adater does not enable free use of VZ Navigator. It only allows third party programs that are designed to talk to the standard Windows Mobile GPSAPI.dll interface to operate on the xv6800 MR1 ROM.
- You do not need to manually start gpssrv.exe. When a program loads the custom gpsapi.dll and requests a position fix, gpssrv.exe will be automatically started on demand to power up the gpsOne hardware and start acquiring position data. It will automatically turn off the gpsOne hardware and exit on its own 60 seconds after there are no programs open that are still requesting a GPS fix.
---
Troubleshooting:
Here are some steps that you can take if you are having problems getting things to work.
1) Make sure that you're on the Verizion MR1 ROM and not a third party custom ROM, or the original release Verizion ROM.
2) Make sure that your Location setting is set to "LOCATION ON" and not "911 ONLY" in your Phone > Services > Location settings.
3) Make sure that your GPS program is configured to use Windows-managed GPS or "GPS Intermediate Driver", and not a specific COM port.
4) Give the following test program a try, to verify that GPS is working in general. The test program does not require the GPS adapter to run. If the test program can receive GPS data, then either the GPS adapter program is not installed correctly, or your GPS-enabled application is not configured properly. If the test program cannot receive GPS data, then you have a different problem (perhaps your location option is still set to 911 only?). Test program link: http://www.nynaeve.net/Skywing/xv6800gps/gpstest.zip
Reserved for future updates.
Adapter
Downloading now but awfully slow.
I will also work on a cab install for you too.
Steve
so this is just a modified version of the Verizon GPS driver?
I was wondering if it would be possible to OEM that into one of the Custom ROMS through the kitchen and making it work without a hitch (assuming this program replaces those bad .dll files)
No, it's a bunch of new code that I wrote that understands how to decrypt the obfuscated GPS data returned by the Verizon GPS driver, when the firmware is in locked down GPS mode.
Posted a new version (updated gpssrv.exe and gpsapi.dll, be sure to update both files when you upgrade).
This release fixes compatibility with Windows Live Search, adds support for caching position across API calls (required for some GPS programs), and fixes a number of bugs.
Please let me know if you have any issues with it.
Skywing said:
Note that your GPS program must be configured to use Windows-managed GPS and not an explicit COM port. .
Click to expand...
Click to collapse
I use Iguidance that requires me to choose a port. How would I tell it to use the above method? There is an option to search for a gps. Should I try to find it that way?
The gpssrv.exe file, does it need to be run at some point?
If the program can only do NMEA serial, then it's not going to work, unfortunately. Reimplementing the virtual serial port interface is much more complicated to do on my end than reimplementing the GPSAPI.dll interface.
If your program has an "automatic", "use Windows settings", or "GPS Intermediate Driver" option, those options would typically mean that the GPSAPI.dll functions instead of NMEA serial will be used (if selected).
Doesn't work...
If anyone gets this to work with Iguidance v4.0 PLEASE let me know!!
I just wanted to say great work to Skywing. I dont have any gps problems anymore, but I must commend you for coming up with solutions to help.
No real value to this post, just to say thanks to the community in general!
thundaar2000 said:
Doesn't work...
If anyone gets this to work with Iguidance v4.0 PLEASE let me know!!
Click to expand...
Click to collapse
You might try and see if you get location data returned by Google Maps, which will work if you do not configure it to use a specific COM port.
I just downloaded the adapter zip and followed the instructions to a "T" and was able to get a lock on some sat's using GPS Viewer, but spent an hour or better trying to get GOOGLE maps or LIVE Search to work and neither one could get a lock on any sat's... Any ideas?
Thanks,
GA MADMAN
Are you certain that you placed gpsapi.dll in \Windows or in the directory with GoogleMaps.exe?
Other things to check:
- Make sure location is enabled in your phone setting. I assume that you have already done this, however.
- Make sure that Google Maps has the GPS confiugration set to "Managed by Windows".
Skywing,
Thanks for posting this software. I look forward to using it. I am convinced that mine is not working because I have not replaced the file in the \Windows folder.
I cannot rename it, I am using Total Commander.
I am convinced that I cannot rename it because something is using it.
I have a pretty basic install of XV6800 with MR1. Just a couple of programs installed.
Any advice on how to rename the file?
Thanks
New build did not get put up properly; this has been remedied. Please re-grab the .zip if you had previously downloaded it before this message, and then update all of the files.
Note that you need to completely delete the gpsapi.dll in \Windows and then do the renaming trick again, otherwise, File Explorer will claim to copy the new file over, but it will actually delete it and switch to the ROM version.
kilgore19K said:
Skywing,
Thanks for posting this software. I look forward to using it. I am convinced that mine is not working because I have not replaced the file in the \Windows folder.
I cannot rename it, I am using Total Commander.
I am convinced that I cannot rename it because something is using it.
I have a pretty basic install of XV6800 with MR1. Just a couple of programs installed.
Any advice on how to rename the file?
Thanks
Click to expand...
Click to collapse
No idea about using Total Commander for it. You can use the (cumbersome, but working) steps I posted with the built in File Explorer (fexplore.exe) program. Those steps are confirmed to work.
Downloaded the app.
Works perfectly.
Thank You!
I also followed each step and my XV6800 is unable to get a GPS location in either Google maps or Live search.
THANK YOU!
Thank you for the amazing tool!!! This has my MR1 ROM running GPS fast and efficiently. Let me know if I can be of any assistance... I have access to some webhosting space and other resources to keep this project alive if needed.
Mugenakuma said:
I also followed each step and my XV6800 is unable to get a GPS location in either Google maps or Live search.
Click to expand...
Click to collapse
Can you list all of the steps that you took and what state you are in right now (e.g. which files copied where, and soforth)?

[REQ] How to Change the Navi software for Footprints?

Hi, is i click in any footprint to the navi symbol my HD2 starts CoPilot. how i can change to another software like ndrive, igo, navigon or tomtom?
http://forum.xda-developers.com/showthread.php?t=585856&highlight=navipanel
Best regards
Reddeer2000
no easyer way??? like reg edit or else....
Reddeer2000 said:
http://forum.xda-developers.com/showthread.php?t=585856&highlight=navipanel
Best regards
Reddeer2000
Click to expand...
Click to collapse
This thread is not referring to footprints but to navipanel. To make footprints behave differently is another matter. I did some research on it and it is almost impossible to modify the version of footprints on our HD2 to direct to other navi software then CoPilot. Will give it a go though
its so easy to fake the footprint and digital compass to use igo8.
just get make folder in main rogramfiles/googlemaps/..and put here the vj.exe and googlemaps.lnk.... ! then rename vjb.exe to googlemaps.exe and open the googlemaps.lnk and write there the :sdcard/igo8/igo8.exe
pls make search for google maps in forum to find
I also managed to launch iGO8 with footprints, but that's all..It's just launching the igo application, but is not making a route to my footprint coordinates.I don't think this is possible.Igo must have a script to know that it has some coordinates to load. Hopefully HTC will release a .dll or something for other gps software then CoPilot or GoogleMaps.
All the best
Hi,
I have HD2 tmobile version, i know no one has come up with the answer asyet, but if footprints icon for navigation would open up in Bing that would be amazing as Bing is free.
Whenever i click on the location icon in footprints it opens up telenav.
I hope someone has hook it up with bing.
hi
how can i change copilot vavi to garmin gps

Categories

Resources