Failed installation on Asus RT-AX53U

Hi, all!

FYI, I'm new to this stuff. This is the first device I tried to install OpenWRT.

I have an Asus RT-AX53U I just tried to install OpenWRT following the device's page docs, and after following the "OEM easy installation" steps (ssh, wget and mtd-write) and rebooting, the device doesn't work at all. Only one light is blinking non-stop, but there's no network to connect to anymore. Device's reset doesn't fix it.

What can I do from here?

Thanks! :slight_smile:

Try downgrading to an older OEM firmware and going through the installation steps again?

2 Likes
  1. Reboot the device. If you do the graceful reboot there is a chance that the kernel will panic and the router won't reboot. In this case just perform a forceful reboot with a physical button.

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

2 Likes

Thanks for the comment! :smiley:

Just did it, and I the result is the same (after re-installing OpenWRT): WAN light blinking really fast and no router.

Thanks for the comment! :smiley:

That video helped me a lot. I realized I was following the manual in a wrong way, so I wasn't able to correctly recover the firmware.

In this case just perform a forceful reboot with a physical button.

I did, both in my initial installation and in the following retries. Same result.

To be clear, are you saying that you improperly flashed it the first time?

If so, please consider this when trying to continue following the install steps. You may need to consider debricking procedures now.

1 Like

Hi! I actually meant that for the router recovery, and not the OpenWRT installation. Sorry for the confusion.

OK, try again, and wait 5 minutes after finishing each command: wget, mtd-write. Does the command line contain anything like sha256sum? Check also, what folder you are going to download factory image. Run following commands, and give output:

pwd
cd /
ls
cat /proc/mtd
1 Like

Hey! Sorry for my delay.

Nope.

admin@RT-AX53U-ECE8:/tmp/home/root# cd /
admin@RT-AX53U-ECE8:/# ls
bin      cifs2    etc      home     lib      mnt      proc     rom      sbin     sysroot  usr      www
cifs1    dev      etc_ro   jffs     mmc      opt      ra_SKU   root     sys      tmp      var
admin@RT-AX53U-ECE8:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 08000000 00020000 "mtk-nand"
mtd1: 000e0000 00020000 "Bootloader"
mtd2: 00100000 00020000 "nvram"
mtd3: 00100000 00020000 "Factory"
mtd4: 00100000 00020000 "Factory2"
mtd5: 03200000 00020000 "Kernel"
mtd6: 003c0000 00020000 "linux"
mtd7: 02e50f6c 00020000 "rootfs"
mtd8: 03200000 00020000 "Kernel2"
mtd9: 01020000 00020000 "jffs2"

I usually did everything in the initial directory (/tmp/home/root). I'll try the 5-minutes approach later and tell you the results.

Thanks!

OK, it looks like 'standard' interface. Try 22.03.2 image, not snapshot one.

1 Like

I just tried the following and the result was the same:

wget https://downloads.openwrt.org/releases/22.03.2/targets/ramips/mt7621/openwrt-22.03.2-ramips-mt7621-asus_rt-ax53u-squashfs-factory.bin
mtd-write -i openwrt-22.03.2-ramips-mt7621-asus_rt-ax53u-squashfs-factory.bin -d Kernel

Thanks! :smiley:

OK, please, wait 10 minutes after mtd-write, and reboot via web-interface after it. Try also 22.03.0 image.

https://4pda.to/forum/dl/post/26466032/27png.png

1 Like

I ran the following commands:

wget https://downloads.openwrt.org/releases/22.03.0/targets/ramips/mt7621/openwrt-22.03.0-ramips-mt7621-asus_rt-ax53u-squashfs-factory.bin
mtd-write -i openwrt-22.03.0-ramips-mt7621-asus_rt-ax53u-squashfs-factory.bin -d Kernel

...waited ~15min and rebooted it through ASUS web-interface. Strangely, ASUS interface was still accessible, and things were all the same (except I had no connection). When I rebooted it with the physical button it, I had the same initial problem. :frowning:

OK, thank you for report, sorry, I have no idea. The issue is that this router contains NAND memory, I have not used it. There are also many other partitions, so I do not know, whether to flash them.

1 Like

Thanks a lot for you help! :smiling_face:

OK, please, give output of

mtd-write -h
mtd-write --help

It is interesting to see help message of mtd-write.

admin@RT-AX53U-ECE8:/tmp/home/root# mtd-write -h
mtd-write: unrecognized option: h
Usage: mtd-write -i file -d part
admin@RT-AX53U-ECE8:/tmp/home/root# mtd-write --help
mtd-write: unrecognized option: -
mtd-write: unrecognized option: h
mtd-write: unrecognized option: e
mtd-write: unrecognized option: l
mtd-write: unrecognized option: p
Usage: mtd-write -i file -d part

