yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
[APP BOT] TTN7Bot & GPSBot: Possible solution to TomTom 7 and other GPS programs lag

I've written a small application that seems to solve the problem with TomTom navigator 7 that shows a position of several meters back from the real one.

Simply copy the file to the folder where TomTom_Navigator.exe (or TomTom Navigator.exe) is and launch this application instead the real TomTom.

The idea behind this file is that the lag is caused due to the full CPU usage of TomTom navigator that leaves few or even none CPU time to the GPS drivers. This bot launches TomTom and then reduces the TomTom process priority. The bot itself unloads from memory when TomTom exits.

I have tested it and seems that works Ok, but I want your opinions before making a good icon for it (icon designers wellcomed ;) )

EDITED:

In order to make the program more general, I've created GPSBot that works in the same way but have a GPSBot.txt file with the name of the program to be launched between colons. As an example the zip contains a file with "TomTom_Navigator.exe". This version also needs to be copied to the same folder than the executable in order to allow to have several copies for different programs.

Download it from my page: http://beemer.sesma.eu/en/gpsbot.htm
[Touch Diamond, MDA Compact IV Themes and Apps] egg:
Hi,

as I've seen the issue with TT7 and iGO8, i've now installed TT6 - but have not tested it yet.

Will this work with TT6? How is it operating?

Thanks!
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
Yes will work with any program file called "TomTom Navigator.exe" or "TomTom_Navigator.exe".

You can even rename (or make a copy) igo.exe for testing on it
[Touch Diamond, MDA Compact IV Themes and Apps] darkbyte:
Will be posible to do the opposite and increase the cpu priority for the GPS drivers ???

I think that this will help ANY application that uses the GPS.

Only my 2 cents...
[Touch Diamond, MDA Compact IV Themes and Apps] MiToNiOeS:
thanks,

i think that you can put a config file for to specify the exe file and we could use it for all programs
[Touch Diamond, MDA Compact IV Themes and Apps] Jin187:
Tomtom 7 has Zero lag for me, its IGO8 that has the problem, Is it possible to create this file for IGO8 too?
[Touch Diamond, MDA Compact IV Themes and Apps] private69:
Hello,

I will test this afternoon and i will write feeback after.

Thanks for your job.

@+++
[Touch Diamond, MDA Compact IV Themes and Apps] tabugman:
Try renaming the Igo.exe to TomTom_Navigator.exe and test the bot as he suggests. Might work... I'll try this later on :)
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
If the idea works for most people, I can create a full configurable program, no problem.

It is not possible to do the opossite because the "drivers" are a lot of different code (GPS driver itself, GPS ID, virtual ports, etc.) and have the highest user priority. I tried some time ago with a simmilar issue with TTN5 to upgrade the priority of the virtual ports, etc. to system priorities and it didn't work.
[Touch Diamond, MDA Compact IV Themes and Apps] tabugman:
Tried renamong Igo.exe to TomTom_Navigator.exe and start the bot (placed in my IGO folder obviously). At first I get a debug window showing the path to my TomTom_Navigator.exe (really my Igo.exe) which I have to press OK on.

After this Igo launches and seems to work fine. I haven't been able to test whether the bot helps with the lag, but I'll try on my way home from work.

Provided it works on IGO aswell, it would be really great if we could get a version in which you can edit a config-file to point at the .exe of whatever gps app you happen to use.
[Touch Diamond, MDA Compact IV Themes and Apps] FooF:
Or detects if the executable is renamed like igo_bot.exe or TomTom_Navigator_bot.exe ;)
[Touch Diamond, MDA Compact IV Themes and Apps] rumpleforeskin:
if this works it proves that the lag is caused by innefficient cpu horse power to decode satalite info and run sat nav software. If this is the case HTC must have known about its shortcommings when deciding to move away from a dedicated GPS chipset?

This begs questions about their level of commitment to producing high quality devices. This is certainly not an issue i have had to deal with on previous HTC devices and i would be upset it they have taken a step backwards in hardware and charged me for the priviledge.

I have raised the issue of GPS lag with HTC and have yet to recieve a response, has anybody else had a satisfactory answer from the manufacturor?
[Touch Diamond, MDA Compact IV Themes and Apps] DomXDA:
Just tried with (renamed) IGO8: no change, still the lag. Could it be the navigation software that cannot unstack the GPS data? What about increasing the navigation software priority?
[Touch Diamond, MDA Compact IV Themes and Apps] KukurikU:
don't know about TT but iGO8 has Zero lag for me. i used simultaneous my htc athena and the diamond in my car and they both spoke in unison..lol!

