Mi3 not starting, cant flash

marioyo

Member
Apr 17, 2011
14
0
0
Hi Guys,

I have a MI3 running Ivan's latest Marshmellow Rom 6.3.29, with Ivan's special TWRP recovery

2 weeks ago I misplaced my phone, and I used Android Device Manager to lock the phone. However, I found the phone 2 days ago, and now it will not start up properly. It does the following:

1. Mi Logo Loads OK
2. Android Startup Logo Loads OK
3. Then one of a few things can happen:
a.the screen goes black and stays black (not off, but displaying a full screen of black)
b.android loads for 0sec-2sec and returns back to the Android Startup Loading Logo on infinite loop
c.android loads, but displays endless stream of 'Unfotunately, **APP/SERVICE** has stopped.' where **APP/SERVICE** seems to be heaps of different apps/services
... I am rarely able to use my phone inbetween the frequent error messages during 'c.' Realise that the expected 'unlock phone from android device manager' screen does not appear. I have tried to restart into safe mode (went to blank screen upon restart), managed to unsync google account(doesnt seem to help)

I have attempted to reflash the latest miui using fastboot, Reflash Ivan's ROM using Ivan's TWRP,
In Ivan's TWRP I have attempted to Wipe - Davlik / ART Cache, System, Data and Cache, yet the boot is still the same, the wiping does not seem to work as a factory reset

I have also attempted to fastboot flash a different recovery, but it will not overwrite the old Ivan TWRP recovery,

However I can access CWM, TWRP and MiRecovery if I use 'fastboot boot ' and use the functionality as a temporary recovery.

I have attempted to load the latest miui rom zip through these recoveries. sometimes it says 'complete' and other times shows an error, but always reboots into the same Ivan MM Rom.

I thought it may be something to do with partitions, so I attempted to reload the original partition sizes, but it does not fix my issues.

I changed the partitions when I installed one of the later versions of Ivan's MM rom (as required). Although I cant remember the instructions I followed. If there is a way to print the partition structure I can show you?

Fastboot versions I have tried are the latest Global Dev, and the latest Global stable:
cancro_global_images_V7.1.2.0.KXDMICK_20160125.0000.13_4.4_global_5e71b7a95d
cancro_global_images_6.5.27_20160516.0000.22_6.0_global_30aa80e1ec

It seems as if any changes I am making in fastboot, adb and recovery are not being saved. e.g. when I am transferring a file from PC to the phone via one of these methods, it is not saving on the device after restart

If anyone can help that will be highly appreciated as I am stuck! I will be happy to provide any logs, or error info that may help
 

marioyo

Member
Apr 17, 2011
14
0
0
Heres details on my filesystem/partitions.. if anyone has any ideas, it will be massively appreciated!

Code:
# df
Filesystem            1K-blocks    Used Available Use% Mounted on
tmpfs                    941776      36    941740   1% /dev
tmpfs                    941776     664    941112   1% /tmp
/dev/block/mmcblk0p25  13081708 8804492   4277216  68% /data
/dev/block/mmcblk0p24    387032  385736      1296 100% /cache
# cat /proc/mounts
rootfs / rootfs rw,seclabel 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=941776k,nr_inodes=175978,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,seclabel,relatime,size=941776k,nr_inodes=175978 0 0
/dev/block/mmcblk0p25 /data ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/block/mmcblk0p25 /sdcard ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/block/mmcblk0p24 /cache ext4 rw,seclabel,relatime,data=ordered 0 0
# cat /proc/partitions
major minor  #blocks  name

 179        0   15388672 mmcblk0
 179        1       2031 mmcblk0p1
 179        2       1024 mmcblk0p2
 179        3       1024 mmcblk0p3
 179        4       1024 mmcblk0p4
 179        5       1024 mmcblk0p5
 179        6       1024 mmcblk0p6
 179        7       4096 mmcblk0p7
 179        8       5120 mmcblk0p8
 179        9       4096 mmcblk0p9
 179       10       8192 mmcblk0p10
 179       11      36864 mmcblk0p11
 179       12       1536 mmcblk0p12
 179       13       1536 mmcblk0p13
 179       14          1 mmcblk0p14
 179       15      62463 mmcblk0p15
 179       16       1536 mmcblk0p16
 179       17      31232 mmcblk0p17
 179       18      32768 mmcblk0p18
 179       19      32768 mmcblk0p19
 179       20      16384 mmcblk0p20
 179       21      16384 mmcblk0p21
 179       22     131072 mmcblk0p22
 179       23    1310720 mmcblk0p23
 179       24     393216 mmcblk0p24
 179       25   13291503 mmcblk0p25
 179       32       4096 mmcblk0rpmb
