Bricked r6700

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sat Jun 24, 2017 23:06    Post subject: Reply with quote
Thanks anyway. I suspect it's hopeless.
_________________
I am far from a guru, I'm barely a novice.
Sponsor
sploit
DD-WRT User


Joined: 16 Apr 2016
Posts: 307
Location: California

PostPosted: Sun Jun 25, 2017 8:21    Post subject: Malachi Reply with quote
Malachi,

So you have a R6700 that has been modified with a R7000 CFE?

The only way it shouldn't flash is if the firmware isn't matching the board id.

I had this one router that it appeared the board ID was correct BUT the person who had changed the Board ID manually typed it and instead of using Zeros (00) used O's (The Letter O) and it appeared almost identical. So at the CFE prompt i burned the new ID and it fixed it. I have also seen where they copy and paste from websites and there is a extra "space" character in the board ID that isnt being seen through putty.

Re-burn the board id for R7000 board id

If that doesn't work, re-burn the R6700 board id and load a R6700 ddwrt.


I also got around this problem by stripping the header of a DDWRT Web Upgrade Image. If I remember it was the first 28 bytes. This way there is no header.

_________________
My Karma ran over your Dogma
SploitWorks Custom Flashed Routers
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sun Jun 25, 2017 12:00    Post subject: Reply with quote
No it hasn't been modified with an r7000 cfe. I've seen an r7800 that says r8500 cfe.

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1058907

_________________
I am far from a guru, I'm barely a novice.
sploit
DD-WRT User


Joined: 16 Apr 2016
Posts: 307
Location: California

PostPosted: Sun Jun 25, 2017 16:29    Post subject: Re: Bricked r6700 Reply with quote
Malachi wrote:
Ivegot a bricked r6700 that I've got my serial cable on.
Every firmware I've tried to upload through the cfe gives me a checksum mismatch.
I've tried netgear fw, brainslayer and Kong builds.
The cfe doesn't have a help section. It says it's an r7000 cfe.
I've tried flashing using flash -noheader : nflash1.trx but get the same message.
The board Id is correct.
Any tips?


Then why did you say this?

_________________
My Karma ran over your Dogma
SploitWorks Custom Flashed Routers
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sun Jun 25, 2017 17:42    Post subject: Reply with quote
Just for information purposes that at the top it says r7000 cfe. I would guess that the r7000, r6900 and r6700 all use the same cfe designed for the r7000 but find it strange that on an r7000 if I type help, I get a help menu but on the r6700 there is no help menu. So the cfe though it says r7000 cfe, it is crippled somehow.
_________________
I am far from a guru, I'm barely a novice.
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sun Jun 25, 2017 18:11    Post subject: Reply with quote
This is all I get in the cfe:


Decompressing...done


CFE for Foxconn Router R7000 version: v1.0.22
Build Date: Wed Mar 19 11:14:20 CST 2014
Init Arena
Init Devs.
Boot up from NAND flash...
Bootcode Boot partition size = 524288(0x80000)
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.15.1 (r407936)
et1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.15.1 (r407936)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

Device eth0: hwaddr A0-04-60-8A-65-5D, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Checking crc...Invalid boot block on disk
Device eth0 has been deactivated.
Device eth0: hwaddr A0-04-60-8A-65-5D, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Start TFTP server
Reading ::

_________________
I am far from a guru, I'm barely a novice.
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sun Jun 25, 2017 18:14    Post subject: Reply with quote
This is what i get no matter what firmware I upload:

Decompressing...done


CFE for Foxconn Router R7000 version: v1.0.22
Build Date: Wed Mar 19 11:14:20 CST 2014
Init Arena
Init Devs.
Boot up from NAND flash...
Bootcode Boot partition size = 524288(0x80000)
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.15.1 (r407936)
et1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.15.1 (r407936)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

Device eth0: hwaddr A0-04-60-8A-65-5D, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Checking crc...Invalid boot block on disk
Device eth0 has been deactivated.
Device eth0: hwaddr A0-04-60-8A-65-5D, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Start TFTP server
Reading :: Done. 24756282 bytes read
Checksum mismatch:
Image chksum: 0xE7FB9981
Calc chksum: 0x442D5A85
Reading ::

_________________
I am far from a guru, I'm barely a novice.
sploit
DD-WRT User


Joined: 16 Apr 2016
Posts: 307
Location: California

PostPosted: Sun Jun 25, 2017 18:34    Post subject: Sollution Reply with quote
CFE> setenv BOARD_ID U12H270T00_NETGEAR
CFE> nvram set boardid=U12H270T00_NETGEAR
CFE> tftpd

Upload the r7000 firmware via tftp

_________________
My Karma ran over your Dogma
SploitWorks Custom Flashed Routers
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sun Jun 25, 2017 19:18    Post subject: Reply with quote
Cfe returns invalid command: "setenv"
Command status = -1

_________________
I am far from a guru, I'm barely a novice.
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sun Jun 25, 2017 19:29    Post subject: Reply with quote
CFE> setenv BOARD_ID U12H270T00_NETGEAR
Invalid command: "setenv"

*** command status = -1
CFE> set env BOARD_ID U12H270T00_NETGEAR
Invalid command: "set"

*** command status = -1
CFE> burnboardid
Invalid command: "burnboardid"

*** command status = -1
CFE> ?
Invalid command: "?"

*** command status = -1
CFE> nvram erase
*** command status = 0
CFE> nvram set boardid=U12H270T00_NETGEAR
*** command status = 0
CFE> tftpd
Start TFTP server
Reading :: Done. 27566138 bytes read
Board ID : U12H270T10_NETGEAR
Image ID : U12H270T00_NETGEAR
Reading ::

