AX3600 Dual Boot Original FW / OpenWRT

Dear Forum,

thanks for your support so far, that's really great

I've heard that it's possible to toggle between Original and Open WRT with a command like:

root@OpenWrt:~# fw_printenv flag_boot_success
flag_boot_success=0
root@OpenWrt:~# fw_printenv flag_boot_success
flag_boot_success=0

with the opposite (0/1) it would boot the opposite.

fw_setenv flag_last_success 1
fw_setenv flag_boot_rootfs 1

But it doesn't

Any ideas what might be wrong?

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

BTW is there any way to flash back the Original Chinese FW?

Thanks
/Franz

you'd need to check the boot loader params for this, in worst case get serial access.

dd mtd13 to mtd12 (or the other way around) ?

The current version of openwrt unifies both partitions, so original firmware is lost.
If you want to return to original firmware, execute the unbrick instructions of the wiki.

THX @McGiverGim ,

okay this clarifies why it is not working.
Might this also work?

Back to MiWiFi

  1. download ubi firmware (1.0.17 or 1.0.67) copy to /tmp
  2. login ssh, flash firmware
    ubiformat /dev/mtd12 -y -f /tmp/xiaomi1.0.67.ubi
  3. set ubootenv
fw_setenv flag_last_success 0
fw_setenv flag_boot_rootfs 0

Now reboot, if you back to qsdk, login ssh set boot rootfs

nvram set flag_last_success=1
nvram set flag_boot_rootfs=1
nvram commit

BR
/Franz