Install Dafang custom firmware to Neos Smartcam

The Neos Smart cam is a small indoor security camera based on the Xiaomi Xiaofang hardware, this is similar to the Wyze Cam 2 which is also based on the same Xiaomi hardware.

I’ve wanted one of these for a while, and now the Neos smart cam is readily available on Amazon in the UK, I thought now would be a good opportunity to try one out. Currently they’re retailing for £24.99 and can be delivered through Amazon Prime.

By default, Neos offer 14 days of cloud storage for free (no monthly subscription) which is pretty great considering the price. But I already have a CCTV solution at home running open-source Shinobi DVR software and needed something that could provide an RTSP stream.

This is where the Xiaomi DaFang Hacks software comes in. Available on GitHub here, the code for the Neos camera only available through this commit for the moment; until it is merged into the master branch:

DaFang hacks is custom firmware which you can flash to the camera via a MicroSD card. This give you benefits such as; no relying on the manufacturer’s cloud services, SSH and FTP services on the camera itself, and the best: RTSP stream support – this will allow you to integrate the camera into any DVR recording software, such as Shinobi, ZoneMinder or Synology’s Surveillance Station.

How to install

  1. Firstly, download the custom firmware .bin file, this is the same firmware for the Wyzecam: or via the repo page here:
  2. Now have your MicroSD card ready. I used this Toshiba 16GB card, and setup a single 512mb partition using gParted. This is how I formatted the card using gParted:
    1. Insert the MicroSD card into your computer and load up gParted. Select your card/drive from the dropdown at the top right, and delete all partitions so it is only showing ‘unallocated’:
    2. Now create a FAT32 512mb partition:
    3. Click add, then you should see the new partition ready to be created:
    4. Click the ‘tick’ icon to apply the operations. You should see a success message:
  3. Once your partition has been created, copy the ‘cfw-1.1.bin’ file to the drive. You must then rename this file to: ‘demo.bin’. It is important that you ensure this is the only file on your MicroSD card.
  4. Now insert the MicroSD card into the base of your Neos Smartcam, ensure no USB cable is connected.
  5. Connect the USB cable and ensure you’re holding down the setup button. Whilst holding the setup button, the LED indicator on the Smart cam should light-up blue, once you see this carry on holding the setup button down for 20 seconds, then let go. The instructions on Dafang’s Github page state this may take up to 3 minutes, but for me this was much less. I knew this process was finished when the LED started to flash yellow rapidly. Looking up this response, means ‘Ready to setup’, source. This process alters the bootloader on the Smart cam so it can boot custom firmware. If you’re having issues, check this video – it helped me a lot with this process:
  6. Now re-insert your MicroSD card into your computer and empty all files on this MicroSD card. Then download the ‘Xiaomi-Dafang-Hacks’ repository, here: Click the green button named ‘Clone or download’, then select ‘Download ZIP’.
  7. Once the .zip file has downloaded, extract this and copy the entire contents of ‘firmware_mod’ to your MicroSD card.
  8. You will want to add your Wireless Network settings. On the MicroSD card, find the folder named ‘config’. Enter this directory and find the file named ‘wpa_supplicant.conf.dist’, rename this file to ‘wpa_supplicant.conf’.
  9. Now edit the ‘wpa_supplicant.conf’ file in a code editor. Change the values for ‘ssid’ and ‘psk’ with your own wireless network name and password, e.g:
  10. Now save the file, and insert the MicroSD card back into your Neos Smartcam and power-on.
  11. If all goes well, you should be able to access the web interface in a web browser at: https://dafang with the default login details; username: root and password: ismart12
  12. The default RTSP stream URL is: rtsp://ip-address:8554/unicast (replace the IP address with the one associated with your smart cam).


If you’re interested in the Neos smartcam with the Dafang custom firmware, help me out by purchasing one from Amazon UK with my affiliate code:


Links: Neos Smart cam on Amazon UK and Toshiba 16GB Micro SD card on Amazon UK

There are no comments, be the first. Use the form below to add your comment

Post a Comment