Before bricking an AX3600

Hello all.
I'm a newcomer on OPENWRT world, and I would like to have some help from you all before to brick my new toy.

I'm following the steps indicated at this page

  • From the fw I've found on my router I've downgraded to the one suggested.
  • I've followed all the procedure to enable ssh access
  • I've enabled the serial port (hope I will need it)

now finally I have to install the openwrt fw!

and here come the doubts:

  1. on the download page there are 3 files.
    In the instructions page they use only the initramfs file. What are for the kernel and the factory files for?
  2. following the instructions I runned the first 2 commands (points 3 and 4 of the instructions)
root@XiaoQiang:/tmp/Tmp# nvram get flag_boot_rootfs
1
root@XiaoQiang:/tmp/Tmp# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "0:SBL1"
mtd1: 00100000 00020000 "0:MIBIB"
mtd2: 00300000 00020000 "0:QSEE"
mtd3: 00080000 00020000 "0:DEVCFG"
mtd4: 00080000 00020000 "0:RPM"
mtd5: 00080000 00020000 "0:CDT"
mtd6: 00080000 00020000 "0:APPSBLENV"
mtd7: 00100000 00020000 "0:APPSBL"
mtd8: 00080000 00020000 "0:ART"
mtd9: 00080000 00020000 "bdata"
mtd10: 00080000 00020000 "crash"
mtd11: 00080000 00020000 "crash_syslog"
mtd12: 023c0000 00020000 "rootfs"
mtd13: 023c0000 00020000 "rootfs_1"
mtd14: 01ec0000 00020000 "overlay"
mtd15: 00080000 00020000 "rsvd0"
mtd16: 0041e000 0001f000 "kernel"
mtd17: 015cc000 0001f000 "ubi_rootfs"
mtd18: 01876000 0001f000 "data"

I don't understand if I can continue or something is wrong.
In the instructions page is written

Please confirm if mtd12 and mtd13 are the correct indexes from above

what does it mean?
According to the step 5 of the instructions I should run the command
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
because I've got 1 at step 3 . Is it correct? I have the doubt because at the beginning of the command is written "ubiformat /dev/mtd12..." wich mismatch with the point 3?

I hope to be clear with it? Hope someone can help me :slight_smile:

point 5 says flash opposite mtd

Sorry I dont undertand @frollic .
point 5 says

If nvram get flag_boot_rootfs returned 0:

then

ubiformat /dev/mtd13

mine returned 1 so I should use

ubiformat /dev/mtd12

as I've wrote in the OP... why you say it is the opposit?

Ok, if we don't risk in the life you cannot archive any goal :slight_smile:
I did the ubiformat /dev/mtd12 command and everything went well :slight_smile:

Just one more curiosity is left.
What are the kernel and the factory files for? :thinking: