Original firmware recovery in OpenWrt CLI

Using the program mtd:

cd /tmp

wget http://www.example.org/original_firmware.bin

mtd -r write /tmp/original_firmware.bin firmware

If you want to remove DD-WRT to install OpenWRT, you should write to the device “linux” instead of “firmware”.

mtd -r write /tmp/original_firmware.bin linux

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.