Java program to fix the routing behaviour of the XT.

Having Garmin zumo XT problems? there is loads of help and advice in this forum
Post Reply
FrankB
Posts: 404
Joined: Mon Aug 10, 2020 7:22 am
Has liked: 91 times
Been liked: 121 times
Netherlands

Java program to fix the routing behaviour of the XT.

Post by FrankB »

WARNINGS

- Use at your own risk.
- This procedure involves enabling access to the .System folder of the XT, copying files from the XT to your computer and back to the XT. If you don’t feel confident doing this, stop right now.
The .System folder is vital for correct operation of the XT.
- Only use this procedure for the Garmin Zumo XT.

Description

This procedure can be used to correct the routing behaviour of the XT, as described in posts of this forum called ‘Weird routing behaviour’
https://www.zumouserforums.co.uk/viewtopic.php?t=2030
https://www.zumouserforums.co.uk/viewtopic.php?t=2291

Multiple tests carried out reveal that a ‘Saved trip’ will recalculate the route/trip to the next Via/Shaping point when you deviate from the route. For an ‘Imported trip’ it will try to get you back by requesting U-Turns. This procedure modifies a bit in the .trip files that defines whether it’s an Imported or a Saved trip. Thus changing an ‘Imported trip’ to a ‘Saved trip’ and consequently changing the routing behaviour.

Instruction
Download and extract the attached Zip file that contains the program, instructions on setting up, and using.

Many thanks go out to all who helped.

Good Luck

Edit: For all who want more info on the internals:
hexedit.jpg
hexedit.jpg (103.77 KiB) Viewed 6671 times
See also: https://www.zumouserforums.co.uk/viewtopic.php?t=2291

Edit May 25: Added screenshots Mac

Edit May 30:
On ukgser this was posted: https://www.ukgser.com/community/thread ... st-5242062
It explains how you can change the trip from Imported to Saved on the XT. The general idea is to first start your imported trip, then go back to the trip-planner and save 'My Active Route'.
Very nice catch and credits to the original poster.

Edit June 1st:
As of now, yet another tool is available to fix the trips on the XT. It is an online tool and you can find it here:
https://www.javawa.nl/triprepair.html
The advantage of this tool that it works on virtually any platform and requires no installation.

There are also Dutch https://www.javawa.nl/tripreparatie.html and German https://www.javawa.nl/tripreparatur.html versions available.
Thanks to Jaco for creating and hosting this tool.
Attachments
Screenshots Mac.pdf
(869.31 KiB) Downloaded 518 times
SetTripsToSaved.zip
(224.45 KiB) Downloaded 647 times
Last edited by FrankB on Tue Jun 06, 2023 4:53 am, edited 6 times in total.
Rofor
Posts: 151
Joined: Sun Jul 19, 2020 8:38 am
Has liked: 138 times
Been liked: 56 times
Austria

Re: Java program to fix the routing behaviour of the XT.

Post by Rofor »

Many thanks to you and @jfheath for finding this and also for this fix to avoid that problem while using our Zumo XT!

I've posted a rough german explanation of this problem and the findings here in the german Naviboard in the Zumo XT threat here: https://www.naviboard.de/thread/67492-l ... post549037, with links to this and the other threat...

Hopefully it's ok for you?
Bye, Robert :)
(Actual: Tiger 800 XRx (2016), Garmin zumo XT, Cardo PackTalk, Nolan N70-2GT)
FrankB
Posts: 404
Joined: Mon Aug 10, 2020 7:22 am
Has liked: 91 times
Been liked: 121 times
Netherlands

Re: Java program to fix the routing behaviour of the XT.

Post by FrankB »

Rofor wrote: Tue May 23, 2023 9:27 am Many thanks to you and @jfheath for finding this and also for this fix to avoid that problem while using our Zumo XT!

I've posted a rough german explanation of this problem and the findings here in the german Naviboard in the Zumo XT threat here: https://www.naviboard.de/thread/67492-l ... post549037, with links to this and the other threat...

Hopefully it's ok for you?
Very good idea. Vielen dank.
Please note that it needs testing, especially for Mac users. If you have info a) if it runs on a Mac, and b) instructions on how to do that. I will be happy to include them in the Doc.
Rofor
Posts: 151
Joined: Sun Jul 19, 2020 8:38 am
Has liked: 138 times
Been liked: 56 times
Austria

