UniFi Video - UVC-Micro Recovery


This article demonstrates how to recover a UVC-Micro. This method is comparable to a TFTP recovery that would be done with a UVC, UVC-Dome, or UAP to name a few. The difference is that the UVC-Micro does not have an Ethernet interface, therefore, does not have a direct way to interface with the unit via TFTP. Instead, the microSD card slot is leveraged.

Table of Contents

  1. What you will need
  2. Steps to Recovery
  3. Writing the firmware file to the microSD Card: If Using Windows
  4. Writing the firmware file to the microSD Card: If Using Linux or Mac
  5. Related Articles

What you will need

Back to Top

  1. A microSD card 20MB or larger. Warning: Contents will be overwritten. Please backup any contents that you wish to retain.
  2. A UVC-Micro
  3. A Windows, Mac, or Linux based computer
    1. If Windows, you'll need to download and install Win32 Disk Imager (Free) which should be very familiar to you if you've ever used the Raspberry Pi platform.
  4. Your firmware binary.  This can be obtained from your Video Controller:
    1. Windows: C:\ProgramData\unifi-video\fw\A5S\
    2. Linux: /usr/lib/unifi-video/fw/A5S/

Note: The filename has been intentionally omitted as it will change depending on the software installed. There will be only one file in this folder.

Steps to Recovery

Back to Top

  1. Insert the microSD card.
  2. Write the firmware file to the microSD card. For Windows, see Note 1 below. For Linux & Mac, see Note 2 below.
  3. Unmount and remove the microSD card from the computer.
  4. Disconnect power from the UVC-Micro.
  5. Insert the microSD card into the spring-loaded slot in the back of the UVC-Micro.
  6. Insert a paperclip or similarly narrow object in to the reset hole on the opposing side of the LED.  You should feel a tactile “button-press” like response.
  7. Continue holding this button while you apply power to the UVC-Micro. Tip: Hold the camera in one hand, and the paperclip pressing the button in the other. Have the magnetic base on a flat surface with the power adapter connected to the base. Slowly lower the camera over the base. The magnet will snap on, applying power. Be careful not to release the button. The LED will turn on and remain steady.
  8. After approximately 15-20 seconds, the LED will flash once. This is your indicator that you may release the button.
  9. After an additional 30 seconds or so, you will start hearing audible tones emitted from the UVC-Micro, this indicates that the camera is in a default state and is ready to be provisioned.
  10. To reuse the microSD card, insert it back into your computer and reformat it.

Note 1: If Using Windows

Back to Top

If using Windows, copy the .bin file to the same folder, then rename the copied .bin to have an extension of .img instead of .bin. Use Win32 Disk Imager to write the image to the drive letter of the microSD card.  Your result should look like this:


D:/Downloads/UVC.gen2.v3.1.0.38-devel.89002e2.150421.2034.img would be a firmware binary renamed to have a .img file extension

[I:\] is the drive letter assigned to this microSD card by Windows. Then, all that is left is to click the Write button.

Go back to step 3 in the recovery process.

Note 2: If Using Linux or Mac

Back to Top

If using Mac or Linux, the dd command is used:

dd if=/path/to/firmware/file.bin of=/path/to/microsd/card bs=8M; sync

Root privileges may be required to be able to use dd. If this is the case, issue the following command prior to the dd command:

sudo su -

To find the path to your microSD card (what follows the "of=" part in the command above), you can use diskutil (Mac) or dmesg or fdisk (Linux).  Here are options for both Mac and Linux.

Go back to step 3 in the recovery process.

Related Articles

Back to Top