in Mi-Assistant mode, without unlocking bootloader:
- Read-Info
- Flash-Official-Recovery-ROM
- Format-Data
- Check-ROM-Compatibility(With MD5)
If you need a version for another system ... , you can build it by cloning the repository and compiling it using GCC.