fastboot stuck on sending 'boot' I'm trying to flash cm13 boot.img to my phone and it stuck on this for more than 20 minutes:

$fastboot flash boot boot.img
target didn't report max-download-size
sending 'boot' (5760 KB)...


and after I disconnect the cable I get this error:

FAILED (data transfer failure (Protocol error))


here is the result of other fastboot commands. since I already erase the system, boot, and recovery, fastboot is the only way I can interact with my phone.

$ fastboot devices
BX90319AH2&amp;ZLP  fastboot

$ fastboot erase boot
erasing 'boot'...
(bootloader) Erase of partition 'boot' requested
(bootloader) S1 partID 0x00000003, block 0x00000148-0x00000179
(bootloader) Erase operation complete, 0 bad blocks encountered
OKAY [  0.183s]
finished. total time: 0.183s


$ fastboot erase system
erasing 'system'...
(bootloader) Erase of partition 'system' requested
(bootloader) S1 partID 0x00000004, block 0x00000182-0x000007c1
(bootloader) Erasing block 0x00000200
(bootloader) Erasing block 0x00000300
(bootloader) Erasing block 0x00000400
(bootloader) Erasing block 0x00000500
(bootloader) Erasing block 0x00000600
(bootloader) Erasing block 0x00000700
(bootloader) Erase operation complete, 0 bad blocks encountered
OKAY [  5.745s]
finished. total time: 5.745s


p.s. I installed cm12.1 on this phone before without any problem.
any suggestions?
Alternatively, because I'm guessing you're in a process to flash a new Custom ROM and you want to flash manually using fastboot, you can look for a compatible custom recovery, download it and place it in the computer you're using. On fastboot, if bootloader is unlocked, as it probably might be since you're already on custom ROM, write these commands

fastboot boot [path-to-custom-recovery]


It will boot up on a custom recovery that you downloaded


Select Wipe
Advanced Wipe
Check system, dalvik, data, cache
Swipe to wipe
Back to install
Locate the zip and install it or send it from computer using adb sideload