Hi
I have Nexus 5 (Hammerhead) 16GB. After Marshmallow latest update my phone begun to restart randomly, So I tried to do factory reset. When I entered recovery mode It did not show android lying on its back with label "No command" , instead It showed standing android with some rotating cube (or gear) on its tummy. I tried to flash factory image in several ways, using nexus root toolkit and fastboot. I even tried different versions of android to flash but no result. My phone still shows Android with rotating gear on its tummy. Today I found this Thread and did everything that was told but no luck. :crying: If anyone could help I would be very grateful. Sorry for my bad English.
What is "everything that was told"? Did you erase everything then flash everything new? How long are you letting it sit with the rotating cube/gear thing?
exninja said:
What is "everything that was told"? Did you erase everything then flash everything new? How long are you letting it sit with the rotating cube/gear thing?
Click to expand...
Click to collapse
thank you for your reply.
I used this commands as it was described
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot flash bootloader "name of bootloader"
fastboot reboot-bootloader
fastboot flash radio "name of radio"
fastboot reboot-bootloader
astboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
every operation was successful.
I waited for this rotating gear more than 10 hours, nothing changed Still shows same
When I click power button + up volume key It says "Formatting /data"
Did you erase and reflash userdata img file?
audit13 said:
Did you erase and reflash userdata img file?
Click to expand...
Click to collapse
yes I did that, but still shows Android with rotating gears.
It does not matter whether I start my phone normally or boot a recovery mode It still shows this Android animation.
Does the phone's bootloader remain unlocked after rebooting?
Related
I just restored from the official google 4.4.2 images and my phone cant get past the Google screen. Please help!
bobyum said:
I just restored from the official google 4.4.2 images and my phone cant get past the Google screen. Please help!
Click to expand...
Click to collapse
You flashed the factory images?
bobyum said:
I just restored from the official google 4.4.2 images and my phone cant get past the Google screen. Please help!
Click to expand...
Click to collapse
Do a data factory reset and wipe the cache both in recovery and reboot bro.
gee2012 said:
Do a data factory reset and wipe the cache both in recovery and reboot bro.
Click to expand...
Click to collapse
Thinking the same thing. But.. I can admit getting in a hurry and flashing the wrong image! :laugh:
I made sure that I was using the right image and it still wont go past the Google screen. Any other ideas?
edit: okay the phone can't even write the recovery to the phone through fastboot! Any other thoughts?
bobyum said:
I made sure that I was using the right image and it still wont go past the Google screen. Any other ideas?
Click to expand...
Click to collapse
Long press the power button force it to reboot. As soon as the screen goes black hold down the volume down button. That will boot you into the bootloader, from there you can get to recovery. Factory reset, wipe cache.
You flashed stock recovery?
If you have stock recovery go to the bootloader like I said earlier. Choose recovery. Then you will see android laying down. Press volume up and power button at the same time. Do a factory reset.
bobyum said:
I made sure that I was using the right image and it still wont go past the Google screen. Any other ideas?
edit: okay the phone can't even write the recovery to the phone through fastboot! Any other thoughts?
Click to expand...
Click to collapse
If you flashed the whole image inclusing userdata.img it should boot usualy, never xperienced it did not personaly. So besides a wipe have no idea bro, you might try to reflash the rom again. Are you using a Toolkit?
gee2012 said:
If you flashed the whole image inclusing userdata.img it should boot usualy, never xperienced it did not personaly. So besides a wipe have no idea bro, you might try to reflash the rom again. Are you using a Toolkit?
Click to expand...
Click to collapse
I did this with the flashh-all.bat provided by the official image. I can't even do that anymore because it just gets stuck when writing the bootloader. Totally out of ideas right now. Is there any way I can reformat the partition through fastboot? Would that help?
bobyum said:
I did this with the flashh-all.bat provided by the official image. I can't even do that anymore because it just gets stuck when writing the bootloader. Totally out of ideas right now. Is there any way I can reformat the partition through fastboot? Would that help?
Click to expand...
Click to collapse
Try this:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
After that flash the rom again with flash.all.batt
maybe flash each part individually (not using flashall)
Sent from my Nexus 5 using Tapatalk
gee2012 said:
Try this:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
After that flash the rom again with flash.all.batt
Click to expand...
Click to collapse
Unfortunately, it didnt help Still stuck at writing bootloader...
beaver2233 said:
maybe flash each part individually (not using flashall)
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yup, that might work better maybe
hmm so in which order should i flash them in?
edit: I honestly think the flash storage failed. Ill just apply for RMA then. Do you guys know if I bought my phone in early December, will I still be eligible?
bobyum said:
hmm so in which order should i flash them in?
edit: I honestly think the flash storage failed. Ill just apply for RMA then. Do you guys know if I bought my phone in early December, will I still be eligible?
Click to expand...
Click to collapse
How to flash a factory image. Erasing everything in fastboot should have done the trick. Erase everything then do method 2. You have to reboot the bootloader after flashing the bootloader and again after flashing the radio. One year to RMA. .
---------- Post added at 02:14 AM ---------- Previous post was at 01:57 AM ----------
These are the commands I would use. The name of the images for the bootloader and radio are for 4.4.2.
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot format cache
fastboot reboot
Thanks all for the help! Will try it tomorrow. Hopefully it works
wantabe said:
How to flash a factory image. Erasing everything in fastboot should have done the trick. Erase everything then do method 2. You have to reboot the bootloader after flashing the bootloader and again after flashing the radio. One year to RMA. .
---------- Post added at 02:14 AM ---------- Previous post was at 01:57 AM ----------
These are the commands I would use. The name of the images for the bootloader and radio are for 4.4.2.
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot format cache
fastboot reboot
Click to expand...
Click to collapse
I'd go one better and look to do a COMPLETE reflash - userdata and all! I'd also rename bootloader-hammerhead-hhz11k.img to bootloader.img and radio-hammerhead-m8974a-1.0.25.0.23.img to radio.img as it means there's less to get wrong! SO, to recap:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot format cache
I'd then boot into the stock recovery and perform a factory reset to make sure everything is in order and then reboot. I've done this exact method a number of times on my Nexus 5 and it works every time
EddyOS said:
I'd go one better and rename bootloader-hammerhead-hhz11k.img and radio-hammerhead-m8974a-1.0.25.0.23.img to just bootloader.img and radio.img to make it easier - less to type out and get wrong!
Click to expand...
Click to collapse
I usually do the same thing too but I left the names as a hint to verify that he had the correct images.
I almost never flash userdata and recovery unless I'm selling a device. I've also never rebooted the bootloader between every image Except after the bootloader and radio images but I agree that your method is covering all the bases!
wantabe said:
I usually do the same thing too but I left the names as a hint to verify that he had the correct images.
I almost never flash userdata and recovery unless I'm selling a device. I've also never rebooted the bootloader between every image Except after the bootloader and radio images but I agree that your method is covering all the bases!
Click to expand...
Click to collapse
As I hardly have any data to backup bar some custom ring tones I always reflash the userdata partition to be thorough. As for the reboots, I've just done it from habit, again just to be thorough. If it still doesn't work after that then it's goosed!
Try using the backup bootloader. Press and hold both volume buttons with the power button. That will take you into the backup bootloader.
Thanks to everyone for helping but I could not even get past writing the bootloader to the phone. I honestly think the flash storage and failed so will be RMAing. Hopefully they will accept it...
I have anexus 5 that is stuch on the google logo or is stuck in a boot lopp than it gets frozen and when plugegd in the battery logo turns on. I can go into recovery (twrp), but everything on my phone ghas been erased so theres nothing to flash. I tried to use a Nexus 5 toolkit to stock flash but it always comes up with an error. When i try something on twrp it says unable to mount....and give like 5-6 different thinbgs that it cant mount to. Everytime i try to flaash a new bootloader or something from that toolkit the phone turns off and goes into the battery logo. When i use twrp and try to do anything the phone just restarts into recovery. Is there any way i could push factory images to the phone or something else.
BTW, i dont know mucgh in terms of doing stuff with adb and terminal and all that so please be simplistic with the answers. Thanks in advance,.
http://forum.xda-developers.com/showthread.php?t=2513701
[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 5
Sent from my Nexus 5
CRIME INC. said:
http://forum.xda-developers.com/showthread.php?t=2513701
[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 5
Sent from my Nexus 5
Click to expand...
Click to collapse
So i did this and it failes when at the bootloader and alos at the end it says failure. What to do now?
Irfdiddy said:
So i did this and it failes when at the bootloader and alos at the end it says failure. What to do now?
Click to expand...
Click to collapse
Go to twrp and factory reset it and see if it works..
Write failure means that the eMMC might have died which can only be solved by replacing the mobo.
- Sent from an IceCold Hammerhead!
Irfdiddy said:
So i did this and it failes when at the bootloader and alos at the end it says failure. What to do now?
Click to expand...
Click to collapse
You're being too vague for us to help you. What commands did you enter at the terminal? Word for word what was the error message(s) you received? Did you try flashing the factory image using both the primary and backup bootloader?
BirchBarlow said:
You're being too vague for us to help you. What commands did you enter at the terminal? Word for word what was the error message(s) you received? Did you try flashing the factory image using both the primary and backup bootloader?
Click to expand...
Click to collapse
So i followed the guide in the link posted above. This:
fastboot flash bootloader C:/image-hammerhead-krt16m/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-hammerhead-krt16m/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-hammerhead-krt16m/system.img
fastboot flash userdata C:/image-hammerhead-krt16m/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-hammerhead-krt16m/boot.img
fastboot flash recovery C:/image-hammerhead-krt16m/recovery.img
fastboot erase cache
Now, i can flash the boot.img, the system.img, the radio, but it hangs up on some of the other ones and it says "erasing..." than i have to stop it casue it doesnt work. Also, when i go into recovery it shows a spinning android logo.
Edit: Ive gotten all the way to "fastboot flash system system.img", but it gets stuck on my phone and says "erasing..."
Irfdiddy said:
So i followed the guide in the link posted above. This:
fastboot flash bootloader C:/image-hammerhead-krt16m/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-hammerhead-krt16m/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-hammerhead-krt16m/system.img
fastboot flash userdata C:/image-hammerhead-krt16m/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-hammerhead-krt16m/boot.img
fastboot flash recovery C:/image-hammerhead-krt16m/recovery.img
fastboot erase cache
Now, i can flash the boot.img, the system.img, the radio, but it hangs up on some of the other ones and it says "erasing..." than i have to stop it casue it doesnt work. Also, when i go into recovery it shows a spinning android logo.
Edit: Ive gotten all the way to "fastboot flash system system.img", but it gets stuck on my phone and says "erasing..."
Click to expand...
Click to collapse
It will take some minutes to cOmplete the process computer will also hang type of feeling or stop responding for couple of minutes let the program finish its task,...
Irfdiddy said:
So i followed the guide in the link posted above. This:
fastboot flash bootloader C:/image-hammerhead-krt16m/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-hammerhead-krt16m/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-hammerhead-krt16m/system.img
fastboot flash userdata C:/image-hammerhead-krt16m/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-hammerhead-krt16m/boot.img
fastboot flash recovery C:/image-hammerhead-krt16m/recovery.img
fastboot erase cache
Now, i can flash the boot.img, the system.img, the radio, but it hangs up on some of the other ones and it says "erasing..." than i have to stop it casue it doesnt work. Also, when i go into recovery it shows a spinning android logo.
Edit: Ive gotten all the way to "fastboot flash system system.img", but it gets stuck on my phone and says "erasing..."
Click to expand...
Click to collapse
You're not letting it finish. That's why you're having problems. It can take a long time. It also wouldn't hurt to use the flash-all.bat script instead of flashing each individually.
Long story short I bricked my phone when trying to flash recovery using toolkit. Now my phone won't turn on and recovery is gone as well. Somehow my PC can recognize the phone in fastboot mode although there's nothing showing on the screen.
So I tried the method in this thread:
http://forum.xda-developers.com/oneplus-one/help/wrong-kernel-black-screen-fastboot-adb-t2835696
It shows I flashed everything and it shows green color in the tool but when I checked the partitions, boot.img, recovery.img, userdata.img, system.img, etc are still broken. At that time the bootloader was still unlocked.
Since my computer can still see the phone in fastboot so I tried to flash the original image in fastboot. Again everything went through with no error but the phone still wouldn't turn on and the partitions are still same broken/corrupted. However the bootloader became locked after this. So now I end up with no more solutions. Since bootloader says locked(although boot.img is actually corrupted) I can't flash or do anything in fastboot command.
So I guess I'm really SOL right now... My only hope right now is maybe there will be USB JTAG or Nand flasher but I don't know if anyone can repair that right now.
Any suggestions?
fastboot oem unlock
fastboot erase system
fastboot erase boot
fastboot erase userdata
fastboot erase recovery
Now use twrp or cwm or whatever
fastboot boot recovery nameofrecovery.img
If your phone boots to recovery you may consider running e2fsck against data and cache partitions through adb shell
Best of luck
Although my Nexus 5 is rooted with the toolkit I haven't done anything to it in months (no custom roms or anything)
My phone was working last night but when I woke up and it was in a bootloop.
so i tried fixing the problem myself, here are the things I tried:
- Hitting it (in case the buttons were sticky)
- Flash stock + unroot on the n5 toolkit
- Bootloader>Recovery>Wipe Data/Factory Reset
After that, the boot loop stopped and whenever I try turning it on it goes straight to the bootloader.
So I tried going into the wugfresh advanced utilities and i tried:
- Fastboot Erase*
- Fastboot format*
*flash stock + unroot after both
I have a little bit of hope because I can access the bootloader but I have no idea what else I can try.
Any suggestions?
thank you in advance
Does the bootloader remain unlocked?
Try manually flashing the latest marshmallow. After flashing, boot back into fastboot and run these commands:
fastboot erase userdata
fastboot flash userdata userdata.img (the userdata.img file can be extracted from the stock ROM for flashing in fastboot)
After running the 2 commands, boot back into recovery and perform a full wipe of data and cache, then reboot.
audit13 said:
Does the bootloader remain unlocked?
Try manually flashing the latest marshmallow. After flashing, boot back into fastboot and run these commands:
fastboot erase userdata
fastboot flash userdata userdata.img (the userdata.img file can be extracted from the stock ROM for flashing in fastboot)
After running the 2 commands, boot back into recovery and perform a full wipe of data and cache, then reboot.
Click to expand...
Click to collapse
How do i run the 2 command "fastboot erase userdata" and "fastboot flash userdata userdata.img"
Fastboot on Windows
shbm111 said:
How do i run the 2 command "fastboot erase userdata" and "fastboot flash userdata userdata.img"
Click to expand...
Click to collapse
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
spacecaptain said:
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
Click to expand...
Click to collapse
Yup, I'm running windows.
anyways I don't think the nexus toolkit works on any other platform.
spacecaptain said:
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
Click to expand...
Click to collapse
So, I went through the method one adb setup and I still have no idea how to do the fastboot erase userdata
nvm got it.
Were you able to boot the phone?
I'm in the same situation and need help
Hi,
i have nexus 5 that was something wrong with the WIFI (find nothing when was search) so , i did factory reset via the device and the problem still stays, so , i unlocked the bootloader via the android factory images webpage, than i installed the latest version with flash all file to the device.
than the device just show Google logo and nothing came up with it, than i tried lower version than the last one, and i got the same result, than i tried manually to enter the commandes and i got the same result,
where do i wrong that the system isn't up yet?
thank you
Hi:
I7210I said:
Hi,
i have nexus 5 that was something wrong with the WIFI (find nothing when was search) so , i did factory reset via the device and the problem still stays, so , i unlocked the bootloader via the android factory images webpage, than i installed the latest version with flash all file to the device.
Click to expand...
Click to collapse
You need this files (if using last factory image, hammerhead-m4b30z-factory-625c027b.zip):
boot.img
bootloader-hammerhead-hhz20h.img
cache.img
radio-hammerhead-m8974a-2.0.50.2.30.img
recovery.img
system.img
userdata.img
so unzip hammerhead-m4b30z-factory-625c027b.zip (factory image), the unzip
image-hammerhead-m4b30z.zip (located inside factory image) to get all files above
in the same folder and last but not least flashing (in fastbood mode):
type this (one line each time and press enter after each line)
fastboot flash bootloader bootloader-hammerhead-hhz20h.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.30.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img (this wipe your device.)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img
fastboot reboot.
That's all
Good luck
gsausalito said:
Hi:
You need this files (if using last factory image, hammerhead-m4b30z-factory-625c027b.zip):
boot.img
bootloader-hammerhead-hhz20h.img
cache.img
radio-hammerhead-m8974a-2.0.50.2.30.img
recovery.img
system.img
userdata.img
so unzip hammerhead-m4b30z-factory-625c027b.zip (factory image), the unzip
image-hammerhead-m4b30z.zip (located inside factory image) to get all files above
in the same folder and last but not least flashing (in fastbood mode):
type this (one line each time and press enter after each line)
fastboot flash bootloader bootloader-hammerhead-hhz20h.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.30.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img (this wipe your device.)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img
fastboot reboot.
That's all
Good luck
Click to expand...
Click to collapse
thnk you, i did it manually and i get the same result , what can be more? maybe the last 2-3 versions are making these thing?
Hi:
I7210I said:
thnk you, i did it manually and i get the same result , what can be more? maybe the last 2-3 versions are making these thing?
Click to expand...
Click to collapse
Did it fail or did it complete the process?
How long did you wait?
gsausalito said:
Hi:
Did it fail or did it complete the process?
How long did you wait?
Click to expand...
Click to collapse
now it come up, but the wifi isn't loaded, it search and find nothing even that there is at the room..maybe the hardware have problem?
Sent from my Pixel 2 XL using Tapatalk
Hi,
I7210I said:
now it come up, but the wifi isn't loaded, it search and find nothing even that there is at the room..maybe the hardware have problem?
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Sorry, can't help. Never happened to me. It seems a hardware issue!