Installing ddwrt on ASUS RT-AC5300

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
Johan1974
DD-WRT Novice


Joined: 19 Jul 2017
Posts: 11

PostPosted: Sun Dec 05, 2021 11:59    Post subject: Installing ddwrt on ASUS RT-AC5300 Reply with quote
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
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Sun Dec 05, 2021 12:22    Post subject: Reply with quote
Moved this to the Broadcom forum.

I do not own Asus gear but can you not use the Rescue mode?

https://www.asus.com/support/FAQ/1000814/

But wait for other Asus users to confirm

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087


Last edited by egc on Sun Dec 05, 2021 12:40; edited 1 time in total
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Dec 05, 2021 12:34    Post subject: Reply with quote
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
Johan1974
DD-WRT Novice


Joined: 19 Jul 2017
Posts: 11

PostPosted: Sun Dec 05, 2021 14:16    Post subject: Reply with quote
Hello,

Tried to downgrade the firmware but this seems not possible anymore for the same reason. The same message appears when i try this.

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
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Sun Dec 05, 2021 14:22    Post subject: Re: Installing ddwrt on ASUS RT-AC5300 Reply with quote
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.

Take care and enjoy the weekend.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Johan1974
DD-WRT Novice


Joined: 19 Jul 2017
Posts: 11

PostPosted: Sun Dec 05, 2021 15:24    Post subject: Reply with quote
Is there any way around this or is this really blocked by asus?
_________________
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
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Dec 05, 2021 19:50    Post subject: Reply with quote
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.

https://52asus.com/forum.php?mod=viewthread&tid=5962

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 Cool 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
DeiterF15
DD-WRT Novice


Joined: 17 Apr 2022
Posts: 2

PostPosted: Sun Apr 17, 2022 15:14    Post subject: 2022-04-15 successful DD-WRT flash of Asus RT-AC5300 Reply with quote
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.

https://52asus.com/forum.php?mod=viewthread&tid=5962

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 Cool So are a few other unknown projects.
[/url]
r2digital
DD-WRT Novice


Joined: 24 Jul 2012
Posts: 47

PostPosted: Sun Apr 17, 2022 16:01    Post subject: Reply with quote
You need to set the router to recovery mode and use the ASUS recovery utility. Follow the steps on this page https://www.asus.com/support/FAQ/1000814/ and then download the recovery utility for your windows version from here https://www.asus.com/us/Networking-IoT-Servers/WiFi-Routers/ASUS-WiFi-Routers/RT-AC5300/HelpDesk_Download/

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.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Sun Apr 17, 2022 16:03    Post subject: Reply with quote
Thanks for reporting Smile

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.

I do not know if that is better

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
DeiterF15
DD-WRT Novice


Joined: 17 Apr 2022
Posts: 2

PostPosted: Sun Apr 17, 2022 18:32    Post subject: Re: 2022-04-15 successful DD-WRT flash of Asus RT-AC5300 Reply with quote
[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.

https://52asus.com/forum.php?mod=viewthread&tid=5962

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 Cool So are a few other unknown projects.
Display posts from previous:    Page 1 of 1
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