Unpacked Firmware for WPA4220 (EU) V4, help!

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Unpacked Firmware for WPA4220 (EU) V4, help!

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Unpacked Firmware for WPA4220 (EU) V4, help!
Unpacked Firmware for WPA4220 (EU) V4, help!
2020-03-25 15:59:15
Model: TL-WPA4220 KIT  
Hardware Version: V4
Firmware Version:

I was having some problems with this device, so i decided to flash it. I have a couple more of tp-links plcs, and i upgraded the firmware to other device a time ago without any problem.

 

I downloaded the version that match my unit, taking care of EU V4, number... and flashed it using the tpPLC tool.

 

https://static.tp-link.com/2019/201904/20190428/TL-WPA4220(EU)_V4_190326.zip

 

 

But! i received a "failed" message, and the unit stop working completly by the ethernet cable i had it connected.

 

Buttons are not working, leds light in loops...

 

I replaced the device by a working one, and connected the broken one next to it... opened wireshark, added manually the device to the tpPLC tool.. and yeah, it is recognized as a remote device sending and receving homeplug av packets! I can see the packets associated to the MAC address on wireshark! So it is "working".

 

 

I can edit the name, i can change the config of the device, i can try to reflash the firmware... but it ask me for NVM and PIB files, not the BIN. I guess it got an error flashing and lost capacity to detect which device it is and what type of files it requires. It requires the base firmware first...

 

I contacted support, but didn't get a solution yet.

 

I investigated a bit, and i see the BIN file contains a linux structure inside and 7z alert me there is a payload apart of the zipped files. Then i checked in ascii the file, and i found it:

 

fwup-ptn os-image base 0x181d5 size 0xd5b1a    
fwup-ptn file-system base 0xedcef size 0x375001    
fwup-ptn partition-table base 0x00800 size 0x00800    
fwup-ptn soft-version base 0x462cf0 size 0x00015    
fwup-ptn support-list base 0x462d05 size 0x00055    
fwup-ptn profile base 0x462d5a size 0x000c1    
fwup-ptn default-config base 0x462e1b size 0x00479    
fwup-ptn default-nvm base 0x463294 size 0x60fd9    
fwup-ptn default-pib base 0x4c426d size 0x0264d    
 ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ  partition factory-uboot base 0x00000 size 0x30000
partition fs-uboot base 0x30000 size 0x30000
partition os-image base 0x60000 size 0x100000
partition file-system base 0x160000 size 0x4a0000
partition extra-para base 0x680000 size 0x01000
partition product-info base 0x690000 size 0x01000
partition partition-table base 0x6a0000 size 0x02000
partition soft-version base 0x6b0000 size 0x01000
partition support-list base 0x6b1000 size 0x01000
partition profile base 0x6b2000 size 0x08000
partition user-config base 0x6c0000 size 0x10000
partition default-config base 0x6d0000 size 0x10000
partition default-nvm base 0x6e0000 size 0x80000
partition default-pib base 0x760000 size 0x80000
partition default-mac base 0x7e0000 size 0x00020
partition pin base 0x7e0100 size 0x00020
partition device-id base 0x7e0200 size 0x00030
partition default-region base 0x7e0300 size 0x00010
partition radio base 0x7f0000 size 0x10000

 

 

 

Seems like the BIN file is a type of packet of files, with some structure...  don't know from where these offsets counts (i imagine fwup-ptn are offsets and lengths in the .BIN file and partition list the target address where that should be written)

 

But i would like to stop messing up with this and get support, i need the NVM / PIB files to try to flash this device.

 

Thank you in advance.

 

 

  0      
  0      
#1
Options
6 Reply
Re:Unpacked Firmware for WPA4220 (EU) V4, help!
2020-03-26 07:59:39

@bnogal 

 

Please show us a screenshot of the current firmware version of the powerline adapter. 

 

You can try to reinstall the tpPLC utility to give it a go, if possible, you can change another computer to install it as well. 

 

 

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router Archer BE800 New Firmware Added Support for EasyMesh in AP Mode, DoH&DoT, and 3-Band MLO Connection Archer AX90 New Firmware Added Support for EasyMesh and Ethernet Backhaul If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#2
Options
Re:Unpacked Firmware for WPA4220 (EU) V4, help!
2020-03-26 08:44:08

@Kevin_Z 

 

I already tried installing the program in another computer.  I get the same information.

 

Version displayed in the tpPLC tool is:

 

1.4.0.20-00_422014_181207_902

 

 

  0  
  0  
#3
Options
Re:Unpacked Firmware for WPA4220 (EU) V4, help!
2020-03-29 17:39:25

@bnogal

 

I got the same problem.

Now i can´t use them. 

 

Is there no solution for it?  

  0  
  0  
#4
Options
Re:Unpacked Firmware for WPA4220 (EU) V4, help!
2020-04-12 10:22:58

@Kevin_Z 

@Pantherlab 

 

still waiting for a solution

 

 

 

the device is not death and it should be possible to rewrite it from the HomePlug AV protocol.

 

 

 

  0  
  0  
#5
Options
Re:Unpacked Firmware for WPA4220 (EU) V4, help!
2020-05-04 19:26:09 - last edited 2020-05-04 19:26:38

These files are in the wpa4220v4_GPL.tar.gz on the producer's website.

Unfortunately they can't be uploaded...

sorry for my English...

  0  
  0  
#6
Options
Re:Unpacked Firmware for WPA4220 (EU) V4, help!
2020-06-19 14:30:05

 

bnogal wrote

I investigated a bit, and i see the BIN file contains a linux structure inside and 7z alert me there is a payload apart of the zipped files. Then i checked in ascii the file, and i found it:

 

@bnogal Could you give some more info on how you accessed the file to locate the NVM and PIB?  Were you able to extract these separately, and if so how?  I want to try on a different BIN from TP-Link.  Thanks!

  1  
  1  
#7
Options