Reverting back to OpenWrt from DD-WRT

Hi,

I am a newbie in the world of router customized firmware, so please excuse my question.
I have been given an old TP Link TL-WR710N router from my friend with DD-WRT installed. I have seen that this router supports OpenWRT too. I tried to "upgrade the firmware through the admin console to install OpenWRT, but the router, upon rebooting, still shows up DD-WRT.

Would anyone be able to help out?

Thank you!

~Lorenzo

Which version is it?
https://openwrt.org/toh/tp-link/tl-wr710n#openwrt_images
Did you try the factory or sysupgrade image?

Worst case scenario is to revert back to stock firmware from TP-Link and then try to install OpenWrt.

1 Like

Take care: Only 32MB RAM.

https://openwrt.org/supported_devices/432_warning

2 Likes

I switch between OpenWrt and DDWrt often with my wr841nd v7 and wdr4900v2.

From DDwrt to OpenWrt:

  1. Enable SSH in services tab of ddwrt.
  2. scp (winscp) openwrt-your-router-FACTORY.bin (factory not upgrade) to /tmp
  3. ssh login to ddwrt, cd /tmp
    mtd -f write openwrt-your-router-factory.bin linux
    reboot

From Openwrt to DDwrt:
mtd write /tmp/factory-to-ddwrt.bin firmware

2 Likes

@zen1932 , for this particular case:

mtd -f write openwrt-your-router-factory.bin linux

I have compared those two images using hexdump, and I think probably either of them should work if flashed directly to firmware partition. sysupgrade one is probably preferable, because it doesn't have 4325372 unused 0xff bytes at the end.

In general, OpenWrt sysupgrade image is flashed directly to partition by sysupgrade script, while factory image is flashed via vendor web interface and can contain different/additional headers.

But the original poster does not have openwrt installed yet, hence no sysupgrade script, that's why I insisted on factory image.

But the original poster does not have openwrt installed yet, hence no sysupgrade script

My point is that script is not necessary. It does verification and backs config up, but mainly it does is writing directly to mtd which can be done by mtd write without sysupgrade, from factory or dd-wrt. For this router both images work, but for other routers attempt to write factory directly to flash will brick the device, while writing openwrt-sysupgrade to correct flash offset/partition should work for majority of devices.