This is a specific failure in Qualcomm devices. The "Firehose" is a small program sent to the device's RAM to manage the flash process.
esptool.py --port COM3 erase_flash esptool.py --port COM3 --chip esp32 merge_bin -o merged-flash.bin --fill-flash-size 4MB @flash_args.txt
: Many devices enter a permanent lock state if unauthorized writing is detected or if security passwords (CSM) aren't provided.