Locking bootloader after lollipop factory image install. - Nexus 5 Q&A, Help & Troubleshooting

I'm running stock 4.4.4 android on my nexus 5 and I want to unlock the bootloader to flash the 5.0 factory image without rooting or anything. Can I lock my bootloader and reset tamper flag after that and keep my warrenty?

Even with an unlocked bootloader you keep warranty....
#stayparanoid

Actually I don't, I checked with my carrier.

You'd need root to do this. If it were KitKat, I could tell you the steps but L is different as you need a permissive kernel to have root so once that is replaced I am unsure if we can unroot using SuperSU
I'd recommend in your case, wait for the OTA

I'm sad I have to wait more.. I was hoping I can install the update and then just lock bootloader Getting the OTA update will probably take forever.

Related

Quick ? Can you install Root with stock recovery?

OTA just updated Nexus 5 to 4.4.2. I've lost TWRP and ROOT. Can I use stock recovery to install superuser, if so, how? The reason I'm asking is I don't to start over from scratch if the bootloader has to be unlocked.
Note: I didn't loose Hotspot tethering after OTA 4.4.2 update. It kept all my settings.
Update: I think I've figured out my own question. The bootloader has to be unlocked, so you'll lose your settings and data. Lesson learned; just update using zip in recovery mode next time.
Either use cf-root or twrp to get root, only time the phone gets wiped is if you unlock the bootloader, and ota updates never relock the bootloader.

[Q] Ota with unlock bootloader, root and recovery

hi, i have a noob question. I'm not a true noob but i never had a "nexus".
Today i unlocked bootloader, installed twrp recovery and rooted my device. Then i flashed only franco kernel to try new screen firmware update.
So i'm stock with cm11s without kernel.
When an update will be released,unchecked CM recovery update, can i update or i have to unlock bootloader again before?
after updated iìll be with bootloader lock or unlock?
Thanks to everyone
The OnePlus One is not a nexus device but it is very close to being one.
No you do not have to relock your bootloader, leave your bootloader unlocked. There is no point in relocking it unless you're doing warranty.
Just untick "Update CM Recovery" in Developer Options if you haven't already. You can flash the new OTA with TWRP.
Hi guys.
I'm also having some questions about the OTA updates and the root/bootloader.
Currently i'm still having the 25R, i unlocked it, rooted it with TWRP, all fine.
I've been using Nexus 4 before, and after lots of Roms i kept using CM for a very long time, so normally i just updated it, and i was still rooted and everything.
But now i keep reading that you will lose root and bootloader if you update the CMs (with OTA?).
So then i have to unlock and root again, so i will need to wipe all data again?
Or is there a simple method to just update and still keep all root etc?
greetings
GirlKillu said:
Hi guys.
I'm also having some questions about the OTA updates and the root/bootloader.
Currently i'm still having the 25R, i unlocked it, rooted it with TWRP, all fine.
I've been using Nexus 4 before, and after lots of Roms i kept using CM for a very long time, so normally i just updated it, and i was still rooted and everything.
But now i keep reading that you will lose root and bootloader if you update the CMs (with OTA?).
So then i have to unlock and root again, so i will need to wipe all data again?
Or is there a simple method to just update and still keep all root etc?
greetings
Click to expand...
Click to collapse
Nothing will happen to the bootloader. If root is lost after applying OTA, just reflash SuperSU. You can apply OTAs using TWRP.
No wipe needed.

[Q] Droid Maxx 4.2.2 sunshine unlock, how to get to 4.4.4?

