[Lenovo Z5 Pro GT Guides, News, & Discussion] otuco:
First of all thanks for sharing it!

I'm trying to revive a redmi 8A I bricked days ago after trying to update its firmware... No bootloader or recovery for now.

The good news: I can have my device detected in EDL mode 9008. So far, so good.

The bad news: firehose errors out due to some sort of xiaomi authentication (?)

It says LOG: ERROR: Only nop and sig tag can be recevied before authentication.

I saw a post suggesting to replace the firehose file for "prog_emmc_firehose_Sdm660ddr.elf", but I wonder if that would be acceptable for this model?

Thanks in advance for any feedback.

Follows command and full output:

./qdl --debug --storage ufs --include img8a img8a/prog_emmc_firehose_8937_ddr.mbn img8a/rawprogram0.xml img8a/patch0.xml
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ image: 13 offset: 0x0 length: 0x34
READ image: 13 offset: 0x34 length: 0x140
READ image: 13 offset: 0x1000 length: 0x1000
READ image: 13 offset: 0x2000 length: 0xa68
READ image: 13 offset: 0x6d3b4 length: 0x1000
READ image: 13 offset: 0x6e3b4 length: 0x1000
READ image: 13 offset: 0x6f3b4 length: 0x878
READ image: 13 offset: 0x6fc2c length: 0xb28
READ image: 13 offset: 0x3000 length: 0x1000
READ image: 13 offset: 0x4000 length: 0x1000
READ image: 13 offset: 0x5000 length: 0x1000
READ image: 13 offset: 0x6000 length: 0x1000
READ image: 13 offset: 0x7000 length: 0x1000
READ image: 13 offset: 0x8000 length: 0x1000
READ image: 13 offset: 0x9000 length: 0x1000
READ image: 13 offset: 0xa000 length: 0x1000
READ image: 13 offset: 0xb000 length: 0x1000
READ image: 13 offset: 0xc000 length: 0x1000
READ image: 13 offset: 0xd000 length: 0x1000
READ image: 13 offset: 0xe000 length: 0x1000
READ image: 13 offset: 0xf000 length: 0x1000
READ image: 13 offset: 0x10000 length: 0x1000
READ image: 13 offset: 0x11000 length: 0x1000
READ image: 13 offset: 0x12000 length: 0x1000
READ image: 13 offset: 0x13000 length: 0x1000
READ image: 13 offset: 0x14000 length: 0x1000
READ image: 13 offset: 0x15000 length: 0x1000
READ image: 13 offset: 0x16000 length: 0x1000
READ image: 13 offset: 0x17000 length: 0x1000
READ image: 13 offset: 0x18000 length: 0x1000
READ image: 13 offset: 0x19000 length: 0x1000
READ image: 13 offset: 0x1a000 length: 0x1000
READ image: 13 offset: 0x1b000 length: 0x1000
READ image: 13 offset: 0x1c000 length: 0x1000
READ image: 13 offset: 0x1d000 length: 0x1000
READ image: 13 offset: 0x1e000 length: 0x1000
READ image: 13 offset: 0x1f000 length: 0x1000
READ image: 13 offset: 0x20000 length: 0x1000
READ image: 13 offset: 0x21000 length: 0x1000
READ image: 13 offset: 0x22000 length: 0x1000
READ image: 13 offset: 0x23000 length: 0x1000
READ image: 13 offset: 0x24000 length: 0x1000
READ image: 13 offset: 0x25000 length: 0x1000
READ image: 13 offset: 0x26000 length: 0x1000
READ image: 13 offset: 0x27000 length: 0x1000
READ image: 13 offset: 0x28000 length: 0x1000
READ image: 13 offset: 0x29000 length: 0x1000
READ image: 13 offset: 0x2a000 length: 0x1000
READ image: 13 offset: 0x2b000 length: 0x1000
READ image: 13 offset: 0x2c000 length: 0x1000
READ image: 13 offset: 0x2d000 length: 0x1000
READ image: 13 offset: 0x2e000 length: 0x1000
READ image: 13 offset: 0x2f000 length: 0x1000
READ image: 13 offset: 0x30000 length: 0x1000
READ image: 13 offset: 0x31000 length: 0x1000
READ image: 13 offset: 0x32000 length: 0x1000
READ image: 13 offset: 0x33000 length: 0x1000
READ image: 13 offset: 0x34000 length: 0x1000
READ image: 13 offset: 0x35000 length: 0x1000
READ image: 13 offset: 0x36000 length: 0x1000
READ image: 13 offset: 0x37000 length: 0x1000
READ image: 13 offset: 0x38000 length: 0x1000
READ image: 13 offset: 0x39000 length: 0x1000
READ image: 13 offset: 0x3a000 length: 0x1000
READ image: 13 offset: 0x3b000 length: 0x1000
READ image: 13 offset: 0x3c000 length: 0x1000
READ image: 13 offset: 0x3d000 length: 0x1000
READ image: 13 offset: 0x3e000 length: 0x1000
READ image: 13 offset: 0x3f000 length: 0x1000
READ image: 13 offset: 0x40000 length: 0x1000
READ image: 13 offset: 0x41000 length: 0x1000
READ image: 13 offset: 0x42000 length: 0x1000
READ image: 13 offset: 0x43000 length: 0x1000
READ image: 13 offset: 0x44000 length: 0x1000
READ image: 13 offset: 0x45000 length: 0x1000
READ image: 13 offset: 0x46000 length: 0x1000
READ image: 13 offset: 0x47000 length: 0x1000
READ image: 13 offset: 0x48000 length: 0x1000
READ image: 13 offset: 0x49000 length: 0x1000
READ image: 13 offset: 0x4a000 length: 0x1000
READ image: 13 offset: 0x4b000 length: 0x1000
READ image: 13 offset: 0x4c000 length: 0x1000
READ image: 13 offset: 0x4d000 length: 0x1000
READ image: 13 offset: 0x4e000 length: 0x1000
READ image: 13 offset: 0x4f000 length: 0x1000
READ image: 13 offset: 0x50000 length: 0x1000
READ image: 13 offset: 0x51000 length: 0x1000
READ image: 13 offset: 0x52000 length: 0x1000
READ image: 13 offset: 0x53000 length: 0x1000
READ image: 13 offset: 0x54000 length: 0x1000
READ image: 13 offset: 0x55000 length: 0x1000
READ image: 13 offset: 0x56000 length: 0x1000
READ image: 13 offset: 0x57000 length: 0x1000
READ image: 13 offset: 0x58000 length: 0x1000
READ image: 13 offset: 0x59000 length: 0x1000
READ image: 13 offset: 0x5a000 length: 0x1000
READ image: 13 offset: 0x5b000 length: 0x1000
READ image: 13 offset: 0x5c000 length: 0xf34
READ image: 13 offset: 0x5cf34 length: 0x1000
READ image: 13 offset: 0x5df34 length: 0x1000
READ image: 13 offset: 0x5ef34 length: 0x1000
READ image: 13 offset: 0x5ff34 length: 0x1000
READ image: 13 offset: 0x60f34 length: 0x1000
READ image: 13 offset: 0x61f34 length: 0x1000
READ image: 13 offset: 0x62f34 length: 0x1000
READ image: 13 offset: 0x63f34 length: 0x1000
READ image: 13 offset: 0x64f34 length: 0x1000
READ image: 13 offset: 0x65f34 length: 0x1000
READ image: 13 offset: 0x66f34 length: 0x1000
READ image: 13 offset: 0x67f34 length: 0x1000
READ image: 13 offset: 0x68f34 length: 0x1000
READ image: 13 offset: 0x69f34 length: 0x1000
READ image: 13 offset: 0x6af34 length: 0x1000
READ image: 13 offset: 0x6bf34 length: 0x1000
READ image: 13 offset: 0x6cf34 length: 0x480
END OF IMAGE image: 13 status: 0
DONE status: 0
qdl: firehose operation timed out
FIREHOSE WRITE: <?xml version="1.0"?>
<data><configure MemoryName="ufs" MaxPayloadSizeToTargetInBytes="1048576" verbose="0" ZLPAwareHost="1" SkipStorageInit="0"/></data>

FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?><data><log value="ERROR: Only nop and sig tag can be recevied before authentication." /></data>
LOG: ERROR: Only nop and sig tag can be recevied before authentication.
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" /></data>