Unable to go back from Tomato to Stock firmware on E3000

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


Joined: 09 Sep 2012
Posts: 2

PostPosted: Sun Sep 09, 2012 5:02    Post subject: Unable to go back from Tomato to Stock firmware on E3000 Reply with quote
Have TomatoUSB firmware on Linksys E3000. Trying to go back to Stock Linksys firmware through the Tomato Admin UI but getting the error "file contains invalid header" each single time.. tried with later version of Tomato and same error

Came across this thread where some magic was done by changing Stock firmware headers to make Tomato happy. Can someone please throw some light on what changes are required..

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=661990
Sponsor
Malitiacurt
DD-WRT User


Joined: 16 Aug 2012
Posts: 190

PostPosted: Sun Sep 09, 2012 5:29    Post subject: Reply with quote
I was under the impression TomatoUSB was no longer updated since Teddybear disappeared and hasn't given the admin access to anyone. I know two versions of that integrated TomatoUSB and have been actively maintained: Toastman's and Shibbys. I loaded Toastman's and it let me go back to stock on both the E4200 and M10 (Different versions of Tomato of course, since one needs nv60k).

Forum where alot of the Tomato users + most Tomato devs post.
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Sun Sep 09, 2012 13:21    Post subject: Re: Unable to go back from Tomato to Stock firmware on E3000 Reply with quote
mauj604 wrote:
Have TomatoUSB firmware on Linksys E3000. Trying to go back to Stock Linksys firmware through the Tomato Admin UI but getting the error "file contains invalid header" each single time.. tried with later version of Tomato and same error

Came across this thread where some magic was done by changing Stock firmware headers to make Tomato happy. Can someone please throw some light on what changes are required..

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

If it is like the other routers with tomato..

to go back to stock firmware:

strip out the 1st 32 bytes of the header so it starts with "HDR0".. The "H" must be the 1st byte.

Rename the bin to a trx.

that should do it. now flash via the tomato upgrade gui. remember to reset the device before & after flashing. Give it plenty of time to boot after flashing.

_________________
[Moderator Deleted] Shocked
mauj604
DD-WRT Novice


Joined: 09 Sep 2012
Posts: 2

PostPosted: Mon Sep 10, 2012 3:51    Post subject: Reply with quote
Thanks much! Stripped the 1st 32 bytes, renamed to .trx and it worked like a charm!!
blueangelzx
DD-WRT Novice


Joined: 08 Jul 2007
Posts: 32

PostPosted: Sat Dec 29, 2012 5:23    Post subject: Reply with quote
Hi i am almost on the same situation i was using Tomato 1.28.0501 MIPSR2T Toastman-RT-N K26 USB VLAN-VPN-NOCAT, before installed i used dd-wrt.v24-18777_NEWD-2_K2.6_mini-e4200 and converted successfully to 60NVRAM after that. Now i tried to upgrade to ddwrt dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k, my problem tomato says File contains an invalid header, what can i do? i don't want to brick it i was lucky the router stay at the moment with tomato.. but i want to change it so bad cause i need it as wireless repeater.

Thanks in advance!
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Sat Dec 29, 2012 12:39    Post subject: Reply with quote
blueangelzx wrote:
Hi i am almost on the same situation i was using Tomato 1.28.0501 MIPSR2T Toastman-RT-N K26 USB VLAN-VPN-NOCAT, before installed i used dd-wrt.v24-18777_NEWD-2_K2.6_mini-e4200 and converted successfully to 60NVRAM after that. Now i tried to upgrade to ddwrt dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k, my problem tomato says File contains an invalid header, what can i do? i don't want to brick it i was lucky the router stay at the moment with tomato.. but i want to change it so bad cause i need it as wireless repeater.

Thanks in advance!


strip the first 32bytes from the stock firmware bin using a hex editor, where it looks as barry instructed above.

_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
blueangelzx
DD-WRT Novice


Joined: 08 Jul 2007
Posts: 32

PostPosted: Sat Dec 29, 2012 15:27    Post subject: Reply with quote
Hi buddee thank you for your quick follow, it means that i have to strip ddwrt dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k first ad make an upgrade from tomato? or i have to strip the OEM firmware and after that ddwrt dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k on the router?

