Open ghost opened 2 years ago
The installer itself stores a backup of the previous bootchain (not the stock firmware itself, but that you can download easily from either vendor). Unless you have re-run the installer or otherwise completely wiped the flash, this is still going to be there. See instructions here on how to copy it from the device to your computer.
The files you now got are referred to as "minimal backup"
You may then follow the restore procedure
My mtd3 is 125mb but seems like its a copy of the openwrt snapshot bc everytime I restore to the vendor firmware it goes right to the openwrt login page. I even waited 5 mins for it it reboot after refreshing the mtds and then waited 5 mins for the power cycle.
@TuckerEck did you ever re-run the *installer.itb
after you had initially flashed OpenWrt?
If so, the "previous bootchain" in the boot_backup
will be what ever is found in the flash at the time you run last run the installer.
@ghost It sounds like you did a full backup (https://github.com/dangowrt/owrt-ubi-installer#device-flash-complete-backup-procedure) after you had already installed OpenWrt. So unless I'm mistaken, that explains why mtd3
would be of OpenWrt, not the stock firmware (which you'll have to download from the vendor).
I wish the instructions had https://github.com/dangowrt/owrt-ubi-installer#device-flash-complete-backup-procedure at the top before the installation part. That way people wouldn't forget to backup the proper mtd3.
The thing is that you will hardly ever really need a complete backup including mtd3
. As long as Belkin/Linksys provide their firmware files for download on their servers, you can as well just take the firmware from there and use only the partial backup of /dev/mtd3
the installer does and puts into boot_backup
UBI volume.
So recently I flashed openwrt the using the guide provided here but I forgot to backup the mtd so I can revert to the original manufacturer u boot bootloader and firmware. Is there any way to revert a firmware without a backup or any tool or is someone has a backup?
-Thanks for your help.