[11:35:56 0815]:MiFlash 2017.4.25.0
[11:35:56 0815]:image path
:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn
[11:35:56 0815]
nv android path:"C:\Xiaomi\XiaoMiFlash\Source\ThirdParty\Google\Android"
[11:35:56 0815]
cript
:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\flash_all.bat
[11:35:56 0815]
hysical Memory Usage:2203648 Byte
[11:35:56 0815]:$fastboot -s 0815 getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || echo Missmatching image and device
[11:35:56 0815]
roduct: MSM8996
[11:35:56 0815]:$fastboot -s 0815 getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || exit /B 1
[11:35:56 0815]
roduct: MSM8996
[11:35:56 0815]:$fastboot -s 0815 erase bk12 2>&1
[11:35:56 0815]
rasing 'bk12'...
[11:35:56 0815]:OKAY [ 0.016s]
[11:35:56 0815]
inished. total time: 0.016s
[11:35:56 0815]:$if not 0 == 0 exit /B 1
[11:35:56 0815]:$rem fastboot -s 0815 getvar soc_id 2>&1 | findstr /r /c:"^soc_id: *239" || echo Missmatching image and device in soc_id
[11:35:56 0815]:$rem fastboot -s 0815 getvar soc_id 2>&1 | findstr /r /c:"^soc_id: *239" || exit /B 1
[11:35:56 0815]:$fastboot -s 0815 flash xbl D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\xbl.elf ||
[11:35:57 0815]
arget reported max download size of 536870912 bytes
[11:35:57 0815]:$fastboot -s 0815 flash tz D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\tz.mbn ||
[11:35:57 0815]
ending 'xbl' (1786 KB)...
[11:35:57 0815]:OKAY [ 0.053s]
[11:35:57 0815]
riting 'xbl'...
[11:35:57 0815]:OKAY [ 0.031s]
[11:35:57 0815]
inished. total time: 0.084s
[11:35:57 0815]
arget reported max download size of 536870912 bytes
[11:35:57 0815]:$fastboot -s 0815 flash tzbak D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\tz.mbn ||
[11:35:57 0815]
ending 'tz' (1628 KB)...
[11:35:57 0815]:OKAY [ 0.052s]
[11:35:57 0815]
riting 'tz'...
[11:35:57 0815]:OKAY [ 0.032s]
[11:35:57 0815]
inished. total time: 0.085s
[11:35:57 0815]
arget reported max download size of 536870912 bytes
[11:35:57 0815]:$fastboot -s 0815 flash hyp D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\hyp.mbn ||
[11:35:57 0815]
ending 'tzbak' (1628 KB)...
[11:35:57 0815]:OKAY [ 0.068s]
[11:35:57 0815]
riting 'tzbak'...
[11:35:57 0815]:OKAY [ 0.032s]
[11:35:57 0815]
inished. total time: 0.100s
[11:35:57 0815]
arget reported max download size of 536870912 bytes
[11:35:57 0815]:$fastboot -s 0815 flash hypbak D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\hyp.mbn ||
[11:35:57 0815]
ending 'hyp' (257 KB)...
[11:35:57 0815]:OKAY [ 0.041s]
[11:35:57 0815]
riting 'hyp'...
[11:35:57 0815]:OKAY [ 0.017s]
[11:35:57 0815]
inished. total time: 0.058s
[11:35:58 0815]
arget reported max download size of 536870912 bytes
[11:35:58 0815]:$fastboot -s 0815 flash rpm D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\rpm.mbn ||
[11:35:58 0815]
ending 'hypbak' (257 KB)...
[11:35:58 0815]:OKAY [ 0.047s]
[11:35:58 0815]
riting 'hypbak'...
[11:35:58 0815]:OKAY [ 0.016s]
[11:35:58 0815]
inished. total time: 0.063s
[11:35:58 0815]
arget reported max download size of 536870912 bytes
[11:35:58 0815]:$fastboot -s 0815 flash rpmbak D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\rpm.mbn ||
[11:35:58 0815]
ending 'rpm' (224 KB)...
[11:35:58 0815]:OKAY [ 0.032s]
[11:35:58 0815]
riting 'rpm'...
[11:35:58 0815]:OKAY [ 0.031s]
[11:35:58 0815]
inished. total time: 0.063s
[11:35:58 0815]
arget reported max download size of 536870912 bytes
[11:35:58 0815]:$fastboot -s 0815 flash aboot D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\emmc_appsboot.mbn ||
[11:35:58 0815]
ending 'rpmbak' (224 KB)...
[11:35:58 0815]:OKAY [ 0.052s]
[11:35:58 0815]
riting 'rpmbak'...
[11:35:58 0815]:OKAY [ 0.016s]
[11:35:58 0815]
inished. total time: 0.069s
[11:35:58 0815]
arget reported max download size of 536870912 bytes
[11:35:58 0815]:$fastboot -s 0815 flash abootbak D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\emmc_appsboot.mbn ||
[11:35:58 0815]
ending 'aboot' (1332 KB)...
[11:35:58 0815]:OKAY [ 0.048s]
[11:35:58 0815]
riting 'aboot'...
[11:35:58 0815]:OKAY [ 0.031s]
[11:35:58 0815]
inished. total time: 0.079s
[11:35:58 0815]
arget reported max download size of 536870912 bytes
[11:35:58 0815]:$fastboot -s 0815 flash pmic D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\pmic.elf ||
[11:35:58 0815]
ending 'abootbak' (1332 KB)...
[11:35:58 0815]:OKAY [ 0.068s]
[11:35:58 0815]
riting 'abootbak'...
[11:35:58 0815]:OKAY [ 0.031s]
[11:35:58 0815]
inished. total time: 0.100s
[11:35:59 0815]
arget reported max download size of 536870912 bytes
[11:35:59 0815]:$fastboot -s 0815 flash pmicbak D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\pmic.elf ||
[11:35:59 0815]
ending 'pmic' (41 KB)...
[11:35:59 0815]:OKAY [ 0.047s]
[11:35:59 0815]
riting 'pmic'...
[11:35:59 0815]:OKAY [ 0.016s]
[11:35:59 0815]
inished. total time: 0.062s
[11:35:59 0815]
arget reported max download size of 536870912 bytes
[11:35:59 0815]:$fastboot -s 0815 flash devcfg D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\devcfg.mbn ||
[11:35:59 0815]
ending 'pmicbak' (41 KB)...
[11:35:59 0815]:OKAY [ 0.037s]
[11:35:59 0815]
riting 'pmicbak'...
[11:35:59 0815]:OKAY [ 0.032s]
[11:35:59 0815]
inished. total time: 0.069s
[11:35:59 0815]
arget reported max download size of 536870912 bytes
[11:35:59 0815]:$fastboot -s 0815 flash bluetooth D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\BTFM.bin ||
[11:35:59 0815]
ending 'devcfg' (50 KB)...
[11:35:59 0815]:OKAY [ 0.047s]
[11:35:59 0815]
riting 'devcfg'...
[11:35:59 0815]:OKAY [ 0.028s]
[11:35:59 0815]
inished. total time: 0.075s
[11:35:59 0815]
arget reported max download size of 536870912 bytes
[11:35:59 0815]:$fastboot -s 0815 flash cmnlib D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\cmnlib.mbn ||
[11:35:59 0815]
ending 'bluetooth' (396 KB)...
[11:35:59 0815]:OKAY [ 0.032s]
[11:35:59 0815]
riting 'bluetooth'...
[11:35:59 0815]:OKAY [ 0.300s]
[11:35:59 0815]
inished. total time: 0.332s
[11:36:00 0815]
arget reported max download size of 536870912 bytes
[11:36:00 0815]:$fastboot -s 0815 flash cmnlibbak D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\cmnlib.mbn ||
[11:36:00 0815]
ending 'cmnlib' (200 KB)...
[11:36:00 0815]:OKAY [ 0.032s]
[11:36:00 0815]
riting 'cmnlib'...
[11:36:00 0815]:OKAY [ 0.022s]
[11:36:00 0815]
inished. total time: 0.053s
[11:36:00 0815]
arget reported max download size of 536870912 bytes
[11:36:00 0815]:$fastboot -s 0815 flash cmnlib64 D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\cmnlib64.mbn ||
[11:36:00 0815]
ending 'cmnlibbak' (200 KB)...
[11:36:00 0815]:OKAY [ 0.047s]
[11:36:00 0815]
riting 'cmnlibbak'...
[11:36:00 0815]:OKAY [ 0.027s]
[11:36:00 0815]
inished. total time: 0.074s
[11:36:00 0815]
arget reported max download size of 536870912 bytes
[11:36:00 0815]:$fastboot -s 0815 flash cmnlib64bak D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\cmnlib64.mbn ||
[11:36:00 0815]
ending 'cmnlib64' (254 KB)...
[11:36:00 0815]:OKAY [ 0.037s]
[11:36:00 0815]
riting 'cmnlib64'...
[11:36:00 0815]:OKAY [ 0.032s]
[11:36:00 0815]
inished. total time: 0.069s
[11:36:00 0815]
arget reported max download size of 536870912 bytes
[11:36:00 0815]:$fastboot -s 0815 flash modem D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\NON-HLOS.bin ||
[11:36:00 0815]
ending 'cmnlib64bak' (254 KB)...
[11:36:00 0815]:OKAY [ 0.047s]
[11:36:00 0815]
riting 'cmnlib64bak'...
[11:36:00 0815]:OKAY [ 0.031s]
[11:36:00 0815]
inished. total time: 0.078s
[11:36:06 0815]
arget reported max download size of 536870912 bytes
[11:36:06 0815]
ending 'modem' (99420 KB)...
[11:36:06 0815]:$fastboot -s 0815 flash dsp D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\adspso.bin ||
[11:36:06 0815]:OKAY [ 2.318s]
[11:36:06 0815]
riting 'modem'...
[11:36:06 0815]:OKAY [ 0.682s]
[11:36:06 0815]
inished. total time: 2.999s
[11:36:07 0815]
arget reported max download size of 536870912 bytes
[11:36:07 0815]:$fastboot -s 0815 flash keymaster D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\keymaster.mbn ||
[11:36:07 0815]
ending 'dsp' (16384 KB)...
[11:36:07 0815]:OKAY [ 0.388s]
[11:36:07 0815]
riting 'dsp'...
[11:36:07 0815]:OKAY [ 0.144s]
[11:36:07 0815]
inished. total time: 0.532s
[11:36:07 0815]
arget reported max download size of 536870912 bytes
[11:36:07 0815]:$fastboot -s 0815 flash keymasterbak D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\keymaster.mbn ||
[11:36:07 0815]
ending 'keymaster' (348 KB)...
[11:36:07 0815]:OKAY [ 0.016s]
[11:36:07 0815]
riting 'keymaster'...
[11:36:07 0815]:OKAY [ 0.031s]
[11:36:07 0815]
inished. total time: 0.048s
[11:36:07 0815]
arget reported max download size of 536870912 bytes
[11:36:07 0815]:$fastboot -s 0815 flash misc D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\misc.img ||
[11:36:07 0815]
ending 'keymasterbak' (348 KB)...
[11:36:07 0815]:OKAY [ 0.031s]
[11:36:07 0815]
riting 'keymasterbak'...
[11:36:07 0815]:OKAY [ 0.021s]
[11:36:07 0815]
inished. total time: 0.053s
[11:36:07 0815]
arget reported max download size of 536870912 bytes
[11:36:07 0815]:$fastboot -s 0815 flash system D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\system.img ||
[11:36:07 0815]
ending 'misc' (8 KB)...
[11:36:07 0815]:OKAY [ 0.047s]
[11:36:07 0815]
riting 'misc'...
[11:36:07 0815]:OKAY [ 0.016s]
[11:36:07 0815]
inished. total time: 0.063s
[11:38:55 0815]
arget reported max download size of 536870912 bytes
[11:38:55 0815]:$fastboot -s 0815 flash cache D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\cache.img ||
[11:38:55 0815]
rasing 'system'...
[11:38:55 0815]:OKAY [ 0.003s]
[11:38:55 0815]
ending sparse 'system' 1/6 (512229 KB)...
[11:38:55 0815]:OKAY [ 13.079s]
[11:38:55 0815]
riting 'system' 1/6...
[11:38:55 0815]:OKAY [ 4.516s]
[11:38:55 0815]
ending sparse 'system' 2/6 (510422 KB)...
[11:38:55 0815]:OKAY [ 13.059s]
[11:38:55 0815]
riting 'system' 2/6...
[11:38:55 0815]:OKAY [ 4.407s]
[11:38:55 0815]
ending sparse 'system' 3/6 (498344 KB)...
[11:38:55 0815]:OKAY [ 13.085s]
[11:38:55 0815]
riting 'system' 3/6...
[11:38:55 0815]:OKAY [ 4.807s]
[11:38:55 0815]
ending sparse 'system' 4/6 (524238 KB)...
[11:38:55 0815]:OKAY [ 14.558s]
[11:38:55 0815]
riting 'system' 4/6...
[11:38:55 0815]:OKAY [ 6.140s]
[11:38:55 0815]
ending sparse 'system' 5/6 (524033 KB)...
[11:38:55 0815]:OKAY [ 13.174s]
[11:38:55 0815]
riting 'system' 5/6...
[11:38:55 0815]:OKAY [ 4.067s]
[11:38:55 0815]
ending sparse 'system' 6/6 (175574 KB)...
[11:38:55 0815]:OKAY [ 4.334s]
[11:38:55 0815]
riting 'system' 6/6...
[11:38:55 0815]:OKAY [ 1.282s]
[11:38:55 0815]
inished. total time: 96.511s
[11:38:55 0815]
arget reported max download size of 536870912 bytes
[11:38:55 0815]:$fastboot -s 0815 flash userdata D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\userdata.img ||
[11:38:55 0815]
rasing 'cache'...
[11:38:55 0815]:OKAY [ 0.000s]
[11:38:55 0815]
ending 'cache' (6248 KB)...
[11:38:55 0815]:OKAY [ 0.178s]
[11:38:55 0815]
riting 'cache'...
[11:38:55 0815]:OKAY [ 0.083s]
[11:38:55 0815]
inished. total time: 0.262s
[11:39:19 0815]
arget reported max download size of 536870912 bytes
[11:39:19 0815]
rasing 'userdata'...
[11:39:19 0815]:OKAY [ 0.013s]
[11:39:19 0815]
ending 'userdata' (461307 KB)...
[11:39:19 0815]:OKAY [ 10.657s]
[11:39:19 0815]:$fastboot -s 0815 flash recovery D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\recovery.img ||
[11:39:19 0815]
riting 'userdata'...
[11:39:19 0815]:OKAY [ 3.191s]
[11:39:19 0815]
inished. total time: 13.861s
[11:39:20 0815]
arget reported max download size of 536870912 bytes
[11:39:20 0815]:$fastboot -s 0815 flash splash D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\splash.img ||
[11:39:20 0815]
ending 'recovery' (24561 KB)...
[11:39:20 0815]:OKAY [ 0.549s]
[11:39:20 0815]
riting 'recovery'...
[11:39:20 0815]:OKAY [ 0.184s]
[11:39:20 0815]
inished. total time: 0.732s
[11:39:20 0815]
arget reported max download size of 536870912 bytes
[11:39:20 0815]:$fastboot -s 0815 flash logo D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\logo.img ||
[11:39:20 0815]
ending 'splash' (151 KB)...
[11:39:20 0815]:OKAY [ 0.037s]
[11:39:20 0815]
riting 'splash'...
[11:39:20 0815]:OKAY [ 0.016s]
[11:39:20 0815]
inished. total time: 0.052s
[11:39:21 0815]
arget reported max download size of 536870912 bytes
[11:39:21 0815]:$fastboot -s 0815 erase boot ||
[11:39:21 0815]
ending 'logo' (728 KB)...
[11:39:21 0815]:OKAY [ 0.031s]
[11:39:21 0815]
riting 'logo'...
[11:39:21 0815]:OKAY [ 0.031s]
[11:39:21 0815]
inished. total time: 0.063s
[11:39:21 0815]
rasing 'boot'...
[11:39:21 0815]:$fastboot -s 0815 erase sec ||
[11:39:21 0815]:OKAY [ 0.016s]
[11:39:21 0815]
inished. total time: 0.016s
[11:39:21 0815]
rasing 'sec'...
[11:39:21 0815]:$fastboot -s 0815 erase switch ||
[11:39:21 0815]:OKAY [ 0.016s]
[11:39:21 0815]
inished. total time: 0.016s
[11:39:21 0815]
rasing 'switch'...
[11:39:21 0815]:$fastboot -s 0815 erase mdtp ||
[11:39:21 0815]:OKAY [ 0.016s]
[11:39:21 0815]
inished. total time: 0.016s
[11:39:21 0815]
rasing 'mdtp'...
[11:39:21 0815]:$fastboot -s 0815 flash boot D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\boot.img ||
[11:39:21 0815]:OKAY [ 0.016s]
[11:39:21 0815]
inished. total time: 0.016s
[11:39:22 0815]
arget reported max download size of 536870912 bytes
[11:39:22 0815]
ending 'boot' (22821 KB)...
[11:39:22 0815]:$fastboot -s 0815 flash cust D:\mi5\gemini_images_V8.5.2.0.NAACNED_20170524.0000.00_7.0_cn\images\cust.img ||
[11:39:22 0815]:OKAY [ 0.523s]
[11:39:22 0815]
riting 'boot'...
[11:39:22 0815]:OKAY [ 0.200s]
[11:39:22 0815]
inished. total time: 0.723s
[11:39:49 0815]
arget reported max download size of 536870912 bytes
[11:39:49 0815]
ending 'cust' (514637 KB)...
[11:39:49 0815]:OKAY [ 11.189s]
[11:39:49 0815]
riting 'cust'...
[11:39:49 0815]:OKAY [ 3.520s]
[11:39:49 0815]
inished. total time: 14.709s
[11:39:49 0815]:$fastboot -s 0815 reboot ||
[11:39:49 0815]
lashSuccess True
[11:39:49 0815]:isFactory False CheckCPUID False
[11:39:49 0815]
efore
lashSuccess is True set IsUpdate
rue set IsDone True
[11:39:49 0815]:after
lashSuccess is True set IsUpdate
alse set IsDone true
[11:39:49 0815]:rebooting...
[11:39:49 0815]
lash done
[11:39:49 0815]
lash done
[11:39:49 0815]
rocess exit.