[17:27:37 4c0896ff0804]:MiFlash 2017.4.25.0 [17:27:37 4c0896ff0804]:image path:C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global [17:27:37 4c0896ff0804]:env android path:"C:\XiaoMi\XiaoMiFlash\Source\ThirdParty\Google\Android" [17:27:37 4c0896ff0804]:script :C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\flash_all.bat [17:27:37 4c0896ff0804]:Physical Memory Usage:2166784 Byte [17:27:37 4c0896ff0804]:$fastboot -s 4c0896ff0804 getvar product 2>&1 | findstr /r /c:"^product: *MSM8953" || fastboot -s 4c0896ff0804 getvar product 2>&1 | findstr /r /c:"^product: *mido" || echo Missmatching image and device [17:27:38 4c0896ff0804]:product: mido [17:27:38 4c0896ff0804]:$fastboot -s 4c0896ff0804 getvar product 2>&1 | findstr /r /c:"^product: *MSM8953" || fastboot -s 4c0896ff0804 getvar product 2>&1 | findstr /r /c:"^product: *mido" || exit /B 1 [17:27:38 4c0896ff0804]:product: mido [17:27:38 4c0896ff0804]:$rem fastboot -s 4c0896ff0804 erase bk12 2>&1 [17:27:38 4c0896ff0804]:$if not 0 == 0 exit /B 1 [17:27:38 4c0896ff0804]:$rem fastboot -s 4c0896ff0804 getvar soc_id 2>&1 | findstr /r /c:"^soc_id: *239" || echo Missmatching image and device in soc_id [17:27:38 4c0896ff0804]:$rem fastboot -s 4c0896ff0804 getvar soc_id 2>&1 | findstr /r /c:"^soc_id: *239" || exit /B 1 [17:27:38 4c0896ff0804]:$fastboot -s 4c0896ff0804 oem device-info 2>&1 | findstr /r /c:"Device unlocked: true" || echo Device oem locked [17:27:38 4c0896ff0804]:(bootloader) Device unlocked: true [17:27:38 4c0896ff0804]:$fastboot -s 4c0896ff0804 oem device-info 2>&1 | findstr /r /c:"Device unlocked: true" || exit /B 1 [17:27:38 4c0896ff0804]:(bootloader) Device unlocked: true [17:27:38 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash modem C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\NON-HLOS.bin || [17:27:43 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:43 4c0896ff0804]:sending 'modem' (86016 KB)... [17:27:43 4c0896ff0804]:OKAY [ 3.026s] [17:27:43 4c0896ff0804]:writing 'modem'... [17:27:43 4c0896ff0804]:OKAY [ 1.066s] [17:27:43 4c0896ff0804]:finished. total time: 4.091s [17:27:43 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash sbl1 C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\sbl1.mbn || [17:27:43 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:43 4c0896ff0804]:sending 'sbl1' (361 KB)... [17:27:43 4c0896ff0804]:OKAY [ 0.047s] [17:27:43 4c0896ff0804]:writing 'sbl1'... [17:27:43 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash sbl1bak C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\sbl1.mbn || [17:27:44 4c0896ff0804]:OKAY [ 0.031s] [17:27:44 4c0896ff0804]:finished. total time: 0.078s [17:27:44 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:44 4c0896ff0804]:sending 'sbl1bak' (361 KB)... [17:27:44 4c0896ff0804]:OKAY [ 0.047s] [17:27:44 4c0896ff0804]:writing 'sbl1bak'... [17:27:44 4c0896ff0804]:OKAY [ 0.031s] [17:27:44 4c0896ff0804]:finished. total time: 0.078s [17:27:44 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash rpm C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\rpm.mbn || [17:27:44 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:44 4c0896ff0804]:sending 'rpm' (170 KB)... [17:27:44 4c0896ff0804]:OKAY [ 0.038s] [17:27:44 4c0896ff0804]:writing 'rpm'... [17:27:44 4c0896ff0804]:OKAY [ 0.026s] [17:27:44 4c0896ff0804]:finished. total time: 0.064s [17:27:44 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash rpmbak C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\rpm.mbn || [17:27:44 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:44 4c0896ff0804]:sending 'rpmbak' (170 KB)... [17:27:44 4c0896ff0804]:OKAY [ 0.052s] [17:27:44 4c0896ff0804]:writing 'rpmbak'... [17:27:44 4c0896ff0804]:OKAY [ 0.024s] [17:27:44 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash tz C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\tz.mbn || [17:27:44 4c0896ff0804]:finished. total time: 0.076s [17:27:45 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:45 4c0896ff0804]:sending 'tz' (1447 KB)... [17:27:45 4c0896ff0804]:OKAY [ 0.080s] [17:27:45 4c0896ff0804]:writing 'tz'... [17:27:45 4c0896ff0804]:OKAY [ 0.039s] [17:27:45 4c0896ff0804]:finished. total time: 0.119s [17:27:45 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash tzbak C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\tz.mbn || [17:27:45 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:45 4c0896ff0804]:sending 'tzbak' (1447 KB)... [17:27:45 4c0896ff0804]:OKAY [ 0.089s] [17:27:45 4c0896ff0804]:writing 'tzbak'... [17:27:45 4c0896ff0804]:OKAY [ 0.040s] [17:27:45 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash devcfg C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\devcfg.mbn || [17:27:45 4c0896ff0804]:finished. total time: 0.129s [17:27:45 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:45 4c0896ff0804]:sending 'devcfg' (36 KB)... [17:27:45 4c0896ff0804]:OKAY [ 0.039s] [17:27:45 4c0896ff0804]:writing 'devcfg'... [17:27:45 4c0896ff0804]:OKAY [ 0.023s] [17:27:45 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash devcfgbak C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\devcfg.mbn || [17:27:45 4c0896ff0804]:finished. total time: 0.063s [17:27:46 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:46 4c0896ff0804]:sending 'devcfgbak' (36 KB)... [17:27:46 4c0896ff0804]:OKAY [ 0.039s] [17:27:46 4c0896ff0804]:writing 'devcfgbak'... [17:27:46 4c0896ff0804]:OKAY [ 0.022s] [17:27:46 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash dsp C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\adspso.bin || [17:27:46 4c0896ff0804]:finished. total time: 0.062s [17:27:47 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:47 4c0896ff0804]:sending 'dsp' (16384 KB)... [17:27:47 4c0896ff0804]:OKAY [ 0.541s] [17:27:47 4c0896ff0804]:writing 'dsp'... [17:27:47 4c0896ff0804]:OKAY [ 0.234s] [17:27:47 4c0896ff0804]:finished. total time: 0.775s [17:27:47 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash sec C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\sec.dat || [17:27:47 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:47 4c0896ff0804]:sending 'sec' (0 KB)... [17:27:47 4c0896ff0804]:OKAY [ 0.047s] [17:27:47 4c0896ff0804]:writing 'sec'... [17:27:47 4c0896ff0804]:OKAY [ 0.016s] [17:27:47 4c0896ff0804]:finished. total time: 0.063s [17:27:47 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash splash C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\splash.img || [17:27:47 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:47 4c0896ff0804]:sending 'splash' (906 KB)... [17:27:47 4c0896ff0804]:OKAY [ 0.055s] [17:27:47 4c0896ff0804]:writing 'splash'... [17:27:47 4c0896ff0804]:OKAY [ 0.034s] [17:27:47 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash aboot C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\emmc_appsboot.mbn || [17:27:47 4c0896ff0804]:finished. total time: 0.089s [17:27:48 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:48 4c0896ff0804]:sending 'aboot' (577 KB)... [17:27:48 4c0896ff0804]:OKAY [ 0.046s] [17:27:48 4c0896ff0804]:writing 'aboot'... [17:27:48 4c0896ff0804]:OKAY [ 0.031s] [17:27:48 4c0896ff0804]:finished. total time: 0.077s [17:27:48 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash abootbak C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\emmc_appsboot.mbn || [17:27:48 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:48 4c0896ff0804]:sending 'abootbak' (577 KB)... [17:27:48 4c0896ff0804]:OKAY [ 0.049s] [17:27:48 4c0896ff0804]:writing 'abootbak'... [17:27:48 4c0896ff0804]:OKAY [ 0.029s] [17:27:48 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash boot C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\boot.img || [17:27:48 4c0896ff0804]:finished. total time: 0.078s [17:27:49 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:49 4c0896ff0804]:sending 'boot' (25641 KB)... [17:27:49 4c0896ff0804]:OKAY [ 0.886s] [17:27:49 4c0896ff0804]:writing 'boot'... [17:27:49 4c0896ff0804]:OKAY [ 0.338s] [17:27:49 4c0896ff0804]:finished. total time: 1.224s [17:27:49 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash recovery C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\recovery.img || [17:27:51 4c0896ff0804]:target reported max download size of 536870912 bytes [17:27:51 4c0896ff0804]:sending 'recovery' (28565 KB)... [17:27:51 4c0896ff0804]:OKAY [ 0.963s] [17:27:51 4c0896ff0804]:writing 'recovery'... [17:27:51 4c0896ff0804]:OKAY [ 0.371s] [17:27:51 4c0896ff0804]:finished. total time: 1.334s [17:27:51 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash system C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\system.img || [17:31:26 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:26 4c0896ff0804]:erasing 'system'... [17:31:26 4c0896ff0804]:OKAY [ 0.115s] [17:31:26 4c0896ff0804]:sending sparse 'system' 1/6 (521466 KB)... [17:31:26 4c0896ff0804]:OKAY [ 21.414s] [17:31:26 4c0896ff0804]:writing 'system' 1/6... [17:31:27 4c0896ff0804]:OKAY [ 7.082s] [17:31:27 4c0896ff0804]:sending sparse 'system' 2/6 (523922 KB)... [17:31:26 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash cache C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\cache.img || [17:31:27 4c0896ff0804]:OKAY [ 21.213s] [17:31:27 4c0896ff0804]:writing 'system' 2/6... [17:31:27 4c0896ff0804]:OKAY [ 7.230s] [17:31:27 4c0896ff0804]:sending sparse 'system' 3/6 (522876 KB)... [17:31:27 4c0896ff0804]:OKAY [ 22.135s] [17:31:27 4c0896ff0804]:writing 'system' 3/6... [17:31:27 4c0896ff0804]:OKAY [ 7.339s] [17:31:27 4c0896ff0804]:sending sparse 'system' 4/6 (474326 KB)... [17:31:27 4c0896ff0804]:OKAY [ 21.830s] [17:31:27 4c0896ff0804]:writing 'system' 4/6... [17:31:27 4c0896ff0804]:OKAY [ 7.027s] [17:31:27 4c0896ff0804]:sending sparse 'system' 5/6 (465956 KB)... [17:31:27 4c0896ff0804]:OKAY [ 19.666s] [17:31:27 4c0896ff0804]:writing 'system' 5/6... [17:31:27 4c0896ff0804]:OKAY [ 5.992s] [17:31:27 4c0896ff0804]:sending sparse 'system' 6/6 (506612 KB)... [17:31:27 4c0896ff0804]:OKAY [ 21.987s] [17:31:27 4c0896ff0804]:writing 'system' 6/6... [17:31:27 4c0896ff0804]:OKAY [ 7.684s] [17:31:27 4c0896ff0804]:finished. total time: 170.712s [17:31:27 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:27 4c0896ff0804]:erasing 'cache'... [17:31:27 4c0896ff0804]:OKAY [ 0.014s] [17:31:27 4c0896ff0804]:sending 'cache' (6248 KB)... [17:31:27 4c0896ff0804]:OKAY [ 0.222s] [17:31:27 4c0896ff0804]:writing 'cache'... [17:31:27 4c0896ff0804]:$rem fastboot -s 4c0896ff0804 flash mdtp C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\mdtp.img [17:31:27 4c0896ff0804]:OKAY [ 0.101s] [17:31:27 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash lksecapp C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\lksecapp.mbn || [17:31:27 4c0896ff0804]:finished. total time: 0.336s [17:31:27 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:27 4c0896ff0804]:sending 'lksecapp' (56 KB)... [17:31:27 4c0896ff0804]:OKAY [ 0.039s] [17:31:27 4c0896ff0804]:writing 'lksecapp'... [17:31:27 4c0896ff0804]:OKAY [ 0.021s] [17:31:27 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash lksecappbak C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\lksecapp.mbn || [17:31:27 4c0896ff0804]:finished. total time: 0.061s [17:31:28 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:28 4c0896ff0804]:sending 'lksecappbak' (56 KB)... [17:31:28 4c0896ff0804]:OKAY [ 0.039s] [17:31:28 4c0896ff0804]:writing 'lksecappbak'... [17:31:28 4c0896ff0804]:OKAY [ 0.023s] [17:31:28 4c0896ff0804]:finished. total time: 0.063s [17:31:28 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash cmnlib C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\cmnlib.mbn || [17:31:28 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:28 4c0896ff0804]:sending 'cmnlib' (196 KB)... [17:31:28 4c0896ff0804]:OKAY [ 0.038s] [17:31:28 4c0896ff0804]:writing 'cmnlib'... [17:31:28 4c0896ff0804]:OKAY [ 0.024s] [17:31:28 4c0896ff0804]:finished. total time: 0.063s [17:31:28 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash cmnlibbak C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\cmnlib.mbn || [17:31:28 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:28 4c0896ff0804]:sending 'cmnlibbak' (196 KB)... [17:31:28 4c0896ff0804]:OKAY [ 0.039s] [17:31:28 4c0896ff0804]:writing 'cmnlibbak'... [17:31:28 4c0896ff0804]:OKAY [ 0.026s] [17:31:28 4c0896ff0804]:finished. total time: 0.065s [17:31:28 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash cmnlib64 C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\cmnlib64.mbn || [17:31:28 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:28 4c0896ff0804]:sending 'cmnlib64' (249 KB)... [17:31:28 4c0896ff0804]:OKAY [ 0.037s] [17:31:28 4c0896ff0804]:writing 'cmnlib64'... [17:31:28 4c0896ff0804]:OKAY [ 0.025s] [17:31:28 4c0896ff0804]:finished. total time: 0.063s [17:31:28 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash cmnlib64bak C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\cmnlib64.mbn || [17:31:29 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:29 4c0896ff0804]:sending 'cmnlib64bak' (249 KB)... [17:31:29 4c0896ff0804]:OKAY [ 0.040s] [17:31:29 4c0896ff0804]:writing 'cmnlib64bak'... [17:31:29 4c0896ff0804]:OKAY [ 0.025s] [17:31:29 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash keymaster C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\keymaster.mbn || [17:31:29 4c0896ff0804]:finished. total time: 0.065s [17:31:29 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:29 4c0896ff0804]:sending 'keymaster' (220 KB)... [17:31:29 4c0896ff0804]:OKAY [ 0.037s] [17:31:29 4c0896ff0804]:writing 'keymaster'... [17:31:29 4c0896ff0804]:OKAY [ 0.026s] [17:31:29 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash keymasterbak C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\keymaster.mbn || [17:31:29 4c0896ff0804]:finished. total time: 0.063s [17:31:29 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:29 4c0896ff0804]:sending 'keymasterbak' (220 KB)... [17:31:29 4c0896ff0804]:OKAY [ 0.039s] [17:31:29 4c0896ff0804]:writing 'keymasterbak'... [17:31:29 4c0896ff0804]:OKAY [ 0.024s] [17:31:29 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash userdata C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\userdata.img || [17:31:29 4c0896ff0804]:finished. total time: 0.063s [17:31:37 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:37 4c0896ff0804]:erasing 'userdata'... [17:31:37 4c0896ff0804]:OKAY [ 0.495s] [17:31:37 4c0896ff0804]:sending 'userdata' (141962 KB)... [17:31:37 4c0896ff0804]:OKAY [ 4.598s] [17:31:37 4c0896ff0804]:writing 'userdata'... [17:31:37 4c0896ff0804]:OKAY [ 1.831s] [17:31:37 4c0896ff0804]:finished. total time: 6.923s [17:31:37 4c0896ff0804]:$fastboot -s 4c0896ff0804 flash cust C:\mido_global_images_V10.2.3.0.NCFMIXM_20190128.0000.00_7.0_global\images\cust.img || [17:31:50 4c0896ff0804]:target reported max download size of 536870912 bytes [17:31:50 4c0896ff0804]:sending 'cust' (236106 KB)... [17:31:50 4c0896ff0804]:OKAY [ 7.943s] [17:31:50 4c0896ff0804]:writing 'cust'... [17:31:50 4c0896ff0804]:OKAY [ 3.238s] [17:31:50 4c0896ff0804]:finished. total time: 11.180s [17:31:50 4c0896ff0804]:$fastboot -s 4c0896ff0804 reboot || [17:31:50 4c0896ff0804]:flashSuccess True [17:31:50 4c0896ff0804]:isFactory False CheckCPUID False [17:31:50 4c0896ff0804]:before:flashSuccess is True set IsUpdate:True set IsDone True [17:31:50 4c0896ff0804]:after:flashSuccess is True set IsUpdate:false set IsDone true [17:31:50 4c0896ff0804]:rebooting... [17:31:50 4c0896ff0804]:finished. total time: 0.021s [17:31:50 4c0896ff0804]:flash done [17:31:50 4c0896ff0804]:flash done [17:31:50 4c0896ff0804]:process exit.