[YU Yureka Q&A, Help & Troubleshooting] Parkadhe Anna:
flash write failure

your method worked, i m able to go to fastboot mode.

But received this error

C:\adb>fastboot -i 0x1ebf oem unlock

...

(bootloader) Warning: Wiping all user data in 20 seconds!

(bootloader) Disconnect USB to cancel unlock.

(bootloader) Erasing userdata.

(bootloader) Device unlocked.

OKAY [ 20.093s]

finished. total time: 20.093s

C:\adb>fastboot -i 0x1ebf flash sbl1 sbl1.mbn

target reported max download size of 268435456 bytes

sending 'sbl1' (276 KB)...

OKAY [ 0.016s]

writing 'sbl1'...

OKAY [ 0.000s]

finished. total time: 0.047s

C:\adb>fastboot -i 0x1ebf flash sbl1bak sbl1.mbn

target reported max download size of 268435456 bytes

sending 'sbl1bak' (276 KB)...

OKAY [ 0.016s]

writing 'sbl1bak'...

OKAY [ 0.016s]

finished. total time: 0.031s

C:\adb>fastboot -i 0x1ebf flash abootbak emmc_appsboot.mbn

target reported max download size of 268435456 bytes

sending 'abootbak' (3871 KB)...

OKAY [ 0.172s]

writing 'abootbak'...

OKAY [ 0.047s]

finished. total time: 0.234s

C:\adb>fastboot -i 0x1ebf flash aboot emmc_appsboot.mbn

target reported max download size of 268435456 bytes

sending 'aboot' (3871 KB)...

OKAY [ 0.172s]

writing 'aboot'...

FAILED (remote: flash write failure)

finished. total time: 0.203s

C:\adb>fastboot -i 0x1ebf flash rpm rpm.mbn

target reported max download size of 268435456 bytes

sending 'rpm' (150 KB)...

OKAY [ 0.016s]

writing 'rpm'...

OKAY [ 0.016s]

finished. total time: 0.031s

C:\adb>fastboot -i 0x1ebf flash rpmbak rpm.mbn

target reported max download size of 268435456 bytes

sending 'rpmbak' (150 KB)...

OKAY [ 0.016s]

writing 'rpmbak'...

OKAY [ 0.016s]

finished. total time: 0.031s

C:\adb>fastboot -i 0x1ebf flash tz tz.mbn

target reported max download size of 268435456 bytes

sending 'tz' (496 KB)...

OKAY [ 0.031s]

writing 'tz'...

OKAY [ 0.016s]

finished. total time: 0.047s

C:\adb>fastboot -i 0x1ebf flash tzbak tz.mbn

target reported max download size of 268435456 bytes

sending 'tzbak' (496 KB)...

OKAY [ 0.031s]

writing 'tzbak'...

OKAY [ 0.016s]

finished. total time: 0.062s

C:\adb>fastboot -i 0x1ebf flash hyp hyp.mbn

target reported max download size of 268435456 bytes

sending 'hyp' (72 KB)...

OKAY [ 0.000s]

writing 'hyp'...

OKAY [ 0.000s]

finished. total time: 0.031s

C:\adb>fastboot -i 0x1ebf flash hypbak hyp.mbn

target reported max download size of 268435456 bytes

sending 'hypbak' (72 KB)...

OKAY [ -0.000s]

writing 'hypbak'...

OKAY [ 0.016s]

finished. total time: 0.016s

C:\adb>fastboot -i 0x1ebf flash fsg nv.tar.mbn

target reported max download size of 268435456 bytes

sending 'fsg' (1536 KB)...

OKAY [ 0.062s]

writing 'fsg'...

OKAY [ 0.031s]

finished. total time: 0.109s

C:\adb>fastboot -i 0x1ebf flash misc MISC.img

target reported max download size of 268435456 bytes

sending 'misc' (1024 KB)...

OKAY [ 0.031s]

writing 'misc'...

OKAY [ 0.031s]

finished. total time: 0.062s

C:\adb>fastboot -i 0x1ebf flash boot boot.img

target reported max download size of 268435456 bytes

sending 'boot' (16792 KB)...

OKAY [ 0.718s]

writing 'boot'...

FAILED (remote: flash write failure)

finished. total time: 0.749s

C:\adb>fastboot -i 0x1ebf flash panic panic.img

target reported max download size of 268435456 bytes

sending 'panic' (20480 KB)...

OKAY [ 0.842s]

writing 'panic'...

OKAY [ 0.234s]

finished. total time: 1.092s

C:\adb>fastboot -i 0x1ebf flash persist persist.img

target reported max download size of 268435456 bytes

sending 'persist' (10240 KB)...

OKAY [ 0.437s]

writing 'persist'...

OKAY [ 0.140s]

finished. total time: 0.577s

C:\adb>fastboot -i 0x1ebf flash cache cache.img

target reported max download size of 268435456 bytes

erasing 'cache'...

OKAY [ 0.016s]

sending 'cache' (131072 KB)...

OKAY [ 5.444s]

writing 'cache'...

OKAY [ 1.482s]

finished. total time: 6.942s

C:\adb>fastboot -i 0x1ebf flash modemst1 modemst1.bin

target reported max download size of 268435456 bytes

sending 'modemst1' (1536 KB)...

OKAY [ 0.062s]

writing 'modemst1'...

OKAY [ 0.031s]

finished. total time: 0.094s

C:\adb>fastboot -i 0x1ebf flash modemst2 modemst2.bin

target reported max download size of 268435456 bytes

sending 'modemst2' (1536 KB)...

OKAY [ 0.047s]

writing 'modemst2'...

OKAY [ 0.016s]

finished. total time: 0.078s

C:\adb>fastboot -i 0x1ebf flash DDR DDR.bin

target reported max download size of 268435456 bytes

sending 'DDR' (32 KB)...

OKAY [ 0.000s]

writing 'DDR'...

OKAY [ 0.016s]

finished. total time: 0.016s

C:\adb>fastboot -i 0x1ebf flash params param.bin

target reported max download size of 268435456 bytes

sending 'params' (1024 KB)...

OKAY [ 0.047s]

writing 'params'...

OKAY [ 0.031s]

finished. total time: 0.078s

C:\adb>fastboot -i 0x1ebf flash recovery recovery.img

target reported max download size of 268435456 bytes

sending 'recovery' (19670 KB)...

OKAY [ 0.827s]

writing 'recovery'...

FAILED (remote: flash write failure)

finished. total time: 0.874s

C:\adb>fastboot -i 0x1ebf flash system system.img

target reported max download size of 268435456 bytes

erasing 'system'...

OKAY [ 0.016s]

sending sparse 'system' (259912 KB)...

OKAY [ 11.497s]

writing 'system'...

OKAY [ 3.058s]

sending sparse 'system' (257987 KB)...

OKAY [ 11.903s]

writing 'system'...

FAILED (remote: flash write failure)

finished. total time: 26.504s

C:\adb>fastboot -i 0x1ebf flash userdata userdata.img

target reported max download size of 268435456 bytes

erasing 'userdata'...

OKAY [ 0.062s]

sending 'userdata' (137274 KB)...

OKAY [ 5.741s]

writing 'userdata'...

FAILED (remote: flash write failure)

finished. total time: 5.866s

C:\adb>fastboot -i 0x1ebf flash modem NON-HLOS.bin

target reported max download size of 268435456 bytes

sending 'modem' (46209 KB)...

OKAY [ 1.903s]

writing 'modem'...

FAILED (remote: flash write failure)

finished. total time: 1.934s

C:\adb>fastboot -i 0x1ebf format cache

Creating filesystem with parameters:

Size: 134217728

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 1024

Label:

Blocks: 32768

Block groups: 1

Reserved block group size: 7

Created filesystem with 11/8192 inodes and 1550/32768 blocks

target reported max download size of 268435456 bytes

erasing 'cache'...

OKAY [ 0.016s]

sending 'cache' (6200 KB)...

OKAY [ 0.265s]

writing 'cache'...

OKAY [ 0.125s]

finished. total time: 0.421s

C:\adb>fastboot -i 0x1ebf format userdata

Creating filesystem with parameters:

Size: 14103326720

Block size: 4096

Blocks per group: 32768

Inodes per group: 8128

Inode size: 256

Journal blocks: 32768

Label:

Blocks: 3443195

Block groups: 106

Reserved block group size: 847

Created filesystem with 11/861568 inodes and 95321/3443195 blocks

target reported max download size of 268435456 bytes

erasing 'userdata'...

OKAY [ 0.078s]

sending 'userdata' (137434 KB)...

OKAY [ 5.756s]

writing 'userdata'...

FAILED (remote: flash write failure)

finished. total time: 5.866s

C:\adb>sleep 30s