# ls -al /dev/block/platform/msm_sdcc.1/by-name
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
lrwxrwxrwx root     root              2016-07-07 00:53 DDR -> /dev/block/mmcblk0p4
lrwxrwxrwx root     root              2016-07-07 00:53 aboot -> /dev/block/mmcblk0p7
lrwxrwxrwx root     root              2016-07-07 00:53 bk1 -> /dev/block/mmcblk0p8
lrwxrwxrwx root     root              2016-07-07 00:53 bk2 -> /dev/block/mmcblk0p11
lrwxrwxrwx root     root              2016-07-07 00:53 bk3 -> /dev/block/mmcblk0p15
lrwxrwxrwx root     root              2016-07-07 00:53 bk4 -> /dev/block/mmcblk0p17
lrwxrwxrwx root     root              2016-07-07 00:53 bk5 -> /dev/block/mmcblk0p18
lrwxrwxrwx root     root              2016-07-07 00:53 boot -> /dev/block/mmcblk0p19
lrwxrwxrwx root     root              2016-07-07 00:53 cache -> /dev/block/mmcblk0p24
lrwxrwxrwx root     root              2016-07-07 00:53 dbi -> /dev/block/mmcblk0p6
lrwxrwxrwx root     root              2016-07-07 00:53 fsc -> /dev/block/mmcblk0p14
lrwxrwxrwx root     root              2016-07-07 00:53 fsg -> /dev/block/mmcblk0p16
lrwxrwxrwx root     root              2016-07-07 00:53 logo -> /dev/block/mmcblk0p10
lrwxrwxrwx root     root              2016-07-07 00:53 misc -> /dev/block/mmcblk0p9
lrwxrwxrwx root     root              2016-07-07 00:53 modem -> /dev/block/mmcblk0p22
lrwxrwxrwx root     root              2016-07-07 00:53 modemst1 -> /dev/block/mmcblk0p12
lrwxrwxrwx root     root              2016-07-07 00:53 modemst2 -> /dev/block/mmcblk0p13
lrwxrwxrwx root     root              2016-07-07 00:53 persist -> /dev/block/mmcblk0p21
lrwxrwxrwx root     root              2016-07-07 00:53 recovery -> /dev/block/mmcblk0p20
lrwxrwxrwx root     root              2016-07-07 00:53 rpm -> /dev/block/mmcblk0p2
lrwxrwxrwx root     root              2016-07-07 00:53 sbl1 -> /dev/block/mmcblk0p1
lrwxrwxrwx root     root              2016-07-07 00:53 ssd -> /dev/block/mmcblk0p5
lrwxrwxrwx root     root              2016-07-07 00:53 system -> /dev/block/mmcblk0p23
lrwxrwxrwx root     root              2016-07-07 00:53 tz -> /dev/block/mmcblk0p3
lrwxrwxrwx root     root              2016-07-07 00:53 userdata -> /dev/block/mmcblk0p25
 

marioyo

Member
Apr 17, 2011
14
0
0
unfortunately no luck following your exact process. still reboots with the same problems, seems as if the new rom has not been flashed, nor the partitions erased.
This is the logfile from MiFlash

