Install firmware updates via command line

  • The examples in this tutorial are written with firmware version 1.3. Keep in mind that the filenames will be different for each new firmware version.
  • You will need administrator rights on your computer to do this.

Before you install a firmware update that you downloaded yourself we recommend to verify the firmware update archive, as explained in this article: Verify firmware updates yourself.

1/ Unpack the archive file of the update. This will result in a new folder with 6 files:

  • zero-upgr-production-v1.3-5.rc.tar
    This is an archive with the actual update files. Don’t unpack this.
  • fastboot-linux
  • fastboot-mac
  • fastboot-windows.exe
    The fastboot files are used to enable communication between your computer and your ZERO. There is version for Linux, Mac and Windows.
  • AdbWinApi.dll
  • AdbWinUsbApi.dll
    The 2 .dll files are required for Windows

2/ Open the location where you unpacked the archive file of the update in a command line window 

In Finder, select a folder, right-click it and select Services >> New Terminal at Folder.

You can verify that you are in the correct location by displaying the content of the folder with this command:

ls -al

This will show you the 6 files that you just unpacked and confirms that you are in the correct directory.

3/ Connect your ZERO to your computer and activate update mode.

4/ In the command line window, use this command to double check that your ZERO is recognised: 

./fastboot-mac devices -l

Something like this should show:

1.0.0. fastboot usb:1114112X

This confirms that your ZERO is found.

6/ Now you can perform the update with this command:

./fastboot-mac sfu zero-upgr-production-v1.3-5.rc.tar

This will install the update on your ZERO. This may take 5-10 minutes to complete.
DO NOT unplug your ZERO while this is running.

When you see the command prompt again, the firmware update is finished. The output will look like this:

Sending 'zero-upgr-production-v1.3-5.rc.tar' (137370 KB)	OKAY [ 22.919s]
program package					(bootloader) sfu init
(bootloader) sfu update
(bootloader) sfu final
OKAY [306.2085]
Finished. Total time: 347.347s

 

Now you can turn off your ZERO by pressing the power button for 5 seconds. When you start it up again, you can verify which firmware version you're running via Settings >> About this device.