[Q] If i want to flash Lollipop do I have to stock everything? - Nexus 5 Q&A, Help & Troubleshooting

I want to flash the lollipop factory image. My phone is on 4.4.4 as an unlocked bootloader and is rooted. Do i have to return to stock to flash the image?
Thanks in advance

when flashing a factory img, you wipe out your partitions. why would you have to flash stock for that? also, you would have to reroot. why not just flash a flashable zip of lollipop stock or aosp? found in the android development section for the n5.

Related

[Closed] [Q] roll back update from 4.4.2 to 4.4

hey I have updated to android 4.4.2(KOT49H), I wanted to go back to stock 4.4....will flashing the google images(krt16m) solve the problem and can I do them with the stock recovery as my device is only unlocked not rooted neither any custom recovery is installed?
You can flash the factory image if your bootloader is unlocked.
Just get the base factory image from https://developers.google.com/android/nexus/images#hammerhead and flash it in fastboot mode. If you use the script included, it will wipe your device.
greenkabbage said:
You can flash the factory image if your bootloader is unlocked.
Just get the base factory image from https://developers.google.com/android/nexus/images#hammerhead and flash it in fastboot mode. If you use the script included, it will wipe your device.
Click to expand...
Click to collapse
ok....thanks
Don't forget to reset the tamper flag.
Sent from my Nexus 5 using Tapatalk

[Q] Help! Advice needed for getting OTA Lollipop

I see many noobs like me being confused about how their root and custom recovery status should be before installing or even receivingLollipop OTA.
So my understanding is to receive OTA update and to successfully install it one needs to be on,
1. STOCK firmware of their respective device.
2.Custom recovery ( No TWRP, CWM or any other custom recovery ).
3.Bootloader should be locked.
Am i right?
So, my questions are,
1. I can understand why the first two needs to be done but why should we lock the bootloader?.
2. When i restored to stock firmware( Mine's XT1033 ) KK 4.4.4 from TWRP Recovery with this http://forum.xda-developers.com/moto-g/development/rom-stock-motorola-rom-collection-t2854688 TWRP was still installed on my mobile.But when i reverted to stock 4.4.2( not 4.4.4 ) from fastboot using this http://forum.xda-developers.com/showthread.php?t=2700502 it successfully deleted TWRP.
So when we flash Stock ROM with Zip file it only installs the stock ROM and won't delete TWRP? and when we flash with fastboot( and .xml.zip file ) it removes TWRP? So am i right with this assumption?
If i am right how do i get back to stock recovery( delete TWRP ) since currently i have Stock 4.4.4 from the above link.
Help me and provide some correct scenarios to get Lollipop OTA.
this mototool has a functionallity of retrieving stock recovery
http://forum.xda-developers.com/showthread.php?p=50029015
it's pretty straight forward.
and as of what I've read, no need to relock bootloader for OTA to take place.. but I have no experience whatsoever..

[Q] Revert back to stock from cm12

I flashed cm12 nightly and its working great but i miss the stock android and want to revert back to android 5.1 build number LMY47I.
so i just have to flash the factory image and wipe all the data?
while installing cm12 i had to downgrade my boot loader from hhz12f to hhz12d so do i need to flash the bootloader image first or just straight away flash the factory image??
Pranjal53 said:
I flashed cm12 nightly and its working great but i miss the stock android and want to revert back to android 5.1 build number LMY47I.
so i just have to flash the factory image and wipe all the data?
while installing cm12 i had to downgrade my boot loader from hhz12f to hhz12d so do i need to flash the bootloader image first or just straight away flash the factory image??
Click to expand...
Click to collapse
You could use a flashable stock rom put together by someone here at XDA, but I would advise you to back up your userdata and flash factory images. You can afterwards push your userdata back to /sdcard/.
Pranjal53 said:
I flashed cm12 nightly and its working great but i miss the stock android and want to revert back to android 5.1 build number LMY47I.
so i just have to flash the factory image and wipe all the data?
while installing cm12 i had to downgrade my boot loader from hhz12f to hhz12d so do i need to flash the bootloader image first or just straight away flash the factory image??
Click to expand...
Click to collapse
Search is your friend.
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701

Should I flash the factory image?

Hello, I'm still on cataclysm lollipop and want to upgrade to marshmallow. Would it make any difference if I first flashed the whole stock package (radio etc) 6.0.1 via fastboot and then flash cataclysm via twrp? Would it be "cleaner"?
I don't think it really matters as you can manually flash the radio and boot image in fastboot.

Is there a way to revert custom ROM to stock and keep the phone rooted?

Also, how can I tell what were the previous versions of Android that my phone had (STOCK)?
For example: there were several 5.1.1 versions or 5.0. versions - how do I know which one do I need?
Thanks.
The easiest way to have a routed rom would be to flash a stock rom from Google, flash twrp, and flash supersu from twrp.
audit13 said:
The easiest way to have a routed rom would be to flash a stock rom from Google, flash twrp, and flash supersu from twrp.
Click to expand...
Click to collapse
Sorry if I didn't explain myself - my phone is rooted and I have a custom ROM. What I want to do is to go back to stock ROM but keep it rooted.
Thanks.
Flash a stock rom, then just root the stock rom. There is no other way unless you flash a stock pre-rooted rom.
audit13 said:
Flash a stock rom, then just root the stock rom. There is no other way unless you flash a stock pre-rooted rom.
Click to expand...
Click to collapse
So you can't keep it rooted while flashing stock?
And how do you know which versions are for your phone (if I don't want to go back to the latest Marshmallow for example)?
You can only keep root when flashing stock if you find a prerooted stock image.
Google search for nexus factory images.
audit13 said:
You can only keep root when flashing stock if you find a prerooted stock image.
Google search for nexus factory images.
Click to expand...
Click to collapse
Yes, I know that I need to Google for factory image, but there are several images with the same release. For example, there are three 5.1.1. (LMY48B, LMY48I and LMY48M). Same with 6.0.0. and 4 X 6.0.1 version. How do you know which one is for my device?
Thanks.
Any stock image for hammerhead will work on a hammerhead device. The reason it will delete root is you will have to flash system, and unless the system image you flash is prerooted, no more root.
wangdaning said:
Any stock image for hammerhead will work on a hammerhead device. The reason it will delete root is you will have to flash system, and unless the system image you flash is prerooted, no more root.
Click to expand...
Click to collapse
Thanks!
Just trying to understand that difference between the different versions, or are these simply system updates, from XXX29K to XXX29S for example?
Changes in the android version 5.0->5.1->6.0 are fairly large system updates. Within 5.1.1 they are security patches.
If you have a rooted phone and talk about flashing, you should know this. Else you are a menace to your phone...
Root is a system modification - if you delete or reinstall the System partition, you'll lose root. But re-root is easy.
I recommend to read tutorials and get some knowledge before trying to root, flash or before asking those questions, where Senior xda-members just shake their heads.
The simple way to do what you seem to want is to back up all your important stuff (photos, etc.), install MMB29V (the latest March 1st 6.0.1 security version), install TWRP 3.0.0.0, and from TWRP flash SuperSU v2.70. It will take slightly longer than it's taken me to type this, but not much...
After that, when a new monthly security version comes out, flash system.img, boot.img & radio.img, and repeat the TWRP & SuperSU steps. No data loss.

Categories

Resources