Fail to Flash DDWRT on Brand New R7000

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
whokilledbatman
DD-WRT Novice


Joined: 08 Jan 2019
Posts: 1

PostPosted: Tue Jan 08, 2019 7:14    Post subject: Fail to Flash DDWRT on Brand New R7000 Reply with quote
Bought a brand new R7000 netgear but unable to flash DDWRT in the web GUI at all. I get an error message that the firmware I am attempting to use is unsupported. I'm using the latest kong .chk for my model (R7000). After searching google, it appears the new versions of this router have 'security' built in that do not allow flashing to older firmwares or custom firmwares so I'm in a bit of a bind.

Is this a known issue in the community? Can somebody please confirm this? Is there a work around?

Any comments are appreciated.

Thank you
Sponsor
portsup
DD-WRT User


Joined: 20 Oct 2018
Posts: 210

PostPosted: Thu Jan 10, 2019 6:28    Post subject: Reply with quote
Lovely Netgear, nice douchery. Return it for a refund I suggest.
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6407
Location: UK, London, just across the river..

PostPosted: Thu Jan 10, 2019 8:19    Post subject: Reply with quote
you can start recovery tftpd by pressing reset button, then power on, count till 15 and tftpd is started and you can tftp a new firmware to the router

you will need tftp32 http://tftpd32.jounin.net/tftpd32_download.html

if this doesn't help...than return it...serial is too challenging for beginners unless you r not...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Thu Jan 10, 2019 10:18    Post subject: Reply with quote
Known issue, you have to downgrade the Netgear firmware to an older version, but I don't have specifics handy.
Kloze
DD-WRT User


Joined: 11 Apr 2017
Posts: 75

PostPosted: Wed Jan 16, 2019 18:23    Post subject: Reply with quote
man I typed out a detailed message on how to get this done and the forum didn't take it and when I hit back the whole message was not there!. Ok long story short, I had a client that had their ddwrt R7000 unit go bad. We sent it to RMA and the new unit had the -2 error for invalid firmware. I searched for hours on a step by step and only got parts of the entire picture. I didn't want to do the serial cable method as I wasn't sure if the processes are up to date and exactly which cable to buy. I should buy one since I do so many of these routers but knock on wood never had one go bad like this. If someone can point to the exact cable and process for a serial cable flash that would be awesome. Ok this will be a 2 part message and I don't want it to get cut off. This process = No Serial Cable needed for a straight from the factory unit with the locked firmware problem. I am sure it will be similar for other netgear routers
Kloze
DD-WRT User


Joined: 11 Apr 2017
Posts: 75

PostPosted: Wed Jan 16, 2019 18:31    Post subject: Reply with quote
- Process I used to get ddwrt on a locked firmware R7000 using Win10 -

R7000 is powered off and computer is plugged in via network cable into a LAN Port. Assign the NIC with a static ip i.e 192.168.1.10

1) download nmrpflash and initial build of DDWRT
2) download and install WinPcap (no longer being developed)
3) Open a cmd prompt (1) (ADMIN RIGHTS) and go to the folder that has nmrpflash and ddwrt.
4) Open another cmd prompt (2) and start pinging the router
5) go back to cmd (1) and run nmrpflash -L and locate the network interface for your ethernet card plugged into the router. It will be called "net#"
Kloze
DD-WRT User


Joined: 11 Apr 2017
Posts: 75

PostPosted: Wed Jan 16, 2019 18:39    Post subject: Reply with quote
6) Power on the router and navigate back to cmd (2) where it has been pinging the router.

7) go back to cmd (1) and wait till you see cmd (2) with a TTL=100 (very small window) issue the correct nmrpflash command using the net# for your nic. It should look something like "nmrpflash -v -i net# -f dd-wrt.K3_R7000.chk"

Cool If you miss the window then after 60 secs it will abort. Then you have to power off the router and start again. Hitting the TTL=100 is the most important part of this otherwise it wont work. You will see status messages if it starts flashing and then it ends with a please reboot unit message. Then you are done.

I hope this helps people that are having this issue with any netgear router that has the locked firmware issue. I am sure other routers will follow a similar process. Thanks
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12834
Location: Netherlands

