Difference between revisions of "Sony Nav-u Devices"

From Navit's Wiki
Jump to: navigation, search
Line 6: Line 6:
 
==Download unlock scripts==
 
==Download unlock scripts==
 
Download the following programs:
 
Download the following programs:
#* Mortscript [http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=25]
+
* Mortscript [http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=25]
#* Tooldevice.exe (this one you will have to find somewhere on the web)
+
* Tooldevice.exe (this one you will have to find somewhere on the web)
  
 
==Upload unlock scripts to the device==  
 
==Upload unlock scripts to the device==  
# Hard-reset your device (reset button on bottom) to gain write-access.
+
* Hard-reset your device (reset button on bottom) to gain write-access.
# Connect your nav-u device to your computer via Activesync and USB and start it up.
+
* Connect your nav-u device to your computer via Activesync and USB and start it up.
# After connecting, click on "Explore" in the ActiveSync window (alternatively you can go to "Mobile device" in Explorer).
+
* After connecting, click on "Explore" in the ActiveSync window (alternatively you can go to "Mobile device" in Explorer).
# Browse to "<tt>Mounted Volume</tt>".
+
* Browse to "<tt>Mounted Volume</tt>".
# Create a folder called "navit" and copy the contents of the Navit package for WinCE (<tt>navit.zip</tt>, see the [[WinCE|Windows CE]] page) into that folder.
+
* Create a folder called "navit" and copy the contents of the Navit package for WinCE (<tt>navit.zip</tt>, see the [[WinCE|Windows CE]] page) into that folder.
# Copy <tt>sirftech.exe</tt> into "<tt>Mounted Volume</tt>".
+
* Copy <tt>sirftech.exe</tt> into "<tt>Mounted Volume</tt>".
# Copy the contents of the <tt>bin/PPC</tt> from <tt>mortscript.zip</tt> into "<tt>Mounted Volume\Sony\nav-u</tt>"
+
* Copy the contents of the <tt>bin/PPC</tt> from <tt>mortscript.zip</tt> into "<tt>Mounted Volume\Sony\nav-u</tt>"
# Copy <tt>Tooldevice.exe</tt> into "<tt>Mounted Volume\Sony\nav-u\</tt>"
+
* Copy <tt>Tooldevice.exe</tt> into "<tt>Mounted Volume\Sony\nav-u\</tt>"
# Rename <tt>nav-u.exe</tt> to <tt>nav-u-original.exe</tt> (or any other name for backup)
+
* Rename <tt>nav-u.exe</tt> to <tt>nav-u-original.exe</tt> (or any other name for backup)
# Rename <tt>Autorun.exe</tt> to <tt>nav-u.exe</tt>
+
* Rename <tt>Autorun.exe</tt> to <tt>nav-u.exe</tt>
# Create a text file (MortScript command script) named <tt>nav-u.mscr</tt> with the following content:
+
* Create a text file (MortScript command script) named <tt>nav-u.mscr</tt> with the following content:
 +
RunWait("\Mounted Volume\Sony\nav-u\ToolDevice.exe","off 18")
 +
RunWait("\Mounted Volume\Sony\nav-u\ToolDevice.exe","off 15")
 +
RunWait("\Mounted Volume\Sony\nav-u\ToolDevice.exe","on Serial")
 +
 +
Run ("\Windows\TestMode.exe")
 +
Sleep (50)
 +
Kill ("TestMode.exe")
 +
 +
# set volume to zero for system settings
 +
Set Volume (0)
 +
 +
RunWait ("\windows\control.exe")
 +
Runwait ("\Mounted Volume\Sirftech.exe")
 +
 +
# Set Volume to highest loudness for espeak.
 +
SetVolume (255)
 +
 +
# Exit
 +
 +
While (TRUE)
 +
RunWait ("\Mounted Volume\navit\navit.exe")
 +
EndWhile
  
{| width="100%" class="collapsible collapsed wikitable"
+
* Replace the content of "<tt>Mounted Volume\navit\navit.xml</tt>" with the following:
|-
 
! Content of nav-u.mscr
 
|-
 
|
 
<code>
 
<pre style="white-space: pre-wrap;">
 
 
 
RunWait("\Mounted Volume\Sony\nav-u\ToolDevice.exe","off 18")
 
RunWait("\Mounted Volume\Sony\nav-u\ToolDevice.exe","off 15")
 
RunWait("\Mounted Volume\Sony\nav-u\ToolDevice.exe","on Serial")
 
 
 
Run ("\Windows\TestMode.exe")
 
Sleep (50)
 
Kill ("TestMode.exe")
 
 
 
# set volume to zero for system settings
 
Set Volume (0)
 
 
 
RunWait ("\windows\control.exe")
 
Runwait ("\Mounted Volume\Sirftech.exe")
 
 
 
# Set Volume to highest loudness for espeak.
 
SetVolume (255)
 
 
 
# Exit
 
 
 
While (TRUE)
 
RunWait ("\Mounted Volume\navit\navit.exe")
 
EndWhile
 
</pre>
 
</code>
 
|}
 
 
 
