Best way to factory flash via CLI with 1.0.0 bootloader

I think there is a way to send the bootloader with YMODEM directly.

The sz command should be able to do it.