Going from OpenWRT to DD-WRT

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
nl393a
DD-WRT Novice


Joined: 08 Dec 2012
Posts: 40

PostPosted: Sun Aug 23, 2020 21:27    Post subject: Going from OpenWRT to DD-WRT Reply with quote
Hi all,

My router (Linksy WRT1900AC-v1) currently has OpenWRT (19.7) on it. I'd like to try DD-WRT. I would have flashed the Linksys factory firmware first, then flash DD-WRT, but the file (Linksys 1.1.10.18766) is corrupted. Is there a workaround to this?

Thank you.
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Aug 23, 2020 22:32    Post subject: Reply with quote
Do not directly flash from OpenWrt to DD-WRT, or you will dig yourself a deeper hole. Flash factory stock Linksys firmware first.

https://downloads.linksys.com/downloads/firmware/FW_WRT1900AC_1.1.10.187766_prod.img

https://www.belkin.com/support/dl/FW_WRT1900AC_1.1.10.167514_prod.img

https://www.belkin.com/support/dl/FW_WRT1900AC_1.1.9.166760_prod.img

https://downloads.linksys.com/downloads/firmware/1224701051259/FW_WRT1900AC_1.1.8.164461_prod.img

https://downloads.linksys.com/downloads/firmware/1224701051259/FW_WRT1900AC_1.1.8.161917_prod.img

After a successful flash and boot into Linksys firmware, hold the reset button for 10 seconds then allow it to reboot by itself.
nl393a
DD-WRT Novice


Joined: 08 Dec 2012
Posts: 40

PostPosted: Sun Aug 23, 2020 23:00    Post subject: Reply with quote
Hi Blkt,

Thank you for the quick response. I have tried to flash the Linksys factory firmware, but the file seems to be corrupted and OpenWRT would not accept the file.
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Aug 23, 2020 23:04    Post subject: Reply with quote
Have you flashed OpenWrt more than once? If not, the factory stock Linksys firmware may already exist on the other partition.

https://www.linksys.com/us/support-article?articleNum=316324

Otherwise...

https://openwrt.org/toh/linksys/linksys_wrt1900ac#return_to_stock_firmware
nl393a
DD-WRT Novice


Joined: 08 Dec 2012
Posts: 40

PostPosted: Sun Aug 23, 2020 23:42    Post subject: Reply with quote
Bad news - I jumped the gun and flashed DD-WRT on OpenWRT. Now the "Internet" led is magenta and the router says: "Samba Disable" Sad

Now it no longer responds to any keys.
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Aug 23, 2020 23:57    Post subject: Reply with quote
Congratulations! You now need a USB-to-TTL Serial 3.3V adapter and a Phillips-head screwdriver to remove the rear two screws!
https://www.amazon.com/dp/B07RBKCW3S | https://www.ebay.com/itm/124251758238
https://www.amazon.com/dp/B00HFZK652 | https://www.ebay.com/itm/312554766981

https://www.ftdichip.com/Drivers/D2XX.htm | Installation Guides | Windows x64: driver zip, Release Notes, setup exe alternative
Mac OS X: D2XX1.4.16.dmg, ReadMe, Video Install Guide

https://openwrt.org/toh/linksys/wrt_ac_series#serial_flash
https://the.earth.li/~sgtatham/putty/latest/w32/putty.zip | https://bitbucket.org/phjounin/tftpd64/downloads/tftpd32.464.zip
Otherwise, see the Linksys artice linked in my previous post as you may still be able to switch partitions if both are not corrupted.
nl393a
DD-WRT Novice


Joined: 08 Dec 2012
Posts: 40

PostPosted: Mon Aug 24, 2020 0:32    Post subject: Reply with quote
Lesson learned! I did switch partitions and it is still good. Thank you Blkt for following up on this issue.
kernel-panic69
DD-WRT Guru


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

PostPosted: Mon Aug 24, 2020 1:54    Post subject: Reply with quote
99% of the problems I've seen on here are because people do not have any patience and don't read enough. Thankfully, it's fairly easy to salvage one of these...
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
nl393a
DD-WRT Novice


Joined: 08 Dec 2012
Posts: 40

PostPosted: Mon Aug 24, 2020 23:41    Post subject: Reply with quote
Since I only have one good partition left on my router, I just wanted to make sure I don't screw this up. I uploaded FW_WRT1900AC_1.1.8.161917_prod, and the following screen shows up. Do I hit "Continue" to flash the firmware? [/img]
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Tue Aug 25, 2020 0:35    Post subject: Reply with quote
Lesson not learned, you didn't read the OpenWrt link I gave you in a previous post (same one with the Linksys article).

"Due to missing/incompatible metadata in OEM images, sysupgrade must be forced via the command line"

This information may or may not be outdated, but I will assume it is correct. It then goes on to provide the CLI instructions.

https://openwrt.org/toh/linksys/linksys_wrt1900ac#return_to_stock_firmware

If flashing factory stock Linksys FW_WRT1900AC*.img files from the OpenWRT GUI is now possible, as you are attempting to do, you would uncheck the first box to not keep settings and check the second box to force upgrade. That's a big if.
nl393a
DD-WRT Novice


Joined: 08 Dec 2012
Posts: 40

PostPosted: Tue Aug 25, 2020 11:48    Post subject: Reply with quote
Whew! Thank you Blkt for following up on this. I will try CLI tonight after work. Shocked
netubha
DD-WRT Novice


Joined: 07 Aug 2017
Posts: 1

PostPosted: Sun Aug 30, 2020 21:54    Post subject: Specific steps Reply with quote
nl393a wrote:
Whew! Thank you Blkt for following up on this. I will try CLI tonight after work. Shocked


Reference [READ THIS]: https://forum.openwrt.org/t/how-to-go-back-to-stock-firmware-on-wrt1900acs-v2/1643/15

winscp (or any other scp tool) to transfer the stock .img file to the router /tmp folder.
login to router via ssh (putty tool is your friend) - default Openwrt login root password empty
run command from # prompt
Code:
fw_printenv boot_part
(to make note of your current partition - you are about to flash stock image on other partition)
Code:
sysupgrade -n -F /tmp/FW_WRT1900AC_1.1.10.187766_prod.img

(make sure your are using the correct name of your image file)

There is a hidden page in the stock FW that allows you to see what partition you are on : http://myrouter.local/sysinfo.cgi
From the Linksys UI you can switch to the other partition. Login to the Linksys go to troubleshooting-->diagnostics and select restore previous firmware. This will switch the wrt to the other partition.
http://myrouter.localor http://192.168.1.1/ default: linksys - admin/admin
you can use default admin password to avoid smart config setup wizard.
nl393a
DD-WRT Novice


Joined: 08 Dec 2012
Posts: 40

PostPosted: Mon Aug 31, 2020 13:47    Post subject: Reply with quote
Thank you netubha. I will give it a try. Since I only have one good partition (ordering USB-TTL serial cable), I won't have to worry about partitions (for now).
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT 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