edl --loader=patched_firehose.elf w recovery recovery.img
to skip authentication entirely in recovery mode, which may be more reliable than a standalone firehose file. XiaomiWiki Guide patched firehose file for poco x3 pro link
When your X3 Pro gets stuck in EDL mode (9008) with no recovery or fastboot access, the only way to revive it is via . And to flash anything in EDL mode, you need a Firehose programmer (loader) file. edl --loader=patched_firehose