_________________
I am far from a guru, I'm barely a novice.
deslatha
DD-WRT User


Joined: 12 Jul 2016
Posts: 186

PostPosted: Sun Jun 25, 2017 22:02    Post subject: Reply with quote
so your R7000 has corruption cfe. itself check crc then deactivate eth port. if you can able run firmware to busy box then used usb ttl to backup and fix cfe throught CLI like dd if=/dev/cfe.bin of=/xx/usb/backup.bin and compare bin .( i used winhex to compare bun and tera term to connect usb ttl with computer). if problem on ID board then you can go to cd /bin or cd /sbin. at there you can see alot command from netgear then compare board ID of nvram with CFE bootload and firmware. all these step go through if firmware able to run,if not only CLI cfe able to do. unfortunally all netgear hide all these CLI help.so the only thing used cfe back up from other router.check cpu info to make sure it compatible.set up manual ip of computer with turn off window defender and set internet option LAN=192.168.1.1. set up tftp32.exe only tftpd. check go though use CLI ping. then put the name firmware in tftp32. if on done then you can replace bootload with goodone,but you need edit cfe mac addr with itself router or some firmware will hash mac addr then router unable to communitcation by LAN PORT. On netgear router CLI is flash -noheader 192.168.1.1:cfename.bin flash0.boot where flash0.boot is first partition of nand flash aka bootload cfe, cfename.bin is your cfe you want replace (must put in direction of tftp32.exe fold). 192.168.1.1 is ipaddr of router (on other router is different). all tool like putty or tera term, tftp32,tftp64, CLi of cfe can able search on google. how to do then you can search on youtube. all for research and leraning if you want.
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Sun Jun 25, 2017 22:35    Post subject: Reply with quote
deslatha wrote:
so your R7000 has corruption cfe. itself check crc then deactivate eth port. if you can able run firmware to busy box then used usb ttl to backup and fix cfe throught CLI like dd if=/dev/cfe.bin of=/xx/usb/backup.bin and compare bin .( i used winhex to compare bun and tera term to connect usb ttl with computer). if problem on ID board then you can go to cd /bin or cd /sbin. at there you can see alot command from netgear then compare board ID of nvram with CFE bootload and firmware. all these step go through if firmware able to run,if not only CLI cfe able to do. unfortunally all netgear hide all these CLI help.so the only thing used cfe back up from other router.check cpu info to make sure it compatible.set up manual ip of computer with turn off window defender and set internet option LAN=192.168.1.1. set up tftp32.exe only tftpd. check go though use CLI ping. then put the name firmware in tftp32. if on done then you can replace bootload with goodone,but you need edit cfe mac addr with itself router or some firmware will hash mac addr then router unable to communitcation by LAN PORT. On netgear router CLI is flash -noheader 192.168.1.1:cfename.bin flash0.boot where flash0.boot is first partition of nand flash aka bootload cfe, cfename.bin is your cfe you want replace (must put in direction of tftp32.exe fold). 192.168.1.1 is ipaddr of router (on other router is different). all tool like putty or tera term, tftp32,tftp64, CLi of cfe can able search on google. how to do then you can search on youtube. all for research and leraning if you want.


I already tried that. I flashed an r7000 cfe that I had as a backup. Still the same result.
The lan port still works, I get ttl=100 and am able to upload firmware and cfe.

_________________
I am far from a guru, I'm barely a novice.
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Mon Jun 26, 2017 20:55    Post subject: Reply with quote
I tried flashing an r6700 cfe from a forum user, two different r7000 cfe's and even the xvortex cfe for the r7000 on it.
No matter what firmware I try I get checksum mismatch.
I uploaded the same firmware 3 different times and each time the calculated checksum was different.
something is wrong.

Reading :: Done. 30191674 bytes read
Checksum mismatch:
Image chksum: 0x4526DA8B
Calc chksum: 0x2989ED40
Reading :: Done. 30191674 bytes read
Checksum mismatch:
Image chksum: 0x4526DA8B
Calc chksum: 0x6736ED1E
Reading :: Done. 30191674 bytes read
Checksum mismatch:
Image chksum: 0x4526DA8B
Calc chksum: 0x55D3A533
Reading ::

_________________
I am far from a guru, I'm barely a novice.
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Mon Jun 26, 2017 21:28    Post subject: Reply with quote
Malachi wrote:
I tried flashing an r6700 cfe from a forum user, two different r7000 cfe's and even the xvortex cfe for the r7000 on it.
No matter what firmware I try I get checksum mismatch.
I uploaded the same firmware 3 different times and each time the calculated checksum was different.
something is wrong.

Reading :: Done. 30191674 bytes read
Checksum mismatch:
Image chksum: 0x4526DA8B
Calc chksum: 0x2989ED40
Reading :: Done. 30191674 bytes read
Checksum mismatch:
Image chksum: 0x4526DA8B
Calc chksum: 0x6736ED1E
Reading :: Done. 30191674 bytes read
Checksum mismatch:
Image chksum: 0x4526DA8B
Calc chksum: 0x55D3A533
Reading ::


Typical problem if you did not tell your tftp client to use binary mode:-)

If you are sure you transfer in binary mode, then flash is broken.

P.S. Setting boardid nvram is nonsense, boardid sits in board_data, not nvram.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Mon Jun 26, 2017 21:47    Post subject: Reply with quote
I've used command line tftp and tfpd32 and tftpd from the cfe.
So there is nothing I can do?

_________________
I am far from a guru, I'm barely a novice.
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum