[YU Yureka Q&A, Help & Troubleshooting] amit3880:
I am trying today again and I could see it progress fine but when trying to patching using patch0.xml it shows below error. full logs are inline

PATCH: Partition 0, Sector: 9, Offset 40 Bytes, Size: 8 Bytes, Value: NUM_DISK_SECTORS-34.

PATCH: Fail Code: 10

Patch unsuccessful, aborting

Download Fail:System.Exception: Failed to Upload the emmc images to the phone using Firehose.

at QC.QMSLPhone.Phone.QPHONEMS_UploadEmmcImages_FireHose(String rawprogramfile1, String patchfile1, String rawprogramfile2, String patchfile2, String rawprogramfile3, String patchfile3, String rawprogramfile4, String patchfile4, String rawprogramfile5, String patchfile5, String rawprogramfile6, String patchfile6, String rawprogramfile7, String patchfile7, String rawprogramfile8, String patchfile8, String rawprogramfile9, String patchfile9, String rawprogramfile10, String patchfile10, Single& imageSizeInMB, Single& throughput, Int32 NumberOfFiles)

at QC.SwDownloadDLL.SwDownload.FireHoseDownloadImage(Boolean bResetPhone, List`1 rawprogramFilesList, List`1 patchFilesList, Single& fImageSizeInMB, Single& fThroughput)

Download Fail:FireHose Fail FireHose Fail

Finish Download

____________

Process Index:0

Programmer Path:D:\Yureka\Firmware\prog_emmc_firehose.mbn

Image Search Path:D:\Yureka\Firmware

Please select the XML file

Start Download

Program Path:D:\Yureka\Firmware\prog_emmc_firehose.mbn

COM Port number:5

Sahara Connecting ...

Sahara Version:2

Start Sending Programmer

Sending Programmer Finished

Switch To FireHose

Max Payload Size to Target:49152 Bytes

Device Type:eMMC

Platform:8x26

Disable Ack Raw Data Every N Packets

Ack Raw Data:False

Skip Write:False

Always Validate:False

Use Verbose:False

COM Port number:5

Sending NOP

FireHose NOP sent successfully

Sending Configuration

Device Type:eMMC

Platform:8x26

Set TxBuffer 0x4000, RxBuffer 0x4000

Firehose configure packet sent successfully!

Total Bytes To Program 0x578B7CA0

Download Image

PROGRAM: Partition 0, Sector: 0, Length: 33 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\gpt_backup0.bin

PROGRAM: Written Bytes 0x4200 (64)

Program Size: 0.02 MB

PROGRAM: Partition 0, Sector: 0, Length: 34 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\gpt_main0.bin

PROGRAM: Written Bytes 0x4400 (64)

Program Size: 0.02 MB

PROGRAM: Replace the partition sectors number 0xa000 to file size in sector 0x99b0

PROGRAM: Partition 0, Sector: 3608576, Length: 39344 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\recovery.img

PROGRAM: Written Bytes 0x1336000 (64)

Program Size: 19.21 MB

PROGRAM: Partition 0, Sector: 3346432, Length: 262144 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\cache.img

PROGRAM: Written Bytes 0x8000000 (64)

Program Size: 128.00 MB

PROGRAM: Partition 0, Sector: 3325952, Length: 20480 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\persist.img

PROGRAM: Written Bytes 0xa00000 (64)

Program Size: 10.00 MB

PROGRAM: Replace the partition sectors number 0x2bc000 to file size in sector 0x24a97f

PROGRAM: Partition 0, Sector: 458752, Length: 2402687 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\system.img

PROGRAM: Written Bytes 0x4952fe00 (64)

Program Size: 1173.19 MB

PROGRAM: Partition 0, Sector: 393216, Length: 2048 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\param.bin

PROGRAM: Written Bytes 0x100000 (64)

Program Size: 1.00 MB

PROGRAM: Replace the partition sectors number 0xa000 to file size in sector 0x8334

PROGRAM: Partition 0, Sector: 330848, Length: 33588 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\boot.img

PROGRAM: Written Bytes 0x1066800 (64)

Program Size: 16.40 MB

PROGRAM: Partition 0, Sector: 327744, Length: 3072 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\nv.tar.mbn

PROGRAM: Written Bytes 0x180000 (64)

Program Size: 1.50 MB

PROGRAM: Partition 0, Sector: 327680, Length: 64 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\DDR.bin

PROGRAM: Written Bytes 0x8000 (64)

Program Size: 0.03 MB

PROGRAM: Partition 0, Sector: 274432, Length: 2048 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\MISC.img

PROGRAM: Written Bytes 0x100000 (64)

Program Size: 1.00 MB

PROGRAM: Partition 0, Sector: 271360, Length: 3072 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\dummy.bin

PROGRAM: Written Bytes 0x180000 (64)

Program Size: 1.50 MB

PROGRAM: Partition 0, Sector: 268288, Length: 3072 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\dummy.bin

PROGRAM: Written Bytes 0x180000 (64)

Program Size: 1.50 MB

PROGRAM: Replace the partition sectors number 0x400 to file size in sector 0x29

PROGRAM: Partition 0, Sector: 265216, Length: 41 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\hyp.mbn

PROGRAM: Written Bytes 0x5200 (64)

Program Size: 0.02 MB

PROGRAM: Replace the partition sectors number 0x400 to file size in sector 0x29

PROGRAM: Partition 0, Sector: 264192, Length: 41 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\hyp.mbn

PROGRAM: Written Bytes 0x5200 (64)

Program Size: 0.02 MB

PROGRAM: Replace the partition sectors number 0x400 to file size in sector 0x300

PROGRAM: Partition 0, Sector: 263168, Length: 768 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\tz.mbn

PROGRAM: Written Bytes 0x60000 (64)

Program Size: 0.38 MB

PROGRAM: Replace the partition sectors number 0x400 to file size in sector 0x300

PROGRAM: Partition 0, Sector: 262144, Length: 768 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\tz.mbn

PROGRAM: Written Bytes 0x60000 (64)

Program Size: 0.38 MB

PROGRAM: Replace the partition sectors number 0x400 to file size in sector 0x12d

PROGRAM: Partition 0, Sector: 261120, Length: 301 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\rpm.mbn

PROGRAM: Written Bytes 0x25a00 (64)

Program Size: 0.15 MB

PROGRAM: Replace the partition sectors number 0x400 to file size in sector 0x12d

PROGRAM: Partition 0, Sector: 260096, Length: 301 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\rpm.mbn

PROGRAM: Written Bytes 0x25a00 (64)

Program Size: 0.15 MB

PROGRAM: Replace the partition sectors number 0x7800 to file size in sector 0x1756

PROGRAM: Partition 0, Sector: 229376, Length: 5974 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\emmc_appsboot.mbn

PROGRAM: Written Bytes 0x2eac00 (64)

Program Size: 2.92 MB

PROGRAM: Replace the partition sectors number 0x7800 to file size in sector 0x1756

PROGRAM: Partition 0, Sector: 198656, Length: 5974 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\emmc_appsboot.mbn

PROGRAM: Written Bytes 0x2eac00 (64)

Program Size: 2.92 MB

PROGRAM: Replace the partition sectors number 0x400 to file size in sector 0x229

PROGRAM: Partition 0, Sector: 197632, Length: 553 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\sbl1.mbn

PROGRAM: Written Bytes 0x45200 (64)

Program Size: 0.27 MB

PROGRAM: Replace the partition sectors number 0x400 to file size in sector 0x229

PROGRAM: Partition 0, Sector: 196608, Length: 553 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\sbl1.mbn

PROGRAM: Written Bytes 0x45200 (64)

Program Size: 0.27 MB

PROGRAM: Replace the partition sectors number 0x20000 to file size in sector 0x16903

PROGRAM: Partition 0, Sector: 65536, Length: 92419 Sectors, Sector Size: 512 Bytes

File: D:\Yureka\Firmware\NON-HLOS.bin

PROGRAM: Written Bytes 0x2d20600 (64)

Program Size: 45.13 MB

Total Size: 1405.95 MB

Total Size: 106 Seconds

Throughput: 13.26 MB/Seconds

PATCH: Partition 0, Sector: 9, Offset 40 Bytes, Size: 8 Bytes, Value: NUM_DISK_SECTORS-34.

PATCH: Fail Code: 10

Patch unsuccessful, aborting

Download Fail:System.Exception: Failed to Upload the emmc images to the phone using Firehose.

at QC.QMSLPhone.Phone.QPHONEMS_UploadEmmcImages_FireHose(String rawprogramfile1, String patchfile1, String rawprogramfile2, String patchfile2, String rawprogramfile3, String patchfile3, String rawprogramfile4, String patchfile4, String rawprogramfile5, String patchfile5, String rawprogramfile6, String patchfile6, String rawprogramfile7, String patchfile7, String rawprogramfile8, String patchfile8, String rawprogramfile9, String patchfile9, String rawprogramfile10, String patchfile10, Single& imageSizeInMB, Single& throughput, Int32 NumberOfFiles)

at QC.SwDownloadDLL.SwDownload.FireHoseDownloadImage(Boolean bResetPhone, List`1 rawprogramFilesList, List`1 patchFilesList, Single& fImageSizeInMB, Single& fThroughput)

Download Fail:FireHose Fail FireHose Fail

Finish Download