So i held out taking the otas for a while to avoid losing root and am still on 4.2.2 post camera update. I know, it's sad, but I have root so i haven't been dying to update.
However, i just saw that sunshine will unlock my bootloader, which I'm going to do. What I'm confused about though is once i unlock my bootloader, how do I get to 4.4.4? Can I just revert everything to stock and take all of the otas (and then flash twrp to get root)? I heard that something in one of the otas changed something with the bootloader, so i don't know if taking that would cause problems with an unlocked bootloader or make me lose my unlocked status. Either way, could i just flash a 4.4.4 image directly from 4.2.2? If so where do i get a stock image to flash? Thanks for any help!
Once you have successfully unlocked, make sure you are status 3 unlocked in fastboot.
Once confirmed, you can use the rsd lite, and use the stock firmware from:
http://sbf.droid-developers.org/
Next, flash twrp for the ghost from their website.
Lastly if you want root flash supersu.
So can I flash a different OS version from the site that you linked? Or is that just to return to stock in anticipation of flashing TWRP and using that to flash a later android version?
rule of thumb is you cannot downgrade, only upgrade or revert to the same version you are already on
This seemed like the easiest route to a rooted 4.4.4... Unlock bootloader via Sunshine, and proceed as instructed here: http://forum.xda-developers.com/droid-ultra/general/unlocked-boot-xt-1080-restore-4-4-4-pre-t2883131
Data remains intact, unlocked bootloader warning on boot logo fixed, and TWRP (or Philz) flashed as recovery. Super easy. Good times.
Deleted. Redundant post.
Sent from my DROID Maxx
I'm in the same situation. I'm currently rooted on the post camera update and held off on the new ota's for a while. I want to do the sunshine unlock. My question is should I do the sunshine unlock, upgrade to the newest 4.4.4 then install twrp to root? This youtube.com/watch?v=_xVyJMtLDPgvideo gives pretty good instructions but I also want to take future OTA's. I understand you won't be able to unless you put the recovery back to stock.
Thanks in advanced
rcji said:
I'm in the same situation. I'm currently rooted on the post camera update and held off on the new ota's for a while. I want to do the sunshine unlock. My question is should I do the sunshine unlock, upgrade to the newest 4.4.4 then install twrp to root? This youtube.com/watch?v=_xVyJMtLDPgvideo gives pretty good instructions but I also want to take future OTA's. I understand you won't be able to unless you put the recovery back to stock.
Thanks in advanced
Click to expand...
Click to collapse
Yep true. Can't take OTAs with out stock recovery. But it is easy to flash Stock Recovery then back to TWRP after the OTA. Of course safest option is to flash stock fxz without wiping data before taking OTAs.
Personally have my own recovery and logo.bin script I keep for just this reason. Run RSDlite with the stock software take OTA (if no fxz yet for the OTA) then full bit and setup and finally flash the recovery and logo.bin I use.
Many ways of doing it just find its easier for me this way probably cause this is how I learned from trial and error is all. Probably an easier way though.

[Q] Un-Root b4 lolipop update?

Hello,
I'm guessing most of you already know that the android 5.0 or android lollipop updates started rolling out OTA. My nexus 5 is rooted and its running stock android 4.4.4 with the stock recovery. Also my boot loader is locked. Should I "un-root" my nexus 5 for the OTA update or should I try updating it with root on my phone?
Regards,
cyberusman
It should update with root but you'll lose it. You'll need to unlock your bootloader to root again though. I'd just unlock with boot unlocker and flash factory image personally.
rootSU said:
It should update with root but you'll lose it. You'll need to unlock your bootloader to root again though. I'd just unlock with boot unlocker and flash factory image personally.
Click to expand...
Click to collapse
I went onto my root app(superuser) and went to info and checked the box called OTA survival. After that ontroead the OTA update, it installed 1/4 of the way then just said error. What do i do?
Try other update methods. Root options available in my signature
rootSU said:
It should update with root but you'll lose it. You'll need to unlock your bootloader to root again though. I'd just unlock with boot unlocker and flash factory image personally.
Click to expand...
Click to collapse
I took the OTA with root and stock recovery. Updated, lost root, but the bootloader is still unlocked. My N5 is the Google play store edition if that makes a difference. Im I'm guessing carrier specific phones are relocking the bootloader.
Sent from my LGLS990 using XDA Free mobile app
MikeDroid said:
I took the OTA with root and stock recovery. Updated, lost root, but the bootloader is still unlocked. My N5 is the Google play store edition if that makes a difference. Im I'm guessing carrier specific phones are relocking the bootloader.
Sent from my LGLS990 using XDA Free mobile app
Click to expand...
Click to collapse
OTA doesn't lock the bootloader. All nexus 5's are created equal

