I'm writing this post as I've found an alternative recovery method for TP-Link devices. It is likely that many of you are aware of this and in the same time it is likely that others are still scratching their heads trying to unbrick their device, as I was unable to find it anywhere in wiki.
For this method to work, there are 2 preconditions:
- You have access to serial console
- You have not deleted any important partition while trying other recovery methods.
So, let's jump into it.
What you'll need to do is:
- power up your device and gain access to u-boot serial console
- Set an IP address of your choice
setenv ip <your_IP_here>
- Simply type http. This should return a prompt similar to
Starting HTTP server at <your_IP>
- From there, you can open your favorite browser and head to the IP specified at step 3.
- Hit Browse then choose your preferred OpenWRT factory binary.
- Hit Upgrade or Upload (depending on what your device is prompting in the web page)
- Wait 120-150s.
After the 2 mins have passed, you can try to access your device (Web GUI or SSH, depending on how you've configured and built your image) and it should work.
This method has been tested several times using a TP-Link Archer C6 v2 EU and OpenWRT 21.02.7.
There is a possibility that this method will work only on newer devices (after 2017-18 probably) that have the HTTP server built in U-Boot.
If anyone finds this useful, or confirms it works on their side, I think it might worth adding to the wiki.