13. Replace the content of "Mounted Volume\Navit\navit.xml" with the following:
 
  
 
{| width="100%" class="collapsible collapsed wikitable"
 
{| width="100%" class="collapsible collapsed wikitable"
Line 6,450: Line 6,438:
 
|}
 
|}
  
Disconnect your device from the computer, reset it again and start it up.
+
* Disconnect your device from the computer, reset it again and start it up.
 
+
* System Settings will show up, where you can set power options, sound etc.
System Settings will show up, where you can set power options, sound etc.
+
* Exit System Settings
Exit systemsettings
 
 
 
Sirftech will open, where you will have to set your gps chip to NMEA mode:
 
Goto "Com"
 
Do NOT click "find port and baudrate"!
 
select your gps port from the dropdown list
 
try to open port with different baudrates, starting with 4800 (and, if that does not work, with 57600 baud). At the right baudrate, it will show either NMEA or SIRF mode and the incoming data.
 
  
If the port is set to NMEA, 4800 baud, everything's fine and you can close the port and exit the program.
+
* Sirftech will open, where you will have to set your gps chip to NMEA mode:
 +
  * Goto "Com"
 +
  * Do NOT click "find port and baudrate"!
 +
  * Select your gps port from the dropdown list
 +
  * Try to open port with different baudrates, starting with 4800 (and, if that does not work, with 57600 baud). At the right baudrate, it will show either NMEA or SIRF mode and the incoming data.
  
If the port is set to SIRF, 57600 baud, then leave the port open, click ok and open the sirf menu. The last item on that menu lets you change the settings to NMEA mode. Select 4800 baud, click set and =baudrate. Go back to "Com". Now it should show nmea mode working with 4800 baud.
+
  * If the port is set to NMEA, 4800 baud, everything's fine and you can close the port and exit the program.
 +
    If the port is set to SIRF, 57600 baud, then leave the port open, click OK and open the Sirf menu. The last item on that menu lets you change the settings to NMEA mode. Select 4800 baud, click set and =baudrate. Go back to "Com". Now it should show nmea mode working with 4800 baud.
  
Exit sirftech. Navit should show up. Have fun!
+
* Exit sirftech. Navit should show up. Have fun!
  
 
Note: normally the gps chip stays set in NMEA mode even after a reset, but if you reset twice, the chip is reset to SIRF mode and you have to switch it to NMEA mode again.
 
Note: normally the gps chip stays set in NMEA mode even after a reset, but if you reset twice, the chip is reset to SIRF mode and you have to switch it to NMEA mode again.
  
 
+
[[Category:Ports]]
 
[[Category:Windows]]
 
[[Category:Windows]]
 
[[Category:Sony]]
 
[[Category:Sony]]

Revision as of 08:04, 15 July 2018

This is a tutorial for unlocking Sony Nav-u devices in order to have them run Navit. For instructions on how to run and configure Navit for WinCE, please refer to the Windows CE page. Sony Nav-u devices run Windows CE, and can be tweaked to execute navit.exe.

In order to run Navit on your Sony nav-u device, follow the steps below:

Download unlock scripts

Download the following programs:

  • Mortscript [1]
  • Tooldevice.exe (this one you will have to find somewhere on the web)

Upload unlock scripts to the device

  • Hard-reset your device (reset button on bottom) to gain write-access.
  • Connect your nav-u device to your computer via Activesync and USB and start it up.
  • After connecting, click on "Explore" in the ActiveSync window (alternatively you can go to "Mobile device" in Explorer).
  • Browse to "Mounted Volume".
  • Create a folder called "navit" and copy the contents of the Navit package for WinCE (navit.zip, see the Windows CE page) into that folder.
  • Copy sirftech.exe into "Mounted Volume".
  • Copy the contents of the bin/PPC from mortscript.zip into "Mounted Volume\Sony\nav-u"
  • Copy Tooldevice.exe into "Mounted Volume\Sony\nav-u\"
  • Rename nav-u.exe to nav-u-original.exe (or any other name for backup)
  • Rename Autorun.exe to nav-u.exe
  • Create a text file (MortScript command script) named nav-u.mscr with the following content:
RunWait("\Mounted Volume\Sony\nav-u\ToolDevice.exe","off 18")
RunWait("\Mounted Volume\Sony\nav-u\ToolDevice.exe","off 15")
RunWait("\Mounted Volume\Sony\nav-u\ToolDevice.exe","on Serial")

Run ("\Windows\TestMode.exe")
Sleep (50)
Kill ("TestMode.exe")

# set volume to zero for system settings
Set Volume (0)

RunWait ("\windows\control.exe")
Runwait ("\Mounted Volume\Sirftech.exe")

# Set Volume to highest loudness for espeak.
SetVolume (255)

# Exit

While (TRUE)
RunWait ("\Mounted Volume\navit\navit.exe")
EndWhile
  • Replace the content of "Mounted Volume\navit\navit.xml" with the following: