

“Factory” headers are not necessary for this process, thus no “factory” OpenWrt binaries exist.

Next scp the OpenWrt sysupgrade to the RAM disk in preparation for flashing. That should only be necessary if you used TFTP recovery. If the bootloader partition md5 is not as above, re-flash 3.7.58 using fwupdate.real. #Ubiquiti UniFi AC Mesh downgraded from UAP-AC-Mesh-BZ.6.0.14 also works with OpenWrt 21.02.2 using undermentioned hash! Other versions may not work properly with OpenWrt. Check the md5 of the installed bootloader to confirm it has also been downgraded to the 3.7.58 version.

fwupdate.real -m will replace the bootloader with the version in the firmware file, but TFTP recovery (see below) does not. Stock firmware usually also includes a new bootloader. This method is not as certain to work as starting from the 3.7.58 firmware.) For UniFi AC Pro device firmware (4.3) (May 2020), you can install the mtd package from 17.01.6. Look at /etc/openwrt_release on the device to check. (Alternatively you can try to install the mtd for a specific OpenWrt release the firmware is based on. The stock firmware can be upgraded / downgraded using the CLI and fwupdate.real -m Copy using scp the 3.7.58 firmware to /tmp (see below), log in with ssh, and run fwupdate.real -m filename to flash it. These instructions assume that version 3.7.58 is running, which does include mtd. The mtd helper program, which writes directly to flash, has been removed from later versions of the stock firmware. The Unifi will have IP address 192.168.1.20. Configure the PC with a static IP such as 192.168.1.25/24. In detail and with explanations read the following steps:Ĭonnect only the Unifi to your PC. If you flashed a stable release the webinterface is included in OpenWrt and should now be reachable at. On next reboot you will see an openwrt firmware. → Install OpenWrt (generic explanation) Non-invasive method using mtd
