GarminDevice.xml observations

 

I have created two different Garmin Devices.

One is a 1G SD card that is in the card reader slot of one of my printers. On this SD card, I placed a copy of the GarminDevice.xml from my 765 into a folder called Garmin. I went into GarminDevice.xml using Notepad++ (with plugins for XML Tools and used the option "Pretty Print (XML only) - with like breaks"). Notepad++ then gave me an excellent representation of the .xml file.

Then, I changed the "nuvi 765" in the following

Quote:

<Model>
 <PartNumber>006-B0870-00</PartNumber>
 <SoftwareVersion>420</SoftwareVersion>
 <Description>nüvi 765</Description>
</Model>

to "nuvi 765SD on F".

Since this "device" is, in essence, permanently a "removable" drive on my PC, all of the Garmin software will search for and find this "device".

I use "nuvi 765SD on F" a lot for testing whenever there is a problem with a POI file from poi-factory as claimed by one of our members. POI Loader immediately finds "nuvi 765SD on F" and, after I download the suspect file, I see if I can load the file.

Or, if I am playing around with a POI file of my own, I can test it out without going to the car to get the GPS. I can later transfer the .gpi file to the GPS once I get all the entries made.

I wondered what would happen if I tried other Garmin Software. I just did a test with WebUpdater on "nuvi 765SD on F". It told me that there were updates to voices. In particular, there was a later version (2.20) of "Jack" available because what I had was:

Quote:

<UpdateFile>
  <PartNumber>006-D0526-00</PartNumber>
    <Version>
      <Major>1</Major>
      <Minor>80</Minor>
    </Version>
    <Path>Garmin/Voice</Path>
    <FileName>English_American_Jack.vpm</FileName>
  </UpdateFile>

meaning that I had version 1.80

So, I selected to update Jack and WebUpdater created a Voice folder in the Garmin folder on "nuvi 765SD on F" and downloaded English_American_Jack.vpm to it.

Then I tried MapInstall. It found that I had City Navigator North America NT 2013.4 on my computer. It noticed that I had no maps on "nuvi 765SD on F" and offered to add some. I used the displayed map to get the two sections of one state and told MapInstall to proceed. It created two files

c22d12ff-34f1-4b29-ae04-2906cc54eea2.gma
gmapsupp.img

in the Garmin folder.

Next, I ran MapSource. Now "nuvi 765SD on F" had a GPX folder with several .gpx files in it.I asked MapSource to Transfer > Receive from Device > Waypoints and it told me there were no waypoints to receive. OK - I sort of expected that, so I went to the other "Garmin Device" I have (but have not yet detailed for you) and grabbed its "current.gpx" file and copied it to "nuvi 765SD on F". I ran the transfer again and all of the entries in Saved Places were transferred to MapSource.

On to Garmin Express, GE found the device and said there was a map update and three software updates ready to install - a hotfix, Jill and a time zone map. I pressed the "Install" button next to Jill, agreed to Terms and Conditions, and then GE downloaded BOTH Jill and the time zone map (which I thought was pretty presumptuous).

GE put English_American_Jill.vpm in the Voice folder and gmaptz.img in the Garmin Folder.

