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
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
hi there is anyone able to help with this please?
marioyo said:
hi there is anyone able to help with this please?
Click to expand...
Click to collapse
try this
reboot into fastboot mode and type these cmds in adb/fastboot
fastboot erase system
fastboot erase userdata
fastboot erase cache
and then flash fastboot miui rom using miflash
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)
I am willing to paypal $25 to anyone that can help me solve this issue
marioyo said:
I am willing to paypal $25 to anyone that can help me solve this issue
Click to expand...
Click to collapse
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
Jay sharma said:
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
Click to expand...
Click to collapse
need info about fastboot rom you are using , partition layout merged or not and location of your fastboot rom on pc
Jay sharma said:
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
Click to expand...
Click to collapse
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
ashish289 said:
need info about fastboot rom you are using , partition layout merged or not and location of your fastboot rom on pc
Click to expand...
Click to collapse
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
Related
I have a problem with my nexus 2012 WiFi version
I put twrp recovery 2.7.0.0 and omini ROM 4.4.2. Since then I have been unable to wipe anything on the device. I wipe or format in twrp when reboot every thing is same. Even with fastboot I format internal SD or wipe everything. It says it is OK but when u boot nothing is wiped. I can install apps but when I reboot they are erased and only apps which were there earlier stay. Please help. Another guy in the forum has same problem. I updated from slim ROM to omni and the problem started Now I can't even delete anything in twrp recovery or update twrp recovery in fastboot. It says its done but when I reboot to twrp its not updated.
Also in fastboot I can't lock boot loader by fastboot OEM lock . The command goes through in fastboot but when I reboot its still unlocked. Please any hep is appreciated from any one on XDA.
Default Can't wipe or factory reset Nexus 7 (2102) using multiple methods
A month or so ago my Nexus 7 (2012) started rebooting itself after a minute or so of turning on - I think this may have been during OTA upgrade from JWR66Y to new release. I tried to fix this by clearing app data and booting into CWM recovery and deleting cache and dalvik cache but the problem persisted. So I decided to reset the Nexus 7 back to factory image and have tried every means of doing so but every time I keep getting back to my original data and the app crashes and reboot continues. I have never had any issues connecting to the device on USB and ADB so this is not a driver issue. Things I have tried:
* Hard reset on phone from recovery (plus endless deleting of cache and dalvik)
* Hard reset using Wugfresh toolkit (plus near every other tool on there)
* Hard refresh from recovery mode
* Hard refresh using ADB and deleting user data etc.
* Flash recovery from ADB (also using Wugfresh as per above)
* ADB sideload from recovery of factory images, bootloaders and other ROM's
* Lock/unlock/root/unroot - using ADB commands as well as Wugfresh and other toolkits
* Delete data, system, cache
It seems like the Nexus 7 going into read only mode? Erasing /data and everything else in recovery has no effect and also when trying to overwrite the bootloader I get "writing 'bootloader'... FAILED (remote: (InvalidState))" using Wugfresh toolkit as per below. The device is still running JWR66Y.
I'm totally stuck now as to how I get my Nexus 7 back again! I have seen other people having issues with the JWR66Y bootloader (http://forum.xda-developers.com/show....php?t=1907796) but have tried all the workarounds and can't seem to find a way to overwrite the bootloader...
*** Trying with ADB manually ***
C:\android-sdk\platform-tools>adb devices
List of devices attached
4df17c816ec76f25 device
C:\android-sdk\platform-tools>adb devices
List of devices attached
015d165c520bf80f device
C:\android-sdk\platform-tools>adb reboot-bootloader
C:\android-sdk\platform-tools>fastboot devices
015d165c520bf80f fastboot
C:\android-sdk\platform-tools>fastboot oem unlock
...
(bootloader) Bootloader is already unlocked
OKAY [ 0.016s]
finished. total time: 0.016s
C:\android-sdk\platform-tools>fastboot erase boot
erasing 'boot'...
OKAY [ 0.016s]
finished. total time: 0.016s
C:\android-sdk\platform-tools>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.016s
C:\android-sdk\platform-tools>fastboot erase recovery
erasing 'recovery'...
OKAY [ 0.016s]
finished. total time: 0.016s
C:\android-sdk\platform-tools>fastboot erase system
******** Did you mean to fastboot format this partition?
erasing 'system'...
OKAY [ 0.016s]
finished. total time: 0.031s
C:\android-sdk\platform-tools>fastboot erase userdata
******** Did you mean to fastboot format this partition?
erasing 'userdata'...
OKAY [ 0.031s]
finished. total time: 0.031s
C:\android-sdk\platform-tools>fastboot flash bootloader bootloader-grouper-4.23.
img
sending 'bootloader' (2100 KB)...
OKAY [ 0.344s]
writing 'bootloader'...
OKAY [ 0.594s]
finished. total time: 0.938s
C:\android-sdk\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.016s]
finished. total time: 0.016s
C:\android-sdk\platform-tools>fastboot -w update image-nakasi-kot49h.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: 4.23
Baseband Version.....: N/A
Serial Number........: 015d165c520bf80f
--------------------------------------------
checking product...
OKAY [ 0.031s]
checking version-bootloader...
OKAY [ 0.031s]
sending 'boot' (4992 KB)...
OKAY [ 0.781s]
writing 'boot'...
OKAY [ 0.172s]
sending 'recovery' (5532 KB)...
OKAY [ 0.844s]
writing 'recovery'...
OKAY [ 0.188s]
erasing 'system'...
OKAY [ 0.016s]
sending 'system' (625382 KB)...
OKAY [ 95.203s]
writing 'system'...
OKAY [ 27.500s]
erasing 'userdata'...
OKAY [ 0.031s]
formatting 'userdata' partition...
Creating filesystem with parameters:
Size: 14442037248
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 3525888
Block groups: 108
Reserved block group size: 863
Created filesystem with 11/883008 inodes and 96825/3525888 blocks
sending 'userdata' (137526 KB)...
writing 'userdata'...
OKAY [ 38.453s]
erasing 'cache'...
OKAY [ 0.016s]
formatting 'cache' partition...
Creating filesystem with parameters:
Size: 464519168
Block size: 4096
Blocks per group: 32768
Inodes per group: 7088
Inode size: 256
Journal blocks: 1772
Label:
Blocks: 113408
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/28352 inodes and 3654/113408 blocks
sending 'cache' (9052 KB)...
writing 'cache'...
OKAY [ 2.203s]
rebooting...
finished. total time: 165.625s
*** Now using Wugfresh tool ***
Flash Stock + Unroot...
------------------------------------------------------------------
erasing 'boot'...
OKAY [ 0.016s]
finished. total time: 0.016s
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.016s
erasing 'recovery'...
OKAY [ 0.016s]
finished. total time: 0.016s
******** Did you mean to fastboot format this partition?
erasing 'system'...
OKAY [ 0.031s]
finished. total time: 0.031s
******** Did you mean to fastboot format this partition?
erasing 'userdata'...
OKAY [ 0.031s]
finished. total time: 0.031s
sending 'bootloader' (3911 KB)...
OKAY [ 0.609s]
writing 'bootloader'...
FAILED (remote: (InvalidState))
finished. total time: 0.828s
rebooting into bootloader...
OKAY [ 0.031s]
finished. total time: 0.031s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: 4.23
Baseband Version.....: N/A
Serial Number........: 015d165c520bf80f
--------------------------------------------
checking product...
OKAY [ 0.031s]
checking version-bootloader...
OKAY [ 0.031s]
sending 'boot' (4992 KB)...
OKAY [ 0.781s]
writing 'boot'...
OKAY [ 0.172s]
sending 'recovery' (5532 KB)...
OKAY [ 0.844s]
writing 'recovery'...
OKAY [ 0.188s]
erasing 'system'...
OKAY [ 0.016s]
sending 'system' (625382 KB)...
OKAY [ 96.078s]
writing 'system'...
OKAY [ 27.484s]
erasing 'userdata'...
OKAY [ 0.031s]
formatting 'userdata' partition...
Creating filesystem with parameters:
Size: 14442037248
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 3525888
Block groups: 108
Reserved block group size: 863
Created filesystem with 11/883008 inodes and 96825/3525888 blocks
sending 'userdata' (137526 KB)...
writing 'userdata'...
OKAY [148.516s]
erasing 'cache'...
OKAY [ 0.016s]
formatting 'cache' partition...
Creating filesystem with parameters:
Size: 464519168
Block size: 4096
Blocks per group: 32768
Inodes per group: 7088
Inode size: 256
Journal blocks: 1772
Label:
Blocks: 113408
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/28352 inodes and 3654/113408 blocks
sending 'cache' (9052 KB)...
writing 'cache'...
OKAY [ 3.266s]
rebooting...
finished. total time: 1197.719s
Thanks[/QUOTE][/QUOTE]
Phone was on charger overnight, went to use it and just boot loops. Was fine the day before. so I tried to flash a rom to no prevail, so I loaded NRT to flash 5.1 only to keep getting Failed bootloader and radio install. I can get to bootloader and recovery, but data, cache and storage cannot be mounted. the following are my NRT results:
Flash Stock + Unroot...
------------------------------------------------------------------
target reported max download size of 536870912 bytes
sending 'bootloader' (3807 KB)...
OKAY [ 0.125s]
writing 'bootloader'...
(bootloader) flashing partition ...
(bootloader) This may take a few seconds if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
(bootloader) Failed to write EFI backup GPT header.
(bootloader) Failed to flash partition
FAILED (remote failure)
finished. total time: 0.398s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.016s
target reported max download size of 536870912 bytes
sending 'radio' (85422 KB)...
OKAY [ 2.750s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
(bootloader) flashing versions ...
(bootloader) Failed to flash partition versions
(bootloader) Failed to flash versions
FAILED (remote failure)
finished. total time: 3.320s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.016s
target reported max download size of 536870912 bytes
sending 'boot' (7681 KB)...
OKAY [ 0.266s]
writing 'boot'...
OKAY [ 0.047s]
finished. total time: 0.313s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.016s
target reported max download size of 536870912 bytes
erasing 'cache'...
OKAY [ 0.016s]
sending 'cache' (6248 KB)...
OKAY [ 0.203s]
writing 'cache'...
OKAY [ 0.047s]
finished. total time: 0.281s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s
target reported max download size of 536870912 bytes
sending 'recovery' (8273 KB)...
OKAY [ 0.286s]
writing 'recovery'...
OKAY [ 0.063s]
finished. total time: 0.348s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.016s
target reported max download size of 536870912 bytes
sending sparse 'system' (522112 KB)...
OKAY [ 18.386s]
writing 'system'...
OKAY [ 3.252s]
sending sparse 'system' (510197 KB)...
OKAY [ 18.144s]
writing 'system'...
OKAY [ 3.211s]
sending sparse 'system' (515601 KB)...
OKAY [ 18.700s]
writing 'system'...
OKAY [ 3.356s]
sending sparse 'system' (188485 KB)...
OKAY [ 6.640s]
writing 'system'...
OKAY [ 1.172s]
finished. total time: 72.878s
rebooting into bootloader...
OKAY [ -0.000s]
finished. total time: 0.016s
target reported max download size of 536870912 bytes
erasing 'userdata'...
OKAY [ 0.016s]
sending 'userdata' (138868 KB)...
OKAY [ 4.466s]
writing 'userdata'...
OKAY [ 0.896s]
finished. total time: 5.378s
rebooting...
finished. total time: -0.000s
Booting up your freshly flashed stock device...
------------------------------------------------------------------
Wait for your device to finish booting up...
- It may appear to be boot looping; just wait...
- It could take 5-10 minutes; please be patient...
When its finally booted back up, please remember
to re-enable USB debugging if you plan on using
the toolkit to perform other operations.
Press any key to exit...
Any Help?
Use fastboot to flash the 5.1 images. Flash each individually and ensure you wipe data
still no go
Command Prompt for manual input...
------------------------------------------------------------------
Try typing "adb help" or "fastboot help" for a full cmd list and syntax info.
Enjoy...
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot dev
ices
ZX1G322NKQ fastboot
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot era
se boot
erasing 'boot'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.000s]
finished. total time: 0.016s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot era
se cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.007s]
finished. total time: 0.009s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot era
se recovery
erasing 'recovery'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot era
se system
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.000s]
finished. total time: 0.000s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot era
se userdata
******** Did you mean to fastboot format this partition?
erasing 'userdata'...
OKAY [ 0.008s]
finished. total time: 0.008s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot fla
sh bootloader bootloader-shamu-moto-apq8084-71.08.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3807 KB)...
OKAY [ 0.132s]
writing 'bootloader'...
(bootloader) flashing partition ...
(bootloader) This may take a few seconds if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
(bootloader) Failed to write EFI backup GPT header.
(bootloader) Failed to flash partition
FAILED (remote failure)
finished. total time: 0.403s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot reb
oot bootloader
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if fou
nd,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and
flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
than size. 0 to disable
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot reb
oot-bootloader
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot fla
sh radio radio-shamu-d4.0-9625-02.95.img
target reported max download size of 536870912 bytes
sending 'radio' (85422 KB)...
OKAY [ 2.752s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
(bootloader) flashing versions ...
(bootloader) Failed to flash partition versions
(bootloader) Failed to flash versions
FAILED (remote failure)
finished. total time: 3.315s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot -w
update image-shamu-lmy47d.zip
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1778070480 bytes
error: update package missing system.img
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot reb
oot
rebooting...
finished. total time: 0.000s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>
Going to do each seprately still, but that EFI is still there.
Definitely looks like a warranty return to me.
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot -w
flash bootloader bootloader-shamu-moto-apq8084-71.08.img
target reported max download size of 536870912 bytes
Creating filesystem with parameters:
Size: 59743535104
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 14585824
Block groups: 446
Reserved block group size: 1024
Created filesystem with 11/3646496 inodes and 274946/14585824 blocks
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
sending 'bootloader' (3807 KB)...
OKAY [ 0.131s]
writing 'bootloader'...
(bootloader) flashing partition ...
(bootloader) This may take a few seconds if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
(bootloader) Failed to write EFI backup GPT header.
(bootloader) Failed to flash partition
FAILED (remote failure)
finished. total time: 0.425s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot reb
oot
rebooting...
finished. total time: 0.003s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot -w
flash radio radio-shamu-d4.0-9625-02.95.img
target reported max download size of 536870912 bytes
Creating filesystem with parameters:
Size: 59743535104
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 14585824
Block groups: 446
Reserved block group size: 1024
Created filesystem with 11/3646496 inodes and 274946/14585824 blocks
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
sending 'radio' (85422 KB)...
OKAY [ 2.762s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
(bootloader) flashing versions ...
(bootloader) Failed to flash partition versions
(bootloader) Failed to flash versions
FAILED (remote failure)
finished. total time: 3.316s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot reb
oot
rebooting...
finished. total time: 0.000s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot -w
flash boot boot.img
target reported max download size of 536870912 bytes
Creating filesystem with parameters:
Size: 59743535104
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 14585824
Block groups: 446
Reserved block group size: 1024
Created filesystem with 11/3646496 inodes and 274946/14585824 blocks
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
sending 'boot' (7681 KB)...
OKAY [ 0.241s]
writing 'boot'...
OKAY [ 0.069s]
erasing 'userdata'...
OKAY [ 0.010s]
sending 'userdata' (141063 KB)...
OKAY [ 4.517s]
writing 'userdata'...
OKAY [ 0.973s]
erasing 'cache'...
OKAY [ 0.007s]
sending 'cache' (6248 KB)...
OKAY [ 0.207s]
writing 'cache'...
OKAY [ 0.039s]
finished. total time: 6.072s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot fla
sh recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (8273 KB)...
OKAY [ 0.276s]
writing 'recovery'...
OKAY [ 0.053s]
finished. total time: 0.330s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot fla
sh system system.img
target reported max download size of 536870912 bytes
sending sparse 'system' (522112 KB)...
OKAY [ 18.419s]
writing 'system'...
OKAY [ 3.259s]
sending sparse 'system' (510197 KB)...
OKAY [ 18.074s]
writing 'system'...
OKAY [ 3.206s]
sending sparse 'system' (515601 KB)...
OKAY [ 18.729s]
writing 'system'...
OKAY [ 3.346s]
sending sparse 'system' (188485 KB)...
OKAY [ 6.604s]
writing 'system'...
OKAY [ 1.167s]
finished. total time: 72.851s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot fla
sh cache cache.img
target reported max download size of 536870912 bytes
erasing 'cache'...
OKAY [ 0.000s]
sending 'cache' (6248 KB)...
OKAY [ 0.218s]
writing 'cache'...
OKAY [ 0.038s]
finished. total time: 0.258s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot fla
sh userdata userdata.img
target reported max download size of 536870912 bytes
erasing 'userdata'...
OKAY [ 0.016s]
sending 'userdata' (138868 KB)...
OKAY [ 4.469s]
writing 'userdata'...
OKAY [ 0.903s]
finished. total time: 5.388s
C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>
fail
Still stuck on Beanstalk 5.0 animation, recovery is still TWRP 2.8.3.1. I've tried to format to different formats (ie; fat, ext2, ext3) nothing is working
didn't think it would warranty since unlocked, custom boot anim and custom recovery
Did you solve this problem? I The same problem happened to me.
Hi,
I was trying to update my Nexus 6 to Android Nougat(nbd90z) today, the system image failed to be flashed. And then I locked the device by mistake. Then I became unable to flash any images.
If I tried to flash any image, it failed and the message is below.
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
If I tried to unlock the device, it failed and the message is below.
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
And because the system image failed to flash, so I can't boot the device to check the 'Allow OEM Unlock'.
Is there any way to recovery my device? Thanks very much for the help.
Below is the text from the command terminal where I tried.
<pre>
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ./flash-all.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (4071 KB)...
OKAY [ 0.129s]
writing 'bootloader'...
(bootloader) flashing partition ...
(bootloader) This may take a few seconds if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
(bootloader) flashing rpm ...
(bootloader) flashing tz ...
(bootloader) flashing sdi ...
(bootloader) flashing logo ...
OKAY [ 0.528s]
finished. total time: 0.657s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
(bootloader) flashing versions ...
OKAY [ 1.609s]
finished. total time: 5.226s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
Creating filesystem with parameters:
Size: 28474998784
Block size: 4096
Blocks per group: 32768
Inodes per group: 8160
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 6951904
Block groups: 213
Reserved block group size: 1024
Created filesystem with 11/1738080 inodes and 153124/6951904 blocks
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
--------------------------------------------
Bootloader Version...: moto-apq8084-71.21
Baseband Version.....: D4.01-9625-05.42+FSG-9625-02.113
Serial Number........: ZX1G22H7C4
--------------------------------------------
checking product...
OKAY [ 0.002s]
checking version-bootloader...
OKAY [ 0.002s]
checking version-baseband...
OKAY [ 0.003s]
sending 'boot' (8535 KB)...
OKAY [ 0.269s]
writing 'boot'...
OKAY [ 0.161s]
sending 'recovery' (13921 KB)...
OKAY [ 0.439s]
writing 'recovery'...
OKAY [ 0.208s]
sending sparse 'system' (508909 KB)...
OKAY [ 16.031s]
writing 'system'...
OKAY [ 7.247s]
sending sparse 'system' (524036 KB)...
FAILED (status read failed (Protocol error))
finished. total time: 28.751s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot devices
ZX1G22H7C4 fastboot
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem lock
...
^C
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem lock
...
(bootloader) Device state transition will erase userdata.
(bootloader) Are you sure you want to continue this transition?
(bootloader)
(bootloader) Press POWER key to continue.
(bootloader) Press VOL UP or VOL DOWN key to cancel state transition.
(bootloader) State transition confirmed!
(bootloader) Phone is locked successfully!
OKAY [ 24.319s]
finished. total time: 24.319s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ls
bootloader-shamu-moto-apq8084-71.21.img flash-all.bat flash-all.sh flash-base.sh image-shamu-nbd90z.zip radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ./flash-all.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (4071 KB)...
OKAY [ 0.129s]
writing 'bootloader'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.132s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
Creating filesystem with parameters:
Size: 28474998784
Block size: 4096
Blocks per group: 32768
Inodes per group: 8160
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 6951904
Block groups: 213
Reserved block group size: 1024
Created filesystem with 11/1738080 inodes and 153124/6951904 blocks
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
--------------------------------------------
Bootloader Version...: moto-apq8084-71.21
Baseband Version.....: D4.01-9625-05.42+FSG-9625-02.113
Serial Number........: ZX1G22H7C4
--------------------------------------------
checking product...
OKAY [ 0.002s]
checking version-bootloader...
OKAY [ 0.002s]
checking version-baseband...
OKAY [ 0.003s]
sending 'boot' (8535 KB)...
OKAY [ 0.269s]
writing 'boot'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.288s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and
flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
than size. 0 to disable
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ls
bootloader-shamu-moto-apq8084-71.21.img flash-all.bat flash-all.sh flash-base.sh image-shamu-nbd90z.zip radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ geany flash-base.sh
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ./flash-base.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (4071 KB)...
OKAY [ 0.129s]
writing 'bootloader'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.132s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem --help
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and
flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
than size. 0 to disable
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem unlock
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.001s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot reboot
rebooting...
finished. total time: 0.151s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ls
bootloader-shamu-moto-apq8084-71.21.img flash-all.bat flash-all.sh flash-base.sh image-shamu-nbd90z.zip radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot flash radio radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot devices
ZX1G22H7C4 fastboot
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ cd /home/zhiming/Project/Nexus/Images/shamu-mob31e/
[email protected]:~/Project/Nexus/Images/shamu-mob31e$ ls
bootloader-shamu-moto-apq8084-71.18.img flash-all.bat flash-all.sh flash-base.sh image-shamu-mob31e.zip radio-shamu-d4.01-9625-05.34+fsg-9625-02.111.img
[email protected]:~/Project/Nexus/Images/shamu-mob31e$ ./flash-all.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (10387 KB)...
OKAY [ 0.327s]
writing 'bootloader'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.332s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
sending 'radio' (115508 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
Creating filesystem with parameters:
Size: 28474998784
Block size: 4096
Blocks per group: 32768
Inodes per group: 8160
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 6951904
Block groups: 213
Reserved block group size: 1024
Created filesystem with 11/1738080 inodes and 153124/6951904 blocks
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
--------------------------------------------
Bootloader Version...: moto-apq8084-71.21
Baseband Version.....: D4.01-9625-05.42+FSG-9625-02.113
Serial Number........: ZX1G22H7C4
--------------------------------------------
checking product...
OKAY [ 0.002s]
checking version-bootloader...
FAILED
Device version-bootloader is 'moto-apq8084-71.21'.
Update requires 'moto-apq8084-71.18'.
finished. total time: 2.498s
[email protected]:~/Project/Nexus/Images/shamu-mob31e$ cd /home/zhiming/Project/Nexus/Images/shamu-nbd90z/
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ls
bootloader-shamu-moto-apq8084-71.21.img flash-all.bat flash-all.sh flash-base.sh image-shamu-nbd90z.zip radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ./flash-base.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (4071 KB)...
OKAY [ 0.129s]
writing 'bootloader'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.135s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.113s
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem unlock
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.001s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$
</pre>
ZhimingWU said:
Is there any way to recovery my device? Thanks very much for the help.
Click to expand...
Click to collapse
Flash an OTA image. They're intended to be flashed even on locked systems.
Strephon Alkhalikoi said:
Flash an OTA image. They're intended to be flashed even on locked systems.
Click to expand...
Click to collapse
Thank you for the reply. Does flashing OTA images needs to boot system normally? My phone is unable to boot system normally due to failure of flashing system image.
Strephon Alkhalikoi, thank you very much. I got my device recovered.
I followed the instructions at https://developers.google.com/android/nexus/ota, except replacing Step 3 by below steps to boot into recovery mode.
a. Hold Volume Down key and press Power key to enter fastboot mode.
b. Press Volume Down key to navigate to "Recovery mode" and press Power key.
ZhimingWU said:
Thank you for the reply. Does flashing OTA images needs to boot system normally? My phone is unable to boot system normally due to failure of flashing system image.
Click to expand...
Click to collapse
Do you have recovery installed?
If yes and hopefully TWRP which is best option, just go to recovery, mount phone, transfer OTA image, factory reset, and flash it.
Also, if upgrading from 6.x.x to 7.0.0 you must flash the Nougat bootloader img. which in order to do it, i recommand using Nexus toolkit which you could access only via phone being on.
So what i do recommand is the next thing:
download 6.x.x ota and install it.
boot into phone, unlock developer options and usb debugging, also check the "oem unlocking".
plug the phone to the pc while using an adb program like nexus tookit, unlock bootloader.
then download the Nougat bootloader img, and radio img (not a must). into the pc, and flash it via nexus root toolkit once again.
After your'e done flashing, all you have to do is go to recovery mode and flash the Nougat rom.
And before all that, make sure you have the latest TWRK recovery.
I Have Tried Everything But I Keep Getting This Failure In Flashing Partition . My Dad Is Getting Really Upset Reply Fast
G:\Moto X>fastboot flash partition gpt.bin
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'partition' (32 KB)...
OKAY [ 0.248s]
writing 'partition'...
FAILED (remote failure)
finished. total time: 1.117s
G:\Moto X>fastboot flash motoboot motoboot.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'motoboot' (1604 KB)...
OKAY [ 0.379s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
(bootloader) flashing sbl2 ...
(bootloader) flashing sbl3 ...
OKAY [ 5.215s]
finished. total time: 5.605s
G:\Moto X>fastboot flash logo.bin
unknown partition 'logo.bin'
error: cannot determine image filename for 'logo.bin'
G:\Moto X>fastboot flash boot.img
unknown partition 'boot.img'
error: cannot determine image filename for 'boot.img'
G:\Moto X>fastboot flash recovery recovery.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.945s]
writing 'recovery'...
OKAY [ 1.203s]
finished. total time: 2.156s
G:\Moto X>mfastboot flash system system.img
'mfastboot' is not recognized as an internal or external command,
operable program or batch file.
G:\Moto X>fastboot flash modem NON-HLOS.bin
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'modem' (54276 KB)...
OKAY [ 3.674s]
writing 'modem'...
OKAY [ 3.582s]
finished. total time: 7.275s
G:\Moto X>fastboot erase modemst1
(bootloader) Variable not supported!
erasing 'modemst1'...
OKAY [ 0.462s]
finished. total time: 0.473s
G:\Moto X>fastboot erase modemst2
(bootloader) Variable not supported!
erasing 'modemst2'...
OKAY [ 0.488s]
finished. total time: 0.494s
G:\Moto X>fastboot flash fsg fsg.mbn
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'fsg' (226 KB)...
OKAY [ 0.339s]
writing 'fsg'...
OKAY [ 0.832s]
finished. total time: 1.183s
G:\Moto X>fastboot erase userdata
(bootloader) Variable not supported!
erasing 'userdata'...
OKAY [ 1.019s]
finished. total time: 1.027s
G:\Moto X>fastboot erase cache
(bootloader) Variable not supported!
erasing 'cache'...
OKAY [ 0.792s]
finished. total time: 0.797s
G:\Moto X>fastboot flash partition gpt.bin
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'partition' (32 KB)...
OKAY [ 0.328s]
writing 'partition'...
FAILED (remote failure)
finished. total time: 1.344s
G:\Moto X>fastboot flash motoboot motoboot.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'motoboot' (1604 KB)...
OKAY [ 0.453s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
(bootloader) flashing sbl2 ...
(bootloader) flashing sbl3 ...
OKAY [ 5.546s]
finished. total time: 6.006s
G:\Moto X>fastboot flash logo.bin
unknown partition 'logo.bin'
error: cannot determine image filename for 'logo.bin'
G:\Moto X>fastboot flash boot.img
unknown partition 'boot.img'
error: cannot determine image filename for 'boot.img'
G:\Moto X>fastboot flash recovery recovery.img
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.933s]
writing 'recovery'...
OKAY [ 1.203s]
finished. total time: 2.142s
G:\Moto X>mfastboot flash system system.img
(bootloader) Variable not supported!
target max-download-size: 768MB
Multi-Flash is enabled!
load_file: could not allocate 1394581432 bytes
error: cannot load 'system.img': Not enough space
G:\Moto X>fastboot flash modem NON-HLOS.bin
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'modem' (54276 KB)...
OKAY [ 3.666s]
writing 'modem'...
OKAY [ 3.596s]
finished. total time: 7.293s
G:\Moto X>fastboot erase modemst1
(bootloader) Variable not supported!
erasing 'modemst1'...
OKAY [ 0.469s]
finished. total time: 0.484s
G:\Moto X>fastboot erase modemst2
(bootloader) Variable not supported!
erasing 'modemst2'...
OKAY [ 0.469s]
finished. total time: 0.469s
G:\Moto X>fastboot flash fsg fsg.mbn
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
sending 'fsg' (226 KB)...
OKAY [ 0.339s]
writing 'fsg'...
OKAY [ 0.829s]
finished. total time: 1.190s
G:\Moto X>fastboot erase userdata
(bootloader) Variable not supported!
erasing 'userdata'...
OKAY [ 1.031s]
finished. total time: 1.047s
G:\Moto X>fastboot erase cache
(bootloader) Variable not supported!
erasing 'cache'...
OKAY [ 0.797s]
finished. total time: 0.813s
G:\Moto X>
What are you trying to do? Dowgrade to kk?
Moderator Edit:
Please use "Quick Reply" rather than "Reply" so we don't have to edit the entire OP as a quote and thus get some page real estate back. And improve page load times. Thanks.
YedanyXD said:
What are you trying to do? Dowgrade to kk?
Moderator Edit:
Please use "Quick Reply" rather than "Reply" so we don't have to edit the entire OP as a quote and thus get some page real estate back. And improve page load times. Thanks.
Click to expand...
Click to collapse
I tried with the version on my dad's phone which was 5.1 still doesn't work. I had a backup in twrp and when I restore with that it says unable to wipe psg and phone doesn't boot.
xXAmartyAXx said:
I tried with the version on my dad's phone which was 5.1 still doesn't work. I had a backup in twrp and when I restore with that it says unable to wipe psg and phone doesn't boot.
Click to expand...
Click to collapse
Do you have bootloader unlocked? Downgrade to kk or reinstall stock 5.1 by cmd
YedanyXD said:
Do you have bootloader unlocked? Downgrade to kk or reinstall stock 5.1 by cmd
Click to expand...
Click to collapse
Boot loader unlocked
First tried to install kk accidentally then installed 5.1 by cmd but it is stuck in boot loader unlocked screen
Hello everyone, I own a Moto g6 xt1925-4 and I decided to root the device. First thing I unlocked the bootloader, it worked (with bad key logo). Second, I flashed TWRP, which I downloaded the IMG of from the official thread here on XDA. Third, I flashed the no-verity modified image: now I think I made a mistake because I flashed a OPS image which I should suppose is Oreo but the device was already updated to PIE.
Then the troubles started. I couldn't flash magisk, so I tricked too much on the MOUNT page on TWRP, perhaps I have mounted system or storage, then I also pulled out the USB cable without safe ejection and in the end, when I rebooted the phone in Bootloader mode and pushed Start, nothing happened at all.
I thought then: I have to restore to stock. I followed the procedure on the thread here on XDA, and I should say, something happened, but strange.
Now the phone boots up, but goes in a kind of a strange bootloop, because sometimes it says the "hello moto", sometimes not, sometimes it even starts the initial configuration, but the screen flashes on and off at random, and a few centimeters of the bottom screen are black. This happened also on TWRP recovery, the bottom part of the screen appeared cut by 2/3 centimeters.
Now I surely made mistakes, but I can't get what's wrong, and most of all this in going to get me crazy. I'm near to desperation, so I pray you to help me, please!
This is the result of the stock firmware flash I tried twice. I can see a couple of "failed" and "no such files"
Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Programmi\Minimal ADB and Fastboot>fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.020s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.090s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (7419 KB)...
OKAY [ 0.250s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.461s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (71577 KB)...
OKAY [ 10.255s]
writing 'modem'...
OKAY [ 0.571s]
finished. total time: 10.836s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (6780 KB)...
OKAY [ 2.464s]
writing 'fsg'...
OKAY [ 0.100s]
finished. total time: 2.564s
C:\Programmi\Minimal ADB and Fastboot>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.020s]
finished. total time: 0.020s
C:\Programmi\Minimal ADB and Fastboot>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.020s]
finished. total time: 0.020s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash bluetooth BTFM.bin
error: cannot load 'BTFM.bin': No such file or directory
C:\Programmi\Minimal ADB and Fastboot>fastboot flash dsp dspso.bin
error: cannot load 'dspso.bin': No such file or directory
C:\Programmi\Minimal ADB and Fastboot>fastboot flash boot boot.img
target reported max download size of 534773760 bytes
sending 'boot' (22528 KB)...
OKAY [ 3.515s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.300s]
finished. total time: 3.815s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.0
target reported max download size of 534773760 bytes
sending 'system' (259756 KB)...
OKAY [ 65.294s]
writing 'system'...
OKAY [ 2.293s]
finished. total time: 67.587s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.1
target reported max download size of 534773760 bytes
sending 'system' (253441 KB)...
OKAY [ 27.379s]
writing 'system'...
OKAY [ 1.763s]
finished. total time: 29.142s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.2
target reported max download size of 534773760 bytes
sending 'system' (254074 KB)...
OKAY [ 32.957s]
writing 'system'...
OKAY [ 1.773s]
finished. total time: 34.730s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.3
target reported max download size of 534773760 bytes
sending 'system' (260545 KB)...
OKAY [ 44.554s]
writing 'system'...
OKAY [ 1.803s]
finished. total time: 46.357s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.4
target reported max download size of 534773760 bytes
sending 'system' (259733 KB)...
OKAY [ 28.171s]
writing 'system'...
OKAY [ 1.813s]
finished. total time: 29.983s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.5
target reported max download size of 534773760 bytes
sending 'system' (246724 KB)...
OKAY [ 36.092s]
writing 'system'...
OKAY [ 1.682s]
finished. total time: 37.794s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.6
target reported max download size of 534773760 bytes
sending 'system' (246141 KB)...
OKAY [ 24.425s]
writing 'system'...
OKAY [ 1.702s]
finished. total time: 26.148s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.7
target reported max download size of 534773760 bytes
sending 'system' (262029 KB)...
OKAY [ 26.448s]
writing 'system'...
OKAY [ 1.933s]
finished. total time: 28.391s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.8
target reported max download size of 534773760 bytes
sending 'system' (262001 KB)...
OKAY [ 26.198s]
writing 'system'...
OKAY [ 1.803s]
finished. total time: 28.010s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechu
nk.9
target reported max download size of 534773760 bytes
sending 'system' (25072 KB)...
OKAY [ 2.654s]
writing 'system'...
OKAY [ 0.170s]
finished. total time: 2.824s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash vendor vendor.img_sparsechu
nk.0
target reported max download size of 534773760 bytes
sending 'vendor' (260148 KB)...
OKAY [ 35.711s]
writing 'vendor'...
OKAY [ 2.023s]
finished. total time: 37.744s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash vendor vendor.img_sparsechu
nk.1
target reported max download size of 534773760 bytes
sending 'vendor' (178315 KB)...
OKAY [ 16.644s]
writing 'vendor'...
OKAY [ 1.412s]
finished. total time: 18.056s
C:\Programmi\Minimal ADB and Fastboot>fastboot erase carrier
erasing 'carrier'...
OKAY [ 0.040s]
finished. total time: 0.040s
C:\Programmi\Minimal ADB and Fastboot>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.080s]
finished. total time: 0.080s
C:\Programmi\Minimal ADB and Fastboot>fastboot erase DDR
erasing 'DDR'...
OKAY [ 0.010s]
finished. total time: 0.010s
C:\Programmi\Minimal ADB and Fastboot>fastboot flash logo logo.bin
target reported max download size of 534773760 bytes
sending 'logo' (2182 KB)...
OKAY [ 0.681s]
writing 'logo'...
OKAY [ 0.060s]
finished. total time: 0.751s
C:\Programmi\Minimal ADB and Fastboot>fastboot reboot
EDIT:
Good news, at least for me. I solved by flashing the PIE STOCK ROM, despite I liked OREO the most, I find this PIE slower and less smooth but anyways, that's it, I have my phone back.
But still..... I can't get the root, but that's fine, I'm still enjoying the feel of victory... maybe I'll try, some day...