AX3000T System halt issue

I have Xiaomi AX3000T, RD23, stock firmware was 1.31, Windbond chips.

The XMir-Patcher installation process has started. I did it according to the instructions in the script, but did not follow the steps from Change to OpenWRT U-Boot

After rebooting, the router stopped starting, the orange indicator was on constantly, blinking 1 time about once every 30 seconds.

Then I can't say exactly what I did in u-boot, but the result is this - when I turn on the network, the indicator does not light up at all.

After connecting via UART, I see the following message:

F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 3903 0041
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 102C 0000
F5: 480A 0031
00: 1005 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 3903 0041
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 102C 0000
01: 102A 0001
02: 1005 0000
BP: 2000 00C0 [0001]
EC: 0000 0000 [1000]
T0: 0000 00ED [010F]
System halt!

Now I'm doing the following steps, please help me, what am I doing wrong

  1. On Windows, I configure the ip address for the router (ip - 192.168.1.1, mask - 255.255.255.0, gateway - 192.168.1.1, DNS - 192.168.1.1)
  2. I run fftpd by putting openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-initramfs-recovery.itb
  3. Running mtk_uartboot -s COM3 --payload bl2-mt7981-bga-ddr3-ram.bin --aarch64 --fip openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-bl31-uboot.fip && putty.exe -serial COM3 -sercfg 115200,8,n,1,N
    At this point, the router starts, if you run apk --update-cache add luci, I can use the page http://192.168.1.1
  4. In putty, when executing the ubidetach -p /dev/mtd8 command, I get an error:
ubidetach: error!: cannot detach "/dev/mtd8"
           error 16 (Resource busy)

What am I doing wrong, how can I fix this error?

Next, as I understand it, the following steps will need to be performed, am I right?

  • ubiformat/dev/mtd8 -y -f /tmp/openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi
  • reboot
  • sysupgrade -n /tmp/openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-squashfs-sysupgrade.bin

I will be very glad of any help.

Pretty sure it's safe to ignore the detach error, it's probably not attached in the 1st place.

Think I got it too, when I was flashing my T-56s.

Im trying ubidetach -p /dev/mtd8 because of result of command
ubiformat/dev/mtd8 -y -f /tmp/openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi
is ubiformat: error!: please, first detach mtd8 (/dev/mtd8) from ubi0

@alexq sorry to worry you, a saw your post about flashing ax3000t, can you help me with problem?

I'm not sure I understand this phrase. Is it installed but without following the exact steps (like adhoc?), or what?

If custom bootloader was not installed, then please proceed with this:

it helps in 99% situations like this, but you should have stock bootloader.

Once stock fiware is restored, proceed with installation OpenWrt again.
After OpenWrt is installed, please do not forget to execute this command that updates /etc/rc.local and keeps stock flag within threshold limit: https://openwrt.org/inbox/toh/xiaomi/ax3000t#basic_configuration

Also read this OpenWrt support for Xiaomi AX3000T - #1501 by Mile-Lile (looks like the same error code as you have)
And suggested solution OpenWrt support for Xiaomi AX3000T - #1503 by Cthulhu88

With xmir-patcher, by run.bat file i flashed openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi. Then in Luci i flashed openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-squashfs-sysupgrade.bin. Thats all, no other actions i was made. After reboot, router was bricked.

I think router have not any bootloader, because when i am plug in power cable, no indication. If connect UART, i have massage from topic System halt!

Now i am trying with MiWiFiRepairTool. I have turned off FireWall in Windows, cable in first WAN port. When i plug in power cable with pressed Reset button, nothing happend.

That's should be fixable.
Just find how other bypassed it. Sorry, I'm away from my laptop, so it's difficult to perform a search.
Check this: "14 results for System halt!" in AX3000T forum topic

Please do not use 1st port.
Try any port in the middle (2nd or 3rd).

This post helps me to alive router.

Here is full solution for case with System halt! (maybe only for me, hope not) via UART.
AX3000T, RD23, stock firmware 1.31, Windbond chips.

  1. On Windows, I configure the ip address for the router (ip - 192.168.1.1, mask - 255.255.255.0, gateway - 192.168.1.1, DNS - 192.168.1.1)
  2. I run fftpd by putting openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-initramfs-recovery.itb
  3. Running
mtk_uartboot -s COM3 --payload bl2-mt7981-bga-ddr3-ram.bin --aarch64 --fip openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-bl31-uboot.fip && putty.exe -serial COM3 -sercfg 115200,8,n,1,N
  1. In Putty:
opkg install kmod-mtd-rw
insmod mtd-rw i_want_a_brick=1
mtd write preloader.bin BL2
  1. In Change to OpenWrt U-Boot says do:
ubidetach -p /dev/mtd8; ubiformat /dev/mtd8 -y; ubiattach -p /dev/mtd8
ubimkvol /dev/ubi0 -n 0 -N ubootenv -s 128KiB
ubimkvol /dev/ubi0 -n 1 -N ubootenv2 -s 128KiB

But i have error ubidetach: error!: cannot detach "/dev/mtd8", so i just go on
7. Also in Putty:

mtd write /tmp/openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-preloader.bin BL2
mtd write /tmp/openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-bl31-uboot.fip FIP
  1. After reboot its alive and works!

@alexq thank you!
@frollic thank you!

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.