Help installing openwrt on AX6

Hi, I followed the video https://www.youtube.com/watch?v=Pv1VstarERg and the official docs to install the firmware on my router and everything was perfect until I rebooted the router after the ubiformat and updating the flags part.

Below are all the commands I ran:

root@XiaoQiang:~# nvram get flag_last_success
1
root@XiaoQiang:~# nvram set flag_last_success=0
root@XiaoQiang:~# nvram set flag_boot_rootfs=0
root@XiaoQiang:~# nvram commit
root@XiaoQiang:~# reboot


root@XiaoQiang:~# nvram get ssh_en
1
root@XiaoQiang:~# nvram get telnet_en
0
root@XiaoQiang:~# nvram set telnet_en=1
root@XiaoQiang:~# nvram set uart_en=1
root@XiaoQiang:~# nvram get boot_wait
on
root@XiaoQiang:~# nvram commit
root@XiaoQiang:~# nvram get flag_boot_success
1
root@XiaoQiang:~# ubiformat /dev/mtd13 -f /tmp/openwrt-ipq807x-generic-redmi_ax6-initramfs-factory.ubi -s 2048 -O 2048
ubiformat: mtd13 (nand), size 37486592 bytes (35.7 MiB), 286 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 285 -- 100 % complete
ubiformat: 286 eraseblocks have valid erase counter, mean value is 3
ubiformat: flashing eraseblock 100 -- 100 % complete
ubiformat: formatting eraseblock 285 -- 100 % complete
root@XiaoQiang:~# nvram set flag_last_success=1
root@XiaoQiang:~# nvram set flag_boot_rootfs=1
root@XiaoQiang:~# nvram commit
root@XiaoQiang:~# reboot

After the last reboot the router lights are both blue and I can't access the web interface or ssh into the router. Did I do something wrong? Did I installed the wrong ubi file? What should I do?

Update: I don't exactly what I did, but I can access the router thought ssh now. I ran the last command that was missing from the docs: sysupgrade -n /tmp/openwrt-ipq807x-generic-redmi_ax6-squashfs-sysupgrade.bin, but I still can't access the web interface. Always Unable to connect.

Update 2: snapshot firmware versions doesn't come with the GUI installed, so I just had to install luci.