PostPosted: Wed Jan 16, 2019 18:53    Post subject: Reply with quote
@Klose attached my notes for Serial recovery with the right cable

In my signature the link to the R6400 install guide, in the second posting the debricking guide with a chapter on NMRPFlash Smile



DDWRT Serial Recovery R6400 Public.doc
 Description:

Download
 Filename:  DDWRT Serial Recovery R6400 Public.doc
 Filesize:  5.18 MB
 Downloaded:  553 Time(s)


_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Kloze
DD-WRT User


Joined: 11 Apr 2017
Posts: 75

PostPosted: Wed Jan 16, 2019 19:52    Post subject: Reply with quote
egc wrote:
@Klose attached my notes for Serial recovery with the right cable

In my signature the link to the R6400 install guide, in the second posting the debricking guide with a chapter on NMRPFlash Smile


EGC I did see that guide for unbricking. I totally forgot that it included the cable specs and is much appreciated for the reminder. The reason I wrote this post was because he titled it the R7000 and I couldn't find on google a step by step for this router specifically. So I thought to post my thoughts and happenings on the subject since I installed on this stupid new firmware locked crap yesterday and it was still fresh in the mind. I saw that your steps and my steps were pretty similar so at least I wasn't too off base. Thanks for the response.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12834
Location: Netherlands

PostPosted: Wed Jan 16, 2019 20:08    Post subject: Reply with quote
It is very good you pointed to NMRPflash. It is a usefully tool Very Happy
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
hurleyp
DD-WRT User


Joined: 10 Sep 2009
Posts: 425
Location: Ottawa, Ontario, Canada

PostPosted: Wed Jan 16, 2019 21:06    Post subject: Reply with quote
This is the first I've heard of NMRPflash. I'll have to bookmark that just in case. Cool
_________________
Netgear R7000: v3.0-r54248 std (11/29/23)
EdgeRouter-X: EdgeOS v2.0.9-hotfix 7
Kloze
DD-WRT User


Joined: 11 Apr 2017
Posts: 75

PostPosted: Thu Jan 17, 2019 1:46    Post subject: Reply with quote
hurleyp wrote:
This is the first I've heard of NMRPflash. I'll have to bookmark that just in case. Cool


This was my problem. Even though Egc must have put hours of effort into the guide, it didn't really come up in Google when I was searching how to beat this issue. Netgear's excuse for doing this lock was to prevent users from accidentally installing bad or earlier firmwares. The funny thing was when the R7000 was fairly new, they advertised that the R7000 was open source like DDWRT friendly. And now years later they reneg and do stupid things like this wasting everyone's time. I highly doubt the average home user would use anything else beside the UPDATE button in the genie software to update their firmwares. Most users I talked to have never heard of open source firmwares and they don't get the point of them. Sad but alas there is still a way to get open source firmwares on the unit without the USB cable.
bp123
DD-WRT Novice


Joined: 25 Jan 2015
Posts: 3

PostPosted: Mon May 27, 2019 0:55    Post subject: Reply with quote
Okay I decided since this thread helped me a good bit I would bother to look up my old login information and add to the thread to help the next guy along;

I did succeed in getting Kong DD-WRT on my R7000; this is the process I followed:





I'm going to skip over some of the basic command line functions since they're already covered in the above as well as the YouTube video.


Helpful links

YouTube Video that I used in conjunction with this thread: https://www.youtube.com/watch?v=DUZouixjko0
NMRPFlash Download: https://github.com/jclehner/nmrpflash/releases
WinPCap Download(required to run NMRP): https://www.winpcap.org/install/
I also used Merlin DD-WRT & Advanced Tomato from the "Whole folder" link in the youtube video. Looks like he might have separate links for them as well.


I did not find it necessary to downgrade versions as mentioned in the youtube video but it was helpful to see the process and hear the discussion about it.

I did not time the NMRPflash perfectly as mentioned in this thread but I did find pinging the router helpful in determining connection and watching how things were progressing. (ping 192.168.1.1 -t was helpful to endlessly ping until stopped[Ctrl+C to break the ping]). I used the "brute force" multiple attempt approach shown in the YouTube video as opposed to timing it.

So my first successful flash was Merlin. It took a few tries with the command line but if you let it fail a few times and hit the up arrow and enter again eventually it sticks and uploads.

