WRT3200ACM back to stock

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
Author Message
Sam1789
DD-WRT User


Joined: 14 Oct 2016
Posts: 284

PostPosted: Tue Aug 01, 2017 20:29    Post subject: Reply with quote
Malachi wrote:
I think flashing brainslayer' latest and then flashing the linksys firmware from the gui is easier.

Yes, BS has built into his dd-wrt builds the ability to flash the LinkSys Firmware directly from the dd-wrt GUI. I believe this started with build r32670 & has continued onward thru the latest builds. It makes setting a partition back to LS firmware a lot easier.

hth

_________________
new multi-tier router stack in progress
wrt 3200's for speed & cpu power, NG R6300v2's for WiFi AP's,
wrt 1200v2 for one of my secure subnets.

Cliff Notes- DD-WRT Installation, Upgrade & Basic Setup
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117
Tutorial for flashing "WRT" series
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=287813
Sponsor
128bit
DD-WRT User


Joined: 03 May 2017
Posts: 132
Location: NC, USA

PostPosted: Tue Aug 01, 2017 22:50    Post subject: Reply with quote
Sam1789 wrote:

Yes, BS has built into his dd-wrt builds the ability to flash the LinkSys Firmware directly from the dd-wrt GUI. I believe this started with build r32670 & has continued onward thru the latest builds. It makes setting a partition back to LS firmware a lot easier.

hth


thanks so much for showing the box AND release on your sig. i hope the practice becomes more widespread.

_________________
asus rt-ac86u stock: 3.0.0.4.384_45149
wrt3200acm: r34578 {sunset}
"why nibble when u can take a byte."
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Sat Oct 07, 2017 13:14    Post subject: Reply with quote
There's one in every Forum. Probably a Bot.

Side note: It took me entirely too long to realize that this list has nothing to do with DD-WRT Mr. Green

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
Danowe
DD-WRT Novice


Joined: 06 Oct 2017
Posts: 2

PostPosted: Sun Oct 08, 2017 17:54    Post subject: Reply with quote
Malachi wrote:
I think flashing brainslayer' latest and then flashing the linksys firmware from the gui is easier.


Is there a link to brainslayer's bin file and directions on how to do this. I don't know what a gui is. I should have never put dd wrt on this router WRT3200ac when I don't know what I am doing.
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Sun Oct 08, 2017 18:43    Post subject: Reply with quote
No worries! Sometimes it's best to jump in.

The GUI stands for Graphic User Interface it is the DD-WRT Control Panel.

Read this:

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
Danowe
DD-WRT Novice


Joined: 06 Oct 2017
Posts: 2

PostPosted: Sun Oct 08, 2017 23:00    Post subject: Reply with quote
Laughing took me a wile to fined the update but i found it and now i am back thanks.
sebams
DD-WRT Novice


Joined: 27 Dec 2017
Posts: 2

PostPosted: Wed Dec 27, 2017 23:27    Post subject: Bad Data CRC Reply with quote
elvisimprsntr wrote:
myersw wrote:
mperin wrote:
ATHF wrote:
This is the one I bought, and it worked out fine, https://www.adafruit.com/products/954


Received the cable and it worked great. Thanks for the recommendation!


@mperin
I would be helpful to others if you posted how you recovered your WRT3200ACM.

--bill


Just completed flashing stock firmware via console interface.

1. USB to TTL Console Cable

USB to TTLSerial Adapter: https://www.adafruit.com/products/954
WRT Adapter: http://www.ebay.com/itm/132070173439
Install drivers: http://prolificusa.com/portfolio/pl2303ta-usb-serial-bridge-controller/ # reboot after install
Install CoolTerm: http://freeware.the-meiers.org/ # recommended in Prolific driver install PDF

2. MacOS Start TFTP

su
launchctl load -F /System/Library/LaunchDaemons/tftp.plist
launchctl start com.apple.tftpd

3. Stock Firmware Image

