The story of one "hack" or "forced" restoration of Navigon with reference to an Android smartphone

I must say right away that I did not break this program, so the word "hack" is not in quotation marks by accident. Everything worked out ... but let’s do it in order.

Having lost my Android, I was extremely upset. Not only did I reproach myself for sloppiness - I did not even know where and how it happened (maybe it was stolen or dropped out where) - I needed to buy (choose) a new one, create more or less “working environment” on the new phone - root it , install new firmware, firewall, restore all applications and configs. And I had a lot of them.
The phone itself was not a pity - it was already old, it was a mediocre and heavyweight (CPU and memory), although it did not allow you to feel completely flawed with the 7th CyanogenMod and the new kernel. It should have been thrown away a long time ago and bought a new one, but every time, swearing and threatening to replace it with the next brakes, I was stopped by just the loss of time to install and transfer everything that was in the old smartphone.

Do backup!

It reassured me that I had a backup copy of the old SD card and a copy of the data applications made by Titanium Backup not so long ago.

I chose the new Android long and hard - I wanted two sims and an external keyboard and blackjack ... and so that the root could be made. After buying a new phone, installing root, a new kernel and firmware, it began to drearyly restore everything that was: configuration, all settings, scripts (I am a programmer), widgets, etc. etc.
When Wlan appeared, Google quickly returned all the contacts and the calendar to me after synchronization. Titanium Backup has restored all programs and most of all their settings.

I was already delighted and decided that the rest would be tuned during operation.
But clicking on the first icon that came across, it turned out to be Navigon, I cursed in frustrated feelings and went to drink beer . He did not work ... he asked Wlan (which he had not done before) and safely crashed after confirmation. Tolley such a transfer from mobile to mobile was not provided at all, the roofing felts re-registration did not work (although the same Google account in the market and, for example, all books for kidd open with a bang). Sadness ...

No, 60 Euros paid for it once was not a pity - the navigator served me well. I just expected to get off easy enough, but here the first running program ordered to live long.

Actually "hack"

Climbing through the forums a bit and finding out for yourself what a headache it is to prove that you want to install the program you bought on a new smart, while the old one is gone, I decided to try to dig deeper first (I am a programmer or where).

Climbing in the navigon app folder (root steers) did not find anything resembling a config, looked at another Navigon folder on the SD card, where all the maps, voices and the like lie.
There in the file “version.xml” was found IME of my old phone and some productid.
4.5NAVIGON_EUMN7_ANDROID_SELECTASNavigon AG, Copyright (C) 2011923901965223204923901965223204ASJODF1XUVRO3MSMSFIUXQPPSNIASEHGQO71E8J


The idea that they were somehow checked for compliance turned out to be true, because after changing to my new IME, the navigator refused to start upright.

Already about to break apk (because it was not right), I suddenly remembered that somewhere I had an old previous version of Navigon Select 3.5, which I later bought and upgraded to 4.0.
I found and dumped this apk on the cellular SD card, I renamed the Navigon folder to Navigon.bak to hell demolished the installed Navigon Titanium and installed the old 3.5th navigator. After installation, by launching it and allowing him the Internet (I have a firewall) I saw his message that I did not have so much space on the SD - he wanted 1.55GB. Closing the navigator and looking at the SD - I wanted to check the place - I saw a new Navigon folder there, and in it the file “version.xml” with my new IME and a completely different productid.
But productid did not start on “AS”, but on “AC” and productprefix was also “AC”.
Renaming the Navigon.bak folder back to Navigon and changing productid to “version.xml” on this one, I left the first two letters “AS” as in my productprefix.
And he earned! (A month later, I was no longer overcome by doubts that after a month of work he would ask him to buy. He still works.)
In addition, after updating to version 4.5.0, he allowed me to update all the cards. Apparently in productid, the installation date is also protected. Mine were 2009 or 2010.
I decided to give him some more time and see what can be removed from this folder in order to free up space. All unnecessary maps (1GB) went from the Navigon / map folder to the backup and all unnecessary voices from the Navigon / sound folder (500MB, all but one - I use tts because the navigator is much more talkative with it - the names of streets, highway numbers and exits from tracks, etc.).

After the start, Navigon asked for the Internet and, ignoring the cards, again pulled all the voices from the server into the Navigon / sound folder. Then I tried to just reset these files. With the same negative result.
I tried with one single file - and it worked. Since the largest files are tts, I decided to reset only them and, looking with suspicion of files with the beginning of eng, also decided to leave them (suddenly default?). Below lies Tcl-Script - if anyone needs it - so as not to manually. For those who do not tcl-it: for all * .nfs, ignoring those starting with eng, ger, rus or those that are not tts, open and close the file.
So in addition to 1GB of unnecessary cards, I saved another 300MB on unnecessary voices.
% cd Navigon/sound
% foreach fn [glob *.nfs] {
    if {[regexp {^(eng|ger|rus)} $fn] || ![regexp {.*tts.*} $fn]} continue; 
    #file copy $fn {/backup/navigon/sound}; 
    puts $fn; set f [open $fn wb]; close $f
  }
cze-CZE_Jana_tts.nfs
....
swe-SWE_Malin_tts.nfs


Thus ended my “hacking” of the Navigon program. I have not been a schoolboy for a long time and my hacking, for the sake of breaking, has gone into the distant past together with a part of the hair from my head . Now I am earning enough to afford to buy these programs. But it’s never been so easy to “break” a defense.

This was naturally not the last program tied to a smartphone. For example, I was tormented with Navionics Marine Navigator (I love sea fishing, and without its maps and tracking, now I have no hands). But this is the topic of another post.

PS. question to the community (maybe there is someone who changes the smartphone like gloves):
How does moving to another smartphone go? Maybe I'm just an alarmist doing something wrong?

Also popular now: