if you had installed nemo which modifies partition table you need to add --no-preserve to your flashing command, so it would restore the partition table. Flashing guide page seems to forget to mention that flag sudo flasher -f -F main.bin -F emmc.bin --erase-user-data=secure --no-preserve -R