Download firmware: http://www.linksys.com/us/support-article?articleNum=207552
cd /private/tftpboot/
cp /Users/xxxx/Downloads/FW_WRT3200ACM_X.X.X.XXXXX_prod.img rango.img # default firmware filename for WRT3200ACM. Will be different depending on model and version.

4. WRT3200ACM Wired LAN Connection

Connect Port 1 to existing LAN # not WAN port

5. WRT3200ACM USB to Serial Cable Connection

--________--
| 1 2 3 4 5 6 |
-----------

Pin Color Signal
1 Black Ground
2 White RX
4 Green TX

6. CoolTerm

Port: usbserial
Baudrate: 115200
Connect

Power router
Hit space within 3 seconds when prompted

env print #scroll back to find firmwareName variable you need to rename your firmware image file to. The variable name maybe be slightly different for your router.
setenv ipaddr 192.168.69.200 # modify for your LAN
setenv netmask 255.255.255.0
setenv serverip 192.168.69.30 # modify for your TFTP server
ping 192.168.69.30 # confirm LAN
run flash_pri_image # or flash_alt_image or update_both_images
reset

7. MacOS Stop TFTP

launchctl unload -F /System/Library/LaunchDaemons/tftp.plist

8. Reference Material
YouTube: https://www.youtube.com/watch?v=mN7u79EupGQ
TFTP: http://www.barryodonovan.com/2014/11/08/os-x-built-in-tftp-server
GitHub: https://github.com/Chadster766/McWRT/wiki/Flashing-Firmware-using-a-USB-to-TTL-Cable
U-Boot: http://www.denx.de/wiki/view/DULG/UBoot


I followed all instructions, and I can see the transfer happening etc. No issues. Then I reboot my WRT3200ACM and get this:
Code:

NAND read: device 0 offset 0x5a00000, size 0x600000
 6291456 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linksys WRT3200 Router
   Created:      2016-10-18   2:10:32 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4640371 Bytes = 4.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!


Any ideas?? Detailed boot in attachment.
raph321
DD-WRT Novice


Joined: 20 Jan 2014
Posts: 29

PostPosted: Mon Jan 01, 2018 17:08    Post subject: Reply with quote
I did it!!! I managed to stitch together info from different posts to install the stock firmware back on WRT3200ACM ***using the command line only***.

The USB serial just wasn't working for me for whatever reason, so I put the following steps together.

