[ZTE Axon 7 Questions & Answers] tokinger:
Hi Guys, I think I ended up bricking my Chinese A2017:

After following step Step 8a: to flash twrp-3.0.4-0-ailsa_ii.img, described in this forum https://xdaforums.com/axon-7/how-to/guide-b13-chinese-a2017-root-unlock-t3549873

I haven't been able to

boot recovery

again, not even using Axon7root.exe -p N to flash it again.

I had the Chinese bootstack B10 and B29 US version installed working flawlessly, so I tried from EDL:

Using Miflash 2016.12.22: Flashing FASTBOOT_UNLOCK and then B29_TWRP (Marshmallow):

https://xdaforums.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514

I think this made the boot image unbootable from my Chinese model, when I switch the phone on, ZTE logo appears , but I can't boot my

system

or

recovery

anymore, I'm stuck on EDL.

There is another thread that I thought, would have worked: https://xdaforums.com/axon-7/development/axon7-official-firmware-version-b07-cn-t3551590

I checked the MD5 listed in the post, and started flashing, however, after some seconds flash failed: ERROR_BAD_FORMAT 0

This is Mi Flash log

[0:37:03 COM3]:MiFlash 2016.12.22.0(Release)

[0:37:03 COM3]:[COM3]:start flash.

[0:37:03 COM3]:received hello packet

[0:37:03 COM3]:download programmer A:\New folder\prog_ufs_firehose_8996_ddr.elf

[0:37:03 COM3]:sahara read 64b data:imgID 13,offset 0,length 64

[0:37:03 COM3]:sahara read 64b data:imgID 13,offset 64,length 560

[0:37:03 COM3]:sahara read 64b data:imgID 13,offset 4096,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 8192,length 2664

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 12288,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 16384,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 20480,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 24576,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 28672,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 32768,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 36864,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 40960,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 45056,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 49152,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 53248,length 4096

[0:37:04 COM3]:sahara read 64b data:imgID 13,offset 57344,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 61440,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 65536,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 69632,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 73728,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 77824,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 81920,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 86016,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 90112,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 94208,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 98304,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 102400,length 4096

[0:37:05 COM3]:sahara read 64b data:imgID 13,offset 106496,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 110592,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 114688,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 118784,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 122880,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 126976,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 131072,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 135168,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 139264,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 143360,length 4096

[0:37:06 COM3]:sahara read 64b data:imgID 13,offset 147456,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 151552,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 155648,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 159744,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 163840,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 167936,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 172032,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 176128,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 180224,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 184320,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 188416,length 4096

[0:37:07 COM3]:sahara read 64b data:imgID 13,offset 192512,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 196608,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 200704,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 204800,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 208896,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 212992,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 217088,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 221184,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 225280,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 229376,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 233472,length 4096

[0:37:08 COM3]:sahara read 64b data:imgID 13,offset 237568,length 4096

[0:37:09 COM3]:sahara read 64b data:imgID 13,offset 241664,length 4096

[0:37:09 COM3]:sahara read 64b data:imgID 13,offset 245760,length 4096

[0:37:09 COM3]:sahara read 64b data:imgID 13,offset 249856,length 4096

[0:37:09 COM3]:sahara read 64b data:imgID 13,offset 253952,length 4096

[0:37:09 COM3]:sahara read 64b data:imgID 13,offset 258048,length 4096

[0:37:09 COM3]:sahara read 64b data:imgID 13,offset 262144,length 4096

[0:37:10 COM3]:sahara read 64b data:imgID 13,offset 266240,length 4096

[0:37:10 COM3]:sahara read 64b data:imgID 13,offset 270336,length 4096

[0:37:10 COM3]:sahara read 64b data:imgID 13,offset 274432,length 4096

[0:37:10 COM3]:sahara read 64b data:imgID 13,offset 278528,length 4096

[0:37:10 COM3]:sahara read 64b data:imgID 13,offset 282624,length 4096

[0:37:11 COM3]:sahara read 64b data:imgID 13,offset 286720,length 4096

[0:37:11 COM3]:sahara read 64b data:imgID 13,offset 290816,length 4096

[0:37:11 COM3]:sahara read 64b data:imgID 13,offset 294912,length 4096

[0:37:11 COM3]:sahara read 64b data:imgID 13,offset 299008,length 4096

[0:37:11 COM3]:sahara read 64b data:imgID 13,offset 303104,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 307200,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 311296,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 315392,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 319488,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 323584,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 327680,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 331776,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 335872,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 339968,length 2784

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 342752,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 346848,length 4096

[0:37:12 COM3]:sahara read 64b data:imgID 13,offset 350944,length 4096

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 355040,length 4096

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 359136,length 4096

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 363232,length 4096

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 367328,length 3656

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 370992,length 4096

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 375088,length 4096

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 379184,length 2032

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 381216,length 4096

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 385312,length 4096

