TP-Link Deco M5 v1 / v2 / v3

TP-Link Deco M5 Access Point, with 2 ethernet ports and wifi 2.4 and 5GHz.

Generic Router

💡 The LAN port is the one furthest away from the power connector

  • Host a TFTP server using the 192.168.0.66 IP, connected to the M5's LAN port
  • Rename the factory image (see table above) 'M5v1_tp_recovery.bin' and copy it into the TFTP folder
  • Press the and hold the 'Reset' button while powering on the M5, keep it pressed for at least 10 seconds
  • Router should download the factory image over TFTP, flash it and reboot
  • Post reboot the LAN side IP will be 192.168.1.1, don't forget to remove the static IP on the TFTP host

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00030000 00010000 "0:SBL1"
mtd1: 00010000 00010000 "0:BOOTCONFIG"
mtd2: 00010000 00010000 "0:MIBIB"
mtd3: 00010000 00010000 "0:BOOTCONFIG1"
mtd4: 00060000 00010000 "0:QSEE"
mtd5: 00010000 00010000 "0:CDT"
mtd6: 00010000 00010000 "0:DDRPARAMS"
mtd7: 00010000 00010000 "0:APPSBLENV"
mtd8: 00080000 00010000 "0:APPSBL"
mtd9: 00010000 00010000 "0:ART"
mtd10: 000c0000 00010000 "OPAQUE"
mtd11: 00300000 00010000 "0:HLOS"
mtd12: 007d0000 00010000 "0:rootfs"
mtd13: 00080000 00010000 "0:APPSBL_1"
mtd14: 01270000 00010000 "firmware"
mtd15: 00350000 00010000 "kernel"
mtd16: 00e70000 00010000 "rootfs"
mtd17: 009e0000 00010000 "rootfs_data"

Left ethernet port is the port the closest to the reset button.

Port Switch port
Internet (WAN) LEFT PORT
LAN RIGHT PORT

→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The TP-Link Deco M5 has the following buttons:

BUTTON Event
Reset reset

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

→ Warranty

Main PCB:
Insert photo of PCB

→ port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:

  • use pins under heatsink
Serial connection parameters
for TP-Link Deco M5
115200, 8N1, 3.3V

COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE


COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


FIXME Add tags below, then remove this fixme.

How to add tags

  • Last modified: 2026/09/25 09:25
  • by achterin