[Q] If I update a rooted device OTA, will I have to run OEM unlock to root again

Hi,
I have an LG Nexus 5 (KTU84P, or "hammerhead") running Android KitKat 4.4.4. It is rooted using Chainfire's AutoRoot for the Nexus 5 for Android 4.4.4, and I have no custom ROM, simply Vanilla Android but with SuperSU. I am looking to update to Android L, version 5, and I have received a notification for the OTA update.
I understand that with OTA updates, your data will not be wiped, but you will lose root access. I have researched ways to keep the root, but they only appear to be for older versions of Android. I understand that I will lose root.
My question is, will I have to run the "oem unlock" (which I understand is the part of the whole rooting process which actually wipes your device), or will I just have to load Chainfire's AutoRoot? If I go through with it, I will use his AutoRoot for hammerhead for Android L, but basically my end goal is to root and update and not lose any data.
Thanks, if you need more info, let me know?
Autoroot will not wipe your data if your bootloader is already unlocked. Only if your bootloader was locked to begin with.
Nope. Once unlocked it stays unlocked unless you lock it yourself
frenziedfemale said:
Autoroot will not wipe your data if your bootloader is already unlocked. Only if your bootloader was locked to begin with.
Click to expand...
Click to collapse
musclehead84 said:
Nope. Once unlocked it stays unlocked unless you lock it yourself
Click to expand...
Click to collapse
Thank you both very much!
Of course with L you can no longer get the OTA if you have custom recovery. Just incase you weren't aware
rootSU said:
Of course with L you can no longer get the OTA if you have custom recovery. Just incase you weren't aware
Click to expand...
Click to collapse
I have updated OTA, and I kept EVERYTHING, even my root apps, but when I open up SuperSU I get a notification explaining that the Su binary is not installed, which is obviously removed when updating. Now, I'm just backing up my data. Another thing I would like to confirm is, if I use Chainfire's Auto Root for the Nexus 5 running Android 5.0, will it run OEM unlock again, and if it does, will I be affected considering my bootloader is already unlocked?
AudaxNovus said:
I have updated OTA, and I kept EVERYTHING, even my root apps, but when I open up SuperSU I get a notification explaining that the Su binary is not installed, which is obviously removed when updating. Now, I'm just backing up my data. Another thing I would like to confirm is, if I use Chainfire's Auto Root for the Nexus 5 running Android 5.0, will it run OEM unlock again, and if it does, will I be affected considering my bootloader is already unlocked?
Click to expand...
Click to collapse
If its unlocked, it can't be unlocked again.
Just a little info, afaik, if you update from KK to L and had an unlocked bootloader ('oem unlock'), like I did, your bootloader will get locked again after update, as it did with me.
So that "if it was unlocked it'll stay unlocked" is not correct.
D3abL3 said:
Just a little info, afaik, if you update from KK to L and had an unlocked bootloader ('oem unlock'), like I did, your bootloader will get locked again after update, as it did with me.
So that "if it was unlocked it'll stay unlocked" is not correct.
Click to expand...
Click to collapse
Odd. Hasn't locked for anyone else afaik
D3abL3 said:
Just a little info, afaik, if you update from KK to L and had an unlocked bootloader ('oem unlock'), like I did, your bootloader will get locked again after update, as it did with me.
So that "if it was unlocked it'll stay unlocked" is not correct.
Click to expand...
Click to collapse
There's a REALLY easy way to test that theory.
Open the factory image archives and check the script. Unless it runs 'fastboot oem lock' it isn't relocking it.
#stayparanoid
Don't you think this makes the trick?
"fastboot flash bootloader bootloader-hammerhead-hhz12d.img"

Categories

Resources