Quick ? Can you install Root with stock recovery? - Nexus 5 Q&A, Help & Troubleshooting

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.

Related

[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.

Locking bootloader after lollipop factory image install.

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.

Unable to update from 5.0 to 5.0.1 on stock

I am on stock lollipop 5.0 but flashed 4.4.2 radio on it using fastboot few weeks ago and locked the boot loader back.
I got 5.0.1 update and it downloads ,reboots and starts to install and hangs with a red icon halfway through the install.
Anybody know what I will need to do to update without losing any data or unlocking boot loader?
stivelio said:
I am on stock lollipop 5.0 but flashed 4.4.2 radio on it using fastboot few weeks ago and locked the boot loader back.
I got 5.0.1 update and it downloads ,reboots and starts to install and hangs with a red icon halfway through the install.
Anybody know what I will need to do to update without losing any data or unlocking boot loader?
Click to expand...
Click to collapse
You can`t do anything if you don`t unlock the bootloader and flash the 5.0 radio or flash the 5.0.1 factory image, you can backup your apps and data with Helium.
gee2012 said:
You can`t do anything if you don`t unlock the bootloader and flash the 5.0 radio or flash the 5.0.1 factory image, you can backup your apps and data with Helium.
Click to expand...
Click to collapse
That will be last resort but I was just trying to find out why the update doesn't work for me even though I'm on stock 5.0
stivelio said:
That will be last resort but I was just trying to find out why the update doesn't work for me even though I'm on stock 5.0
Click to expand...
Click to collapse
Your radio is not 5.0 compatible (stock), everythinhg has to be 100% stock and not rooted to be able to install the OTA
And if I unlock bootloader I will lose my data. Right?
stivelio said:
And if I unlock bootloader I will lose my data. Right?
Click to expand...
Click to collapse
Yup, there is no other way though. Backup everything you can before you unlock.
-Edit- You could try to root the device with CF Auto Root, install Bootunlocker from PLay and unlock the Bootloader without loosing data. Then unroot from the superSU app and flash the 5.0. radio, wipe caches in recovery or fastboot erase cache and see if the OTA can be installed
by sideloading it in stock recovery, link to the OTA http://forum.xda-developers.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217
gee2012 said:
Yup, there is no other way though. Backup everything you can before you unlock.
Click to expand...
Click to collapse
Ah ok. I guess I will wait until 5.1 or something to do this when there are major updates

Can you lock your bootloader, while on systemless root, stock recovery?

Ok, I searched for about 2 hours Google and here, I get a lot of don't relock it on twrp or custom recovery or rom. I get why here cause you changed the way the phone boots, essentially.
My question is that since i have only rooted my phone. Can I relock my bootloader. I install updates via local and then let magisk install to inactive after ota to keep root.
Deac0n said:
Ok, I searched for about 2 hours Google and here, I get a lot of don't relock it on twrp or custom recovery or rom. I get why here cause you changed the way the phone boots, essentially.
My question is that since i have only rooted my phone. Can I relock my bootloader. I install updates via local and then let magisk install to inactive after ota to keep root.
Click to expand...
Click to collapse
Magisk is installed in boot partition and for do this, it needs unlocked bootloader or it can't access boot partition. So for answering your question, you can try, but i don't think relocking bootloader with a modified boot img is safe, And why you want to relock bootloader? Simply keep it unlocked
Deac0n said:
Ok, I searched for about 2 hours Google and here, I get a lot of don't relock it on twrp or custom recovery or rom. I get why here cause you changed the way the phone boots, essentially.
My question is that since i have only rooted my phone. Can I relock my bootloader. I install updates via local and then let magisk install to inactive after ota to keep root.
Click to expand...
Click to collapse
Why? Just leave it alone
Was trying to learn, and am going to leave it alone with the answers from here, I also learned why.

Categories

Resources