Trying to install the 5.1 factory image and can't seem to escape bootloop. I can't even seem to get into recovery post flash to do a factory reset. It's funny, because if I flash TWRP instead of stock recovery i can get into TWRP. However, the file structure isn't built out at all when i mount from there. I flashed using the following method:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot erase cache
Thoughts?
pearlbrian said:
Trying to install the 5.1 factory image and can't seem to escape bootloop. I can't even seem to get into recovery post flash to do a factory reset. It's funny, because if I flash TWRP instead of stock recovery i can get into TWRP. However, the file structure isn't built out at all when i mount from there. I flashed using the following method:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot erase cache
Thoughts?
Click to expand...
Click to collapse
Can you get to bootloader? If so, just flash the stock image using the flash-all.bat
Unfortunately the flash all file never works for me. It hangs up after it flashes the radio. I was at least able to do a factory reset, during which several cache errors popped up. Maybe that is the root cause of the trouble?
pearlbrian said:
Trying to install the 5.1 factory image and can't seem to escape bootloop. I can't even seem to get into recovery post flash to do a factory reset. It's funny, because if I flash TWRP instead of stock recovery i can get into TWRP. However, the file structure isn't built out at all when i mount from there. I flashed using the following method:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot erase cache
Thoughts?
Click to expand...
Click to collapse
You erased the cache after flashing it... System is checking for the cache and so the boot loop, try without erasing the cache(without executing the last line of code)
Related
If I have updated my HBoot in my Nexus One, will i get it 'rolls back to the older version,
if i do the following steps in fast boot?
Code:
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Thank you.
Hi all,
recently, I was able to flash the new JB Hydro but it was stuck on the boot animation so I decided to do a full fresh install of a different rom, maybe CM10. Therefore via fastboot I wiped everything.
'fastboot erase recovery'
'fastboot erase boot'
'fastboot erase system'
'fastboot erase userdata'
Now, I figure I should be able to boot by flashing my system.img and boot.img
('fastboot flash recovery cwm.img'
'fastboot flash boot boot.img'
'fastboot flash system system.img')
I have CWM Recovery flashed already..buut, i am unable to flash the boot.img and system.img because I cannot find them..I mean when i extract the .zip to the fastboot folder all i have is a system folder, boot.blob and some META info..I flashed the boot.blob (fastboot flash boot boot.blob) but i cannot do the same for the system..So please tell me how I can flash the system.img...because I am unable to find the system.img (even via explorer)
Thanks in advance.
I used (http://forum.xda-developers.com/google-nexus-5/development/rom-android-m-t3121186) this link to flash previw version 2 of Android M while I was on Android 5.1.1. I did not erase data before flashing. Used fastboot from MAC to flash new version Now my phone was stuck in bootloop. I tried to flash android L stock back but still in bootloop. Please help. I flashed TWRP recovery to erase data and cache but it says error cannot mount cache. please help.
buildsaurabh said:
I used (http://forum.xda-developers.com/google-nexus-5/development/rom-android-m-t3121186) this link to flash previw version 2 of Android M while I was on Android 5.1.1. I did not erase data before flashing. Used fastboot from MAC to flash new version Now my phone was stuck in bootloop. I tried to flash android L stock back but still in bootloop. Please help. I flashed TWRP recovery to erase data and cache but it says error cannot mount cache. please help.
Click to expand...
Click to collapse
I ran into the same issue, but found this solution:
First, flash the bootloader and the radio, and then reboot the bootloader (radio only applies to some devices):
fastboot flash bootloader <bootloader file name here>.img
fastboot flash radio <radio file name here>.img
fastboot reboot-bootloader
Flash the recovery, boot, system, and vendor images (vendor only applies to the Nexus 9):
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
Recommended: For a full wipe, flash cache and userdata as well (userdata only applies to some devices):
fastboot flash cache cache.img
fastboot flash userdata userdata.img
Reboot your device:
fastboot reboot
Credit: http://9to5google.com/2015/06/01/how...-nexus-player/
knG333 said:
I ran into the same issue, but found this solution:
First, flash the bootloader and the radio, and then reboot the bootloader (radio only applies to some devices):
fastboot flash bootloader <bootloader file name here>.img
fastboot flash radio <radio file name here>.img
fastboot reboot-bootloader
Flash the recovery, boot, system, and vendor images (vendor only applies to the Nexus 9):
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
Recommended: For a full wipe, flash cache and userdata as well (userdata only applies to some devices):
fastboot flash cache cache.img
fastboot flash userdata userdata.img
Reboot your device:
fastboot reboot
Credit: http://9to5google.com/2015/06/01/how...-nexus-player/
Click to expand...
Click to collapse
Hi,
Instead of linking the OP to an external resource, which has instructions for another device (hammerhead does not have a /vendor partition, for example), you could/should have linked him to http://forum.xda-developers.com/showthread.php?t=2513701
OP, stickies exist for a reason.
a hammerhead wrote this.
I had on my nexus 5 custom recovery, custom kernel (franco) and paranoid android rom (rooted). I wanted to get back to stock and flashed factory image lollipop 5.1 doint this
adb devices
adb reboot bootloader
fastboot flash bootloader <bootloader-filename>.img
fastboot flash radio <radio-fileame>.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot reboot
When i rebooted i noticed that everything was fine but i had paranoid android rather than stock rom! What happened?
You didn't erase anything and it's hard to say without a log. Follow method 2: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Or use the built-in script (flash-all).
Primokorn said:
You didn't erase anything and it's hard to say without a log. Follow method 2: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Or use the built-in script (flash-all).
Click to expand...
Click to collapse
Thanks it worked!
Im reverting back to android 6.0 for my k1
But when i go to flash userdata its says userdata isnt found
And i look in the zip and it wasnt there so i downloaded again and it still wasnt there any suggestions
1 more thing nvidias instrucrions say to
Fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
And rhats it do i reboot after blob?
Cause someone elses tutorial says to
fastboot flash recovery {dir}/recovery.img
fastboot flash boot {dir}/boot.img
fastboot flash system {dir}/system.img
fastboot flash userdata {dir}/userdata.img
fastboot flash staging {dir}/blob
fastboot flash dtb {dir}/tegra124-tn8-p1761-1270-a04-e-battery.dtb
Tjeres an extra command?
Which do i use?
Thx
Iceek1 said:
Im reverting back to android 6.0 for my k1
But when i go to flash userdata its says userdata isnt found
And i look in the zip and it wasnt there so i downloaded again and it still wasnt there any suggestions
1 more thing nvidias instrucrions say to
Fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
And rhats it do i reboot after blob?
Cause someone elses tutorial says to
fastboot flash recovery {dir}/recovery.img
fastboot flash boot {dir}/boot.img
fastboot flash system {dir}/system.img
fastboot flash userdata {dir}/userdata.img
fastboot flash staging {dir}/blob
fastboot flash dtb {dir}/tegra124-tn8-p1761-1270-a04-e-battery.dtb
Tjeres an extra command?
Which do i use?
Thx
Click to expand...
Click to collapse
Don't worry, that one isn't included in the latest Nougat builds as well and they still flash normally.
Just proceed without that