Code:
[00001CD0]CreateManagedObject(1392): Unspecified error(0x80131604)
[00001CD0]GetFactoryObject(1436): Unspecified error(0x80131604)
[00001CD0]CreateManagedObject(1392): Unspecified error(0x80131604)
[00001CD0]GetFactoryObject(1436): Unspecified error(0x80131604)
[00001CD0]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[00001CD0]GetSearchPath(1512): The specified service does not exist.(0x800704db)
[00001CD0]StartFlash(13): The parameter is incorrect.(0x80070057)
[000007DC]bba556b	0.00	execute C:\a\flash_all.bat
[000007DC]bba556b	0.05	
[000007DC]bba556b	0.05	$fastboot -s bba556b getvar product   2>&1  | findstr /r /c:"^product: *MSM8974"   || echo Missmatching image and device 
[000007DC]bba556b	0.27	product: MSM8974
[000007DC]bba556b	0.27	
[000007DC]bba556b	0.27	$fastboot -s bba556b getvar product   2>&1  | findstr /r /c:"^product: *MSM8974"   || exit /B 1 
[000007DC]bba556b	0.31	product: MSM8974
[000007DC]bba556b	0.31	
[000007DC]bba556b	0.31	$fastboot -s bba556b getvar board_version   2>&1  | findstr /r /c:"^board_version: *4.4"   && echo Missmatching board version 
[000007DC]bba556b	0.36	
[000007DC]bba556b	0.36	$fastboot -s bba556b getvar board_version   2>&1  | findstr /r /c:"^board_version: *4.4"   && exit /B 1 
[000007DC]bba556b	0.41	
[000007DC]bba556b	0.41	$fastboot -s bba556b getvar board_version   2>&1  | findstr /r /c:"^board_version: *5.[0-9]"   && echo Missmatching board version 
[000007DC]bba556b	0.45	
[000007DC]bba556b	0.45	$fastboot -s bba556b getvar board_version   2>&1  | findstr /r /c:"^board_version: *5.[0-9]"   && exit /B 1 
[000007DC]bba556b	0.50	
[000007DC]bba556b	0.50	$fastboot -s bba556b flash partition C:\a\images\gpt_both0.bin   || 
[000007DC]bba556b	0.58	target reported max download size of 1610612736 bytes
[000007DC]bba556b	0.58	sending 'partition' (33 KB)...
[000007DC]bba556b	0.58	OKAY [  0.004s]
[000007DC]bba556b	0.58	writing 'partition'...
[000007DC]bba556b	0.58	OKAY [  0.028s]
[000007DC]bba556b	0.58	finished. total time: 0.032s
[000007DC]bba556b	0.58	
[000007DC]bba556b	0.58	$fastboot -s bba556b flash tz C:\a\images\tz.mbn 
[000007DC]bba556b	0.66	target reported max download size of 1610612736 bytes
[000007DC]bba556b	0.66	sending 'tz' (325 KB)...
[000007DC]bba556b	0.66	OKAY [  0.012s]
[000007DC]bba556b	0.66	writing 'tz'...
[000007DC]bba556b	0.66	OKAY [  0.012s]
[000007DC]bba556b	0.66	finished. total time: 0.024s
[000007DC]bba556b	0.66	
[000007DC]bba556b	0.66	$fastboot -s bba556b flash dbi C:\a\images\sdi.mbn 
[000007DC]bba556b	0.70	target reported max download size of 1610612736 bytes
[000007DC]bba556b	0.70	sending 'dbi' (11 KB)...
[000007DC]bba556b	0.70	OKAY [  0.004s]
[000007DC]bba556b	0.70	writing 'dbi'...
[000007DC]bba556b	0.70	OKAY [  0.004s]
[000007DC]bba556b	0.70	finished. total time: 0.008s
[000007DC]bba556b	0.70	
[000007DC]bba556b	0.70	$fastboot -s bba556b flash sbl1 C:\a\images\sbl1.mbn 
[000007DC]bba556b	0.78	target reported max download size of 1610612736 bytes
[000007DC]bba556b	0.78	sending 'sbl1' (274 KB)...
[000007DC]bba556b	0.78	OKAY [  0.012s]
[000007DC]bba556b	0.78	writing 'sbl1'...
[000007DC]bba556b	0.78	OKAY [  0.008s]
[000007DC]bba556b	0.78	finished. total time: 0.020s
[000007DC]bba556b	0.78	
[000007DC]bba556b	0.78	$fastboot -s bba556b flash rpm C:\a\images\rpm.mbn 
[000007DC]bba556b	0.84	target reported max download size of 1610612736 bytes
[000007DC]bba556b	0.84	sending 'rpm' (185 KB)...
[000007DC]bba556b	0.84	OKAY [  0.008s]
[000007DC]bba556b	0.84	writing 'rpm'...
[000007DC]bba556b	0.84	OKAY [  0.008s]
[000007DC]bba556b	0.84	finished. total time: 0.016s
[000007DC]bba556b	0.84	
[000007DC]bba556b	0.84	$fastboot -s bba556b flash aboot C:\a\images\emmc_appsboot.mbn 
[000007DC]bba556b	1.02	target reported max download size of 1610612736 bytes
[000007DC]bba556b	1.02	sending 'aboot' (2095 KB)...
[000007DC]bba556b	1.02	OKAY [  0.068s]
[000007DC]bba556b	1.02	writing 'aboot'...
[000007DC]bba556b	1.02	OKAY [  0.040s]
[000007DC]bba556b	1.02	finished. total time: 0.108s
[000007DC]bba556b	1.02	
[000007DC]bba556b	1.02	$fastboot -s bba556b reboot-bootloader 
[000007DC]bba556b	1.05	rebooting into bootloader...
[000007DC]bba556b	1.05	OKAY [  0.000s]
[000007DC]bba556b	1.05	finished. total time: 0.000s
[000007DC]bba556b	1.06	
[000007DC]bba556b	1.06	$ping 127.0.0.1 -n 5 -w 1000  1>nul 
[000007DC]bba556b	5.14	
[000007DC]bba556b	5.14	$fastboot -s bba556b erase boot 
[000007DC]bba556b	5.19	erasing 'boot'...
[000007DC]bba556b	5.19	OKAY [  0.004s]
[000007DC]bba556b	5.19	finished. total time: 0.004s
[000007DC]bba556b	5.19	
[000007DC]bba556b	5.19	$fastboot -s bba556b erase DDR 
[000007DC]bba556b	8.33	erasing 'DDR'...
[000007DC]bba556b	8.33	OKAY [  3.098s]
[000007DC]bba556b	8.33	finished. total time: 3.098s
[000007DC]bba556b	8.33	
[000007DC]bba556b	8.33	$fastboot -s bba556b flash misc C:\a\images\misc.img 
[000007DC]bba556b	8.38	target reported max download size of 1610612736 bytes
[000007DC]bba556b	8.38	sending 'misc' (8 KB)...
[000007DC]bba556b	8.38	OKAY [  0.004s]
[000007DC]bba556b	8.38	writing 'misc'...
[000007DC]bba556b	8.38	OKAY [  0.004s]
[000007DC]bba556b	8.38	finished. total time: 0.008s
[000007DC]bba556b	8.38	
[000007DC]bba556b	8.38	$fastboot -s bba556b flash modem C:\a\images\NON-HLOS.bin 
[000007DC]bba556b	11.13	target reported max download size of 1610612736 bytes
[000007DC]bba556b	11.13	sending 'modem' (54385 KB)...
[000007DC]bba556b	11.13	OKAY [  1.705s]
[000007DC]bba556b	11.13	writing 'modem'...
[000007DC]bba556b	11.13	OKAY [  0.957s]
[000007DC]bba556b	11.13	finished. total time: 2.661s
[000007DC]bba556b	11.14	
[000007DC]bba556b	11.14	$fastboot -s bba556b flash system C:\a\images\system.img 
[000007DC]bba556b	84.39	target reported max download size of 1610612736 bytes
[000007DC]bba556b	84.39	erasing 'system'...
[000007DC]bba556b	84.39	OKAY [  0.004s]
[000007DC]bba556b	84.39	sending 'system' (1265949 KB)...
[000007DC]bba556b	84.39	OKAY [ 39.929s]
[000007DC]bba556b	84.39	writing 'system'...
[000007DC]bba556b	84.39	OKAY [ 27.665s]
[000007DC]bba556b	84.39	finished. total time: 67.599s
[000007DC]bba556b	84.48	
[000007DC]bba556b	84.48	$fastboot -s bba556b flash cache C:\a\images\cache.img 
[000007DC]bba556b	84.98	target reported max download size of 1610612736 bytes
[000007DC]bba556b	84.98	erasing 'cache'...
[000007DC]bba556b	84.98	OKAY [  0.008s]
[000007DC]bba556b	84.98	sending 'cache' (8336 KB)...
[000007DC]bba556b	84.98	OKAY [  0.260s]
[000007DC]bba556b	84.98	writing 'cache'...
[000007DC]bba556b	84.98	OKAY [  0.168s]
[000007DC]bba556b	84.98	finished. total time: 0.436s
[000007DC]bba556b	84.98	
[000007DC]bba556b	84.98	$fastboot -s bba556b flash userdata C:\a\images\userdata.img 
[000007DC]bba556b	127.63	target reported max download size of 1610612736 bytes
[000007DC]bba556b	127.63	erasing 'userdata'...
[000007DC]bba556b	127.63	OKAY [  1.504s]
[000007DC]bba556b	127.63	sending 'userdata' (731686 KB)...
[000007DC]bba556b	127.63	OKAY [ 23.077s]
[000007DC]bba556b	127.63	writing 'userdata'...
[000007DC]bba556b	127.63	OKAY [ 14.818s]
[000007DC]bba556b	127.64	finished. total time: 39.399s
[000007DC]bba556b	127.74	
[000007DC]bba556b	127.74	$fastboot -s bba556b flash recovery C:\a\images\recovery.img 
[000007DC]bba556b	128.61	target reported max download size of 1610612736 bytes
[000007DC]bba556b	128.61	sending 'recovery' (15652 KB)...
[000007DC]bba556b	128.61	OKAY [  0.492s]
[000007DC]bba556b	128.61	writing 'recovery'...
[000007DC]bba556b	128.61	OKAY [  0.280s]
[000007DC]bba556b	128.61	finished. total time: 0.772s
[000007DC]bba556b	128.61	
[000007DC]bba556b	128.61	$fastboot -s bba556b flash boot C:\a\images\boot.img 
[000007DC]bba556b	129.44	target reported max download size of 1610612736 bytes
[000007DC]bba556b	129.44	sending 'boot' (14386 KB)...
[000007DC]bba556b	129.44	OKAY [  0.452s]
[000007DC]bba556b	129.44	writing 'boot'...
[000007DC]bba556b	129.44	OKAY [  0.256s]
[000007DC]bba556b	129.44	finished. total time: 0.708s
[000007DC]bba556b	129.44	
[000007DC]bba556b	129.44	$fastboot -s bba556b reboot 
[000007DC]bba556b	129.47	rebooting...
[000007DC]bba556b	129.47	
[000007DC]bba556b	129.47	finished. total time: -0.000s
[000007DC]bba556b	129.50	
[000007DC]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[000007DC]SaveFlashResult(1478): The specified service does not exist.(0x800704db)
 

