Archer A7 v5 revert to stock firmware

Hello everyone, first of all a cordial greeting to all, a question I have a router tp link a7 and change the firmware to openwrt as indicated but when wanting to use the 5ghz network it does not give me any function and I read that they are problems of the router, I Would you like to know how to revert the openwrt firmware to the source of tplink, is it through tftp (how to install openwrt) or is it just mediating the file and a simple update? thanks and I hope your kind reply please ..

Tftp will be your best option because the update utility included (sysupgrade) in OpenWRT expects the image to be in a compatible format that is different than stock.

1 Like

One last question, did you change the name of the file to what it was in Openwrt or did you leave the same name of how to download it on the official page of tplink? please

The download from TP-Link is a zip file which of course must be unzipped first to obtain the firmware .bin file. Then rename that file to what the router asks for, something like a7recovery.bin (but I know it's not that) you can see the file request logged on your TFTP server.

1 Like

When installing Openwrt I changed the name of the file to ArcherC7v5_tp_recovery.bin, but now when I download the firmware from the official page, the file has a name of ArcherA7V5_US_20200220-rel33197.bin. Should I leave this as is or change the name as the first?

I would try pushing the image as-is first. Then if that doesn't work, change the name.

The tftp client inside your router's bootloader only looks for one firmware name, "ArcherC7v5_tp_recovery.bin".

1 Like

Please have a look at the initial support commit comments:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=1e4ee63cc8d1889a78b539a5ed7be8d56e9b976f

The procedure you are looking for is "Flash instruction using tftp recovery:" inside the comment; you just have to use the ArcherA7V5_US_20200220-rel33197.bin file you have downloaded in place of the OpenWrt firmware, rename it according to the comment, then pursue with the flashing procedure.

Hello, I do the same steps as the indications but it opens the Flash box and it is 3/4 of the installation and the sale of the box, I wait and try to enter and it still has the openwrt installed

When I put the Openwrt firmware I did it by tftp with 192.168.0.66 with the file of name ArcherC7v5_tp_recovery.bin (thus said the instructions of the Archer A7, which is equal to a C7) and now when wanting to return to the firmware of tplink rename the firmware file from tplink to ArcherC7v5_tp_recovery.bin and it keeps showing me Openwrt doesn't install the one from tplink

There is no web page here, this is bootloader recovery so the only thing the router does is have WPS LED blinking after booting with the reset button held down (OpenWrt doesn't even start.) The LAN LED should blink rapidly for a few seconds as your TFTP server shows the file was transferred. After that the LEDs blink for a while and eventually (may take 2 or 3 minutes) they all come on then go out for a reboot to stock firmware.

This happens to me, it stays in the process at 78%. What else can I do and what do you recommend? It is a video of A7 v5 US I leave this video. https://youtu.be/7jDDRsgJdR4

binwalk output of Archer A7V5_US_20200220-rel33197.bin :

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
21876         0x5574          U-Boot version string, "U-Boot 1.1.4-g670cf109-dirty (Feb 18 2020 - 15:51:07)"
21940         0x55B4          CRC32 polynomial table, big endian
23232         0x5AC0          uImage header, header size: 64 bytes, header CRC: 0x674CECB5, created: 2020-02-18 07:51:07, image size: 41164 bytes, Data Address: 0x80010000, Entry Point: 0x80010000, data CRC: 0x605526D6, OS: Linux, CPU: MIPS, image type: Firmware Image, compression type: lzma, image name: "u-boot image"
23296         0x5B00          LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 97476 bytes
64461         0xFBCD          uImage header, header size: 64 bytes, header CRC: 0xE4E7B63B, created: 2020-02-18 07:59:05, image size: 1088012 bytes, Data Address: 0x80060000, Entry Point: 0x80060000, data CRC: 0xBC6864CE, OS: Linux, CPU: MIPS, image type: Multi-File Image, compression type: lzma, image name: "MIPS OpenWrt Linux-3.3.8"
64533         0xFC15          LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 3164228 bytes
1152538       0x11961A        Squashfs filesystem, little endian, version 4.0, compression:xz, size: 14219659 bytes, 2555 inodes, blocksize: 65536 bytes, created: 2020-02-20 01:13:07
15372707      0xEA91A3        XML document, version: "1.0"
15386239      0xEAC67F        gzip compressed data, from Unix, last modified: 2020-02-20 01:13:17

Funny as this TP-Link firmware seems to use MIPS OpenWrt Linux-3.3.8... I've edited my post because this firmware doesn't look like standard strip procedure among TP-links, if one wants to try it.

I try to understand this post but I am a basic user and I do not understand what I should do, updating the firmware from openwrt to dd wrt is possible directly from the web? one more doubt if it is possible the file that name should have? ArcherC7v5_tp_recovery.bin ??

this method is valid for my .bin file and archer C7?? go to minute 3 onwards, is it to do the same cut 20200? https://www.youtube.com/watch?v=f8Elelckx1s

Sorry for the confusion, I've posted this in hope that somebody with better knowledge about the firmware stripping procedure could chime in easily. This will not help you in any way for now.

The main reason for my post: I suspect that you need to strip the stock firmware to be able to flash it using TFTP.

My hypothesis is no, based on my earlier binwalk post. Compared to the binwalk of ArcherC7v2_en_3_14_2_up_boot(150304).bin, the start is really 0x20200, but not yours (yours seems to be 0xFBCD) :

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
0             0x0             TP-Link firmware header, firmware version: 1.-15652.3, image version: "", product ID: 0x0, product version: -956301310, kernel load address: 0x0, kernel entry point: 0x80002000, kernel offset: 16384512, kernel length: 512, rootfs offset: 855048, rootfs length: 1048576, bootloader offset: 15204352, bootloader length: 0
71200         0x11620         Certificate in DER format (x509 v3), header length: 4, sequence length: 64
98240         0x17FC0         U-Boot version string, "U-Boot 1.1.4 (Mar  4 2015 - 16:00:22)"
98416         0x18070         CRC32 polynomial table, big endian
131584        0x20200         TP-Link firmware header, firmware version: 0.0.3, image version: "", product ID: 0x0, product version: -956301310, kernel load address: 0x0, kernel entry point: 0x80002000, kernel offset: 16252928, kernel length: 512, rootfs offset: 855048, rootfs length: 1048576, bootloader offset: 15204352, bootloader length: 0
132096        0x20400         LZMA compressed data, properties: 0x5D, dictionary size: 33554432 bytes, uncompressed size: 2451644 bytes
1180160       0x120200        Squashfs filesystem, little endian, version 4.0, compression:lzma, size: 8461427 bytes, 738 inodes, blocksize: 131072 bytes, created: 2015-03-04 08:14:38

ok thank you partner, let's hope someone sees the post and with my doubts and recommendations you can help us ...

Maybe you can strip your firmware using the following:

dd if="Archer A7V5_US_20200220-rel33197.bin" of="ArcherC7v5_tp_recovery.bin" skip=3 bs=21487

Warning: If it fails and brick your router, you might require to crack it open to solder serial pins and buy serial-to-usb adapter to restore it then. Only if you feel lucky and adventurous...

I already tried that file with the name as it is downloaded from the official page ("Archer A7V5_US_20200220-rel33197.bin") and the modified name ("ArcherC7v5_tp_recovery.bin"), I have only tried it by tftp and it does not load 100%, right now try modifying the file with hexadecimal and removing 20200 and the load has advanced me more given results of 90, 85, 98% but not 100%, I try with the mentioned and modified files through web ?? It is advisable?

90, 85, 98% load, best results by cutting 20200