This is a copy/paste of the result from the Merlin cmd upload:
Adding 10.164.183.253 to interface net3.
Advertising NMRP server on net3 ... \
Received TFTP_UL_REQ while waiting for CONF_REQ!
Received upload request without filename.
Using remote filename 'R7000_380.69_2.chk'.
Uploading R7000_380.69_2.chk ... OK
Waiting for remote to respond.
Received keep-alive request.
..
..
..
Received keep-alive request.
Remote finished. Closing connection.
Reboot your device now.




From Merlin I attempted to go directly to Kong but it rejected the .chk files I had. I messed with this a bit, went back to trying to NMRP flash different versions and I eventually flashed/uploaded the Tomato Advanced .trx directly from the Merlin web interface.


At this point I tried to use Tomato to upload the .chk files which failed again and I googled and learned that if I want to go from tomato to DD-WRT I need the .bin files for Kong DD-WRT. So I downloaded the .bin version of Kong DD-WRT and uploaded those through Tomato Advanced. Worked flawlessly.

I can't say for certain but its possible I could have skipped a step or two in this process had I known about the .bin files to begin with. But I'm not claiming to be an expert and at this point my router has the version of DD-WRT I wanted and I'm leaving well enough alone.

Hope this helps someone else!
Lajkasir
DD-WRT Novice


Joined: 01 Mar 2019
Posts: 32

PostPosted: Thu Jun 20, 2019 10:35    Post subject: Reply with quote
bp123 wrote:
Okay I decided since this thread helped me a good bit I would bother to look up my old login information and add to the thread to help the next guy along;

I did succeed in getting Kong DD-WRT on my R7000; this is the process I followed:





I'm going to skip over some of the basic command line functions since they're already covered in the above as well as the YouTube video.


Helpful links

YouTube Video that I used in conjunction with this thread: https://www.youtube.com/watch?v=DUZouixjko0
NMRPFlash Download: https://github.com/jclehner/nmrpflash/releases
WinPCap Download(required to run NMRP): https://www.winpcap.org/install/
I also used Merlin DD-WRT & Advanced Tomato from the "Whole folder" link in the youtube video. Looks like he might have separate links for them as well.


I did not find it necessary to downgrade versions as mentioned in the youtube video but it was helpful to see the process and hear the discussion about it.

I did not time the NMRPflash perfectly as mentioned in this thread but I did find pinging the router helpful in determining connection and watching how things were progressing. (ping 192.168.1.1 -t was helpful to endlessly ping until stopped[Ctrl+C to break the ping]). I used the "brute force" multiple attempt approach shown in the YouTube video as opposed to timing it.

So my first successful flash was Merlin. It took a few tries with the command line but if you let it fail a few times and hit the up arrow and enter again eventually it sticks and uploads.

This is a copy/paste of the result from the Merlin cmd upload:
Adding 10.164.183.253 to interface net3.
Advertising NMRP server on net3 ... \
Received TFTP_UL_REQ while waiting for CONF_REQ!
Received upload request without filename.
Using remote filename 'R7000_380.69_2.chk'.
Uploading R7000_380.69_2.chk ... OK
Waiting for remote to respond.
Received keep-alive request.
..
..
..
Received keep-alive request.
Remote finished. Closing connection.
Reboot your device now.




From Merlin I attempted to go directly to Kong but it rejected the .chk files I had. I messed with this a bit, went back to trying to NMRP flash different versions and I eventually flashed/uploaded the Tomato Advanced .trx directly from the Merlin web interface.


At this point I tried to use Tomato to upload the .chk files which failed again and I googled and learned that if I want to go from tomato to DD-WRT I need the .bin files for Kong DD-WRT. So I downloaded the .bin version of Kong DD-WRT and uploaded those through Tomato Advanced. Worked flawlessly.

I can't say for certain but its possible I could have skipped a step or two in this process had I known about the .bin files to begin with. But I'm not claiming to be an expert and at this point my router has the version of DD-WRT I wanted and I'm leaving well enough alone.

Hope this helps someone else!


What ".bin" file from Kong did you use when you flashed from Tomato?
Display posts from previous:    Page 1 of 1
Post new topic   This topic is locked: you cannot edit posts or make replies.    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