Saturday, 29 December 2012 21:58

TP-Link TL-MR3020 restore from OpenWRT to Original Firmware

If you had flashing the TP-Link MR3020 firmware to OpenWRT and now you want to restore it to the original state, here is a guide on how to make it. With this guide you will able to changing between original firmware to different version OpenWRT firmware.

Download the orignal firmware from TP-Link home page
Changing OpenWRT password and enable SSH
If you haven't change the OpenWRT password, make sure you had change it in order to enable SSH
  • Go to Windows command prompt
  • Enter telnet (this is the default IP address for OpenWRT, you should use your own IP address)
  • Enter passwd to enable new password
  • Enter your new password and Retype your password, you should see the following
Changing password for root
New password:
Retype password:
Password for root changed by root


Copying Original Firmware file to TL-MR3020 router
I'm using WinSCP to copying Original Firmware file from computer to TL-MR3020 router, please visit here if you don't know what is WinSCP.
  • Extract the downloaded Zip file to your computer, you should have mr3020nv1_en_3_14_2_up(120817).bin in your computer
  • Open WinSCP
  • Copy TL-MR3020 Original Firmware file mr3020nv1_en_3_14_2_up(120817).bin from computer to the /tmp folder of TL-MR3020 router as shown in figure below
 Copying file using WinSCP
  • Rename the TL-3020 Original Firmware file mr3020nv1_en_3_14_2_up(120817).bin to a.bin for easy entering in the later step
  • Now the TL-MR3020 router /tmp folder have a filename called a.bin, you should flash this bin file to the TL-MR3020 router.
Flashing the Firmware
Once SSH is enable, you should use PuTTY to login to router.
  • Run PuTTY and login to router
  • Enter cd /tmp
  • Enter mtd -r write a.bin firmware to start flashing firmware

[email protected]:/tmp# mtd -r write a.bin firmware
Unlocking firmware ...
Writing from a.bin to firmware ...
Rebooting ...



Read 87451 times Last modified on Thursday, 04 April 2013 12:44


  • Comment Link Marc Elser Wednesday, 04 December 2019 06:22 posted by Marc Elser

    The article states "Download the orignal firmware from TP-Link home page" --> DON'T DO THIS IT WILL HARD BRICK YOUR DEVICE.

    I learned too late that you need to download a trimmed version of the firmware because if you don't it will hard brick your device and this one you don't get from tplink homepage (see the above comments for suitable firmware files).

    Because with original firmware from tplink homepage it starts writing the firmware and then fails with "failed to erase block". If this happens you still have a chance as long as you're still connected through ssh. Download correct trimmed firmware and flash again and you're good. If you reboot or loose ssh connection you're fucked and you can throw device in recycle bin unless you want to break open the case and flush with a serial console cable but given the value of device and the hassle it would be I just recycled it.

  • Comment Link Barth Saturday, 09 February 2019 09:26 posted by Barth

    the same for me. I got the message write error erase… errorcode 1. Afer reboot the Leds are flashing, but nothing is booting ^^.

  • Comment Link Jacky Tuesday, 09 October 2018 10:58 posted by Jacky

    Don't ever use file from TP Link Home Page , instead use file from this website

  • Comment Link admin Thursday, 07 June 2018 09:25 posted by admin

    Yes. I tested few time already.

  • Comment Link Urbain Thursday, 07 June 2018 00:40 posted by Urbain

    Are you test it yourself

  • Comment Link Cristian Thursday, 14 September 2017 07:49 posted by Cristian

    Dont do this guys, unless you want your router become a rock.

  • Comment Link admin Sunday, 03 January 2016 00:51 posted by admin

    You can use serial console method to recover your tl-mr3020.

  • Comment Link Hichem CHTARA Friday, 01 January 2016 12:25 posted by Hichem CHTARA

    I downloaded the latest firmware, I copied it to the /tmp and typed the command, after I got an error message saying, ... failed ... block
    and after, I am unable to connect to the wifi, ...
    any ideas ?
    flushing the firmware, with usb ?
    in any case, I think the WI-FI router is dead :(
    Just to learn from this situation :)

Leave a comment

Back to Top