[0:37:13 COM3]:sahara read 64b data:imgID 13,offset 389408,length 4096

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 393504,length 4048

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 397552,length 4096

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 401648,length 4096

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 405744,length 4096

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 409840,length 4096

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 413936,length 4096

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 418032,length 4096

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 422128,length 4096

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 426224,length 4096

[0:37:14 COM3]:sahara read 64b data:imgID 13,offset 430320,length 4096

[0:37:15 COM3]:sahara read 64b data:imgID 13,offset 434416,length 4096

[0:37:15 COM3]:sahara read 64b data:imgID 13,offset 438512,length 4004

[0:37:15 COM3]:sahara read end imgID:13 status:0

[0:37:15 COM3]:Send done packet

[0:37:15 COM3]:file A:\New folder\prog_ufs_firehose_8996_ddr.elf transferred successfully

[0:37:16 COM3]:send nop command

[0:37:16 COM3]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>

[0:37:17 COM3]:get response from target

[0:37:17 COM3]:dump:

[0:37:17 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke getnumdisksectors "/>

</data>

[0:37:17 COM3]:dump:

[0:37:17 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke getnumdisksectors "/>

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:18 COM3]:send configure command

[0:37:18 COM3]:send command:<?xml version="1.0" ?><data><configure verbose="0" ZlpAwareHost="1" MaxPayloadSizeToTargetInBytes="1048576" MemoryName="ufs" SkipStorageInit="1"/></data>

[0:37:18 COM3]:get response from target

[0:37:18 COM3]:dump:

[0:37:18 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" MinVersionSupported="1" MemoryName="UFS" MaxPayloadSizeFromTargetInBytes="4096" MaxPayloadSizeToTargetInBytes="1048576" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" Version="1" TargetName="MSM8996" DateTime="Jul 22 2016 - 05:25:12" />

</data>

[0:37:19 COM3]:max buffer sector is 256

[0:37:19 COM3]:start provision:A:\New folder\provision_samsung.xml

[0:37:19 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs bNumberLU="6" bBootEnable="1" bDescrAccessEn="0" bInitPowerMode="1" bHighPriorityLUN="0x5" bSecureRemovalType="0" bInitActiveICCLevel="0" wPeriodicRTCUpdate="0" bConfigDescrLock="0" />

</data>

[0:37:19 COM3]:get response from target

[0:37:19 COM3]:dump:

[0:37:19 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="bNumberLU=6 bBootEnable=1 bDescrAccessEn=0 bInitPowerMode=1 bHighPriorityLUN=5 bSecureRemovalType=0 bInitActiveICCLevel=0 wPeriodicRTCUpdate=0 bConfigDescrLock=0 " />

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:20 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs LUNum="0" bLUEnable="1" bBootLunID="0" size_in_kb="25141248" bDataReliability="0" bLUWriteProtect="0" bMemoryType="0" bLogicalBlockSize="0x0c" bProvisioningType="2" wContextCapabilities="0" />

</data>

[0:37:20 COM3]:get response from target

[0:37:20 COM3]:dump:

[0:37:20 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="LUNum=0 bLUEnable=1 bBootLunID=0 bLUWriteProtect=0 bMemoryType=0 size_in_KB=25141248 bDataReliability=0 bLogicalBlockSize=12 bProvisioningType=2 wContextCapabilities=0 " />

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:21 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs LUNum="1" bLUEnable="1" bBootLunID="1" size_in_kb="4096" bDataReliability="0" bLUWriteProtect="1" bMemoryType="3" bLogicalBlockSize="0x0c" bProvisioningType="2" wContextCapabilities="0" />

</data>

[0:37:21 COM3]:get response from target

[0:37:21 COM3]:dump:

[0:37:21 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="LUNum=1 bLUEnable=1 bBootLunID=1 bLUWriteProtect=1 bMemoryType=3 size_in_KB=4096 bDataReliability=0 bLogicalBlockSize=12 bProvisioningType=2 wContextCapabilities=0 " />

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:22 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs LUNum="2" bLUEnable="1" bBootLunID="2" size_in_kb="4096" bDataReliability="0" bLUWriteProtect="1" bMemoryType="3" bLogicalBlockSize="0x0c" bProvisioningType="2" wContextCapabilities="0" />

</data>

[0:37:22 COM3]:get response from target

[0:37:22 COM3]:dump:

[0:37:22 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="LUNum=2 bLUEnable=1 bBootLunID=2 bLUWriteProtect=1 bMemoryType=3 size_in_KB=4096 bDataReliability=0 bLogicalBlockSize=12 bProvisioningType=2 wContextCapabilities=0 " />

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:23 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs LUNum="3" bLUEnable="1" bBootLunID="0" size_in_kb="4096" bDataReliability="0" bLUWriteProtect="1" bMemoryType="0" bLogicalBlockSize="0x0c" bProvisioningType="2" wContextCapabilities="0" />

</data>

[0:37:23 COM3]:get response from target

[0:37:23 COM3]:dump:

[0:37:23 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="LUNum=3 bLUEnable=1 bBootLunID=0 bLUWriteProtect=1 bMemoryType=0 size_in_KB=4096 bDataReliability=0 bLogicalBlockSize=12 bProvisioningType=2 wContextCapabilities=0 " />

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:24 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs LUNum="4" bLUEnable="1" bBootLunID="0" size_in_kb="6656000" bDataReliability="0" bLUWriteProtect="1" bMemoryType="0" bLogicalBlockSize="0x0c" bProvisioningType="2" wContextCapabilities="0" />

</data>

[0:37:24 COM3]:get response from target

[0:37:24 COM3]:dump:

[0:37:24 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="LUNum=4 bLUEnable=1 bBootLunID=0 bLUWriteProtect=1 bMemoryType=0 size_in_KB=6656000 bDataReliability=0 bLogicalBlockSize=12 bProvisioningType=2 wContextCapabilities=0 " />

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:25 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs LUNum="5" bLUEnable="1" bBootLunID="0" size_in_kb="40960" bDataReliability="0" bLUWriteProtect="0" bMemoryType="0" bLogicalBlockSize="0x0c" bProvisioningType="2" wContextCapabilities="0" />

</data>

[0:37:25 COM3]:get response from target

[0:37:25 COM3]:dump:

[0:37:25 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="LUNum=5 bLUEnable=1 bBootLunID=0 bLUWriteProtect=0 bMemoryType=0 size_in_KB=40960 bDataReliability=0 bLogicalBlockSize=12 bProvisioningType=2 wContextCapabilities=0 " />

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:26 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs LUNum="6" bLUEnable="0" bBootLunID="0" size_in_kb="0" bDataReliability="0" bLUWriteProtect="0" bMemoryType="0" bLogicalBlockSize="0x0c" bProvisioningType="0" wContextCapabilities="0" />

</data>

[0:37:26 COM3]:get response from target

[0:37:26 COM3]:dump:

[0:37:26 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="LUNum=6 bLUEnable=0 bBootLunID=0 bLUWriteProtect=0 bMemoryType=0 size_in_KB=0 bDataReliability=0 bLogicalBlockSize=12 bProvisioningType=0 wContextCapabilities=0 " />

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:27 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs LUNum="7" bLUEnable="0" bBootLunID="0" size_in_kb="0" bDataReliability="0" bLUWriteProtect="0" bMemoryType="0" bLogicalBlockSize="0x0c" bProvisioningType="0" wContextCapabilities="0" />

</data>

[0:37:27 COM3]:get response from target

[0:37:27 COM3]:dump:

[0:37:27 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="LUNum=7 bLUEnable=0 bBootLunID=0 bLUWriteProtect=0 bMemoryType=0 size_in_KB=0 bDataReliability=0 bLogicalBlockSize=12 bProvisioningType=0 wContextCapabilities=0 " />

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:28 COM3]:send command:<?xml version="1.0" ?>

<data>

<ufs LUNtoGrow="0" commit="1" />

</data>

[0:37:28 COM3]:get response from target

[0:37:29 COM3]:dump:

[0:37:29 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:29 COM3]:Provision done.

[0:37:29 COM3]:restart target

[0:37:29 COM3]:send command:<?xml version="1.0" ?><data><power verbose="0" value="reset_to_edl"/></data>

[0:37:29 COM3]:get response from target

[0:37:30 COM3]:dump:

[0:37:30 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:31 COM3]:waiting for COM3 restart

[0:37:31 COM3]:COM3 restart successfully

[0:37:33 COM3]:[COM3]:start flash.

[0:37:33 COM3]:received hello packet

[0:37:33 COM3]:download programmer A:\New folder\prog_ufs_firehose_8996_ddr.elf

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 0,length 64

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 64,length 560

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 4096,length 4096

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 8192,length 2664

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 12288,length 4096

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 16384,length 4096

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 20480,length 4096

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 24576,length 4096

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 28672,length 4096

[0:37:33 COM3]:sahara read 64b data:imgID 13,offset 32768,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 36864,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 40960,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 45056,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 49152,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 53248,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 57344,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 61440,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 65536,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 69632,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 73728,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 77824,length 4096

[0:37:34 COM3]:sahara read 64b data:imgID 13,offset 81920,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 86016,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 90112,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 94208,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 98304,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 102400,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 106496,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 110592,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 114688,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 118784,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 122880,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 126976,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 131072,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 135168,length 4096

[0:37:35 COM3]:sahara read 64b data:imgID 13,offset 139264,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 143360,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 147456,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 151552,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 155648,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 159744,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 163840,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 167936,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 172032,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 176128,length 4096

[0:37:36 COM3]:sahara read 64b data:imgID 13,offset 180224,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 184320,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 188416,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 192512,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 196608,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 200704,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 204800,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 208896,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 212992,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 217088,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 221184,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 225280,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 229376,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 233472,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 237568,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 241664,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 245760,length 4096

[0:37:37 COM3]:sahara read 64b data:imgID 13,offset 249856,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 253952,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 258048,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 262144,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 266240,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 270336,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 274432,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 278528,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 282624,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 286720,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 290816,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 294912,length 4096

[0:37:38 COM3]:sahara read 64b data:imgID 13,offset 299008,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 303104,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 307200,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 311296,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 315392,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 319488,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 323584,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 327680,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 331776,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 335872,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 339968,length 2784

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 342752,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 346848,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 350944,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 355040,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 359136,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 363232,length 4096

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 367328,length 3656

[0:37:39 COM3]:sahara read 64b data:imgID 13,offset 370992,length 4096

[0:37:40 COM3]:sahara read 64b data:imgID 13,offset 375088,length 4096

[0:37:40 COM3]:sahara read 64b data:imgID 13,offset 379184,length 2032

[0:37:40 COM3]:sahara read 64b data:imgID 13,offset 381216,length 4096

[0:37:40 COM3]:sahara read 64b data:imgID 13,offset 385312,length 4096

[0:37:40 COM3]:sahara read 64b data:imgID 13,offset 389408,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 393504,length 4048

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 397552,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 401648,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 405744,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 409840,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 413936,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 418032,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 422128,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 426224,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 430320,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 434416,length 4096

[0:37:41 COM3]:sahara read 64b data:imgID 13,offset 438512,length 4004

[0:37:42 COM3]:sahara read end imgID:13 status:0

[0:37:42 COM3]:Send done packet

[0:37:42 COM3]:file A:\New folder\prog_ufs_firehose_8996_ddr.elf transferred successfully

[0:37:43 COM3]:send nop command

[0:37:43 COM3]:send command:<?xml version="1.0" ?><data><nop verbose="0" value="ping"/></data>

[0:37:43 COM3]:get response from target

[0:37:43 COM3]:dump:

[0:37:43 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke getnumdisksectors "/>

</data>

[0:37:44 COM3]:dump:

[0:37:44 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke getnumdisksectors "/>

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:44 COM3]:send configure command

[0:37:44 COM3]:send command:<?xml version="1.0" ?><data><configure verbose="0" ZlpAwareHost="1" MaxPayloadSizeToTargetInBytes="1048576" MemoryName="ufs" SkipStorageInit="0"/></data>

[0:37:44 COM3]:get response from target

[0:37:45 COM3]:dump:

[0:37:45 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" MinVersionSupported="1" MemoryName="UFS" MaxPayloadSizeFromTargetInBytes="4096" MaxPayloadSizeToTargetInBytes="1048576" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" Version="1" TargetName="MSM8996" DateTime="Jul 22 2016 - 05:25:12" />

</data>

[0:37:45 COM3]:max buffer sector is 256

[0:37:45 COM3]:send command:<?xml version="1.0" ?><data><setbootablestoragedrive verbose="0" value="1"/></data>

[0:37:45 COM3]:get response from target

[0:37:46 COM3]:dump:

[0:37:46 COM3]:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="ACK" />

</data>

[0:37:46 COM3]:Set Boot Partition

[0:37:46 COM3]:open program file A:\New folder\rawprogram0.xml

[0:37:46 COM3]:Write file A:\New folder\devcfg.mbn to partition[devcfg] sector 205192

[0:37:46 COM3]:write file legnth 40008 to partition 205192

[0:37:46 COM3]:WriteFile position 0, size 40960

[0:37:46 COM3]:Image A:\New folder\devcfg.mbn transferred successfully

[0:37:46 COM3]:Write sparse file A:\New folder\userdata.img to partition[userdata] sector 205512

[0:37:46 COM3]:ERROR_BAD_FORMAT 0

[0:37:46 COM3]:[0:37:46 COM3]:ERROR_BAD_FORMAT 0

[0:37:47 COM3]:flashSuccess False

[0:37:47 COM3]:isFactory False CheckCPUID False

[0:37:47 COM3]:before:flashSuccess is False set IsUpdate:True set IsDone True

[0:37:47 COM3]:after:flashSuccess is False set IsUpdate:false set IsDone true

Can you help me to check why no recovery image is usable?

And furthermore, Why can't I flash the only full recovery image which should unbrick my phone?

EDIT: I documented my solution in post #17: https://xdaforums.com/showpost.php?p=71002693&postcount=17

Thanks a lot in advance!