text.skipToContent text.skipToNavigation

How to revert from OpenWRT to Stock Firmware

The Linksys WRT1200AC, WRT1900AC, WRT1900ACS and WRT3200ACM routers have the capability to support open source firmware, a firmware for users who are familiar with building and debugging their own software.  These routers use a dual firmware flash layout with two separate firmware partitions that are flashed in an alternating fashion.  To know more about OpenWRT for your device, go to https://openwrt.org/toh/start, search your Linksys model,  and click View/Edit data.
 

User-added image


If you want to revert your router from OpenWRT to its stock firmware, you can follow the steps provided on this page https://openwrt.org/toh/linksys/linksys_wrt1900acs.  You can also do the following:
 
Power Switch method
This is the easiest way to revert your router to its stock firmware.

NOTE:  This only applies if the OpenWRT firmware is not loaded on both firmware partitions.  

 
Step 1:
Power OFF the router with the Power Switch.

Step 2:
Power ON the router and the Power light will start blinking.  As soon as it turns OFF (for about 2 seconds), power OFF the router.

Step 3:
Repeat Step 2 twice.

Step 4:
Turn the power back ON and wait for the Power light to turn solid.  It should now be booted using its alternate firmware partition.

TIP:  The Power Switch method can be used multiple times, allowing you to go back and forth between the two partitions.  One partition will contain the Linksys Production firmware, and the other will contain the OpenWRT firmware.  You can revert from the Linksys firmware to the OpenWRT firmware (and vice versa) by using this method.

SSH method
You can recover the Linksys stock firmware by using the basic SSH in PuTTy (for Windows®) and use the following commands:

 
Determining your router’s current partition
 
/usr/sbin/fw_printenv -n boot_part

Booting your router
 
For Primary Partition: /usr/sbin/fw_setenv boot_part 1 && reboot 
For Secondary Partition:  /usr/sbin/fw_setenv boot_part 2 && reboot

TIP:  Once the Linksys firmware reverts successfully, this method will not work again as the Linksys firmware does not allow SSH port access.  If you want to revert from the Linksys firmware back to the OpenWRT firmware, the Power Switch method above can be used.

Was this support article useful?

Additional Support Questions?

Search Again

CONTACT SUPPORT