When I try to flash via fastboot system.img to YU Yuphoria I get the FAILED error.

A

AC Question

I executed fastboot -i 0x2A96 oem unlock before flashing. I also checked fastboot getvar unlocked so result is following.

>fastboot getvar unlocked
unlocked:
finished. total time: 0.002s*

And one more thing when I flashed cache , userdata , recovery , boot. It is all fine, there is no error. But this error occurs only when i tried to flash system. My Phone was stopped working due some decryption error and internal memory is showing as 0Mb in TWRP. I had followed many threads but no luck.

>fastboot -i 0x2A96 flash system system.img
target reported max download size of 268435456 bytes
erasing 'system'...
OKAY [ 0.018s]
sending sparse 'system' 1/4 (261218 KB)...
OKAY [ 8.737s]
writing 'system' 1/4...
**FAILED (remote: flash write failure)**
finished. total time: 9.167s
 

Forum statistics

Threads
949,675
Messages
6,943,923
Members
3,161,591
Latest member
sbittinger