Releases contain automatically generated firmware files for transition from stock to OpenIPC
WARNING! Coupler is a work-in-progress. If the firmware update fails, then it will be necessary to to carry out a tftp recovery process. You are strongly advised to carefully review the recovery process documentation and check for any relevant open issues, before proceeding.
- XiongMai → XiongMai; stock firmware and recovery files → XiongMai (original)
- Longse/Cantonk/Herospeed → Longse/Cantonk/Herospeed
- Tiandy → Tiandy
- Anjoy → Anjoy
- Huishi → Huishi
- Zenointel → Zenointel
- CamHi/HiChip/Xin → CamHi/HiChip/Xin
- Rostelecom/Uniview (VideoComfort) → Rostelecom/Uniview
It's highly recommended to upgrade to latest available stock firmware before transition.
You can use coupler if a coupler binary is available which matches the "System version" for your device.
For example a device running vendor firmware with the version "V5.00.R02.000059A8.10010.040400.0020000" has device ID "000059A8".
There are several ways to discover the vendor firmware version:
- The IPCam's built-in web interface e.g. "Device Config" → "Info" → "Version".
- The vendor's management software e.g. XiongMai's DeviceManager.
- IPCam_DMS management software (Windows binaries, but also run under Wine on Linux).
- ipctool.
Select the firmware from the download list which exactly matches your device's ID.
Many firmwares in the list below are compatible with multiple different image sensor (CCD) types, and must be configured to expect a particular sensor type before images or video can be captured. You should ensure that you know the image sensor (CCD) make/model which your camera uses. This can be found using the methods listed above for determining the device ID, but is also often shown on the item description or model number (e.g. when the item is sold, or on the product packaging).
- 00001510
- 00001520
- 00001531
- 00001532
- 00002510
- 00002520 (No sensor driver)
- 00002531
- 00002532 (If IMX291. No sensor driver)
- 00006510
- 00006531
WARNING! Provides linux rootfs ! Manual Rollback only !
Use vendor-specific software (e.g. XiongMai DeviceManager), IPCam_DMS, or the camera's built-in web server (n.b. not all vendor firmwares support browser based updates) to install the OpenIPC coupler firmware binary.
After flashing and rebooting, the camera will request an IP from a DHCP server. It will listen for web based management (e.g. http://w.x.y.z/ where the w.x.y.z is replaced with the IP address is the one that your local DHCP server has assigned), and also on ssh. After the first boot with the new firmware you need to clean the overlay partition. Run this command in your terminal window: firstboot . The coupler firmware build may not be the latest, so you may want to upgrade the firmware further at this point.
If no image is available via the web interface, then the sensor may need to be manually configured. This can be checked via ssh with fw_printenv -n sensor, which may respond unknown. On HiSilicon SoCs, a list of known sensor types can be found in the /usr/bin/load_hisilicon script. Once you have a matching sensor type, it can be set with e.g. fw_setenv sensor imx291_i2c.
Check the main project docs and wiki for more info.
To rollback firmware to stock, you will have to connect UART console and do TFTP recovery
Our ExIPCam software can do that in semi-automatic mode.
- Setup a TFTP server
- Make sure that the network to which the camera is connected has internet access.
- Download appropriate recovery.img file for you IPC board from Releases page/XiongMai (original) (https://github.com/OpenIPC/coupler/releases/tag/xiongmai-original), place it to TFTP root folder and rename to update.img
ipctool printenv (review serverip and ipaddr)In the output of this command, we are looking for the value "serverip" (e.g. serverip=192.168.1.254), set the received IP address on the computer with TFTP and launch the TFTP server.
ipctoolThis is to download the latest version of ipctool from the repository/tmp/ipctool setenv bootcmd "run up && re; setenv setargs setenv bootargs \${bootargs}; run setargs; sf probe 0; sf read 0x42000000 0x50000 0x200000; bootm 0x42000000"reboot
ipctoolThis is to download the latest version of ipctool from the repository/tmp/ipctool setenv bootargs "mem=32M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=cramfs mtdparts=xm_sfc:256K(boot),1536K(kernel),1280K(romfs),4544K(user),256K(custom),320K(mtd)"/tmp/ipctool setenv bootcmd "run up;sf probe 0;sf read 80007fc0 40000 180000;bootm 80007fc0"reboot
Obtain stock firmware file and open it in an editor. First 8 bytes are NAME and next 8 bytes are SENSOR
For example: 16AV300 IMX415b
Get appropriate file for your model and flash it via web.
Get appropriate file for your model.
After a new camera appears on the network (with the description openipc-gk7205v2x0), immediately reboot it by power.
After rebooting (this must be done!), log in to the camera via SSH using the username root and the password 12345 and execute the following commands:
fw_setenv ethaddr e4:e6:6c:23:84:89
firstboot
The camera will set the original MAC address of the device, perform all necessary configurations, and reboot.
Transition firmware for Zenointel (Hangzhou Zenointel) OEM cameras (e.g.
SD-2N-4G / NC-IPTC2200_DL_4G-4, Goke GK7205V510, 128 MiB SPI-NAND)
is available on the Zenointel release page:
These cameras run a Dahua-derived hunter userland and speak Dahua DHIP
(TCP 5000), not XiongMai DVRIP. The package is the vendor's own Dahua "zzip"
upgrade container (a ZIP with the leading PK mangled to ZL; repair the
magic with a hex editor to list it) and carries only the kernel and root
partitions, so u-boot and its TFTP recovery always survive the flash.
Before flashing, back up the stock partitions over the network with
python-dhip. It enables the
camera's built-in telnet server via DHIP, then reads every raw MTD partition
through the vendor shell (dd | base64) and verifies each file against the
size declared in /proc/mtd -- no UART, TFTP or disassembly needed:
pip install "git+https://github.com/OpenIPC/python-dhip.git"
dhip 192.168.1.10 -u admin -P <web-password> nanddump ./stock-backup --shell-pass ivideo-u/-Pare the camera's web admin credentials;--shell-passis the root shell account password (stock units observed withroot/ivideo).- The output directory gets one
mtdN-<name>.binper raw partition (about 128 MiB in total); store it somewhere safe -- it is your way back to stock.
There is no XiongMai-style Device ID. The upgrade package is gated on Cpu
(GK7205V510), Vendor (the unit's OEM, e.g. Rostelecom) and a Devices
allow-list of [model, hardware-version] pairs; match all three against your
unit before flashing. Read them over DHIP:
dhip 192.168.1.10 -u admin -P <web-password> call magicBox.getSystemInfoPush the downloaded package over DHIP with the same tool:
dhip 192.168.1.10 -u admin -P <web-password> upgrade NC-IPTC2200_DL_4G-4_OpenIPC_gk7205v510.bin --confirmThe upgrade is asynchronous: upgrader.execute replies as soon as the upload
is accepted, then hunter writes both partitions and reboots the camera into
OpenIPC (about a minute on 128 MiB NAND). The camera keeps its DHCP network
settings; OpenIPC answers on SSH and RTSP with the default OpenIPC passwords.
u-boot is never touched. Restore the backup by UART: interrupt u-boot (the
console password is zenotech on stock units) and tftpboot + nand write
the saved mtdN-<name>.bin files back, or flash the stock kernel/root
partitions from the OpenIPC shell with dd.
Transition firmware for Anjoy/Anjvision boards is available on the Anjoy release page.
Transition firmware for Huishi boards is available on the Huishi release page.
Rostelecom / Uniview cameras built on the "VideoComfort" (VC) stack — e.g. the Rostelecom IPC8232SWC-WE (Uniview C1L-2WN, HiSilicon hi3516ev300 + SP2305 sensor) — can be moved to OpenIPC from an SD card, with no UART and no network. The stock U-Boot runs an on-board SD auto-updater on every power-on: it reads files named after each NAND partition from the first FAT partition of the card, writes each to flash, and reboots.
Transition files are on the
Rostelecom/Uniview release page
(generated by _rostelecom2oipc.py
from the OpenIPC hi3516ev300-nand build).
- Back up your stock NAND first (recovery from a failed flash needs UART).
- Format an SD card as FAT32.
- Extract the zip for your model to the card root — it contains the files
boot,tech,kernel,app. - Insert the card, power the camera on, and wait ~1 minute. It flashes the partitions and reboots into OpenIPC.
- Power off, remove the card. Done.
The updater only verifies a magic number and CRC (no signature), which is why the transition works. WARNING: Coupler is work-in-progress — if the update fails you will need a UART TFTP recovery.
OpenIPC offers two levels of support.
- Free support through the community (via chat and mailing lists).
- Paid commercial support (from the team of developers).
Please consider subscribing for paid commercial support if you intend to use our product for business. As a paid customer, you will get technical support and maintenance services directly from our skilled team. Your bug reports and feature requests will get prioritized attention and expedited solutions. It's a win-win strategy for both parties, that would contribute to the stability your business, and help core developers to work on the project full-time.
If you have any specific questions concerning our project, feel free to contact us.
If you like what we do, and willing to intensify the development, please consider participating.
You can improve existing code and send us patches. You can add new features missing from our code.
You can help us to write a better documentation, proofread and correct our websites.
You can just donate some money to cover the cost of development and long-term maintaining of what we believe is going to be the most stable, flexible, and open IP Network Camera Framework for users like yourself.
You can make a financial contribution to the project at Open Collective.
Thank you.

