[Mi 3 Q&A, Help & Troubleshooting] Koenichiro:
My Mi3 can't be flashed using miflash, always stuck at flashing modem :(

here's the log of the miflash

[00000F4C]CreateManagedObject(1261): Unspecified error(0x80131604)

[00000F4C]GetFactoryObject(1305): Unspecified error(0x80131604)

[00000F4C]CreateManagedObject(1261): Unspecified error(0x80131604)

[00000F4C]GetFactoryObject(1305): Unspecified error(0x80131604)

[00000F4C]GetFactoryObject(1326): The specified service does not exist.(0x800704db)

[00000F4C]GetSearchPath(1381): The specified service does not exist.(0x800704db)

[00001700]e0b3442e	0.00	execute D:\cancro_global_images_5.9.16_20150826.0000.7_4.4_global\flash_all.bat

[00001700]e0b3442e	0.19

[00001700]e0b3442e	0.19	$fastboot -s e0b3442e getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device

[00001700]e0b3442e	0.36	product: MSM8974

[00001700]e0b3442e	0.36

[00001700]e0b3442e	0.36	$fastboot -s e0b3442e getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || exit /B 1

[00001700]e0b3442e	0.41	product: MSM8974

[00001700]e0b3442e	0.41

[00001700]e0b3442e	0.41	$fastboot -s e0b3442e getvar board_version 2>&1 | findstr /r /c:"^board_version: *4.4" && echo Missmatching board version

[00001700]e0b3442e	0.45

[00001700]e0b3442e	0.45	$fastboot -s e0b3442e getvar board_version 2>&1 | findstr /r /c:"^board_version: *4.4" && exit /B 1

[00001700]e0b3442e	0.63

[00001700]e0b3442e	0.63	$fastboot -s e0b3442e getvar board_version 2>&1 | findstr /r /c:"^board_version: *5.[0-9]" && echo Missmatching board version

[00001700]e0b3442e	0.84

[00001700]e0b3442e	0.84	$fastboot -s e0b3442e getvar board_version 2>&1 | findstr /r /c:"^board_version: *5.[0-9]" && exit /B 1

[00001700]e0b3442e	1.03

[00001700]e0b3442e	1.03	$fastboot -s e0b3442e flash tz D:\cancro_global_images_5.9.16_20150826.0000.7_4.4_global\images\tz.mbn

[00001700]e0b3442e	1.25	target reported max download size of 805306368 bytes

[00001700]e0b3442e	1.25	sending 'tz' (325 KB)...

[00001700]e0b3442e	1.25	OKAY [ 0.014s]

[00001700]e0b3442e	1.25	writing 'tz'...

[00001700]e0b3442e	1.25	OKAY [ 0.021s]

[00001700]e0b3442e	1.25	finished. total time: 0.035s

[00001700]e0b3442e	1.25

[00001700]e0b3442e	1.25	$fastboot -s e0b3442e flash dbi D:\cancro_global_images_5.9.16_20150826.0000.7_4.4_global\images\sdi.mbn

[00001700]e0b3442e	1.33	target reported max download size of 805306368 bytes

[00001700]e0b3442e	1.33	sending 'dbi' (11 KB)...

[00001700]e0b3442e	1.33	OKAY [ 0.003s]

[00001700]e0b3442e	1.33	writing 'dbi'...

[00001700]e0b3442e	1.33	OKAY [ 0.005s]

[00001700]e0b3442e	1.33	finished. total time: 0.008s

[00001700]e0b3442e	1.34

[00001700]e0b3442e	1.34	$fastboot -s e0b3442e flash sbl1 D:\cancro_global_images_5.9.16_20150826.0000.7_4.4_global\images\sbl1.mbn

[00001700]e0b3442e	1.56	target reported max download size of 805306368 bytes

[00001700]e0b3442e	1.56	sending 'sbl1' (274 KB)...

[00001700]e0b3442e	1.56	OKAY [ 0.013s]

[00001700]e0b3442e	1.56	writing 'sbl1'...

[00001700]e0b3442e	1.56	OKAY [ 0.019s]

[00001700]e0b3442e	1.56	finished. total time: 0.032s

[00001700]e0b3442e	1.56

[00001700]e0b3442e	1.56	$fastboot -s e0b3442e flash rpm D:\cancro_global_images_5.9.16_20150826.0000.7_4.4_global\images\rpm.mbn

[00001700]e0b3442e	1.66	target reported max download size of 805306368 bytes

[00001700]e0b3442e	1.66	sending 'rpm' (185 KB)...

[00001700]e0b3442e	1.66	OKAY [ 0.009s]

[00001700]e0b3442e	1.66	writing 'rpm'...

[00001700]e0b3442e	1.66	OKAY [ 0.012s]

[00001700]e0b3442e	1.66	finished. total time: 0.021s

[00001700]e0b3442e	1.66

[00001700]e0b3442e	1.66	$fastboot -s e0b3442e flash aboot D:\cancro_global_images_5.9.16_20150826.0000.7_4.4_global\images\emmc_appsboot.mbn

[00001700]e0b3442e	1.95	target reported max download size of 805306368 bytes

[00001700]e0b3442e	1.95	sending 'aboot' (1991 KB)...

[00001700]e0b3442e	1.95	OKAY [ 0.070s]

[00001700]e0b3442e	1.95	writing 'aboot'...

[00001700]e0b3442e	1.95	OKAY [ 0.042s]

[00001700]e0b3442e	1.95	finished. total time: 0.112s

[00001700]e0b3442e	1.95

[00001700]e0b3442e	1.95	$fastboot -s e0b3442e erase boot

[00001700]e0b3442e	2.03	erasing 'boot'...

[00001700]e0b3442e	2.03	OKAY [ 0.013s]

[00001700]e0b3442e	2.03	finished. total time: 0.013s

[00001700]e0b3442e	2.03

[00001700]e0b3442e	2.03	$fastboot -s e0b3442e erase DDR

[00001700]e0b3442e	7.38	erasing 'DDR'...

[00001700]e0b3442e	7.38	OKAY [ 5.159s]

[00001700]e0b3442e	7.38	finished. total time: 5.159s

[00001700]e0b3442e	7.39

[00001700]e0b3442e	7.39	$fastboot -s e0b3442e flash misc D:\cancro_global_images_5.9.16_20150826.0000.7_4.4_global\images\misc.img

[00001700]e0b3442e	7.45	target reported max download size of 805306368 bytes

[00001700]e0b3442e	7.45	sending 'misc' (8 KB)...

[00001700]e0b3442e	7.45	OKAY [ 0.003s]

[00001700]e0b3442e	7.45	writing 'misc'...

[00001700]e0b3442e	7.45	OKAY [ 0.005s]

[00001700]e0b3442e	7.45	finished. total time: 0.008s

[00001700]e0b3442e	7.47

[00001700]e0b3442e	7.47	$fastboot -s e0b3442e flash modem+modem1 D:\cancro_global_images_5.9.16_20150826.0000.7_4.4_global\images\NON-HLOS.bin

I've waited for an hour but the progress bar doesn't go forward, I tried to re-flash, changing usb cable, but when it started flashing, it always stuck on the flash modem process.

does anyone has ever had the same problem? please help me out. thanks