Hi, might be a bit early with 5.1 just coming out but I was wandering if there is a ROM near to complete stock. I am not sure what ROM I am using. Please tell me ( see attached screenshot). I would like to keep my data in the process so please advise me
Thanks
Sent from my Nexus 5 using XDA Premium 4 mobile app
5.0.1 Stock
If you want to upgrade to 5.1, why not just flash the factory image? That's what it's there for.
https://developers.google.com/android/nexus/images
not enough size
i successfully download the 5.1 file, then i try to update with adb it done everything but the problem is at the end it shows not enough space to write user data, how to resolve this!!!
naresz7698 said:
i successfully download the 5.1 file, then i try to update with adb it done everything but the problem is at the end it shows not enough space to write user data, how to resolve this!!!
Click to expand...
Click to collapse
Adb? You have to use fastboot to flash stock firmwate from google. Can you describe what are you doing with details?
naresz7698 said:
i successfully download the 5.1 file, then i try to update with adb it done everything but the problem is at the end it shows not enough space to write user data, how to resolve this!!!
Click to expand...
Click to collapse
Same for me? and I'm using adb reboot bootloader, fastboot oem unlock, flash-all script.
Same here, cannot allocate xxx Bytes
chikess said:
Same here, cannot allocate xxx Bytes
Click to expand...
Click to collapse
pomaxelsson said:
Same for me? and I'm using adb reboot bootloader, fastboot oem unlock, flash-all script.
Click to expand...
Click to collapse
If you get that cannoct allocate xxx bytes, then you have to flash all the images manually. Extract the zip file which is in the same folder as flash-all.bat
Copy all the extracted images next to flash-all.bat
In cmd navigate to that folder where you have tha flash-all.bat and type the commands:
fastboot flash bootloader bootloa (press tab to autofill the filename)
fastboot reboot-bootloader
fastboot flash radio ra (press tab to autofill the filename)
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
bitdomo said:
If you get that cannoct allocate xxx bytes, then you have to flash all the images manually. Extract the zip file which is in the same folder as flash-all.bat
Copy all the extracted images next to flash-all.bat
In cmd navigate to that folder where you have tha flash-all.bat and type the commands:
fastboot flash bootloader bootloa (press tab to autofill the filename)
fastboot reboot-bootloader
fastboot flash radio ra (press tab to autofill the filename)
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Click to expand...
Click to collapse
Aaaah, this is what I get? Wtf?
pomaxelsson said:
Aaaah, this is what I get? Wtf?
Click to expand...
Click to collapse
It says that your PC have run out of free memory. Try that what I wrote previously.
bitdomo said:
It says that your PC have run out of free memory. Try that what I wrote previously.
Click to expand...
Click to collapse
How is that even possible???
pomaxelsson said:
How is that even possible???
Click to expand...
Click to collapse
I wish I knew.
After I've done the steps through CMD should the device reboot itself or what should happen? Mine just stands in fastboot mode?
Nevermind, I've got it sorted. Thanx for the tips/steps anyway!
_MetalHead_ said:
If you want to upgrade to 5.1, why not just flash the factory image? That's what it's there for.
https://developers.google.com/android/nexus/images
Click to expand...
Click to collapse
Some people would like to upgrade to 5.1 without losing their custom recovery like twrp. I found the main 5.1 zip and the radio zip, but can't find the bootloader zip.
wolfen69 said:
Some people would like to upgrade to 5.1 without losing their custom recovery like twrp. I found the main 5.1 zip and the radio zip, but can't find the bootloader zip.
Click to expand...
Click to collapse
You don't have to lose recovery, just don't use the flash-all and don't flash the stock recovery. And even so, how hard is it to flash TWRP back on if you do lose it? It takes literally 10 seconds to do.
wolfen69 said:
Some people would like to upgrade to 5.1 without losing their custom recovery like twrp. I found the main 5.1 zip and the radio zip, but can't find the bootloader zip.
Click to expand...
Click to collapse
Yea I would rather flash via recovery because I actually know how to do it from there!!!! No idea about fastboot etc. Any luck on a flashable zip?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yea I would rather flash via recovery because I actually know how to do it from there!!!! No idea about fastboot etc. Any luck on a flashable zip?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Good time to learn
Sent from my Nexus 5 using XDA Free mobile app
dec1153 said:
Yea I would rather flash via recovery because I actually know how to do it from there!!!! No idea about fastboot etc. Any luck on a flashable zip?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I guess I'll just use the nexus root and tool kit to install 5.1 and reinstall twrp. I'm surprised a proper flashable zip file isn't available yet.
wolfen69 said:
I guess I'll just use the nexus root and tool kit to install 5.1 and reinstall twrp. I'm surprised a proper flashable zip file isn't available yet.
Click to expand...
Click to collapse
Me too! But I'll hang on for a week...hopefully by then there will be a zip
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yea I would rather flash via recovery because I actually know how to do it from there!!!! No idea about fastboot etc. Any luck on a flashable zip?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yeah, you really should learn how to use fastboot. It's nowhere near as difficult as some people seem to think it is, and if you are ever in a bind, fastboot is likely what you'll need to use to get out of it. It's Android 101 really- I think everyone who roots and mods their phone should learn fastboot before they do anything at all.
Related
How do I flash cwm image without using fastboot (from within my NS)?
Thanks
Heeter
Sent from my Nexus S using XDA Premium App
ROM manager if you are rooted...
Hi NYYFan325
ROM Manager will install my CWM image?
I know it has an older builtin version (3.0.2.4), but I would like to install the new 4.0.0.2
How would it do that? I can see a flash alternate recovery, but it is not picking up my image on the sdcard.
Is there a specific folder that it has to go into?
Thanks
Heeter
Heeter said:
Hi NYYFan325
ROM Manager will install my CWM image?
I know it has an older builtin version (3.0.2.4), but I would like to install the new 4.0.0.2
How would it do that? I can see a flash alternate recovery, but it is not picking up my image on the sdcard.
Is there a specific folder that it has to go into?
Thanks
Heeter
Click to expand...
Click to collapse
Someone smarter then me will have to chime in if I'm wrong but if you want the newest one (4.0.0.2) you'll have to use fastboot. Any reason your looking to avoid it?
I just like to waaaaay more simpler menus and wipe menus.
The confirmations are gone too, as well as all the "no" down the screen, with one "yes" in the middle.
Like the different color too.
Heeter
I meant why are you avoiding fastboot? Using it will get you 4.0.0.2 in the blink of an eye...
Fastboot refuses to work on my Windows7 machine. Even using the PDAnet drivers and Android SDK drivers, and everything in between.
Been trying to get fastboot to work for months, but just gave up on it. The are several of my posts in here concerning my fastboot issues.
It did work when I switched to Debian, but, because of work issues, I had to switch back to Windows.
Heeter
are you sure? i'm running win7 x64 and everything works just fine.
if you are rooted, you can put any cwm in your device, it's not easy, but can be done, the trick is that you need fastboot to root your device (you could search a exploit to achieve it without fastboot, but...)
Alright, so what you need to to is this:
1. Download the img file somewhere.
2. cd into the directory
3. fastboot erase recovery to erase the current recovery
4. fastboot flash recovery ____.img and voila!
Good luck!
-As NYYFan325 said, you need fastboot in order to do this quick
Oh yeah, make sure ur in the bootloader while doing all this
Heeter said:
How do I flash cwm image without using fastboot (from within my NS)?
Thanks
Heeter
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
You can flash it through ROM Manager with a little tweaking.
Thanks Maximilian Mary,
That is exactly what I was looking for. I renamed it *.img.bak instead of *.img.real. Still worked like a charm, flashed the hotness, LOLOL.
As in previous posts, fastboot is not an option for me.
Thanks again,
Heeter
Put newest recovery on internal usb storage
Rename it recovery.img
Download flash_image gui by Joeykrim
Select recovery and browse to recovery.img
snandlal said:
Put newest recovery on internal usb storage
Rename it recovery.img
Download flash_image gui by Joeykrim
Select recovery and browse to recovery.img
Click to expand...
Click to collapse
I actually purchased that application.
But It says it is only good NS4G, not my NS3G. Unless you can confirm it works on my 3G.
Thanks
Heeter
It works on yours also
Heeter said:
I actually purchased that application.
But It says it is only good NS4G, not my NS3G. Unless you can confirm it works on my 3G.
Thanks
Heeter
Click to expand...
Click to collapse
it works 100%
Sent from my Nexus S using XDA Premium App
mathkid95 said:
Alright, so what you need to to is this:
1. Download the img file somewhere.
2. cd into the directory
3. fastboot erase recovery to erase the current recovery
4. fastboot flash recovery ____.img and voila!
Good luck!
-As NYYFan325 said, you need fastboot in order to do this quick
Click to expand...
Click to collapse
fastboot doesn't work so your instructions are useless.
Try using the app flash image gui
Sent from my Nexus S 4G using Tapatalk 2
You should try with "nexus toolkit".Search google how to use it.
http://forum.xda-developers.com/showthread.php?t=2523217
I have rooted stock phone with xposed and cwm installed otherwise fully stock....... So do I just follow section c and then b???
Thanks just checking if I'm right or totally wrong
Sent from my Nexus 5 using XDA Premium 4 mobile app
assuming you made no other system mods, yes, thats the order you would do it in.
Zepius said:
assuming you made no other system mods, yes, thats the order you would do it in.
Click to expand...
Click to collapse
Thanks. I still have questions.....do I lose root and when I install the ota.zip do I have to clear data etc. Cause I want to keep my data
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Thanks. I still have questions.....do I lose root and when I install the ota.zip do I have to clear data etc. Cause I want to keep my data
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
you will lose root, but not your data.
just reflash the custom recovery in fastboot, then supersu from the custom recovery.
Zepius said:
you will lose root, but not your data.
just reflash the custom recovery in fastboot, then supersu from the custom recovery.
Click to expand...
Click to collapse
Errr....... I have cwm so why do I need fastboot and is there anyway to get root back?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Because the OTA may include a recovery and replace cwm
Sent from my Nexus 5 using Tapatalk
rootSU said:
Because the OTA may include a recovery and replace cwm
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
pretty much this. sometimes the OTA will replace the recovery.
Zepius said:
pretty much this. sometimes the OTA will replace the recovery.
Click to expand...
Click to collapse
Yep, anyway we look at this, fastboot is involved so embrace it and learn it because it's a must-know
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yep, anyway we look at this, fastboot is involved so embrace it and learn it because it's a must-know
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OK so I install using the CWM then when it installs I lose that beacase of the ota. So Install cwm back then root using fastboot?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
OK so I install using the CWM then when it installs I lose that beacase of the ota. So Install cwm back then root using fastboot?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yep, sort of. You install cwm via fastboot but then you root via cwm by flashing a zip that has the root files in it.
The best bet is to get fastboot set up now before doing anything. I know it may seem daunting but once it'a set up, it's done and once you've used it, you'll realise you were worrying about nothing
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yep, sort of. You install cwm via fastboot but then you root via cwm by flashing a zip that has the root files in it.
The best bet is to get fastboot set up now before doing anything. I know it may seem daunting but once it'a set up, it's done and once you've used it, you'll realise you were worrying about nothing
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OK thanks. Just one tiny question that I need explaining. How do I install CWM through fastboot. Do I download the zip of cwm and boot into fastboot once I'm on 4.4.3 using the button sequence power - then install?
Do I need to install cwm if I don't want root? And in cwm do I just flash on top without clearing data and cache
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
OK thanks. Just one tiny question that I need explaining. How do I install CWM through fastboot. Do I download the zip of cwm and boot into fastboot once I'm on 4.4.3 using the button sequence power - then install?
Do I need to install cwm if I don't want root? And in cwm do I just flash on top without clearing data and cache
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
So a couple of things to clarify.
Ultimately, cwm is an .img file (a bit like a cd image). If you have a flashable zip of a recovery, it will contain a recovery.img.
Other flashable zips that contain .img files are kernels (boot.img) and radio (radio.img) but most other flashable zips such as ROMs and mods do not use image files.
Fastboot is a command line tool that is used to flash image files outside of flashable zips. So if you have a flashable zip of cement you want to use, you must extract the recovery.img
Fastboot works in 2 halves. Half of it is built into the bootloader of your nexus so to use fastboot you must boot into the bootloader and connect via USB.
The other half is the command line tool which is a fastboot.exe that you put on you computer and access via cmd (command prompt).
To use fastboot once it's configured, it's quite easy, you just type "fastboot flash" followed by the partition you want to flash too and the name of the file you want to flash. Usually you will only flash system.img, boot.img, radio.img or recovery.img and each flash to the same named partition.
Example
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
One thing to remember though, is you either put these images in the same folder as fastboot.exe OR you type the full location when flashing for example
fastboot flash recovery c:\users\dec115e\desktop\recovery.img
Have a look in the 2 threads mentioned in my signature as they both should cover setting up fastboot.
Let us know if you have more questions
Sent from my Nexus 5 using Tapatalk
rootSU said:
So a couple of things to clarify.
Ultimately, cwm is an .img file (a bit like a cd image). If you have a flashable zip of a recovery, it will contain a recovery.img.
Other flashable zips that contain .img files are kernels (boot.img) and radio (radio.img) but most other flashable zips such as ROMs and mods do not use image files.
Fastboot is a command line tool that is used to flash image files outside of flashable zips. So if you have a flashable zip of cement you want to use, you must extract the recovery.img
Fastboot works in 2 halves. Half of it is built into the bootloader of your nexus so to use fastboot you must boot into the bootloader and connect via USB.
The other half is the command line tool which is a fastboot.exe that you put on you computer and access via cmd (command prompt).
To use fastboot once it's configured, it's quite easy, you just type "fastboot flash" followed by the partition you want to flash too and the name of the file you want to flash. Usually you will only flash system.img, boot.img, radio.img or recovery.img and each flash to the same named partition.
Example
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
One thing to remember though, is you either put these images in the same folder as fastboot.exe OR you type the full location when flashing for example
fastboot flash recovery c:\users\dec115e\desktop\recovery.img
Have a look in the 2 threads mentioned in my signature as they both should cover setting up fastboot.
Let us know if you have more questions
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
So I extract the cwm.zip and find the recovery IMG. Boot into fastboot (thorough my phone or computer?!?!!?!?????) And install then its finished......
Sent from my Nexus 5 using XDA Premium 4 mobile app
rootSU said:
So a couple of things to clarify.
Ultimately, cwm is an .img file (a bit like a cd image). If you have a flashable zip of a recovery, it will contain a recovery.img.
Other flashable zips that contain .img files are kernels (boot.img) and radio (radio.img) but most other flashable zips such as ROMs and mods do not use image files.
Fastboot is a command line tool that is used to flash image files outside of flashable zips. So if you have a flashable zip of cement you want to use, you must extract the recovery.img
Fastboot works in 2 halves. Half of it is built into the bootloader of your nexus so to use fastboot you must boot into the bootloader and connect via USB.
The other half is the command line tool which is a fastboot.exe that you put on you computer and access via cmd (command prompt).
To use fastboot once it's configured, it's quite easy, you just type "fastboot flash" followed by the partition you want to flash too and the name of the file you want to flash. Usually you will only flash system.img, boot.img, radio.img or recovery.img and each flash to the same named partition.
Example
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
One thing to remember though, is you either put these images in the same folder as fastboot.exe OR you type the full location when flashing for example
fastboot flash recovery c:\users\dec115e\desktop\recovery.img
Have a look in the 2 threads mentioned in my signature as they both should cover setting up fastboot.
Let us know if you have more questions
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Sorry ignore previous comment. If I don't want to root after I get 4.4.3 do I still have to do this?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Sorry ignore previous comment. If I don't want to root after I get 4.4.3 do I still have to do this?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Nope.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Nope.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I watched a YouTube video explaining everything about fastboot so I understand now fully
Sent from my Nexus 5 using XDA Premium 4 mobile app
Excellent.
Sent from my Nexus 5 using Tapatalk
But once I install 4.4.3 will i still have my data? I might hold off rooting for the time being. I have the freedom app allowing me to have in app purchases so in 4,4,3 will these purchases still be there?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
But once I install 4.4.3 will i still have my data? I might hold off rooting for the time being. I have the freedom app allowing me to have in app purchases so in 4,4,3 will these purchases still be there?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It depends how you do it but if you're using an OTA file or flashing the system.img and boot.img you won't lose data.
Only flashing a userdata.img which overwrites the data partition will loose your data
Sent from my Nexus 5 using Tapatalk
rootSU said:
It depends how you do it but if you're using an OTA file or flashing the system.img and boot.img you won't lose data.
Only flashing a userdata.img which overwrites the data partition will loose your data
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I'm using the cwm to flash the ota.zip cause I decided I am no longer going to root. Can I not flash on cwm???????
Sent from my Nexus 5 using XDA Premium 4 mobile app
I have a Nexus 5 that has been rooted, unlocked bootloader and I deleted some of the system apps (cant's remember which). I received the OTA update for the 4.4.3 update few says back. Clicked the update, after the download process went through, the phone restarted to install. But then my phone just went dead, it popped up a dead android with the word "error" underneath it x-P.
I know the problem has to do with me uninstalling system apps so is there anyway for me to update to 4.4.3 without wiping my data, if not, I have no problem doing it anyway (nothing too important on my nexus...) Thanks.
Download the factory images of 4.4.3 and flash system, bootloader, recovery and radio.. Doing so will not wipe your data!
- Sent from an IceCold Hammerhead!
danny2146 said:
I have a Nexus 5 that has been rooted, unlocked bootloader and I deleted some of the system apps (cant's remember which). I received the OTA update for the 4.4.3 update few says back. Clicked the update, after the download process went through, the phone restarted to install. But then my phone just went dead, it popped up a dead android with the word "error" underneath it x-P.
I know the problem has to do with me uninstalling system apps so is there anyway for me to update to 4.4.3 without wiping my data, if not, I have no problem doing it anyway (nothing too important on my nexus...) Thanks.
Click to expand...
Click to collapse
Put your phone in bootloader mode and flash the 4.4.3 system img you'll be fine:good:
Download the factory image and flash boot.img, cache.img and system.img, and the new radios.
I would recommend a wipe and do it fresh, but it's up to you.
Edit: 3 replies in the same minute, derp.
Just do this
http://forum.xda-developers.com/showthread.php?p=53109563
Sent from my Nexus 5 using XDA Free mobile app
Lethargy said:
Download the factory image and flash boot.img, cache.img and system.img, and the new radios.
I would recommend a wipe and do it fresh, but it's up to you.
Edit: 3 replies in the same minute, derp.
Click to expand...
Click to collapse
Uhh, that went way over my head, maybe a dumb question but how does one flash img on a android phone? Sorry, I'm still a noob when it comes to these things. (is there a way to do it on a linux computer?)
danny2146 said:
Uhh, that went way over my head, maybe a dumb question but how does one flash img on a android phone? Sorry, I'm still a noob when it comes to these things. (is there a way to do it on a linux computer?)
Click to expand...
Click to collapse
You'll need fastboot setup on your computer. Once you have is setup just go to the link I posted. You just need to double click on the flash-all
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You'll need fastboot setup on your computer. Once you have is setup just go to the link I posted. You just need to double click on the flash-all
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
The flash-all.bat/flash-all.sh wipes if I'm not mistaken.
To the OP:
Download the Android SDK and set up fastboot, there are stickied threads for it in the General Section.
Download the factory images and take out boot.img, cache.img and system.img (inside a .zip inside the already compressed file), as well as the radio-hammerhead-m8974a-2.0.50.1.13.img. put them in fastboot directory
Open a cmd prompt in fastboot directory and type (pressing enter after each line, wait for each individual one to complete):
cmd said:
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash system system.img
fastboot flash radio radio-hammerhead-m8974a-2.0.50.1.13.img
Click to expand...
Click to collapse
It might be slightly different on a Linux computer but it should be in the stickies, or search
Lethargy said:
The flash-all.bat/flash-all.sh wipes if I'm not mistaken.
To the OP:
Download the Android SDK and set up fastboot, there are stickied threads for it in the General Section.
Download the factory images and take out boot.img, cache.img and system.img (inside a .zip inside the already compressed file), as well as the radio-hammerhead-m8974a-2.0.50.1.13.img. put them in fastboot directory
Open a cmd prompt in fastboot directory and type (pressing enter after each line, wait for each individual one to complete):
It might be slightly different on a Linux computer but it should be in the stickies, or search
Click to expand...
Click to collapse
Not in the link I gave it's a modified factory image
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Not in the link I gave it's a modified factory image
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Oh, I missed the link. :silly:
No offense to you nor your thread, but it would be better if he gains some knowledge of fastboot/adb.. You know, the usual.
jd1639 said:
Not in the link I gave it's a modified factory image
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
One more question before I do this. I do have to put the supersu zip file in my phone and then flash it after I'm done flashing the factory img, correct?
Lethargy said:
Oh, I missed the link. :silly:
No offense to you nor your thread, but it would be better if he gains some knowledge of fastboot/adb.. You know, the usual.
Click to expand...
Click to collapse
Let's get fastboot setup and we'll go from there
Sent from my Nexus 5 using XDA Free mobile app
danny2146 said:
One more question before I do this. I do have to put the supersu zip file in my phone and then flash it after I'm done flashing the factory img, correct?
Click to expand...
Click to collapse
Yes. because you'll lose root after flashing the factory images. :angel:
Cool, it worked! Now I have to re-root. Thanks a lot for the amazingly quick reply!
danny2146 said:
Cool, it worked! Now I have to re-root. Thanks a lot for the amazingly quick reply!
Click to expand...
Click to collapse
Welcome, if you ever run into issues make a thread in the right section if you can't figure it out yourself, we're here to help. You're welcome to PM me too if you don't think something is worth a new thread although people don't mind if it's in the right section. You seem eager to learn too, which is important. :angel:
Sent from my Nexus 5
Cannot flash the boot.img file.
It's in the "image-hammerhead-lrx210.zip
Any ideas?
If I try to flash everything manually. It can't load system.img.
Not sure I understand the question. You say you can't flash the boot image or system image?
Sent from my Nexus 9 using XDA Free mobile app
I can flash the boot.img manually by fastboot flash boot boot.img
Then if I try fastboot flash recovery recovery.img, it will say it's too large.
If I use fastboot -w update image-hammerhead-lrx21o.zip it will say the boot.img file is missing.
HUNTERANGEL121 said:
I can flash the boot.img manually by fastboot flash boot boot.img
Then if I try fastboot flash recovery recovery.img, it will say it's too large.
If I use fastboot -w update image-hammerhead-lrx21o.zip it will say the boot.img file is missing.
Click to expand...
Click to collapse
Did you extract the update image? In there you'll find the boot image and other images. Flash each of those manually
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Did you extract the update image? In there you'll find the boot image and other images. Flash each of those manually
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I try to flash system.img manually it gives me "target reported max download size of 1073741825 bytes
error: cannot load 'system.img'
HUNTERANGEL121 said:
I try to flash system.img manually it gives me "target reported max download size of 1073741825 bytes
error: cannot load 'system.img'
Click to expand...
Click to collapse
I'd try downloading the image again
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
I'd try downloading the image again
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Where can I get images alone?
I downloaded the factory image twice already from Google's site.
HUNTERANGEL121 said:
Where can I get images alone?
I downloaded the factory image twice already from Google's site.
Click to expand...
Click to collapse
You need to download grim Google and extract the file you download. Did you flash the bootloader first then fastboot reboot-bootloader?
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
You need to download grim Google and extract the file you download. Did you flash the bootloader first then fastboot reboot-bootloader?
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Yes, I flashed the bootloader first, then rebooted. I'll try again.
So I got it to work...
I think last night I assumed I rebooted the bootloader...
So yeah....
Is there an order that I should flash in?
Ran into it again. Don't remember the order I did a few hours ago.
Why not just use the included flash-all.bat in the update? It does it all for you
As I've said.
That doesn't work. At the end, after it says flashing radio, it will saying missing boot.img.
Here's the order I'm trying...
fastboot reboot-bootloader
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash system system.img
And that's where I get the error I can't load it.
HUNTERANGEL121 said:
As I've said.
That doesn't work. At the end, after it says flashing radio, it will saying missing boot.img.
Click to expand...
Click to collapse
Sorry, I didn't see anywhere where u mentioned flashing the flash-all.bat file.
You could possibly be using a USB 3.0 port which sometimes gives me issues. It will hang on radio or bootloader. I'll unplug and try again from a USB 2.0 port and it will work. It's worth a shot, although it doesn't sound like it's the same issue.
Did you check MD5? Could be a bad download
HUNTERANGEL121 said:
I try to flash system.img manually it gives me "target reported max download size of 1073741825 bytes
error: cannot load 'system.img'
Click to expand...
Click to collapse
You don't have enough ram available on your computer.
beekay201 said:
You don't have enough ram available on your computer.
Click to expand...
Click to collapse
16gbs of ram lol.
I did it last night. But then I couldn't take pictures, or save screenshots. So I was trying to flash it again.
Should I do a full wipe, then flash the bootloader, followed by boot, then system?
Ahimsa310 said:
Sorry, I didn't see anywhere where u mentioned flashing the flash-all.bat file.
You could possibly be using a USB 3.0 port which sometimes gives me issues. It will hang on radio or bootloader. I'll unplug and try again from a USB 2.0 port and it will work. It's worth a shot, although it doesn't sound like it's the same issue.
Did you check MD5? Could be a bad download
Click to expand...
Click to collapse
Oh I thought I mentioned it.
I'm using 2.0.
Should I try 3.0?
How exactly do I check MD5..?
Last night I flashed it. But I went to flash it again since I couldn't take pictures or save screenshots.
So now that I'm home, I thought I would attempt this again.
HUNTERANGEL121 said:
So now that I'm home, I thought I would attempt this again.
Click to expand...
Click to collapse
At this point I'd try the flash-all.bat file. It well wipe your device. Boot into the bootloader and then in a command window on your pc opened in the same folder as the flash-all.bat start with fastboot devices. If your device is connected then double click the flash-all.bat file.
Sent from my Nexus 9 using XDA Free mobile app
Can I just grab the system, boot, and radio images and flash them in fastboot?
Will this retain root and update to 5.0.1?
Sent from my Nexus 5 using XDA Free mobile app
Yes, flash then re-root.
rootSU said:
Yes, flash then re-root.
Click to expand...
Click to collapse
It will take root away I guess?
Sent from my Nexus 5 using XDA Free mobile app
joho5 said:
It will take root away I guess?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Re-root
rootSU said:
Re-root
Click to expand...
Click to collapse
Will i lose custom recovery flashing the system?
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
joho5 said:
Will i lose custom recovery flashing the system?
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Click to expand...
Click to collapse
recovery will be borked. Just flag the twrp image in fastboot
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
recovery will be borked. Just flag the twrp image in fastboot
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Don't think so.
AFAIK, /system/install-recovery.sh and /system/recovery-from-boot.p only exist when OS has gone through an OTA.
If you use a factory image, either to update or reflash /system, those 2 files won't be there - we get to keep our currently installed recovery anyways.
I even go further - when flashing a factory image.. I just skip stick twrp.img in the zip, overwriting recovery.img. Then I use flash-all.sh.
Tip: if you edit the flash-all script and remove the `-w` argument from the `fastboot update filename.zip`, it won't flash user data.img.
This what I did. Download Google factory 5.0.1 image. Unzip. Edit flash-all.bat and remove the "-w" flag for the one command it's found for. Run the edited .bat file. It'll lose root, twrp, but it'll retain data so just flash the recovery over again after the initial flash finishes, then go into twrp to flash SuperSU again and custom kernel if wanted
Sent From Lollipopified Bacon Goodness!
Make sure you flash SU B4 boot or you will loose root.
howard bamber said:
Make sure you flash SU B4 boot or you will loose root.
Click to expand...
Click to collapse
You can just flash it later.
Can you validate/comment on my process?
Looking at this thread, I should be able to perform an update with the factory image without having to return to stock. Can those with a little more experience validate the steps I have below or recommend slight modifications? I was hoping to just flash a rooted/flashable Factory 5.0.1 image, but I don't think anyone has created one yet (if I just missed the ROM, please point me in the right direction).
Steps to Update to 5.0.1 while keeping Files/Root/TWRP
1 - Download Factory Image
2 - Modify flash-all.bat and remove the -w option
3 - Add twrp.img to the Factory image
4 - Fastboot Flash flash-all.bat
6 - Boot system
7 - Possibly have to re-flash SU from TWRP (this isn't a big deal either way)
As always, thanks for all the help here!
BigKenW said:
Looking at this thread, I should be able to perform an update with the factory image without having to return to stock. Can those with a little more experience validate the steps I have below or recommend slight modifications? I was hoping to just flash a rooted/flashable Factory 5.0.1 image, but I don't think anyone has created one yet (if I just missed the ROM, please point me in the right direction).
Steps to Update to 5.0.1 while keeping Files/Root/TWRP
1 - Download Factory Image
2 - Modify flash-all.bat and remove the -w option
3 - Add twrp.img to the Factory image
4 - Fastboot Flash flash-all.bat
6 - Boot system
7 - Possibly have to re-flash SU from TWRP (this isn't a big deal either way)
As always, thanks for all the help here!
Click to expand...
Click to collapse
Give it a try. I'm not sure that the twrp image is going to work. But the worst case is you'll still have the stock recovery after you boot. You'll lose root in any case and will have to flash supersu in the custom recovery
Sent from my Nexus 9 using XDA Free mobile app
BigKenW said:
Looking at this thread, I should be able to perform an update with the factory image without having to return to stock. Can those with a little more experience validate the steps I have below or recommend slight modifications? I was hoping to just flash a rooted/flashable Factory 5.0.1 image, but I don't think anyone has created one yet (if I just missed the ROM, please point me in the right direction).
Steps to Update to 5.0.1 while keeping Files/Root/TWRP
1 - Download Factory Image
2 - Modify flash-all.bat and remove the -w option
3 - Add twrp.img to the Factory image
4 - Fastboot Flash flash-all.bat
6 - Boot system
7 - Possibly have to re-flash SU from TWRP (this isn't a big deal either way)
As always, thanks for all the help here!
Click to expand...
Click to collapse
Just to make sure you understand what you're saying.
At step 3..
The twrp img file you download from their website needs to be renamed recovery.img and placed inside the update-rest-of-filename.zip, overwriting the one that's there already (yep, the stock recovery).
You got everything else right.
a maguro wrote this.
Or just type "fastboot flash recovery twrp.img" once you do the rest but skip step 3 cuz that is done with the command I wrote at the end of the process before you boot up.
1. Edit flash-all.bat to remove -w option
2. Run it to flash everything.
3. "Fastboot flash recovery twrp.img" (rename the twrp file you download to match twrp.img cuz it'll be a long name when you download it
4. In fastboot scroll to recovery, boot into it, it will boot into twrp
5. Flash SuperSU latest version from twrp (so make sure u have this on ur sdcard somewhere like in the downloads folder for example before u begin process
6. Clear dalvik and cache and reboot into lollipop. First boot may take a few min like 5 to 10
Sent From Lollipopified Bacon Goodness!
Didn't try it
I appreciate the tips. Just before I was about to attempt this, I saw Vomer posted a flashable image. I decided to go that route. Looks good so far.
BigKenW said:
I appreciate the tips. Just before I was about to attempt this, I saw Vomer posted a flashable image. I decided to go that route. Looks good so far.
Click to expand...
Click to collapse
And we were all in suspense to see how it worked out
Sent from my Nexus 9 using XDA Free mobile app