Just thought I'd report back my own experience with trying to move from DD WRT to OpenWrt on my TP-Link Archer C7 AC1750 v5.
- I tried using the DD WRT firmware upgrade to install openwrt-21.02.1-ath79-generic-tplink_archer-c7-v5-squashfs-factory.bin. After reboot, back to DD-WRT without any effect.
- Next did an scp to /tmp of the above OpenWRT binary. Copy was good - exactly the same byte count.
- Finally did a
"mtd -f write <openwrt-your-router-factory.bin> linux" as suggested above. Here's the result:
root@DD-WRT:/tmp# mtd -f write openwrt-21.02.1-ath79-generic-tplink_archer-c7-v5-squashfs-factory.bin linux
Unlocking linux ...
[flash] : Could not unlock MTD device: linux
linux: No such file or directory
Writing from openwrt-21.02.1-ath79-generic-tplink_archer-c7-v5-squashfs-factory.bin to linux ... [w]
Warning unaligned data, we use manual padding to avoid errors. size was 24939!!!
Sensing a reboot would brick the router I reflashed, using the DD-WRT GUI, firmware
DD-WRT v3.0-r47942 std (12/30/21) and thankfully everything came up.
Any explanation of what went wrong with the "mtd -f write" approach?
Is reverting back to the OEM factory firmware the only way to get to OpenWrt?