Sorry i am so new on this kind of problem Sad
blueangelzx
DD-WRT Novice


Joined: 08 Jul 2007
Posts: 32

PostPosted: Sat Dec 29, 2012 22:53    Post subject: Reply with quote
I strip dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k.trx same results invalid file header.. don't know what to do.. any help will be appreciated.

Thanks!

http://ctrlv.in/148484
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Sat Dec 29, 2012 23:35    Post subject: Reply with quote
blueangelzx wrote:
I strip dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k.trx same results invalid file header.. don't know what to do.. any help will be appreciated.

Thanks!

http://ctrlv.in/148484


Use this first:

ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_mini-e3000.bin

Then after you use that ^ and 30-30-30 reset, use this:

ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k.bin

Also for the record, your situation is different than the OP, had you started a new post regarding your specific problem, this would have been solved already because for what you are trying to do, you need not edit any files for. Smile

_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
blueangelzx
DD-WRT Novice


Joined: 08 Jul 2007
Posts: 32

PostPosted: Sat Dec 29, 2012 23:49    Post subject: Reply with quote
Yes you have the reason i just checked this subject, mine is kind of different, my router is a Linksys E4200 (already converted to 60k NVRAM) so do i need to use the files that you advised? would you mind move this request to a new topic?

Thank you fr all your help and patience!

ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_mini-e3000.bin


ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k.bin
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Sat Dec 29, 2012 23:52    Post subject: Reply with quote
blueangelzx wrote:
Yes you have the reason i just checked this subject, mine is kind of different, my router is a Linksys E4200 (already converted to 60k NVRAM) so do i need to use the files that you advised? would you mind move this request to a new topic?

Thank you fr all your help and patience!

ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_mini-e3000.bin


ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k.bin


No, we're already here now, and no, dont use those files, instead use this for the E4200:

ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_mini-e4200.bin

then use this:

ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_big-nv60k.bin

_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
blueangelzx
DD-WRT Novice


Joined: 08 Jul 2007
Posts: 32

PostPosted: Sun Dec 30, 2012 0:35    Post subject: Reply with quote
Man you rule! first mini 30-30-30 then big.

a big thank you!
ArDark
DD-WRT Novice


Joined: 03 Mar 2013
Posts: 2

PostPosted: Mon Mar 04, 2013 12:07    Post subject: Reply with quote
Thanks Barry! at least you announce what need to do with tomato firmware, to restore default firmware! I spend 2 hours and get brain pain trying restore original firmware...
Thanks again and I think this information should be in faq at main page.
mbryan718
DD-WRT Novice


Joined: 21 May 2009
Posts: 29
Location: Texas

PostPosted: Tue Feb 18, 2014 1:50    Post subject: Re: Unable to go back from Tomato to Stock firmware on E3000 Reply with quote
barryware wrote:

If it is like the other routers with tomato..

to go back to stock firmware:

strip out the 1st 32 bytes of the header so it starts with "HDR0".. The "H" must be the 1st byte.

Rename the bin to a trx.

that should do it. now flash via the tomato upgrade gui. remember to reset the device before & after flashing. Give it plenty of time to boot after flashing.


Thanks Barryware, this worked perfect on my E4200 -- reverting from Shibby 1.28
coccoinomane
DD-WRT Novice


Joined: 02 Sep 2016
Posts: 7

PostPosted: Fri Sep 02, 2016 18:35    Post subject: Re: Unable to go back from Tomato to Stock firmware on E3000 Reply with quote
barryware wrote:

If it is like the other routers with tomato..

to go back to stock firmware:

strip out the 1st 32 bytes of the header so it starts with "HDR0".. The "H" must be the 1st byte.

Rename the bin to a trx.

that should do it. now flash via the tomato upgrade gui. remember to reset the device before & after flashing. Give it plenty of time to boot after flashing.


After four years... this is still working on E2500v3! Thank you barryware Smile

I reverted from Shibby's [tomato-E2500-NVRAM60K-1.28.RT-N5x-MIPSR2-121-Max] to stock firmware successfully.

I had only one glitch: flashing the stock firmware (which you can find on Linksys website) took about ten minutes, and it ended with a timeout from the browser. No panic! Just access the router as usual at 192.168.1.1 Smile
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