Asus RT-N16 "upgraded" with TRX file - bricked?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
thoraxe
DD-WRT Novice


Joined: 29 Dec 2009
Posts: 40

PostPosted: Tue May 17, 2016 0:22    Post subject: Asus RT-N16 "upgraded" with TRX file - bricked? Reply with quote
So I apparently have made a mistake and, via the DD-WRT upgrade screen, have uploaded the .trx file (ftp://ftp.dd-wrt.com/betas/2016/02-05-2016-r29048/broadcom_K3X/dd-wrt.v24-29048_NEWD-2_K3.x_mega_RT-N16.trx)

Now the router will power up but it basically doesn't appear to do anything.

I'm not sure where to go from here. I guess this is "bricked" but I am pretty sure there is some recovery option. I am wondering if I need to exercise a tftp with a .bin file? Is the .trx the right file to upload?
Sponsor
Malachi
DD-WRT Guru


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

PostPosted: Tue May 17, 2016 0:30    Post subject: Reply with quote
Unplug the power, hold the reset button it while plugging the power back in.
When the power led stars flashing, you can let go of the reset button.
Open up your browser at 192.168.1.1 and upload stock firmware in the cfe mini web browser.

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


Joined: 29 Dec 2009
Posts: 40

PostPosted: Tue May 17, 2016 0:59    Post subject: Reply with quote
Tried the holding the power and reset with a fixed IP. No dice.

"Upload stock firmware in cfe mini web browser" -- I never get a browser page to come up. Router doesn't ping either.
Malachi
DD-WRT Guru


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

PostPosted: Tue May 17, 2016 1:02    Post subject: Reply with quote
Try the Asus firmware restoration tool.
_________________
I am far from a guru, I'm barely a novice.
thoraxe
DD-WRT Novice


Joined: 29 Dec 2009
Posts: 40

PostPosted: Tue May 17, 2016 1:06    Post subject: Reply with quote
Spoke too soon --

Holding restore button this time around seems to at least have gotten me a ping, but nothing comes up at 192.168.1.1 in the browser. It just says "Connecting" and never seems to actually finish.

I'm able to connect via TFTP, though:

Code:

tftp 192.168.1.1
tftp> ?
tftp-hpa 5.2
Commands may be abbreviated.  Commands are:

connect    connect to remote tftp
mode       set file transfer mode
put        send file
get        receive file
quit       exit tftp
verbose    toggle verbose mode
trace      toggle packet tracing
literal    toggle literal mode, ignore ':' in file name
status     show current status
binary     set mode to octet
ascii      set mode to netascii
rexmt      set per-packet transmission timeout
timeout    set total retransmission timeout
?          print help information
help       print help information
tftp> connect
(to) 192.168.1.1
tftp> status
Connected to 192.168.1.1.
Mode: netascii Verbose: off Tracing: off Literal: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
gogubeb
DD-WRT Novice


Joined: 18 Feb 2010
Posts: 45

PostPosted: Tue May 17, 2016 4:25    Post subject: Reply with quote
Hello,
First you have to be with cmd were the firmware code is.
If you have tftp try:
tftp -i 192.168.1.1 PUT firmware_name.trx

wait 2-3 min.
Goodlock.
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11564
Location: Wherever the wind blows- North America

PostPosted: Tue May 17, 2016 13:06    Post subject: Reply with quote
Its REALLY hard to brick one of these...here are my notes on recovery...follow them to the letter and you'll be ok.

redhawk

Code:
To get K3.x working on the RT-N16 unit....use the Asus Recovery Utility for initial flash.
Hold reset button while plugging in unit...wait for power button to blink.  This is recovery mode.

MUST USE build 21530 for this to work....can not be any other build.

Load these files in this order.

1 - dd-wrt.v24-14929_NEWD-2_K2.6_mini_RT-N16.trx (use Recovery Utility)
2 - dd-wrt.v24-21530_NEWD-2_K3.x_big.bin (through dd-wrt GUI) (Select Reset To Defaults)
3 - Update to latest K3.x_big file

Once K3.x is installed:
Do NOT issue "erase nvram" command from CLI...this unit only has 64K of nvram...the CLI thinks it has 128K and the firmware thinks its 256k...this means doing an "erase nvram" removed other parts of the flash chip (likely firmware partition "dd-wrt" or "linux")

Note: build 21530 seems to have wireless issues...it broadcasts the ssid...but you can't connect to it...however, if in repeater bridge mode, you can contact it through the host AP at the router's IP address.

IF the router won't provide a Power LED after updating to the K3.x file...then there is a problem with the flash chip and it needs to be cleared (except the CFE).

mtd erase nvram
mtd erase ddwrt
mtd erase linux

This will clear the flash chip...now start the process again with the K2.6 build in step 1.

_________________
The only stupid question....is the unasked one.
thoraxe
DD-WRT Novice


Joined: 29 Dec 2009
Posts: 40

PostPosted: Tue May 17, 2016 13:26    Post subject: Reply with quote
gogubeb wrote:
Hello,
First you have to be with cmd were the firmware code is.
If you have tftp try:
tftp -i 192.168.1.1 PUT firmware_name.trx

wait 2-3 min.
Goodlock.


gogubeb wrote:
Hello,
First you have to be with cmd were the firmware code is.
If you have tftp try:
tftp -i 192.168.1.1 PUT firmware_name.trx

wait 2-3 min.
Goodlock.


Code:

[thoraxe:~/Downloads] master* 130 ± cp dd-wrt.v24-29048_NEWD-2_K3.x_mega_RT-N16.trx rtn16.trx
[thoraxe:~/Downloads] master* ± tftp 192.168.1.1
tftp> binary
tftp> put rtn16.trx
tftp> quit


Waited 5 minutes. Powered off router (pulled cord) and powered back on.

Router power light is on solid. Brought up wired connection with static IP of 192.168.1.2 and tried to ping .1 and get "destination host unreachable".

Switched to DHCP and no response comes to the DHCP request.

Power cycled the router again, TFTP still is there, but when I try to PUT the trx in this mode I get a timeout.

Will try the firmware restoration utility I guess.
thoraxe
DD-WRT Novice


Joined: 29 Dec 2009
Posts: 40

PostPosted: Tue May 17, 2016 13:57    Post subject: Reply with quote
OK. Asus firmware restoration utility was successful.

Now I need to find the "up to date" docs for how to install DD-WRT on the RT-N16...
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Tue May 17, 2016 14:35    Post subject: Reply with quote
thoraxe wrote:
Now I need to find the "up to date" docs for how to install DD-WRT on the RT-N16...
redhawk0's instructions above are pretty recent. Smile

Also see the 'new build' forum threads, plus those in the RT-N16 wiki Links section for recent build info.

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
thoraxe
DD-WRT Novice


Joined: 29 Dec 2009
Posts: 40

PostPosted: Wed May 18, 2016 1:30    Post subject: Reply with quote
redhawk0 wrote:

Code:
To get K3.x working on the RT-N16 unit....use the Asus Recovery Utility for initial flash.
Hold reset button while plugging in unit...wait for power button to blink.  This is recovery mode.

MUST USE build 21530 for this to work....can not be any other build.

Load these files in this order.

1 - dd-wrt.v24-14929_NEWD-2_K2.6_mini_RT-N16.trx (use Recovery Utility)
2 - dd-wrt.v24-21530_NEWD-2_K3.x_big.bin (through dd-wrt GUI) (Select Reset To Defaults)


This is the point where failure occured. I had used the recovery utility to restore an ASUS firmware previously to get the thing back in order. That worked fine.

I used the recovery utility to install 14929. That worked fine.

I then attempted to use the DD-WRT gui to install 21530 and it LOOKED like it worked, but then the router became unresponsive and I could not ping it on 192.168.1.1. So it seems like that update failed. I tried the entire process again using Firefox instead of Chrome to upload 21530 and had the same result.

If you think this is abnormal or you think there is anything I should do in between flashing 14929 and 21530, please let me know.

I am wondering if this router is actually having hardware issues?
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Wed May 18, 2016 2:05    Post subject: Reply with quote
I have personally never had good luck using the "Reset To Defaults" option when flashing, which is why I used to always GUI reset before and after, but select "Don't Reset" during the flash. That said, I don't have this router.
thoraxe wrote:
I am wondering if this router is actually having hardware issues?
How old is it, and how much has it been in use? I've repaired many older routers with failing capacitors, which had no visible sign of failure.
_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
thoraxe
DD-WRT Novice


Joined: 29 Dec 2009
Posts: 40

PostPosted: Wed May 18, 2016 2:18    Post subject: Reply with quote
jwh7 wrote:
I have personally never had good luck using the "Reset To Defaults" option when flashing, which is why I used to always GUI reset before and after, but select "Don't Reset" during the flash. That said, I don't have this router.
thoraxe wrote:
I am wondering if this router is actually having hardware issues?
How old is it, and how much has it been in use? I've repaired many older routers with failing capacitors, which had no visible sign of failure.


Several years. Sat on a desk all the time in a pretty well conditioned office here at home. Typical home use. I had some lab servers and weirdo VLAN setup configured for a while but that's all been decommissioned for almost a year.

I'll try with "Don't Reset" but it will probably be next week. Heading out of town tomorrow. Thanks for the suggestion(s).

Perhaps that's what "bricked" it the first time!
thoraxe
DD-WRT Novice


Joined: 29 Dec 2009
Posts: 40

PostPosted: Fri May 27, 2016 1:38    Post subject: Reply with quote
I can't seem to get past dd-wrt.v24-14929_NEWD-2_K2.6_mini_RT-N16.trx

Once I try to upload 21530 using the DD-WRT GUI the router always dies. Whether I use "don't reset" or "reset" the result is the same. I upload the firmware with Firefox and it continues all the way through to the "upgrade successful" screen. At that point, the router never seems to come back. I've tried waiting several minutes after the upgrade, and a few other "tricks", to no avail.

The router just never seems to want to take dd-wrt.v24-21530_NEWD-2_K3.x_big.bin

Any thoughts? Should I just abandon it?
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11564
Location: Wherever the wind blows- North America

PostPosted: Fri May 27, 2016 1:49    Post subject: Reply with quote
When the 3.x_big build is loaded...it takes about 10 minutes to configure itself. Its repartitioning itself and this takes time.

Flash it...wait for success...and go have a beer....or two!!!!

See if the additional wait makes a difference.

redhawk

_________________
The only stupid question....is the unasked one.
Goto page 1, 2  Next Display posts from previous:    Page 1 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