Can't install Openwrt on xiaomi ax3600

Hello everyone, sorry for my English, I'm from Brazil and I'm trying to install openwrt on the xiaomi ax3600.
I followed the steps described but it is not being effective, I am using the js method to release the root password.
xiaomi software 1.0.17
I'm using putty for root access.
Well, it seems that not downloading the file in the /tmp folder seems like I don't have permission to write to it.
I get the message Read-only file system.
I'm sharing the commands I'm running

vram set uart_en=1
nvram set boot_wait=on
nvram commit

cat /proc/mtd

nvram get flag_boot_rootfs - ( 0 )

wget http://downloads.openwrt.org/releases/23.05.5/targets/ipq807x/generic/openwrt-23.05.5-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi /tmp

ubiformat /dev/mtd13 -y -f /tmp/openwrt-23.05.3-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi -s 2048 -O 2048 && nvram set flag_boot_rootfs=1 && nvram set flag_last_success=1 && nvram commit

ubiformat /dev/mtd12 -y -f /tmp/openwrt-23.05.3-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi -s 2048 -O 2048 && nvram set flag_boot_rootfs=0 && nvram set flag_last_success=0 && nvram commit

reboot

Thank you in advance for your attention.

Would be even better if you shared the errors you were getting....

error!: cannot open "/tmp/openwrt-23.05.3-ipq807x-generic-xiaomi_ax36 00-initramfs-factory.ubi"
error 2 (No such file or directory)

Using the winscp program you can play the file in the /tmp folder


What happens if you do this:

cd /tmp
echo "test" > test.txt
cat test.txt

Does that work?

2 Likes

This is an user error, not an OpenWRT issue.

Check your file names.

As psherman already indicated, this is incorrect. You first need to change directory to /tmp/, only then you can use wget; wget https://… /tmp is invalid and does not do what you expect it to do.

2 Likes

I am very grateful for the help from Psherman (Psherman),brincar,nada.
I managed to do it, I tried for a few minutes, with some errors, but I managed to do it.
I really wasn't started with the cd /tmp folder before starting the command to download the ROM (sorry, but for a layman in the area, there wasn't this step on the main page.
And then I went to wget http://downloads.openwrt.org/releases/23.05.5/targets/ipq807x/generic/openwrt-23.05.5-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi /tmp. Then follow the rest of the tutorial and I managed to install and update.
Can the ssh password chosen after updating on the first login via ssh be changed via the web or ssh?

Thanks in advance to everyone and have a great Christmas and New Year.

open

Either, whatever procedure you prefer - it's the same for both.

1 Like

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