Problems with recovery of CPE510(EU)1.1
Problems with recovery of CPE510(EU)1.1
Problems with recovery of CPE510(EU)1.1
2018-05-30 20:30:02
Model : Hardware Version : Firmware Version : ISP : Hello, a friend asked for help with a CPE510 with a bad flash. Recovery as described on this forum and TP-Link support resources has failed, so I connected a serial console to see what is going on: TP-LINK SafeLoader (Build time: Jun 12 2015 - 09:49:53) CPU: 560MHz AHB: 225MHz DDR: 64MB Performing LED check.. PASS Press CTRL+B to enter SafeLoader: 1 Flash Manufacturer: Unknown(0xc8) Flash Device ID: Unknown(0x4017) Data flash init failed. open user-config failed. open user-config failed. enet0 port4 up TFTP server address is 192.168.0.100; our address is 192.168.0.254 Get filename 'recovery.bin'. ################################################################# ###################### Done. Bytes transferred = 4453887, 2938 Kbytes/sec Incorrect File. Writting error. ##Warning: File is unidentiable. Try downloading TFTP server address is 192.168.0.100; our address is 192.168.0.254 Get filename 'vmlinuz'. TFTP error: Starting again. ##ERROR: Can't download image. Input Password: ------------------ I cannot seem to log in to the bootloader with the password "admin". (Also "tpl", als used on some other devices, won't let me log in). Pressing CTRL-B on boot seems to bring up the mode TFTP directly, but with the same results. I've - so far - tried different versions of the Pharos firmware starting with 1.0.0P25 to 2.1.6P4 - each time I get this error: Incorrect File. Writting error. ##Warning: File is unidentiable. Try downloading Any hints on how I can access the SafeLoader (=password) in order to format the flash before retrying? Do I have to (as opposed to the recovery instructions) strip off a header of the binary firmware image in order to flash it? Thank you and best regards Epek [UPDATE]: I managed to compile an OpenWRT kernel+initramfs and renamed it to vmlinuz (I had to give partition sizes and names as a LINUX_CMDLINE). I was able to boot that firmware into CPE510's RAM. From there I could mtd erase kernel and rootfs and managed to place at least an original kernel image of the Pharos Firmware onto /dev/mtdblock3. Unfortunately I rebooted soon after, but did not copy the rootfs partition from the Pharos firmware to /dev/mtdblock4 before that... So I am now stuck in a loop. The full pharos firmware image recovery.img fails to load (see above). Vmlinuz will no longer be loaded via TFTP, because it is locally available. SafeLoader asks for a password, that is not "admin", so I am unable to reformat partition 3.... What's going on with SafeLoader? Is there any way to make SafeLoader overwrite at least the kernel partition somehow, so that it will load vmlinuz from TFTP again?
0
0
#1
Options
5 Replies
Re:Problems with recovery of CPE510(EU)1.1
2018-05-31 07:11:56
...
0
0
#2
Options
Re:Re:Problems with recovery of CPE510(EU)1.1
2018-08-21 22:57:18 - last edited 2018-08-21 23:10:15

man i can't belive that no one ever offered any help

most likely the firmware failed because you had the reboot loop and it didn't finished the upgrade process

or the firmware got corrupted some how

 

here is what i recommend

get 2 short lan cables

10 feet or less

connect the unit

connect a lan cable from the POE port connector in the power adapter to POE in the unit

connect a lan cable from the LAN port connnector in the power adapter to the lan network in your PC 

 

download the lastest firmware for cpe610

https://static.tp-link.com/2018/201806/20180607/CPE610(UN)_v1.0_20180327.zip

i know you have cpe510 but this one work too on cpe510 and is also newer

maybe it wont accept the device own firmware for what ever reason

that's why is best to try to force it with that one

but you are not really forcing it anything

you just trying a newer firmware but from another model and that might do the trick

 

decompress the zip file to get the bin file

make sure your unit is not rebooting before you try to flash the firmware

 

 

you might need to go to tci ip v4 setting and enter this number there manually before you can login to your router

192.168.0.253

255.255.255.0

192.168.0.254

 

now simply log in to you cpe510 unit using any internet browser you might have 

192.168.0.254

 

go to system tab

firmware update and browse for the fiemware bin file

click upload and cross your fingers

 

good luck

0
0
#3
Options
Re:Problems with recovery of CPE510(EU)1.1
2019-05-09 19:14:10

how to fix?

please tell me 

TP link cpe 510 firmware upgrade loss power 

because myanmar is EPC power down.

how to recovery?

Sai Pon Pon
0
0
#4
Options
Re:Problems with recovery of CPE510(EU)1.1
2019-06-09 23:47:49 - last edited 2019-06-12 17:44:29

epek wrote

Model : Hardware Version : Firmware Version : ISP : Hello, a friend asked for help with a CPE510 with a bad flash. Recovery as described on this forum and TP-Link support resources has failed, so I connected a serial console to see what is going on: TP-LINK SafeLoader (Build time: Jun 12 2015 - 09:49:53) CPU: 560MHz AHB: 225MHz DDR: 64MB Performing LED check.. PASS Press CTRL+B to enter SafeLoader: 1 Flash Manufacturer: Unknown(0xc8) Flash Device ID: Unknown(0x4017) Data flash init failed. open user-config failed. open user-config failed. enet0 port4 up TFTP server address is 192.168.0.100; our address is 192.168.0.254 Get filename 'recovery.bin'. ################################################################# ###################### Done. Bytes transferred = 4453887, 2938 Kbytes/sec Incorrect File. Writting error. ##Warning: File is unidentiable. Try downloading TFTP server address is 192.168.0.100; our address is 192.168.0.254 Get filename 'vmlinuz'. TFTP error: Starting again. ##ERROR: Can't download image. Input Password: ------------------ I  Xender  Discord  Omegle  cannot seem to log in to the bootloader with the password "admin". (Also "tpl", als used on some other devices, won't let me log in). Pressing CTRL-B on boot seems to bring up the mode TFTP directly, but with the same results. I've - so far - tried different versions of the Pharos firmware starting with 1.0.0P25 to 2.1.6P4 - each time I get this error: Incorrect File. Writting error. ##Warning: File is unidentiable. Try downloading Any hints on how I can access the SafeLoader (=password) in order to format the flash before retrying? Do I have to (as opposed to the recovery instructions) strip off a header of the binary firmware image in order to flash it? Thank you and best regards Epek [UPDATE]: I managed to compile an OpenWRT kernel+initramfs and renamed it to vmlinuz (I had to give partition sizes and names as a LINUX_CMDLINE). I was able to boot that firmware into CPE510's RAM. From there I could mtd erase kernel and rootfs and managed to place at least an original kernel image of the Pharos Firmware onto /dev/mtdblock3. Unfortunately I rebooted soon after, but did not copy the rootfs partition from the Pharos firmware to /dev/mtdblock4 before that... So I am now stuck in a loop. The full pharos firmware image recovery.img fails to load (see above). Vmlinuz will no longer be loaded via TFTP, because it is locally available. SafeLoader asks for a password, that is not "admin", so I am unable to reformat partition 3.... What's going on with SafeLoader? Is there any way to make SafeLoader overwrite at least the kernel partition somehow, so that it will load vmlinuz from TFTP again?

here is what i recommend

get 2 short lan cables

10 feet or less

connect the unit

connect a lan cable from the POE port connector in the power adapter to POE in the unit

connect a lan cable from the LAN port connnector in the power adapter to the lan network in your PC 

0
0
#6
Options