[mt7622] Re-enable Redmi AX6S/Xiaomi AX3200 snapshot builds

build 03 Mar 2024: https://drive.google.com/drive/folders/1i-Je-fNN7kySjz4Iz_Rh5edc7OGtIQAC (with ubi-loader)
Only for testing! (required UART access)

Install under stock firmware:

  1. Copy factory.bin image to /tmp dir.
  2. Type this commands via SSH:
nvram set ssh_en=1
nvram set uart_en=1
nvram set boot_wait=on
nvram set flag_try_sys1_failed=8
nvram set flag_try_sys2_failed=8
nvram set flag_boot_rootfs=0
nvram set flag_boot_success=1
nvram set flag_last_success=1
nvram set "boot_fw1=run boot_rd_img;bootm"
nvram commit
mtd -r write /tmp/factory.bin firmware

Upgrade from OpenWRT with 5.15 kernel:

  1. Copy factory.bin image to /tmp dir.
  2. Type this commands via SSH:
dd if=/tmp/factory.bin bs=1M count=4 | mtd write - kernel
dd if=/tmp/factory.bin bs=1M skip=4 | mtd write - ubi
echo c > /proc/sysrq-trigger
2 Likes