no lag, just spot on at every intersection!
[Touch Diamond, MDA Compact IV Themes and Apps] nooms:
doesnt work for me ! its worse...

really sorry but it does not work ....

my rom is V6

radio 25 05

TT 7 map france 7

bye

nooms
[Touch Diamond, MDA Compact IV Themes and Apps] kiowa79:
But if it is caused by navigaton software CPU ussing, why it does not happen when working with an external gps? I've not tested myself, but read this
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
I had the same problem some years ago with a X51v and Compact flash GPS, it had the lag and even lose completelly the signal, but it didn't happen with BT GPS. The reason was that the BT serial driver had a very high system priority while the CF serial driver ran at standard user priority.

For that problem I wrote the TTN5Bot (and IgoBot) that are still on my web page http://personales.ya.com/beemer/ttn5boten.htm . They solved the problem.

That's why I have thought that the problem were the same now: TTN with VGA devices take a lot of CPU to calculate the graphics and makes the CPU run at 100%, doing that any other app or driver with the same priority could fail or at least not work on real time.

I've tested it again on my car and I'm pretty sure that it works a lot better than before, but until I can do the test as a passenger I cannot control the screen and drive :(
[Touch Diamond, MDA Compact IV Themes and Apps] pedmond:
Same for me - except I don't have an Athena :)
[Touch Diamond, MDA Compact IV Themes and Apps] kiowa79:
For your information it happens with every gps software, not only tomtom but also igo8 or oziexplorer. Otherwise, if it is a gps driver issue this is normal.

The most strange for me is that some users are reporting the lag and others not at all. If it is a driver issue all of us must have the problem, am I wrong?

Do not worry and stay handling your driving wheel ;), I'll test tomorrow morning your app and report feedback.
[Touch Diamond, MDA Compact IV Themes and Apps] ivan101:
tomtom7

Indeed have the same problem, that means, if you mean that the gps will not come up in tomtom7?! I worked around (seems to work on diamond and the pro version), first start up google maps (put on gps position), if that works, start up tomtom and close google maps. seems to work everytime now.

also i was thinking if has nothing to do with the tweaking tools?!

ivan
[Touch Diamond, MDA Compact IV Themes and Apps] kiowa79:
beemer, some tests made in HTCmania, only spanish eyes ;)

http://www.htcmania.com/showthread.php?t=9973
[Touch Diamond, MDA Compact IV Themes and Apps] charly_mx:
i recommend

Hello guys. Well i have been using Navigator 7 as my GPS nav software and it is great. The CPU doesnt reach the 60%, there is no lag and is very stable and works great with our Diamonds, you can use it to autorotate with Gsen.
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
I've added a more general version to the first post. Now any program can be launched.
[Touch Diamond, MDA Compact IV Themes and Apps] kiowa79:
same lag beemer. tested launching igo8 and tomtom with regular exe and after with your bot. exactly same results.

i am frustrated,but please keep working on it.
[Touch Diamond, MDA Compact IV Themes and Apps] darkbyte:
It's possible that the GPS intermediate driver it's the responsable for the lag ???

