Is it possible to revert a DD-WRT firmware flashing on a router?

1

DD-WRT firmware is a generic fully-featured firmware intended to replace the original firmware that a router bears when unboxed.

There is a DD-WRT version for many router models, but not for all. If yours has an available version of DD-WRT, it is nice, as long as it adds an embedded Linux you can log (SSH or telnet) into.

But what happen if I finally think the original reseller firmware was preferred?

Can I revert to it (assuming there is an official firmware published by the reseller, of course) ?
Is it acceptably safe to try, or chances are high that I will have to stay forever on DD-WRT firmware?

Sopalajo de Arrierez

Posted 2015-08-06T02:22:04.507

Reputation: 5 328

They also provide special revert images for some routers: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=85237&postdays=0&postorder=asc&start=0

– icl7126 – 2017-03-02T11:28:41.657

Answers

3

Yes, you can always revert to original firmware, assuming there is an official firmware published by the reseller. Even if there isn't an original firmware published by the manufacturer you can often make your own backup. How you do so can be more or less difficult and involves researching the router in question.

1) (Very easy) In many cases, you can just flash back the original firmware using the flash firmware page in DD-WRT.

2) (Easy) In some cases you'll need to use a firmware recovery page. Most routers have one, often accessed by pressing the reset button

3) (Intermediate) In older routers that have no recovery page(s) there is also an option of TFTP flashing. This is more complex and too specific to discuss here, but put simply involves pressing the reset button at the right time and then uploading a file via TFTP from your computer

4) (Difficult) When all the above are unavailable, you may have to physically disassemble your router to issue commands to it via a serial interface. If there is no original firmware published, then this also allows you to backup the original firmware.

5) (Very difficult) And when even that fails, you can directly access the flash chip via a JTAG interface

As for if it is safe that entirely depends on your competency. As long as you use the correct file for your router and an image specifically designed for your make, model, and revision, it is very safe. Routers have dedicated bootloader and recovery flasher partitions that are separate from the main OS and should never be overwritten by DD-WRT.

qasdfdsaq

Posted 2015-08-06T02:22:04.507

Reputation: 5 762

Thanks you for a so complete answer, qasdfdsaq. Please, I have several questions. For example, when you say «As long as you use the correct file for your router», did you mean «As long as you use the correct DD-WRT image file for your router» or «As long as you use the correct original firmware image file for your router»? – Sopalajo de Arrierez – 2015-08-06T14:17:48.157

As long as this matter depends sometime on the specific router model, could we say the DD-WRT forum is the proper way to ask about its firmware revertion and other issues? The reseller forum if there is one? Or maybe any other site? – Sopalajo de Arrierez – 2015-08-06T14:19:09.730

As long as you use the correct DD-WRT image file for your router. If you use an incorrect file with a different partition layout you may overwrite the bootloader and recovery partition or NVRAM – qasdfdsaq – 2015-08-06T14:33:33.663