Re: Java program to fix the routing behaviour of the XT.

Post by Rofor »

Sadly can't help with this as i own a Windows PC, but i will add a note for this in my posting. As far as i know there are many Mac-Users in the Naviboard...
Bye, Robert :)
(Actual: Tiger 800 XRx (2016), Garmin zumo XT, Cardo PackTalk, Nolan N70-2GT)
danham
Posts: 269
Joined: Fri Jul 13, 2018 2:25 pm
Location: Cape Cod, MA
Has liked: 83 times
Been liked: 82 times
United States of America

Re: Java program to fix the routing behaviour of the XT.

Post by danham »

No joy with running the Java app on my 2017 iMac with Ventura 13.4 OS and Java 8. But the alternate method of using an online hex editor works just fine and is not dramatically slower given the need to connect the XT and transfer trip files to the computer anyway.
Screenshot 2023-05-23 at 6.42.27 AM.png
Screenshot 2023-05-23 at 6.42.27 AM.png (48.01 KiB) Viewed 6605 times
Zumo XT, 660, nuvi 760 and many retired units dating back to the GPS III+
2018 Kawasaki Ninja H2 SX SE
FrankB
Posts: 404
Joined: Mon Aug 10, 2020 7:22 am
Has liked: 91 times
Been liked: 121 times
Netherlands

Re: Java program to fix the routing behaviour of the XT.

Post by FrankB »

I have no answer. Yet. Maybe someone with Mac experience can help?

I doubt it has to do with pathnames. I just tried it on a Linux system, that worked.
One thing I noticed, the program needs a graphical window. That has to do with the folder selection dialog.

Next Thursday I will have access to a Mac and try it.
danham
Posts: 269
Joined: Fri Jul 13, 2018 2:25 pm
Location: Cape Cod, MA
Has liked: 83 times
Been liked: 82 times
United States of America

Re: Java program to fix the routing behaviour of the XT.

Post by danham »

In case this helps another Mac user to diagnose, the program does start OK and does display a file selection graphic window (attached), but crashes as soon as selection is attempted:
Screenshot 2023-05-23 at 8.19.30 AM.png
Screenshot 2023-05-23 at 8.19.30 AM.png (304.61 KiB) Viewed 6546 times
Zumo XT, 660, nuvi 760 and many retired units dating back to the GPS III+
2018 Kawasaki Ninja H2 SX SE
Grabcon
Posts: 40
Joined: Sun Aug 21, 2022 5:58 pm
Location: Hereford, AZ
Has liked: 4 times
Been liked: 8 times
United States of America

Re: Java program to fix the routing behaviour of the XT.

Post by Grabcon »

FrankB & JFHeath, great work. As a former software product manager for a global enterprise software for the utility industry there were times that customers would send our support desk code that they developed for a fix that we may have or may not have known was an issue. Our support and development teams would evaluate and make recommendations as to whether the fixed is worthy of incorporating into our software. Obviously they always required changes to meet the code requirement standards and regression testing, but many times the fixes, patches, etc would be incorporated into the product.

I would like to suggest that you contact Garmin support and see if they can review, revise, etc, and issue a patch or update so all can take advantage of your efforts.
Rofor
Posts: 151
Joined: Sun Jul 19, 2020 8:38 am
Has liked: 138 times
Been liked: 56 times
Austria

Re: Java program to fix the routing behaviour of the XT.

Post by Rofor »

@FrankB - don't know if you've seen it by yourself already, but this problem IS NOT exclusively to the Zumo XT!

Had a answer to my posting in the Naviboard a few minutes ago from a user of a DriveSmart65 navi with exactly the same RUT problem - he verified that the directory structure of the DriveSmart65 is nearly the same as on the Zumo XT, there's also a 'Trips' folder with the imported/saved routes on it, the pre-planned routes are in the same trip-format and also all flags are present. He changed successfully the flag but couldn't test it now...
Bye, Robert :)
(Actual: Tiger 800 XRx (2016), Garmin zumo XT, Cardo PackTalk, Nolan N70-2GT)
FrankB
Posts: 404
Joined: Mon Aug 10, 2020 7:22 am
Has liked: 91 times
Been liked: 121 times
Netherlands

Re: Java program to fix the routing behaviour of the XT.

Post by FrankB »

That's interesting. If it turns out that it works for the DriveSmart65 also, I will update the docs.
Post Reply