ubiformat /dev/mtd9 -y -f /tmp/openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi
nvram set boot_wait=on
nvram set uart_en=1
nvram set flag_boot_rootfs=1
nvram set flag_last_success=1
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram commit
reboot
Apparently after reboot router is still back at original state and with the same IP address (192.168.31.1). I'm I doing something incorrectly, or I'm using incorret partition?
ssh -legacy root@192.168.1.1
X11 forwarding request failed on channel 0
BusyBox v1.36.1 (2024-11-21 21:04:41 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r28146-52b6c92479
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# ubus call system board
{
"kernel": "6.6.61",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "Xiaomi Mi Router AX3000T",
"board_name": "xiaomi,mi-router-ax3000t",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r28146-52b6c92479",
"target": "mediatek/filogic",
"description": "OpenWrt SNAPSHOT r28146-52b6c92479",
"builddate": "1732223081"
}
}
root@OpenWrt:~#
root@OpenWrt:~# client_loop: send disconnect: Connection reset by peer
After moment the SSH session is interrupted and client disconnects.
It indeed looks that installed is snapshot.
Would you have clue how eventually restore device to the original state?
If that fails, go to the Firmware Selector and download the image from there. Those include luci by default. You can add more packages that you might want there.
Then, transfer it to /tmp via SCP and install it with sysupgrade -v /tmp/[name of the image].bin
It's pretty normal that SSH closes after executing the sysupgrade. The weird thing is that you don't have an updated image installed after with luci.
Maybe you need serial access to recover, but I don't own that model. I've used OpenWRT for like 10 years. A friend has an AX3000T and I'm interested in that model to eventually install OpenWRT.
Which device do you have?? RD03? RD23? What about the flash and the switch? Maybe you have one with the new switch and that's causing you trouble. Maybe ask on the main AX3000T thread.
My friend's has an RD03 with ESMT chip and 1.0.64 FW version. I plan to install OpenWRT eventually. Maybe when 24.10 stable is released.