Anyone try without intermediate driver ? (I'm at work now, I test later)

(If this assumption was correct, I can't explain why with less CPU power TT7 can read more GPS data from intermediate driver)

I think that it's better to lose NMEA data instead of keep reading old the data in a buffer all the time...

There are many reg settings that can be tweak

http://msdn.microsoft.com/en-us/library/ms850332.aspx

Only another place to look for solutions...
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
Looking at the GPSID reg settings I've found two entries that could help a little, the log files. In the documentation says that this must be enabled only for developing porpouses, but the diamond has the log enabled, and althought writing to a file is fast, is faster not to do it.

Simply create DWORD value called MaxLogFileSize set to 0 under HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver

Appart from this there are some other keys that could be useful:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers has an entry that specify from where the GPSID gets the data. can be set to GPSOneDevice ( Default) that is the GPS chip with raw (Not NEMEA) data, GPSOneEmulate that takes the data from a file \windows\GPSOneFileSimulation.txt, and GPSOnePort that takes the data from the GPS serial port in NEMEA format, unfortunately the port is GPD10: that COM port is not standard and cannot be accesed from the navigations programs allowing to disable GPSID.

In the GPSOneDevice configuration branch HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\GPSOneDevice there is a PollInterval entry that could be useful. perhaps lowering its value from 1000 to 500 could help also.
[Touch Diamond, MDA Compact IV Themes and Apps] bau33:
i allready tried PollInterval entry with a values between 100 and 5000 but no effect at all :(

I allready tried also disabling writing to log but again no effect at all :(

What i will be curios is to see if the data are direct from GPSOnePort (NMEA) lead to any difference (i think the port can be changed)
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
It is possible to retrieve the data directly from the GPS port but not with all the programs. For example Tracky is aware of the GPSID and shows the GPD com ports. Selecting GPD0 it should work but giver "read error"

The GPD port that GPSID uses is GPD10 but I think it is an error and should be GPD0, not sure about this.

Under HKEY_LOCAL_MACHINE\Drivers\builtin\GPSID there is the NEMEA driver of the GPS with a prefix of GPD and and index of 0. Maybe changing it to a prefix of COM and a index of 6 or 8 the com port could be used.
[Touch Diamond, MDA Compact IV Themes and Apps] ChrisUK:
Worked a Treat!

Worked a treat for me. I was suffering 2-4sec lag on the GPS one time it totally froze and I was 3 miles previous that where I actually was!. TT7bot did the trick thankyou very much :D.

Note: I'm using Dutty's Diamond v1.6 Rom on a Orange Branded Device
[Touch Diamond, MDA Compact IV Themes and Apps] TDO:
That's interesting.

Especially as the software is not for sale at the moment and will be released in mid september ....

TDO
[Touch Diamond, MDA Compact IV Themes and Apps] solarizde:
Just a short question, i copied it to the TTN directory and if I launch it by clicking the app in the file manager it works. But as a XDS newbie how can I change the actual TTN Shortcut in my quickstart / Programmes to launch automaticaly the bot.exe not the ttn.exe ?

To launch the app each time by navigating in the dir by the file manager isn`t very comfortable.

I'm using the HTC Touch Diamond.

thanks
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
You have to make a link to the program in \Windows\Start Menu\Programs before you can add it to the quiqstart.

Best way is with resco explorer, "copy" and "paste shorcut".

With final version I will make a cab.
[Touch Diamond, MDA Compact IV Themes and Apps] solarizde:
Thanks works fine.
[Touch Diamond, MDA Compact IV Themes and Apps] :
Lots of us are using TT7 - it's available if you look for it. ;)
[Touch Diamond, MDA Compact IV Themes and Apps] keko001:
can you make also for tomtom 6 whit be very nice if you can make it thx
[Touch Diamond, MDA Compact IV Themes and Apps] TDO:
Yes TT7 is available - it came with the phone.

But he wrote about navigator 7 (navigon)!

I'm looking forward for his software - better maps.

And it are good news, that it will work well with the diamond.

TDO
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
I've put a generic program on the first post that you can use with any navigator.

About the icon: I'll put another of course, but the TTN one is copyrighted.
[Touch Diamond, MDA Compact IV Themes and Apps] jameslovell:
I tried with and without thismorning on the way to work and can confirm it makes NO differance what so ever :(

TT7 Navigator

Duttys 1.6 ROM
[Touch Diamond, MDA Compact IV Themes and Apps] PEDIATRUCHO:
Doesn't work for me either. Same lag with or without bot. Keep working beemer!!!
[Touch Diamond, MDA Compact IV Themes and Apps] billy-the-kid:
It doesn't work properly for me with TT7 I'll test it with iGO I will tell...
[Touch Diamond, MDA Compact IV Themes and Apps] pietrucci:
Nope

The idea is fine but this version doesn't work for me.

First of all it takes ages to get a GPSfix: up to 10! minutes where normally I get a fix within a minute. Secondly I don't see a real difference with the original.

But keep up the good thought!
[Touch Diamond, MDA Compact IV Themes and Apps] Larpeiran:
Thanks, I will test it and report the result
[Touch Diamond, MDA Compact IV Themes and Apps] gab74:
I noticed the lag on igo8 running on my athena...

Please is it possible to have a version for igo8...? Tomtom 7 works well without any lag but i need it for igo8....
[Touch Diamond, MDA Compact IV Themes and Apps] blknit:
Tested with iGO8, the cpu usage is reduced and now i can change skin without any problem.

Thank you
[Touch Diamond, MDA Compact IV Themes and Apps] cdenfert:
hi,

anyway to get it to work on PNA?
[Touch Diamond, MDA Compact IV Themes and Apps] beemerTPPC:
if the PNA is windows CE based it should work... I think.
[Touch Diamond, MDA Compact IV Themes and Apps] cdenfert:
it doesn't work :(

Wince 4.2 .net core

Fatal Error

(try with igo8.exe)
[Touch Diamond, MDA Compact IV Themes and Apps] deuzeff:
I tested it yesterday with Tomtom7 on my Kaiser.

I think (I need more time to be sure) that it worked. The lag of 10 meters was away when running your bot.

I do think it was working, so thanks ;).
[Touch Diamond, MDA Compact IV Themes and Apps] an123:
in case ur using resco explorer, u can also use "send -> to start menu as shortcut"
[Touch Diamond, MDA Compact IV Themes and Apps] suiller:
Hi all, I use TT7 for work everyday and in my opionion, at least based on my experience, the lag problem is just provided by roms (and of course their configuration).

I've tried all radio ver and I'm sure it is a problem radio-indipendent.

For example I always had a lag of few meters (5~10) with original roms, then tested all version of bepe's rom and it was almost the same, I tried in the last 2 months everything, reg tweaks and so on but nothing has changed.

I got my solution when I started to install pdaviet roms (from V2)... I don't know the reason but believe it or not with this rom my TT7 is really precise.

Now I'm testing TT7 with the last duttys rom, perhaps it can depend by OS ver (drivers??).

Another thing I applyed (read somewhere in a russian forum where a cooker uses PDAviet roms as starting point) was decrease PollInterval from 1000 to 500 and corrected in TT7 from integrated GPS to other nmea -> com port 4 -> baud rate 38400.

Another thing, is that when I use TT7... it's the only one app running.

Bye,

Davide
[Touch Diamond, MDA Compact IV Themes and Apps] djmiguelxxx:
Could anyone confirm if it's works on P3300? On Tomtom7 have a bit lag...
[Touch Diamond, MDA Compact IV Themes and Apps] mccune:
Just try it and post your results here ;)

It should work on your device...
[Touch Diamond, MDA Compact IV Themes and Apps] aaswouw:
Love the idea, but unfortunatelly it did not work on my Touch Pro :(

Keep up the good work!
[Touch Diamond, MDA Compact IV Themes and Apps] samuelcameron:
Works on p3600

This fixed the lag for me on my Trinity p3600. Thank you!

I would love to see what icon you make :D
[Touch Diamond, MDA Compact IV Themes and Apps] rumpleforeskin:
could you add a poll to this thread so we can vote if this fixed the lag or not, that way we can easily see how many people this is working for.
[Touch Diamond, MDA Compact IV Themes and Apps] keko001:
do you have now a icon for it so we can make a shotcut :D:D
[Touch Diamond, MDA Compact IV Themes and Apps] tigger80:
I also have the lag,

However i have found no signal for GPS with some roms and SPL,

Hardspl 1.93 duttys 2.1 rom no signal

Offical SPL 1.93 Duttys 2.1 rom no signal

Hard spl 1.93 + offcial 1.93.405 rom GPS works

Why is ths i have also tried with other cooked roms and cant seem to get gps to work even with Hard-SPL 1.23/1.24/1.37.1.40

so it seems i must use official ROM for gps to work.

and if htc have used poor qulity components in the flagship device than, well Samsung anyone?
[Touch Diamond, MDA Compact IV Themes and Apps] blueone1:
I installed this program but it didn't make a differance:(.

I tried it with the rom 1.37 (NLD)

1.93 orginal (NLD)

A.Z.T.O.R. V6

I still keep the same problem.
[Touch Diamond, MDA Compact IV Themes and Apps] tobbbie:
Which priority are you setting for the application that is loaded? TT gets creeping slow calculting a route on the weak OMAP850. Could you make that configurable in your GPSbot application as well (e.g. after the "application name","priority").

Is there any smartphone taskmanager where I can see the priority that an app is runing at?

thanks + bye

tobbbie

:-)

P.S.: I tried it on the Tornado to load TT5.2 - not in real application yet. It definitely has an effect - yet to decide if positive or negative.
[Touch Diamond, MDA Compact IV Themes and Apps] Hiasl:
hi, tried the app today, works fine for me.

I also had the GPS lag, but it's way better now.

If you can make an icon for it, it would be really great:-)
[Touch Diamond, MDA Compact IV Themes and Apps] gokart:
Hi, thanks for the app!

Unfortunately no huge difference in GPS lag on HTC Diamond (CDMA Telus version). Everything is still about 1/4th second behind
[Touch Diamond, MDA Compact IV Themes and Apps] Pietje_1985:
Wow!! your program is absolutely brilliant! It's working fine with my Igo8 and I don't have any lag in my GPS position....it's exactly the same location!!:D awesome !!

Thanks mate!:D
[Touch Diamond, MDA Compact IV Themes and Apps] uran235:
Now this cute little tool seems to work out very fine for my ASUS P535, beemerTPPC :)

Still need to do some more testing, tho..

THX for your good work.
[Touch Diamond, MDA Compact IV Themes and Apps] ludovic.audoin:
Hello,

I use to use TomTom 6 on my Sony Ericsson P1i. It works fine.

I bought a HTC Touch Pro (with official French ROM) and installed TT7 v 7.450.9028 with the official maps (7.25). I installed the vga version on TT7 (not the qvga) on my phone and not on the memory. It works but I have a lag of 2 seconds. In fact I'm not sure it is a lag but the screen refreshing is much more less with TT7 on the HTC than TT6 on the P1i !!!!

My question : do you think that it could comes from the vga version installed (should I install the qvga version), or it could comes from the fact that I installed the software on the phone and not on the card ?

Thanks a lot for your help on this subject.

Best regards

Ludovic
[Touch Diamond, MDA Compact IV Themes and Apps] uran235:
You can try qvga; but your device needs vga as I know. I also read in antoher forum that this is a bug of the phone; but I ain't sure about that..
[Touch Diamond, MDA Compact IV Themes and Apps] tinuz97:
I go test it with garmin mobile......

I directly notice that i have much faster a gps fix?

I only must go test for the lag now :p
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
i will test on igo8, what do i have to do?

i just installed the latest iGo v8.3.1.57021 from sept 25th and i actually have it running!!(Others r having probs!!)
[Touch Diamond, MDA Compact IV Themes and Apps] BlueLux:
I was wondering, how can I change the tt7bot.exe's icon to TomTom 7's? I would really appreciate some help for this, thank you!
[Touch Diamond, MDA Compact IV Themes and Apps] uran235:
Since using 7.9** I don't need this tool anymore.

The bug seems to be fixed. No GPS-LAG at all. :)
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
are there any updates to this application or has development stopped?

i have sent pm's to the thread opener with regards to his new icons i have made him, but nothing.

no reply.

whats happening?
[Touch Diamond, MDA Compact IV Themes and Apps] tepss:
I've just tried this application. I was waiting for my friend at her work and as i was 15 minutes too early i was testin GPSBot with igo8. I was suprised. I took 6 simple rounds without navigation, half a mile each (small circles) each time switching on and off gps, once with clearing mem and cold start. On 3 times i hadn't got any lag !!! on 2 small lag (much smaller than normally), 1 normal lag (ab 1 second) and 1 time gps couldn't get a fix. It brings me to conclusion that there is something in this app really worth developing. Would be nice if author would say what and how he did so other developers could continue this project.
[Touch Diamond, MDA Compact IV Themes and Apps] StephBE:
Hi Tepss and others who experience problems with their TP and GPS.

I've read many pages about the different problems encountered by TP users because mine wasn't working as expected. I also had to wait too much to get a fix and got enormous lags when using the GPS.

I've solved almost problems doing this:

- Installation of Advanced Configuration Tool 3.2: with this tool, I disabled the A-GPS (event if it seems not to be activated...)

- Reduction of transfer rate from 57600 to 9600 baud.

Now, it seems to work correctly; I get a fix in a few seconds and the GPS keeps the fix. What concerns the lag, I didn't test it a good conditions enough, only in town between big buildings, and even there I got a lag of max 10 meters.

I don't know what realy helped (disabling A-GPS or reducing the tranfer rate) because I did the two the same time.

I think the hardware has nothing to do with our problems. I should say it's mainly a problem of settings and tuning.

So, my conclusion is that before placing hands in the registry and so on, try simplier ways like I did. There are (normaly...) no reasons that it worked for me and for the others.

Good luck to all of you!
[Touch Diamond, MDA Compact IV Themes and Apps] Belzebuth.:
Happy to see some "new blood" for "fighting" against the lag issue...;)

Before spending your time in a lot of tweaks and tests, did you read this? http://xdaforums.com/showthread.php?t=411156

Welcome here...:D
[Touch Diamond, MDA Compact IV Themes and Apps] StephBE:
Hi Belzebuth!

I'm glad to see that someone is happy to see me :rolleyes:

To aswer you, no I didn't read this thread because there are too many threads related to GPS lag, in this forum and in many others.

As I told yesterday, my problem is now solved.

But, because of you're glad to see me... maybe you could help me with another problem with iGO8 (8.3.2): I'm looking for some information aboout how to install TTS on my HTC TP. Any idea ?

Thanks in advance for your help.
[Touch Diamond, MDA Compact IV Themes and Apps] krokkio:
Added TT7 icons

My little modding...

Added TT7 icons.... :)