Can you provide the output of dmesg | head -250 ?

1 Like
# dmesg | head -250
[  348.311278] [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
[  348.316896] [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
[  348.322580] [PMF]Set_PMFMFPR_Proc:: apidx=2, Desired MFPR=0
[  348.328312] [PMF]Set_PMFMFPR_Proc:: apidx=3, Desired MFPR=0
[  348.333984] [PMF]Set_PMFMFPR_Proc:: apidx=4, Desired MFPR=0
[  348.339638] [PMF]Set_PMFMFPR_Proc:: apidx=5, Desired MFPR=0
[  348.345371] [PMF]Set_PMFMFPR_Proc:: apidx=6, Desired MFPR=0
[  348.350959] [PMF]Set_PMFMFPR_Proc:: apidx=7, Desired MFPR=0
[  348.356574] [PMF]Set_PMFMFPR_Proc:: apidx=8, Desired MFPR=0
[  348.362300] [PMF]Set_PMFMFPR_Proc:: apidx=9, Desired MFPR=0
[  348.368076] [PMF]Set_PMFMFPR_Proc:: apidx=10, Desired MFPR=0
[  348.373887] [PMF]Set_PMFMFPR_Proc:: apidx=11, Desired MFPR=0
[  348.379944] [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
[  348.386169] [PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0
[  348.392332] [PMF]Set_PMFSHA256_Proc:: apidx=2, Desired PMFSHA256=0
[  348.398525] [PMF]Set_PMFSHA256_Proc:: apidx=3, Desired PMFSHA256=0
[  348.404754] [PMF]Set_PMFSHA256_Proc:: apidx=4, Desired PMFSHA256=0
[  348.410928] [PMF]Set_PMFSHA256_Proc:: apidx=5, Desired PMFSHA256=0
[  348.417144] [PMF]Set_PMFSHA256_Proc:: apidx=6, Desired PMFSHA256=0
[  348.423336] [PMF]Set_PMFSHA256_Proc:: apidx=7, Desired PMFSHA256=0
[  348.429668] [PMF]Set_PMFSHA256_Proc:: apidx=8, Desired PMFSHA256=0
[  348.435961] [PMF]Set_PMFSHA256_Proc:: apidx=9, Desired PMFSHA256=0
[  348.442189] [PMF]Set_PMFSHA256_Proc:: apidx=10, Desired PMFSHA256=0
[  348.448637] [PMF]Set_PMFSHA256_Proc:: apidx=11, Desired PMFSHA256=0
[  348.457245] ReadMboParameterFromFile::(bMboEnable[0]=1, MboCapIndication = 0x40)
[  348.464777] ReadMboParameterFromFile::(bMboEnable[1]=1, MboCapIndication = 0x40)
[  348.472179] ReadMboParameterFromFile::(bMboEnable[2]=1, MboCapIndication = 0x40)
[  348.479623] ReadMboParameterFromFile::(bMboEnable[3]=1, MboCapIndication = 0x40)
[  348.487090] ReadMboParameterFromFile::(bMboEnable[4]=1, MboCapIndication = 0x40)
[  348.494507] ReadMboParameterFromFile::(bMboEnable[5]=1, MboCapIndication = 0x40)
[  348.501919] ReadMboParameterFromFile::(bMboEnable[6]=1, MboCapIndication = 0x40)
[  348.509369] ReadMboParameterFromFile::(bMboEnable[7]=1, MboCapIndication = 0x40)
[  348.516838] ReadMboParameterFromFile::(bMboEnable[8]=1, MboCapIndication = 0x40)
[  348.524267] ReadMboParameterFromFile::(bMboEnable[9]=1, MboCapIndication = 0x40)
[  348.531681] ReadMboParameterFromFile::(bMboEnable[10]=1, MboCapIndication = 0x40)
[  348.539215] ReadMboParameterFromFile::(bMboEnable[11]=1, MboCapIndication = 0x40)
[  348.547136] ReadMboParameterFromFile::(bMboEnable[0]=1)
[  348.552348] ReadMboParameterFromFile::(bMboEnable[1]=1)
[  348.565295] ApCliEntry[0].Enable=0
[  348.568698] ApCliEntry[1].Enable=0
[  348.580496] rtmp_read_wds_from_file(): WDS Profile
[  348.585655] WDS Number: band[0]=0, band[1]=0
[  348.590212] WDS-Enable mode=0
[  348.593160] WDS-Enable mode=0
[  348.597107] If/wds0 - PeerPhyMode=0xb1
[  348.600993] If/wds1 - PeerPhyMode=0xb1
[  348.606515] AsicSetReptFuncEnable, caller:RTMPSetProfileParameters+0xbce4/0x114d4
[  348.614094] RepeaterCtrlExit, wrong state(0,0)
[  348.618695] Band_0_RpEn(0),RpEnByAnyBnd(0),RpEn(0)
[  348.623657] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
[  348.633623] AndesSendCmdMsg: Command type = ed, Extension command type = 48
[  348.640684] MACRepeaterEn=0 Band=0
[  348.644123] AsicSetReptFuncEnable, caller:RTMPSetProfileParameters+0xbce4/0x114d4
[  348.651630] RepeaterCtrlExit, wrong state(0,0)
[  348.656145] Band_1_RpEn(0),RpEnByAnyBnd(0),RpEn(0)
[  348.661104] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
[  348.670982] AndesSendCmdMsg: Command type = ed, Extension command type = 48
[  348.678292] MACRepeaterEn=0 Band=1
[  348.690473] HT_BAWinSize: wdev[0]: (TX=256, RX=256)
[  348.695375] HT_BAWinSize: wdev[1]: (TX=256, RX=256)
[  348.700394] HT_BAWinSize: wdev[2]: (TX=256, RX=256)
[  348.705586] HT_BAWinSize: wdev[3]: (TX=256, RX=256)
[  348.710534] HT_BAWinSize: wdev[4]: (TX=256, RX=256)
[  348.715764] HT_BAWinSize: wdev[5]: (TX=256, RX=256)
[  348.720752] HT_BAWinSize: wdev[6]: (TX=256, RX=256)
[  348.725753] HT_BAWinSize: wdev[7]: (TX=256, RX=256)
[  348.730771] HT_BAWinSize: wdev[8]: (TX=256, RX=256)
[  348.735797] HT_BAWinSize: wdev[9]: (TX=256, RX=256)
[  348.740823] HT_BAWinSize: wdev[10]: (TX=256, RX=256)
[  348.745942] HT_BAWinSize: wdev[11]: (TX=256, RX=256)
[  348.752431] HT: WDEV[0] Ext Channel = ABOVE
[  348.756688] HT: WDEV[1] Ext Channel = ABOVE
[  348.761016] HT: WDEV[2] Ext Channel = ABOVE
[  348.765364] HT: WDEV[3] Ext Channel = ABOVE
[  348.769699] HT: WDEV[4] Ext Channel = ABOVE
[  348.773964] HT: WDEV[5] Ext Channel = ABOVE
[  348.778220] HT: WDEV[6] Ext Channel = BELOW
[  348.782431] HT: WDEV[7] Ext Channel = BELOW
[  348.787060] HT: WDEV[8] Ext Channel = BELOW
[  348.791335] HT: WDEV[9] Ext Channel = BELOW
[  348.795617] HT: WDEV[a] Ext Channel = BELOW
[  348.799949] HT: WDEV[b] Ext Channel = BELOW
[  348.804888] HT: greenap_cap = 0
[  348.808703] 0:ra0 TWTsupport = 0
[  348.811924] 1:ra1 TWTsupport = 0
[  348.815215] 2:ra2 TWTsupport = 0
[  348.818474] 3:ra3 TWTsupport = 0
[  348.821738] 4:ra4 TWTsupport = 0
[  348.825192] 5:ra5 TWTsupport = 0
[  348.828565] 6:rai0 TWTsupport = 0
[  348.832063] 7:rai1 TWTsupport = 0
[  348.835688] 8:rai2 TWTsupport = 0
[  348.839087] 9:rai3 TWTsupport = 0
[  348.842550] 10:rai4 TWTsupport = 0
[  348.846164] 11:rai5 TWTsupport = 0
[  348.966823] WtcSetMaxStaNum: MaxStaNum:224, BssidNum:12, WdsNum:16, MSTANum:2, MaxNumChipRept:32, MinMcastWcid:274
[  348.977249] Top Init Done!
[  348.979976] Use dev_alloc_skb
[  348.982933] token_tx_two_queues_init(): ct sw token(0) number = 2048
[  348.989540] token_tx_two_queues_init(): token que(0) inited done!id_head/tail=0/2048
[  348.997653] token_tx_two_queues_init(): 8a868804,8a868804
[  349.003238] token_tx_two_queues_init(): ct sw token(1) number = 6144
[  349.010528] token_tx_two_queues_init(): token que(1) inited done!id_head/tail=0/6144
[  349.018344] token_tx_two_queues_init(): 8a8688ac,8a8688ac
[  349.029693] TxRing[0]: attr:0, total 2048 entry initialized
[  349.039670] TxRing[1]: attr:0, total 2048 entry initialized
[  349.049836] TxRing[2]: attr:0, total 2048 entry initialized
[  349.055729] RX[0] DESC a0c30000 size = 24576
[  349.062601] RX[1] DESC a0c38000 size = 16384
[  349.068819] RX[2] DESC a0dd8000 size = 24576
[  349.075487] RX[3] DESC a0de0000 size = 24576
[  349.079859] RX[4] DESC a0dd2000 size = 8192
[  349.084826] RX[5] DESC a0dd4000 size = 16384
[  349.090711] RX[6] DESC a0e18000 size = 8192
[  349.096084] -->TX_RING_0[0xd9330]: Attr:0, Base=0xc28000, Cnt=2048!
[  349.102343] -->TX_RING_1[0xd5420]: Attr:0, Base=0xdc0000, Cnt=2048!
[  349.109082] -->TX_RING_2[0xd5430]: Attr:0, Base=0xdc8000, Cnt=2048!
[  349.115524] -->TX_RING_3[0xd5400]: Attr:3, Base=0xdb7000, Cnt=128!
[  349.121738] -->TX_RING_4[0xd5410]: Attr:2, Base=0xdd0000, Cnt=256!
[  349.128060] -->TX_RING_5[0xd5440]: Attr:1, Base=0xdd1000, Cnt=256!
[  349.134288] -->RX_RING_0[0xd8510]: Base=0xc30000, Cnt=1536
[  349.139767] -->RX_RING_1[0xd9520]: Base=0xc38000, Cnt=1024
[  349.145272] -->RX_RING_2[0xd4500]: Base=0xdd8000, Cnt=1536
[  349.150875] -->RX_RING_3[0xd4510]: Base=0xde0000, Cnt=10
[  349.156332] -->RX_RING_4[0xd5500]: Base=0xdd2000, Cnt=512
[  349.161845] -->RX_RING_5[0xd5510]: Base=0xdd4000, Cnt=1024
[  349.167475] -->RX_RING_6[0xd5520]: Base=0xe18000, Cnt=512
[  349.172940] Hif Init Done!
[  349.179837] pci_driver_own_by_port: success to clear p=0 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
[  349.191140] pci_driver_own_by_port: success to clear p=1 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
[  349.201395] fw_prepare():using E2 ROM patch
[  349.205840] fw_prepare():using E2 RAM
[  349.209744] Parsing patch header
[  349.213067] 	Built date: 20201105222230a
[  349.217216] 
[  349.218767] 	Platform: ALPS
[  349.221658] 	HW/SW version: 0x8a108a10
[  349.225564] 	Patch version: 0xffffffff
[  349.229492] 	Section num: 0x2, subsys: 0x4
[  349.233640] 	Section 0: type = 0x30002, offset = 0xe0, size = 0xfc90
[  349.240059] 	Target address: 0x200000, length: 0xfc90
[  349.245251] 	Section 1: type = 0x30002, offset = 0xfd70, size = 0x13720
[  349.252031] 	Target address: 0xe000f000, length: 0x13720
[  349.257775] Patch SEM Status = 1
[  349.261473] patch is ready, continue to ILM/DLM DL
[  349.266482]  WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0 
[  349.273657] Parsing CPU 0 fw tailer
[  349.277211] 	Chip ID: 0x0b
[  349.280076] 	Eco version: 0x01
[  349.283140] 	Region number: 0x07
[  349.286458] 	Format version: 0x02
[  349.289841] 	Format flag: 0x01
[  349.292938] 	Ram version: ____000000
[  349.296673] 	Built date: 20201105222304
[  349.300706] 	Common crc: 0xaa870ac
[  349.304319] Parsing tailer region 0
[  349.307929] 	Decomp crc: 0x0
[  349.310974] 	Decomp size: 0x0
[  349.314051] 	Decomp block size: 0x0
[  349.317669] 	Target address: 0x21fc00
[  349.321453] 	Download size: 110592
[  349.325084] 	Feature set: 0x20
[  349.328332] Parsing tailer region 1
[  349.331952] 	Decomp crc: 0x0
[  349.334912] 	Decomp size: 0x0
[  349.337899] 	Decomp block size: 0x0
[  349.341481] 	Target address: 0x31dc00
[  349.345426] 	Download size: 205824
[  349.348913] 	Feature set: 0x00
[  349.352066] Parsing tailer region 2
[  349.355599] 	Decomp crc: 0x0
[  349.358483] 	Decomp size: 0x0
[  349.361445] 	Decomp block size: 0x0
[  349.365131] 	Target address: 0x417400
[  349.368908] 	Download size: 31744
[  349.372270] 	Feature set: 0x00
[  349.375535] Parsing tailer region 3
[  349.379085] 	Decomp crc: 0x0
[  349.382088] 	Decomp size: 0x0
[  349.385242] 	Decomp block size: 0x0
[  349.388852] 	Target address: 0xe0022800
[  349.392739] 	Download size: 411136
[  349.396251] 	Feature set: 0x00
[  349.399380] Parsing tailer region 4
[  349.402945] 	Decomp crc: 0x0
[  349.406158] 	Decomp size: 0x0
[  349.409225] 	Decomp block size: 0x0
[  349.412838] 	Target address: 0xe0086e00
[  349.416981] 	Download size: 332288
[  349.420444] 	Feature set: 0x00
[  349.423712] Parsing tailer region 5
[  349.427360] 	Decomp crc: 0x0
[  349.430266] 	Decomp size: 0x0
[  349.433261] 	Decomp block size: 0x0
[  349.436858] 	Target address: 0x23ac00
[  349.440600] 	Download size: 87040
[  349.443995] 	Feature set: 0x00
[  349.447446] Parsing tailer region 6
[  349.450972] 	Decomp crc: 0x0
[  349.453883] 	Decomp size: 0x0
[  349.456895] 	Decomp block size: 0x0
[  349.460441] 	Target address: 0x400000
[  349.464190] 	Download size: 81920
[  349.467658] 	Feature set: 0x00
[  349.470920] 	Release info: header tag = 0, total length = 68
[  349.476780] 	tag 1, padding length = 3, tag length = 61
[  349.482060] 	payload: t-neptune-main-mt7915-1953-MT7915D_1953_MT7621-20201105221902
[  349.490224] Start address = 0x21fc00, DL length = 110592, Data mode = 0x80000000
[  349.499174] EventGenericEventHandler: CMD Success
[  349.504036] MtCmdAddressLenReq:(ret = 0)
[  349.510043] Start address = 0x31dc00, DL length = 205824, Data mode = 0x80000000
[  349.518776] EventGenericEventHandler: CMD Success
[  349.523521] MtCmdAddressLenReq:(ret = 0)
[  349.531098] Start address = 0x417400, DL length = 31744, Data mode = 0x80000000
[  349.539732] EventGenericEventHandler: CMD Success
[  349.544522] MtCmdAddressLenReq:(ret = 0)
[  349.549403] Start address = 0xe0022800, DL length = 411136, Data mode = 0x80000000
[  349.558652] EventGenericEventHandler: CMD Success
[  349.563552] MtCmdAddressLenReq:(ret = 0)
[  349.574369] Start address = 0xe0086e00, DL length = 332288, Data mode = 0x80000000
[  349.583198] EventGenericEventHandler: CMD Success
[  349.587956] MtCmdAddressLenReq:(ret = 0)
[  349.597861] Start address = 0x23ac00, DL length = 87040, Data mode = 0x80000000
[  349.606487] EventGenericEventHandler: CMD Success
[  349.611408] MtCmdAddressLenReq:(ret = 0)
[  349.617528] Start address = 0x400000, DL length = 81920, Data mode = 0x80000000
[  349.626203] EventGenericEventHandler: CMD Success
[  349.630976] MtCmdAddressLenReq:(ret = 0)
[  349.636572] MtCmdFwStartReq: override = 0x1, address = 0x21fc00
[  349.644006] EventGenericEventHandler: CMD Success
[  349.648823] Parsing CPU 1 fw tailer
[  349.652317] 	Chip ID: 0x00
[  349.655164] 	Eco version: 0x01
[  349.658247] 	Region number: 0x03
[  349.661469] 	Format version: 0x02
[  349.664851] 	Format flag: 0x01
[  349.667955] 	Ram version: DEV_000000
[  349.671662] 	Built date: 20201105222323
[  349.675740] 	Common crc: 0x8fcbc5ad
[  349.679370] Parsing tailer region 0
[  349.682932] 	Decomp crc: 0x0
[  349.685886] 	Decomp size: 0x0
[  349.688878] 	Decomp block size: 0x0
[  349.692421] 	Target address: 0x10200000
[  349.696697] 	Download size: 88512
[  349.700087] 	Feature set: 0x00
[  349.703319] Parsing tailer region 1
[  349.707042] 	Decomp crc: 0x0
[  349.709948] 	Decomp size: 0x0
[  349.712946] 	Decomp block size: 0x0

dang, it's up for too long. try after a reboot :slight_smile: thank you

1 Like