Skip to content

NAVX — tools reference ​

NAVX works on the BMW MK4 software from the V32 CD. It ships no BMW software or data: it reads your own CD and writes modified copies.

Keep the stock CD

An unmodified V32 CD is the recovery path for every change below.

Web app ​

tools.navx.bimmerz.app is described in the user guide: tools.navx (the Bodies editor, colours, images, language, voices, the emulator).

Command line ​

sh
git clone https://github.com/emdzej/navx && cd navx
pnpm install && pnpm build
pnpm navx <command> …
CommandDoes
navx modules <navboot>list the modules in a pool
navx verify <navboot>check header parity and CRC of every module
navx colours <navboot> [--module rom_col] [--json]dump a colour table with item names
navx theme <navboot> -o <out> [--theme amber|m] [--preview <file.html>]recolour all colour tables, icons and bitmaps
navx theme <navboot> -o <out> --set 1|2 [--theme amber|m] [--images]recolour only the tables of colour set 1 or 2; icons stay unless --images (both sets share them)
navx image list <navboot>icons and bitmaps: index, format, size
navx image replace <navboot> rombitmaps 14 start.png -o <out> [--fit]replace an image (here the start screen), encoded in the entry's own format
navx extract <navboot> <module> -o <file>write one module to a file
navx add <navboot> <module-file> -o <out>append a module; the pool grows by its size
navx lang export <navboot> Lng_English -o en.csvevery menu string by id, as CSV (id, source, text) or JSON
navx lang import <navboot> pl.csv --into Lng_Hollands -o <out>your translation in place of the language you pick; the fonts get the letters it uses
navx voice info / export / importvoice prompt files (.csf, female and male): list, export every word as WAV plus phrases.json; import replaces words, adds new ones (NNN.wav past the last) and takes an edited phrases.json (each phrase's words in spoken order)
navx cd --iso <stock.iso> [--add <module>]… [--console] --version NNNN -o <out.iso>update CD with modules added and the version changed; --console makes the serial port the console (permanent on a unit, see below)
navx cd --iso <stock.iso> --mk3-add <module>… -o <out.iso>the same for the MK3 software on the disc: modules added to every MK3 set
navx cd --iso <disc.iso> … --apps <dir> -o <out.iso>apps the unit can install from the disc, in a new APPS folder: the folder's APPS.TXT (one app a line, with version= and section=apps|diagnostics|games) and its files. Each app is checked as the unit would check it, and sha= is filled in. Nothing already on the disc moves
… --apps <dir> --auto <FILE,…>those apps are marked auto: the unit installs them by itself at the first boot with the disc in, once per disc (#199)
navx mk3 --cd <iso> [--expect <module>]install the disc's MK3 software on the emulated MK3 with its own CD loader, then boot the unit from the flash it wrote (emulator only, not checked on a car)
navx flash --cd <iso or dir> <flashdir>install the CD's software into an emulated flash
navx boot --flash <dir> [--cd <iso or dir>]boot the unit in the emulator
navx run [--cd …] <module> [args…]run one program module in the emulator
navx lowboot --cd <iso> --flash <dir> --kernelboot a disc on the board model, as the emulated board does in the web app: which bootfile lowboot starts, and whether its kernel comes up; --wav <file> records what the speech output plays
navx nand info|ls|get|fix-navboot <dump> …inspect and repair a programmer's dump of the unit's NAND flash
navx serial ports / navx serial <port> shell|load|run|unload|delete|apps|info / navx serial bridge <unit-port> <cable-port>the unit's serial port with the NavX bench firmware: its shell, the unit's status (info: versions, RAM, disk space, file sizes, error log; also one at a time: ver (with which copy of each bench part runs, the flash copy or the navboot's), mem, df, files, size <path>, temp (the board temperature reading, raw), …; when the unit's flash doesn't answer, the commands that use it say "flash locked" until the next boot; save stores the unit's settings before you pull power, reboot restarts it, ls <dir> lists the unit's flash, sum <path> --local <file> checks a file on the unit against your copy), program modules uploaded into the unit's RAM (load --flash installs one in flash too, so it's loaded again at every boot; delete takes it off; install <navxdup> puts the flash copies of the bench firmware's own parts on, for later updates over the serial port; with the next bench firmware update <dir> sends a whole set of parts and data files, committed together so a failure or a power cut leaves the old set, then reboots and checks each part, parts lists them, part <name> off|on|delete switches one off (kept, not started), back on, or deletes it, base shows the navboot's frozen base (version, features, software set, disc), start shows whether this boot ran the stock start list or the one in start.txt (start set <file> checks one and puts it on, start stock goes back to the stock list, both from the next boot; a boot that doesn't stay up falls back to stock), shot <out.png> fetches the last screenshot (hold the clock button on the BMBT: the screen flashes white and the unit keeps it; --take takes one first; --rate 57600 is faster; the colour key, where the map or video shows through, comes out as a grey checker), log shellx prints the new firmware's own log (it has no console of its own), `beat on

In the user guide: NavX Control.

Themes ​

In the user guide: Themes.

Bodies ​

In the user guide: Bodies.

Capturing the I-Bus ​

In the user guide: Capturing the I-Bus.

Connecting to the serial port ​

In the user guide: Connecting to the serial port.

Installing an app over the serial port ​

With the bench firmware on the unit, an app goes on from a laptop, with no disc. This session is from our spare unit (port name shortened):

$ navx serial /dev/cu.usbserial-XXXX ver
software 1017 (BMWC01S), navboot 11941492 (11.39 MB), navxd crc a5a829, carbus crc 7b46b1, launcher crc e01351

$ navx serial /dev/cu.usbserial-XXXX load hello --flash --run
  10%   20%   30%   40%   50%   60%   100%
loaded hello (installed in flash): 3784 bytes, crc 105ac8, 5.7 s at 9600
running hello: pid 50

$ navx serial /dev/cu.usbserial-XXXX load dashx --rate 57600 --flash
  0%   10%   20%   30%   40%   50%   60%   70%   80%   90%   100%
loaded dashx (installed in flash): 32372 bytes, crc 4291a9, 11.3 s at 57600

$ navx serial /dev/cu.usbserial-XXXX apps
dashx                           32372  loaded  flash
hello                            3784  loaded  flash

$ navx serial /dev/cu.usbserial-XXXX sum /pm/compunit/navx/apps/app0 --local hello
/pm/compunit/navx/apps/app0  crc32 1ed2604f, hello 1ed2604f: same

$ navx serial /dev/cu.usbserial-XXXX reboot
saved; the unit is restarting

$ navx serial /dev/cu.usbserial-XXXX shot --take --rate 57600 screen.png
screen.png: 400×234, taken 0 s ago (6467 bytes, crc32 …)

$ navx serial /dev/cu.usbserial-XXXX listen
…
NAVX flash apps in 3 s; a key on t1 skips them
NAVX flash hello loaded 3784
NAVX flash dashx loaded 32372
NAVX flash apps 2

Both apps then show up on the unit's Apps screen and start from there. An Apps screen opened in the first seconds after boot, before flash apps, can show them a moment later. Each upload is checked (size, parity, CRC) and read back from the flash before it counts as installed; a failed one leaves the old copy. A key on t1 in those 3 seconds boots without the flash apps.

Replacing the start screen ​

In the user guide: Replacing the start screen.

Translating the menus ​

The unit has seven menu languages and no room is kept for more, so a translation replaces one of them: choose one you don't use, and pick it on the unit (Settings → Language) to see yours. Export the language you translate from as CSV, fill in the text column (keep the id column; rows left empty keep the old text) and import it. Letters Latin-1 lacks, like Polish ą ć ę ł ń ś ź ż, are drawn from each font's own glyphs and added to the fonts; the language and font modules grow, so the navboot does too. Longer words may not fit their place on the screen: boot the saved navboot in the emulator and look. The spoken prompts are separate (the Voices tool). The language's code (GB, D, …) stays the slot's own, so the unit treats it as the language it replaced; in the language list, change that language's short name (for Deutsch, string 1.348 D) to show yours.

Recording a voice ​

Every voice has the same 1029 phrases (the male voices the first 248), and a phrase number is the same prompt in every language; each language has its own words and splits a phrase into them its own way. To make a voice in another language: use the English hints in the Voices tool as the script, export a voice with navx voice export, record your words as NNN.wav (new words numbered after the last one), set each phrase's words in phrases.json, and navx voice import it. Keep the file near the size of the voice it replaces (the unit's flash holds three voices). An edited voice hasn't been played on a unit yet.

Putting changes on the unit ​

For a changed navboot (theme, images), replace V_2/RR/0101/BMWC01S/app_sw/navboot in a copy of the CD tree and burn it, or use navx cd for added modules. The unit installs software only when the disc's sw_rel.tbl version differs from the one in flash; navx cd changes it for you.

Before a disc goes into the car, boot it on the board model: navx flash --cd out.iso <dir>, then navx lowboot --cd out.iso --flash <dir> --kernel. It must reach the kernel without restarting. A module of the wrong size passes the CRC checks but crashes the kernel on every boot, and then no CD can help: the unit has to be recovered by rewriting its flash chip.

--console is permanent: once a unit has installed it, no disc turns the serial console off again, and the stock CD leaves the dealer diagnostics off (a disc with DiagnosticsMode=1 brings them back).

Support ​

The Support button at the top of the web app writes to us. Pick what it's about and say what happened. You can attach the emulator's console and a picture of its screen; black out what the picture shouldn't show. Give an email only if you want an answer by email. Answers show up under Support › Messages, where you can also download or erase everything kept about you. What's kept and for how long: Bimmerz support: privacy.