Posted: Sun Dec 05, 2021 11:59 Post subject: Installing ddwrt on ASUS RT-AC5300
Hello,
When i try to install dd-wrt on my RT-AC5300 i get the following message
Quote:
Invalid Firmware Upload
To comply with regulatory amendments, we have modified our certification rule to ensure better firmware quality. This version is not compatible with all previously released ASUS firmware and uncertified third party firmware. Please check our official websites for the certified firmware.
Is there a way to bypass this certification rule?
Thanks!
Johan _________________ Greetz,
Johan
==============
Netgear R7000
Firmware VersionDD-WRT v3.0-r47720 (12/02/21)
Kernel VersionLinux 4.4.293 #4519 SMP Thu Dec 2 04:55:15 +07 2021 armv7l
==============
Asus RT-AC5300
Joined: 08 May 2018 Posts: 14246 Location: Texas, USA
Posted: Sun Dec 05, 2021 12:34 Post subject:
You have to use the restoration utility or mini CFE webserver. You are running too new a version of stock firmware to flash 3rd party firmware. You might be able to downgrade to an older version via recovery then flash it. _________________ "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
Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Sun Dec 05, 2021 14:22 Post subject: Re: Installing ddwrt on ASUS RT-AC5300
Quote:
Invalid Firmware Upload
To comply with regulatory amendments, we have modified our certification rule to ensure better firmware quality. This version is not compatible with all previously released ASUS firmware and uncertified third party firmware. Please check our official websites for the certified firmware.
Better firmware quality my backside! It was to prevent 3rd party Firmware like Rmerlin type modded by HGG especially which was using some slightly controversial settings configurable by user and other reasons that shan't be mentioned. I know HGG personally in RL and use to assist in his firmware efforts from time to time.
These messages are such nonsense. Should read, we want to squash all 3rd party opensource attempts to actually make the FW better quality than ours.
Last I knew, AsusWRT-Merlin was still running an older vulnerable version of busybox, among other things (because AsusWRT official will not update busybox). Let me tell ya, merging newer versions of busybox several versions down the road is a tedious b*tch when working with a modified source tree. But FreshTomato is now current So are a few other unknown projects. _________________ "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
Posted: Sun Apr 17, 2022 15:14 Post subject: 2022-04-15 successful DD-WRT flash of Asus RT-AC5300
Long-time DD-WRT user, first-time posting to the forum.
- First, THANK YOU to everyone who contributes to this amazing tool.
- I recently decided to upgrade from a Netgear R8000 that I was using as an AP (main router is also an R8000). I chose a refurbished Asus RT-AC5300 on Amazon.
- I am not a regular user of the forums, so it took me a little while to find a flash procedure that worked for me. This is NOT anyone's fault; I happily spend this sort of time looking around dd-wrt.com and other online sites as part of my learning.
- Here is the procedure that worked for me:
-Downloaded asus_ret-ac5300-firmare.trx dated 2020-11-03 from DD-WRT.com router database page. https://dd-wrt.com/support/router-database/?model=RT-AC5300_-
-Set computer IPv4 to 192.168.1.10, mask 255.255.255.0, based on guidance here: https://www.asus.com/support/FAQ/1030652
-Put router into Rescue mode https://www.asus.com/support/faq/1000814/#
-Browse to 192.168.1.1. This launched AsusTek Mini CFE (common firmware environment) web server
-Choose .trx file that I downloaded from dd-wrt-.com
-Select upload. Upload took about 2 minutes, no light changes on front of router, or progress bar in the browser, just a statement that -the upload was successful.
Ten system did an automatic reboot. After about 2 minutes, indicator light on router showed that it was “alive.”
-Browsed again to 192.168.1.1 and had the DD-WRT control panel!
So, I can confirm that kernel-panic69's guidance to use the mini cfe webserver worked for me.
Previous to this, I tried two other procedures, but neither worked:
- https://forum.dd-wrt.com/wiki/index.php/Asus_TFTP_Flash TFTP2 would show the DD-WRT flash in progress, but when I went back to 192.168.1.1 the Asus firmware was still there
- https://www.asus.com/support/FAQ/1030652 This showed how to use the ASUS Firmware Restoration utility, but this consistently gave error messages when I tried to flash DD-WRT.
Thanks again to everyone who has contributed to this amazing project!
kernel-panic69 wrote:
If you can't flash via recovery utility or mini cfe webserver, your only other option(s) AFAIK are TFTP/serial recovery.
EDIT: Looks like HGG's "Merlin" kinda dropped out in 2018.
Probably due to most of the supported models no longer being supported by AsusWRT-Merlin.
Last I knew, AsusWRT-Merlin was still running an older vulnerable version of busybox, among other things (because AsusWRT official will not update busybox). Let me tell ya, merging newer versions of busybox several versions down the road is a tedious b*tch when working with a modified source tree. But FreshTomato is now current So are a few other unknown projects.
Using the ASUS firmware recovery utility select the correct DDWRT image you want to flash. Also, please make sure this is the RT-AC5300 not the GT-AC5300.
Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Posted: Sun Apr 17, 2022 16:03 Post subject:
Thanks for reporting
Unfortunately the router database points to old and outdated builds.
See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Some Asus routers like yours also have an experimental (wireless driver) build which you can see in the download directory.
Posted: Sun Apr 17, 2022 18:32 Post subject: Re: 2022-04-15 successful DD-WRT flash of Asus RT-AC5300
[quote="DeiterF15"]Long-time DD-WRT user, first-time posting to the forum.
- First, THANK YOU to everyone who contributes to this amazing tool.
- I recently decided to upgrade from a Netgear R8000 that I was using as an AP (main router is also an R8000). I chose a refurbished Asus RT-AC5300 on Amazon.
- I am not a regular user of the forums, so it took me a little while to find a flash procedure that worked for me. This is NOT anyone's fault; I happily spend this sort of time looking around dd-wrt.com and other online sites as part of my learning.
- Here is the procedure that worked for me:
-Downloaded asus_ret-ac5300-firmare.trx dated 2020-11-03 from DD-WRT.com router database page. https://dd-wrt.com/support/router-database/?model=RT-AC5300_-
-Set computer IPv4 to 192.168.1.10, mask 255.255.255.0, based on guidance here: https://www.asus.com/support/FAQ/1030652
-Put router into Rescue mode https://www.asus.com/support/faq/1000814/#
-Browse to 192.168.1.1. This launched AsusTek Mini CFE (common firmware environment) web server
-Choose .trx file that I downloaded from dd-wrt-.com
-Select upload. Upload took about 2 minutes, no light changes on front of router, or progress bar in the browser, just a statement that the upload was successful.
-The system did an automatic reboot. After about 2 minutes, indicator lights on router showed that it was “alive.”
-Browsed again to 192.168.1.1 and had the DD-WRT control panel!
So, I can confirm that kernel-panic69's guidance to use the mini cfe webserver worked for me.
Previous to this, I tried two other procedures, but neither worked:
- https://forum.dd-wrt.com/wiki/index.php/Asus_TFTP_Flash TFTP2 would show the DD-WRT flash in progress, but when I went back to 192.168.1.1 the Asus firmware was still there
- https://www.asus.com/support/FAQ/1030652 This showed how to use the ASUS Firmware Restoration utility, but this consistently gave error messages when I tried to flash DD-WRT, and the Asus stock firmware remained unchanged.
Thanks again to everyone who has contributed to this amazing project!
kernel-panic69 wrote:
If you can't flash via recovery utility or mini cfe webserver, your only other option(s) AFAIK are TFTP/serial recovery.
EDIT: Looks like HGG's "Merlin" kinda dropped out in 2018.
Probably due to most of the supported models no longer being supported by AsusWRT-Merlin.
Last I knew, AsusWRT-Merlin was still running an older vulnerable version of busybox, among other things (because AsusWRT official will not update busybox). Let me tell ya, merging newer versions of busybox several versions down the road is a tedious b*tch when working with a modified source tree. But FreshTomato is now current So are a few other unknown projects.