If your router is connected to the internet, you can just download the firmware with wget straight to the router. Otherwise, you will have to use WinSCP to transfer files over (that's what I did).

***** --> Be super careful with the "mtd" command! You can royally screw things up if you type the wrong thing! <-- *****

So, DD-WRT is on both partitions of your WRT3200ACM? No problem. These are the steps I used:

1. Telnet/SSH into the router
2. Download firmware
3. Set boot partion to 1
4. Erase first partition (not sure if this step is needed)
5. Clean up variables from DD-WRT (not sure if this step is needed)
6. Write new firmware
7. Reboot

I used this commands:
Code:

wget http://downloads.linksys.com/downloads/firmware/FW_WRT3200ACM_1.0.6.181063_prod.img
ubootenv set boot_part 1
erase linux
erase nvram
mtd write FW_WRT3200ACM_1.0.6.181063_prod.img linux
reboot


You can also use the -r option for mtd to reboot automatically, but I wanted to see the results. It does display some kind of error about not being able to unlock linux, but it flashes anyway. Once rebooted, you are back on stock firmware. I believe you can flash the same firmware a second time in the GUI to put it in the second partition as well, just in case.

Happy new year!
sebams
DD-WRT Novice


Joined: 27 Dec 2017
Posts: 2

PostPosted: Thu Jan 04, 2018 12:01    Post subject: Solved! WRT3200ACM back to stock. Reply with quote
Ok, here is the problem I had: I erased somehow both partitions in my WRT3200ACM. So I couldn't access anything but the U-boot of my router.

Here is how I proceeded to load back the stock firmware. I used Ubuntu as it was much easier to setup everything (Windows gave me headaches with the TTL-USB adapter). You can easily use Ubuntu by creating a bootable USB without having to install it (see https://www.linuxliveusb.com/).

1. Order a TTL-USB cable: for this, watch the video posted in this forum: https://www.youtube.com/watch?v=mN7u79EupGQ&t=4s

2. Prepare your PC (Ubuntu):
a. Install a TFTP server: I used https://askubuntu.com/questions/201505/how-do-i-install-and-run-a-tftp-server
b. Install a software to communicate with the router via TTL: https://elinux.org/Communicate_with_hardware_using_USB_cable_for_Ubuntu or http://www.programering.com/a/MDN5kzMwATI.html
c. Adjust the IP address and subnet mask of your PC (ex: 192.168.1.200 / 255.255.255.0)
d. Download the stock firmware of your router (from Linksys support website) and place it in the folder of your TFTP server. Keep the name in mind or let the window open. We'll call it NAMEOFTHEDOWNLOADEDFILE.IMG but this should be replaced by the name of your file (case sensitive I believe).

3. Connect everything (router OFF):
a. Router TTL to USB > PC: for this, have a look at the Youtube video
b. Router LAN (lan 1 for example) to PC LAN (network cable that came with your router)

4. Start kermit or GTKterm on your PC and switch on your router

5. You should see the booting of your router happening. When prompted, press a key to interrupt booting. You should then see "Marvell>>". Here is what you should type:
Code:

setenv mtdparts 'mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),1920K@8320K(sysdiag),80m@10m(kernel),74m@16m(rootfs),80m@90m(alt_kernel),74m@96m(alt_rootfs),160m@10m(ubifs),-@170m(syscfg)'
setenv ipaddr 192.168.1.126 # change the IP address of the router (only within U-boot)
setenv netmask 255.255.255.0 # change the subnet mask to match the one of your PC
setenv serverip 192.168.1.200 # change ip address of TFTP server
setenv firmwareName NAMEOFTHEDOWNLOADEDFILE.IMG # adjust the name of the file to look for in the TFTP server
saveenv # save settings
ping 192.168.1.200 # to check that the router can communicate with your TFTP server
run update_both_images
reset

Congratulations, you're back to stock firmware.
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 983
Location: South of Heaven, USA

PostPosted: Tue Jan 23, 2018 7:52    Post subject: Reply with quote
This Bull $hit needs to stop! This is a help and support forum, not a billboard.
_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
moveweight
DD-WRT Novice


Joined: 15 Oct 2018
Posts: 3

PostPosted: Mon Oct 15, 2018 15:24    Post subject: Reply with quote
sorry im a noob im trying to understand all of this and im so confused. to revert my
WRT3200ACM
back to the stock linksys firmware i need this cable? I am sorry I did read everything it just does not make sense to me if anyone could simplify for me the easiest way to get the stock linksys firmware on my router that would be amazing.

it currently has
Firmware: DD-WRT v3.0-r33525 std (10/17/17
tcx32fr
DD-WRT Novice


Joined: 02 Oct 2018
Posts: 12

PostPosted: Wed Oct 17, 2018 9:03    Post subject: Reply with quote
I think you should look to this, if you have flashed only once the firmware, you should especially try to just swap the two partitions to get back to the opposite partition where the original firmware is still stocked- see
"
Quote:
here are two simple ways of switching partitions:
1. Telnet or SSH Command to learn what partition is currently in use
WRT1200, WRT1900AC, WRT1900ACS & WRT3200ACM: ubootenv get boot_part
*The last line will be a # 1 or 2. This is the partition currently in use.

Telnet or SSH Command to switch to opposite / inactive partition
WRT1200, WRT1900AC, WRT1900ACS & WRT3200ACM: ubootenv set boot_part [1 or 2]*
*Use the number not in use.


https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=311117

Just open Telnet on Windows, type "open ip adress" where ip adress = the IP adress of your router on the LAN, should be like this or similar: 192.168.1.1, then "root", then the router password and then you are able to launch the partition switch. Then "exit" and the router should boot on opposite firmware ie Stock firmware
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8 Display posts from previous:    Page 8 of 8
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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 cannot attach files in this forum
You cannot download files in this forum