Thanks alot Brainslayer for the firmware, for some reason after enabling jffs2 and rebooting by poweroff/poweron, my router seems to be bricked with wps led on.
Tftp via reset button at 192.168.0.66 works, and I can upload firmware but I guess I need stripped fw for it to work. Im not sure how enabling jffs2 bricked the device, just fyi I powercycled without issues before enabling this option.
I'm also unsure if I should return it (still covered by warranty) or connect serial port to diagnose further.
Thanks alot, didn't know this.
Now whenever I upload the proper firmware (hw is 3.0/eu) I get Firmware upgrade failed.
In the screenshot, I changed the filename as a last attempt so I tried without renaming anything first.
Joined: 06 Jun 2006 Posts: 7492 Location: Dresden, Germany
Posted: Sun Oct 15, 2017 9:18 Post subject:
wrong file. use factory-to-ddwrt.bin
edit: sorry just have seen that you try to recover. mmh hard to say whats wrong here. need to look on the serial console _________________ "So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
Last edited by BrainSlayer on Sun Oct 15, 2017 9:22; edited 1 time in total
Joined: 06 Jun 2006 Posts: 7492 Location: Dresden, Germany
Posted: Sun Oct 15, 2017 9:19 Post subject:
tmash2 wrote:
Hello,
Thanks alot Brainslayer for the firmware, for some reason after enabling jffs2 and rebooting by poweroff/poweron, my router seems to be bricked with wps led on.
Tftp via reset button at 192.168.0.66 works, and I can upload firmware but I guess I need stripped fw for it to work. Im not sure how enabling jffs2 bricked the device, just fyi I powercycled without issues before enabling this option.
I'm also unsure if I should return it (still covered by warranty) or connect serial port to diagnose further.
Thanks
cannot check it much its a blind port since i dont have the device. send me a dmesg output please _________________ "So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
Thanks alot Brainslayer for the firmware, for some reason after enabling jffs2 and rebooting by poweroff/poweron, my router seems to be bricked with wps led on.
Tftp via reset button at 192.168.0.66 works, and I can upload firmware but I guess I need stripped fw for it to work. Im not sure how enabling jffs2 bricked the device, just fyi I powercycled without issues before enabling this option.
I'm also unsure if I should return it (still covered by warranty) or connect serial port to diagnose further.
Thanks
cannot check it much its a blind port since i dont have the device. send me a dmesg output please
Not a dmesg as it does not boot, only boots to recovery (apparently corrupted partition table thus auto reboot to recovery?)
*** command status = -1
CFE> ifconfig
Device eth0: hwaddr 50-C7-BF-0
CFE>
CFE>
CFE>
CFE> Reading Partition Table from NVRAM ... OK
Parsing Partition Table ... [NM_Error](nm_lib_parsePtnIndexFile) 00545: invalid partition-index-file para id.
FAILED
[NM_Error](nm_tpFirmwareCheck) 01341: Init failed.
This is what I get on serial after i press upgrade and fails at 40%.
Thanks for the response and help!
Edit: Tried CFE recovery to flash, all went well, rebooted, router is probably dead, internet led is red, home and 5ghz led on, not responding to serial, turns on like that instantly.
I can do jtag (not my first time), though unsure where to go from here. Router is no longer under warranty now hehe, but I hope this was useful for others. I'm probably stupid since I messed with the flash tool before waiting instructions from experienced people.
I'll probably revive this later once someone provide me a full flash dump to recover via jtag maybe?
(As a sidenote, I was never satisfied with this router anyways, poor performance for the specs, very sh*tty stock firmware (not even mdns), have to restart every week, so I'm not feeling any "loss" here)
Brainslayer, do you have the bin file of how to return to stock with this router? I am getting poor speeds on 5ghz and actually found that the stock was rock solid and allowed me to connect to my L2TP VPN so is good enough for now.
I tried googling how to produce a stripped bin file for v3 to no avail.
1. This package contains all GPL code used by TP-LINK Routers/APs with Linux OS.
2. All components have been built successfully on Redhat Enterprise Linux 5.0 Workstation.
3. Compiling components in this package on platforms other than Redhat Enterprise Linux 5.0 Workstation may have unexpected results.
4. Recommended using "root" or "sudo" command to build the code.
5. After building code, you can get linux kernel image, then you can make rootfs with mksquashfs tool, but you can't upgrade these images to your router through web management page.
Build Instructions
1. All build targets are in ~/GPL_Code/build/Makefile, you should enter this directory to build components.
2. Pre-built toolchain is avaliable in this package.
3. Toolchain (include uclibc) source code is avaliable in toolchain_src.
4. Prepare Pre-built toolchain, tools and filesystem:
make linux_build_prep
5. Build core components:(includes linux kernel, kernel modules and some applications)
make linux_build_all
6. Install binary and libs
make install
7. Build root fs:
make image
Note: please build the GPL codes following the order(1-7), otherwise it has risk to compile error.
Brainslayer, do you have the bin file of how to return to stock with this router? I am getting poor speeds on 5ghz and actually found that the stock was rock solid and allowed me to connect to my L2TP VPN so is good enough for now.
I tried googling how to produce a stripped bin file for v3 to no avail.
Cheers
My advice is to avoid, its better to have functional router than a dead one. If you happen to touch anything related to the nvram partition, its a brick. (restoring wont even help without stock calibration image, not sure about interchanging from other units) But there hasn't been any successful attempt sadly. It wouldn't have hurt to post a warning about that, or even "enabling jffs2 will corrupt the partition table and data", I understand the risks, but having these warning would actually help... Something like [EXPERIMENTAL] Image not ready for usage, instead of beta or unstable software, as this is low level. Equivalent to uploading an image that intentionally damage the flash partition for example while understanding the irreversible damage on this specific router unlike most other routers (having used ddwrt/openwrt on many routers)
P.S: On my side 2.4ghz has better throughput on ddwrt, higher tx limit, and longer range unless you have congested Wifi area and in need of 5ghz.
I have exectly the same issue with c9 v3 as tmash2.
Same cause (enabling jffs2).
I'm open to sugestions.
Send it to service through retailer?
Open it and try to restore it through serial port?
Or just buy a new router and trash this one as it's beyond repair?
EDIT:
Connected serial, download and flash from tftp works, but still unable to make it work. I guess I don't have full firmware to restore it with.
Console output:
Reading Partition Table from NVRAM ... OK
Parsing Partition Table ... [NM_Error](nm_lib_parsePtnIndexFile) 00545: invalid partition-index-file para id.
FAILED
[NM_Error](nm_api_checkInteger) 00322: factory boot check integer partition init fail.
Posted: Mon Nov 06, 2017 13:11 Post subject: How to restore partition-index-file para id ?
I got exactly the same issue with Archor C9 v3 in same cause (enabling JFFS2).
I have sucessfully connected via serial, and got an CFE error:
Code:
Device eth0: hwaddr 70-4F-57-31-23-B4, ipaddr 192.168.0.1, mask 255.255.255.0
gateway not set, nameserver not set
Reading Partition Table from NVRAM ... OK
Parsing Partition Table ... [NM_Error](nm_lib_parsePtnIndexFile) 00545: invalid partition-index-file para id.
FAILED
[NM_Error](nm_api_checkInteger) 00322: factory boot check integer partition init fail.
Device eth0: hwaddr 70-4F-57-31-23-B4, ipaddr 192.168.0.1, mask 255.255.255.0
gateway not set, nameserver not set
When I have connected remote TFTP server, I can see that CFE firmware has downloaded official *.bin file - so CFE firmware in TFTP subroutine works well.
Unfortunately after flash original firmware I have got the same Partition Table error. Its look like DD-WRT JFFS option damage partition table.