Wondered what would happen if I tried to do a map install. Sure enough I got the not enough space warning (recall it's only a 1G SD card). When it got to the "Choose a Region" screen, it hung. So, I backed out

When I went to the Device Tab of GE, I had 5 sub-tabs
Info
Help and Manuals
Transfer Saved Places
Back Up
Optional Updates

Under Help and Manuals, the Owner's manual choice opened up a PDF of the manual, which I could have saved to the computer (but did not since I already have it)

Under Transfer Saved Places, GE was offering to "Transfer Saved Places" to my "nuvi 765SD on F" from my "stick2595".

Under Optional Updates, I found there was a file "Proximity Alert Texts, All languages, GTT". This sounded interesting so I checked it and clicked the Add to Updates button and agreed to Terms and Conditions. Now, I had a D116900.zip file in the Garmin folder.

Stay tuned for what happens with my "stick2595" which is really a full backup of the 2595 on a 16G stick. I will say that, when I fooled with it several days ago, it was willing to do updates but asked me to attach my device. I am assuming that it was going to have to fool around with internal protected memory and recognized that it did not have the actual nuvi attached.

I am not really sure what usage we can make of pseudo devices, but it looks interesting.

By the way, let me talk about GE and what I need to do. There is an icon in the system tray which I just right-clicked and selected "Exit". Next, I fired up Autoruns and checked the three places where Garmin puts entries. The entry in the Logon tab was still unchecked (as I had unchecked it after the original GE install). The entry in Scheduled Tasks was still unchecked (as I had unchecked it after the original GE install). However the entry in the Services Tab had been rechecked - so I unchecked it again.

If all you had on your first

If all you had on your first test was the XML file on a SD card and you were able to get a CNNA map (sections of at least) installed, I wonder how long before someone finds another user that has other maps regions (Mexico, Europe, etc) installed on the PC and is able to download a copy to a larger SD card?

Would they then be able to install them on a Garmin GPS, without proper licenses of course.

I wonder how long it will take Garmin to "fix" the xml so it cannot be hacked?

--
I never get lost, but I do explore new territory every now and then.

More info

KenSny wrote:

...

I wonder how long it will take Garmin to "fix" the xml so it cannot be hacked?

What I did not show for you was the id and the registration code which Garmin has associated with my nuvi 765 which has a specific serial number on file as I recall.

Now that makes sense.

Now that makes sense. Otherwise it would be a major backdoor to hack the maps. And that would be all over the Internet and before long Garmin would be going "oops".

But, I am surprised that kind of info in the XML is not encrypted elsewhere.

--
I never get lost, but I do explore new territory every now and then.

cloning

As you discovered, cloning works with Garmin desktop software products for things other than map updates.

Be aware that some downloads (such as firmware updates) are two stage processes ... the download phase (which downloads a file) and the update phase which installs the file on the GPS after you disconnect and reboot the device. Cloning will perform the download step, but obviously not the update step.

--
Alan - Android Auto, DriveLuxe 51LMT-S, DriveLuxe 50LMTHD, Nuvi 3597LMTHD, Oregon 550T, Nuvi 855, Nuvi 755T, Lowrance Endura Sierra, Bosch Nyon

Agreed

alandb wrote:

As you discovered, cloning works with Garmin desktop software products for things other than map updates.

Be aware that some downloads (such as firmware updates) are two stage processes ... the download phase (which downloads a file) and the update phase which installs the file on the GPS after you disconnect and reboot the device. Cloning will perform the download step, but obviously not the update step.

Alan, thanks for that observation. I should have noted that myself. When I mentioned that GE wanted the actual device that it is because there is info written to the boot up internal memory that instructs the device to do the updates.

One other thing I should have explained better is that MapInstall did not "download" a map; it used the map that was already "installed" on my computer. I should have mentioned that I could have chosen 2014.3 rather than 2013.4) as the source of the map pieces.

Would we be able

to fix the 37XX model number corruptions using this method? Like making a fake 3760 or 3790 on a removable drive and then clone it to the actual device?

I don't think so.

You could certainly plug in your nuvi, edit the GarminDevice.xml file to correct the corrupt entries, then run WebUpdater to download the new firmware.

The problem is that you need to disconnect and reboot the nuvi to apply the gupdate.gcd update file that was downloaded, and that step will most likely write out a corrupt GarminDevice.xml file before it loads the gupdate.gcd file, causing the downloaded update file to not validate for the device.

You can always try it ... nothing to lose in trying. But I am not optimistic that it will work.

--
Alan - Android Auto, DriveLuxe 51LMT-S, DriveLuxe 50LMTHD, Nuvi 3597LMTHD, Oregon 550T, Nuvi 855, Nuvi 755T, Lowrance Endura Sierra, Bosch Nyon