Skip to content

Instantly share code, notes, and snippets.

@alangregory
Created December 5, 2017 12:21
Show Gist options
  • Save alangregory/a491ef685b02f7f7eb97a65831508e2c to your computer and use it in GitHub Desktop.
Save alangregory/a491ef685b02f7f7eb97a65831508e2c to your computer and use it in GitHub Desktop.
TL-LINK WR840N (v4.0) Recovery

Recovery Firmware

https://nofile.io/f/4H9EWzdXW3p/tp_recovery.bin

Windows Tftp Server

https://tftpd64.codeplex.com/downloads/get/1632548

Proccess

  1. Configure PC with static IP 192.168.0.66/24 and tftp server.
  2. Place "tp_recovery.bin" in tftp server directory.
  3. Connect PC with one of LAN ports, press the reset button, power up the router and keep button pressed for around 6-7 seconds, until device starts downloading the file.
  4. Router will download file from server, write it to flash and reboot.
@abdullah5490
Copy link

what if the router won't boot even after successful flashing?

@godshades
Copy link

my router LED alway tick tick after flash :(

@alangregory
Copy link
Author

my router LED alway tick tick after flash :(

It only works for this specific hardware release (4.0), and it can fix hardware briack, only software bricks.

@abcdash
Copy link

abcdash commented Apr 21, 2021

This can help to someone:
Run the following command, which will strip the first 512 bytes from the firmware image and create a new file called tp_recovery.bin:
dd if=original_firwmare.bin of=tp_recovery.bin bs=512 skip=1

info from here:
https://milankragujevic.com/how-to-restore-original-firmware-on-tp-link-wr840n-v6-20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment