Hi everyone,
I am trying to install OpenWrt on my Xiaomi AX3000T (U-Boot is already unlocked), but I am stuck in a loop where I cannot make the installation permanent. I am monitoring the process via UART.
Here is the procedure I followed:
Booted initramfs-recovery.itb via UART (TFTP).
Once the temporary OS booted, I flashed initramfs-factory.ubi via the Web UI (failsafe UI).
The device reboots into the intermediate firmware without issues.
However, when I try to perform the final permanent installation by flashing squashfs-sysupgrade.itb (again via Web UI) and reboot, the device fails to boot properly and drops into Failsafe mode.
Here is the error log I get from the UART console:
ubi0: attaching mtd9
ubi0: scanning is finished
ubi0 error: ubi_read_volume_table: the layout volume was not found
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd9, error -22
UBI error: cannot attach mtd9
UBI error: cannot initialize UBI, error -22
Please check, if the correct MTD partition is used (size big enough?)
*** Failed to attach UBI ***
It seems like the system cannot find or create the UBI layout volume on mtd9. Flashing via the Web UI doesn't seem to fix the raw partition/layout issue.
How can I properly format/fix the UBI partition to make the installation permanent?
Thanks in advance.