Jay sharma

Senior Member
Sep 22, 2014
218
33
0
mumbai
I am willing to paypal $25 to anyone that can help me solve this issue
So what you can do is..
flash the below recovery using fastboot..i is a modded recovery by auhadi..which helps to extend your partation size to 1.2g
after installing recovery ..boot to that recovery and flash the auhadi extended partation zip(you can find it in mi3 xda forum)
and then and install any 5.0 or 4.4 rom compatible with 1.2 g partation size
 

ashish289

Senior Member
Feb 25, 2014
151
18
38
jaipur
So what you can do is..
flash the below recovery using fastboot..i is a modded recovery by auhadi..which helps to extend your partation size to 1.2g
after installing recovery ..boot to that recovery and flash the auhadi extended partation zip(you can find it in mi3 xda forum)
and then and install any 5.0 or 4.4 rom compatible with 1.2 g partation size
need info about fastboot rom you are using , partition layout merged or not and location of your fastboot rom on pc
 

marioyo

Member
Apr 17, 2011
14
0
0
So what you can do is..
flash the below recovery using fastboot..i is a modded recovery by auhadi..which helps to extend your partation size to 1.2g
after installing recovery ..boot to that recovery and flash the auhadi extended partation zip(you can find it in mi3 xda forum)
and then and install any 5.0 or 4.4 rom compatible with 1.2 g partation size
Hi there,

I have attempted to flash that recovery, but it will not overwrite the old recovery (Ivan's custom TWRP 2.8.7.0). However I can boot to this recovery with the command 'fastboot boot recovery.img'.

I cant seem to find this 'auhadi' extended partation zip you talk of? I cant find any user called auhadi
 

marioyo

Member
Apr 17, 2011
14
0
0
need info about fastboot rom you are using , partition layout merged or not and location of your fastboot rom on pc
Partition layout as follows (merged)

Code:
 6      6.29MB  7.34MB   1.05MB                dbi
 7      7.34MB  11.5MB   4.19MB                aboot
 8      11.5MB  16.8MB   5.24MB                bk1
 9      16.8MB  21.0MB   4.19MB                misc
10      21.0MB  29.4MB   8.39MB                logo
11      29.4MB  67.1MB   37.7MB                bk2
12      67.1MB  68.7MB   1.57MB                modemst1
13      68.7MB  70.3MB   1.57MB                modemst2
14      70.3MB  70.3MB   0.00MB                fsc
15      70.3MB  134MB    64.0MB                bk3
16      134MB   136MB    1.57MB                fsg
17      136MB   168MB    32.0MB                bk4
18      168MB   201MB    33.6MB                bk5
19      201MB   235MB    33.6MB                boot
20      235MB   252MB    16.8MB                recovery
21      252MB   268MB    16.8MB   ext4         persist
22      268MB   403MB    134MB    fat16        modem
23      403MB   1745MB   1342MB   ext4         system
24      1745MB  2147MB   403MB    ext4         cache
25      2147MB  15758MB  13610MB  ext4         userdata
Flashing (old) fastboot rom cancro_global_images_KXDMIBH34.0_4.4_in_c941119fcf.tgz
returns the MiFlash error: "partition table doesn't exist"

Flashing (new) fastboot rom cancro_global_images_V7.5.1.0.MXDMIDE_20160523.0000.23_6.0_global_05f0b7ad2f.tgz
MiFlash says it Completes Sucessfully, howeverm upon restart it attempts to boots into the old, corrupt rom. This is the relevant MiFlash log

Code:
[00001124]CreateManagedObject(1392): Unspecified error(0x80131604)
[00001124]GetFactoryObject(1436): Unspecified error(0x80131604)
[00001124]CreateManagedObject(1392): Unspecified error(0x80131604)
[00001124]GetFactoryObject(1436): Unspecified error(0x80131604)
[00001124]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[00001124]GetSearchPath(1512): The specified service does not exist.(0x800704db)
[00001124]StartFlash(13): The parameter is incorrect.(0x80070057)
[00001B60]bba556b	0.00	execute C:\ami3fbold\flash_all.bat
[00001B60]bba556b	0.05	
[00001B60]bba556b	0.05	$fastboot -s bba556b getvar product   2>&1  | findstr /r /c:"^product: *MSM8974"   || echo Missmatching image and device 
[00001B60]bba556b	0.17	product: MSM8974
[00001B60]bba556b	0.17	
[00001B60]bba556b	0.17	$fastboot -s bba556b getvar product   2>&1  | findstr /r /c:"^product: *MSM8974"   || exit /B 1 
[00001B60]bba556b	0.20	product: MSM8974
[00001B60]bba556b	0.20	
[00001B60]bba556b	0.20	$fastboot -s bba556b flash tz C:\ami3fbold\images\tz.mbn 
[00001B60]bba556b	0.25	target reported max download size of 1610612736 bytes
[00001B60]bba556b	0.25	sending 'tz' (325 KB)...
[00001B60]bba556b	0.25	OKAY [  0.016s]
[00001B60]bba556b	0.25	writing 'tz'...
[00001B60]bba556b	0.25	OKAY [  0.016s]
[00001B60]bba556b	0.25	finished. total time: 0.031s
[00001B60]bba556b	0.25	
[00001B60]bba556b	0.25	$fastboot -s bba556b flash dbi C:\ami3fbold\images\sdi.mbn 
[00001B60]bba556b	0.27	target reported max download size of 1610612736 bytes
[00001B60]bba556b	0.27	sending 'dbi' (11 KB)...
[00001B60]bba556b	0.27	OKAY [  0.000s]
[00001B60]bba556b	0.27	writing 'dbi'...
[00001B60]bba556b	0.27	OKAY [  0.000s]
[00001B60]bba556b	0.27	finished. total time: 0.000s
[00001B60]bba556b	0.27	
[00001B60]bba556b	0.27	$fastboot -s bba556b flash sbl1 C:\ami3fbold\images\sbl1.mbn 
[00001B60]bba556b	0.33	target reported max download size of 1610612736 bytes
[00001B60]bba556b	0.33	sending 'sbl1' (274 KB)...
[00001B60]bba556b	0.33	OKAY [  0.016s]
[00001B60]bba556b	0.33	writing 'sbl1'...
[00001B60]bba556b	0.33	OKAY [  0.016s]
[00001B60]bba556b	0.33	finished. total time: 0.031s
[00001B60]bba556b	0.33	
[00001B60]bba556b	0.33	$fastboot -s bba556b flash rpm C:\ami3fbold\images\rpm.mbn 
[00001B60]bba556b	0.39	target reported max download size of 1610612736 bytes
[00001B60]bba556b	0.39	sending 'rpm' (186 KB)...
[00001B60]bba556b	0.39	OKAY [ -0.000s]
[00001B60]bba556b	0.39	writing 'rpm'...
[00001B60]bba556b	0.39	OKAY [  0.016s]
[00001B60]bba556b	0.39	finished. total time: 0.016s
[00001B60]bba556b	0.39	
[00001B60]bba556b	0.39	$fastboot -s bba556b flash aboot C:\ami3fbold\images\emmc_appsboot.mbn 
[00001B60]bba556b	0.56	target reported max download size of 1610612736 bytes
[00001B60]bba556b	0.56	sending 'aboot' (1987 KB)...
[00001B60]bba556b	0.56	OKAY [  0.078s]
[00001B60]bba556b	0.56	writing 'aboot'...
[00001B60]bba556b	0.56	OKAY [  0.031s]
[00001B60]bba556b	0.56	finished. total time: 0.109s
[00001B60]bba556b	0.56	
[00001B60]bba556b	0.56	$fastboot -s bba556b erase boot 
[00001B60]bba556b	0.61	erasing 'boot'...
[00001B60]bba556b	0.61	OKAY [ -0.000s]
[00001B60]bba556b	0.61	finished. total time: -0.000s
[00001B60]bba556b	0.61	
[00001B60]bba556b	0.61	$fastboot -s bba556b flash misc C:\ami3fbold\images\misc.img 
[00001B60]bba556b	0.67	target reported max download size of 1610612736 bytes
[00001B60]bba556b	0.67	sending 'misc' (8 KB)...
[00001B60]bba556b	0.67	OKAY [  0.016s]
[00001B60]bba556b	0.67	writing 'misc'...
[00001B60]bba556b	0.67	OKAY [ -0.000s]
[00001B60]bba556b	0.67	finished. total time: 0.016s
[00001B60]bba556b	0.67	
[00001B60]bba556b	0.67	$fastboot -s bba556b flash modem+modem1 C:\ami3fbold\images\NON-HLOS.bin 
[00001B60]bba556b	3.89	target reported max download size of 1610612736 bytes
[00001B60]bba556b	3.89	sending 'modem+modem1' (53585 KB)...
[00001B60]bba556b	3.89	OKAY [  1.998s]
[00001B60]bba556b	3.89	writing 'modem+modem1'...
[00001B60]bba556b	3.89	FAILED (remote: partition table doesn't exist)
[00001B60]CScriptReport::DoWork(428): Unspecified error(0x80004005)
[00001B60]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[00001B60]SaveFlashResult(1478): The specified service does not exist.(0x800704db)
[00001124]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[00001124]GetSearchPath(1512): The specified service does not exist.(0x800704db)
[00001124]StartFlash(13): The parameter is incorrect.(0x80070057)
[00000D5C]bba556b	0.00	execute C:\a\flash_all.bat
[00000D5C]bba556b	0.03	
[00000D5C]bba556b	0.03	$fastboot -s bba556b getvar product   2>&1  | findstr /r /c:"^product: *MSM8974"   || echo Missmatching image and device 
[00000D5C]bba556b	0.05	product: MSM8974
[00000D5C]bba556b	0.06	
[00000D5C]bba556b	0.06	$fastboot -s bba556b getvar product   2>&1  | findstr /r /c:"^product: *MSM8974"   || exit /B 1 
[00000D5C]bba556b	0.08	product: MSM8974
[00000D5C]bba556b	0.08	
[00000D5C]bba556b	0.08	$fastboot -s bba556b getvar board_version   2>&1  | findstr /r /c:"^board_version: *4.4"   && echo Missmatching board version 
[00000D5C]bba556b	0.09	
[00000D5C]bba556b	0.09	$fastboot -s bba556b getvar board_version   2>&1  | findstr /r /c:"^board_version: *4.4"   && exit /B 1 
[00000D5C]bba556b	0.13	
[00000D5C]bba556b	0.13	$fastboot -s bba556b getvar board_version   2>&1  | findstr /r /c:"^board_version: *5.[0-9]"   && echo Missmatching board version 
[00000D5C]bba556b	0.14	
[00000D5C]bba556b	0.14	$fastboot -s bba556b getvar board_version   2>&1  | findstr /r /c:"^board_version: *5.[0-9]"   && exit /B 1 
[00000D5C]bba556b	0.17	
[00000D5C]bba556b	0.17	$fastboot -s bba556b flash partition C:\a\images\gpt_both0.bin   || 
[00000D5C]bba556b	0.23	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	0.23	sending 'partition' (33 KB)...
[00000D5C]bba556b	0.23	OKAY [  0.008s]
[00000D5C]bba556b	0.23	writing 'partition'...
[00000D5C]bba556b	0.23	OKAY [  0.024s]
[00000D5C]bba556b	0.23	finished. total time: 0.032s
[00000D5C]bba556b	0.23	
[00000D5C]bba556b	0.23	$fastboot -s bba556b flash tz C:\a\images\tz.mbn 
[00000D5C]bba556b	0.28	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	0.28	sending 'tz' (325 KB)...
[00000D5C]bba556b	0.28	OKAY [  0.016s]
[00000D5C]bba556b	0.28	writing 'tz'...
[00000D5C]bba556b	0.28	OKAY [  0.008s]
[00000D5C]bba556b	0.28	finished. total time: 0.024s
[00000D5C]bba556b	0.30	
[00000D5C]bba556b	0.30	$fastboot -s bba556b flash dbi C:\a\images\sdi.mbn 
[00000D5C]bba556b	0.34	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	0.34	sending 'dbi' (11 KB)...
[00000D5C]bba556b	0.34	OKAY [  0.004s]
[00000D5C]bba556b	0.34	writing 'dbi'...
[00000D5C]bba556b	0.34	OKAY [  0.004s]
[00000D5C]bba556b	0.34	finished. total time: 0.008s
[00000D5C]bba556b	0.36	
[00000D5C]bba556b	0.36	$fastboot -s bba556b flash sbl1 C:\a\images\sbl1.mbn 
[00000D5C]bba556b	0.42	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	0.42	sending 'sbl1' (274 KB)...
[00000D5C]bba556b	0.42	OKAY [  0.012s]
[00000D5C]bba556b	0.42	writing 'sbl1'...
[00000D5C]bba556b	0.42	OKAY [  0.008s]
[00000D5C]bba556b	0.42	finished. total time: 0.020s
[00000D5C]bba556b	0.42	
[00000D5C]bba556b	0.42	$fastboot -s bba556b flash rpm C:\a\images\rpm.mbn 
[00000D5C]bba556b	0.50	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	0.50	sending 'rpm' (185 KB)...
[00000D5C]bba556b	0.50	OKAY [  0.012s]
[00000D5C]bba556b	0.50	writing 'rpm'...
[00000D5C]bba556b	0.50	OKAY [  0.004s]
[00000D5C]bba556b	0.50	finished. total time: 0.016s
[00000D5C]bba556b	0.50	
[00000D5C]bba556b	0.50	$fastboot -s bba556b flash aboot C:\a\images\emmc_appsboot.mbn 
[00000D5C]bba556b	0.67	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	0.67	sending 'aboot' (2095 KB)...
[00000D5C]bba556b	0.69	OKAY [  0.080s]
[00000D5C]bba556b	0.69	writing 'aboot'...
[00000D5C]bba556b	0.69	OKAY [  0.040s]
[00000D5C]bba556b	0.69	finished. total time: 0.120s
[00000D5C]bba556b	0.69	
[00000D5C]bba556b	0.69	$fastboot -s bba556b reboot-bootloader 
[00000D5C]bba556b	0.72	rebooting into bootloader...
[00000D5C]bba556b	0.72	OKAY [  0.004s]
[00000D5C]bba556b	0.72	finished. total time: 0.004s
[00000D5C]bba556b	0.72	
[00000D5C]bba556b	0.72	$ping 127.0.0.1 -n 5 -w 1000  1>nul 
[00000D5C]bba556b	4.81	
[00000D5C]bba556b	4.81	$fastboot -s bba556b erase boot 
[00000D5C]bba556b	4.86	erasing 'boot'...
[00000D5C]bba556b	4.86	OKAY [  0.008s]
[00000D5C]bba556b	4.86	finished. total time: 0.008s
[00000D5C]bba556b	4.86	
[00000D5C]bba556b	4.86	$fastboot -s bba556b erase DDR 
[00000D5C]bba556b	8.00	erasing 'DDR'...
[00000D5C]bba556b	8.00	OKAY [  3.096s]
[00000D5C]bba556b	8.00	finished. total time: 3.096s
[00000D5C]bba556b	8.00	
[00000D5C]bba556b	8.00	$fastboot -s bba556b flash misc C:\a\images\misc.img 
[00000D5C]bba556b	8.06	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	8.06	sending 'misc' (8 KB)...
[00000D5C]bba556b	8.06	OKAY [ -0.000s]
[00000D5C]bba556b	8.06	writing 'misc'...
[00000D5C]bba556b	8.06	OKAY [  0.008s]
[00000D5C]bba556b	8.06	finished. total time: 0.008s
[00000D5C]bba556b	8.06	
[00000D5C]bba556b	8.06	$fastboot -s bba556b flash modem C:\a\images\NON-HLOS.bin 
[00000D5C]bba556b	11.34	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	11.34	sending 'modem' (54385 KB)...
[00000D5C]bba556b	11.34	OKAY [  1.984s]
[00000D5C]bba556b	11.34	writing 'modem'...
[00000D5C]bba556b	11.34	OKAY [  0.952s]
[00000D5C]bba556b	11.34	finished. total time: 2.936s
[00000D5C]bba556b	11.36	
[00000D5C]bba556b	11.36	$fastboot -s bba556b flash system C:\a\images\system.img 
[00000D5C]bba556b	90.03	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	90.03	erasing 'system'...
[00000D5C]bba556b	90.03	OKAY [  0.004s]
[00000D5C]bba556b	90.03	sending 'system' (1265949 KB)...
[00000D5C]bba556b	90.03	OKAY [ 44.857s]
[00000D5C]bba556b	90.03	writing 'system'...
[00000D5C]bba556b	90.03	OKAY [ 27.669s]
[00000D5C]bba556b	90.03	finished. total time: 72.530s
[00000D5C]bba556b	90.22	
[00000D5C]bba556b	90.22	$fastboot -s bba556b flash cache C:\a\images\cache.img 
[00000D5C]bba556b	90.77	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	90.77	erasing 'cache'...
[00000D5C]bba556b	90.77	OKAY [  0.008s]
[00000D5C]bba556b	90.77	sending 'cache' (8336 KB)...
[00000D5C]bba556b	90.77	OKAY [  0.300s]
[00000D5C]bba556b	90.77	writing 'cache'...
[00000D5C]bba556b	90.77	OKAY [  0.168s]
[00000D5C]bba556b	90.77	finished. total time: 0.476s
[00000D5C]bba556b	90.77	
[00000D5C]bba556b	90.77	$fastboot -s bba556b flash userdata C:\a\images\userdata.img 
[00000D5C]bba556b	137.17	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	137.17	erasing 'userdata'...
[00000D5C]bba556b	137.17	OKAY [  1.503s]
[00000D5C]bba556b	137.17	sending 'userdata' (731686 KB)...
[00000D5C]bba556b	137.17	OKAY [ 26.727s]
[00000D5C]bba556b	137.17	writing 'userdata'...
[00000D5C]bba556b	137.17	OKAY [ 14.822s]
[00000D5C]bba556b	137.17	finished. total time: 43.051s
[00000D5C]bba556b	137.25	
[00000D5C]bba556b	137.25	$fastboot -s bba556b flash recovery C:\a\images\recovery.img 
[00000D5C]bba556b	138.19	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	138.19	sending 'recovery' (15652 KB)...
[00000D5C]bba556b	138.19	OKAY [  0.572s]
[00000D5C]bba556b	138.19	writing 'recovery'...
[00000D5C]bba556b	138.19	OKAY [  0.276s]
[00000D5C]bba556b	138.19	finished. total time: 0.848s
[00000D5C]bba556b	138.20	
[00000D5C]bba556b	138.20	$fastboot -s bba556b flash boot C:\a\images\boot.img 
[00000D5C]bba556b	139.08	target reported max download size of 1610612736 bytes
[00000D5C]bba556b	139.08	sending 'boot' (14386 KB)...
[00000D5C]bba556b	139.08	OKAY [  0.516s]
[00000D5C]bba556b	139.08	writing 'boot'...
[00000D5C]bba556b	139.08	OKAY [  0.256s]
[00000D5C]bba556b	139.08	finished. total time: 0.772s
[00000D5C]bba556b	139.08	
[00000D5C]bba556b	139.08	$fastboot -s bba556b reboot 
[00000D5C]bba556b	139.13	rebooting...
[00000D5C]bba556b	139.13	
[00000D5C]bba556b	139.13	finished. total time: -0.000s
[00000D5C]bba556b	139.13	
[00000D5C]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[00000D5C]SaveFlashResult(1478): The specified service does not exist.(0x800704db)
fastboot locations:

C:\a
and
C:\ami3fbold
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone