[Q] Ota with unlock bootloader, root and recovery - ONE Q&A, Help & Troubleshooting

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.

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] 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"

[Q] Recent buy and trying to root

I just bought this tablet and it seems to have updated itself overnight (that or my kid did it) I want to root it , but it says it's running 5.0.1 now.. if it's possible, could someone walk me through this? I've been reading thru the various root threads, and having no luck-I'm on Ubuntu latest and have adb and fastboot installed..anyone feel like helping me out?
unlock bootloader, flash TWRP, then flash SuperSU
Bogdacutu said:
unlock bootloader, flash TWRP, then flash SuperSU
Click to expand...
Click to collapse
I did the above but with a slight change. I just booted CWM instead of flashing it so till running stock recovery but rooted.
I did this from 5.0.1 after unlocking the bootloader which was a piece of cake. There is a great guide on this forum.

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.

Question OTA Updates after bootloader unlock

Hi guys,
Some Time ago I unlocked m'y bootloader to Root it and install TWRP but I was wondering if there is a way for getting OTA After unlocking BL.
I know that we can update using the zip and putting it in the root of sdcard but I wanted to know if we could get updates back by flashing a stock partition (like persist) or anything else that could work.
I also tried to lock the bootloader but it still wasn't receiving OTA.
I hope that someone has the solution
Thanks in advance
Alex2008Ex said:
Hi guys,
Some Time ago I unlocked m'y bootloader to Root it and install TWRP but I was wondering if there is a way for getting OTA After unlocking BL.
I know that we can update using the zip and putting it in the root of sdcard but I wanted to know if we could get updates back by flashing a stock partition (like persist) or anything else that could work.
I also tried to lock the bootloader but it still wasn't receiving OTA.
I hope that someone has the solution
Thanks in advance
Click to expand...
Click to collapse
Don't think so, as I believe OTA's are not pushed to devices that are registered as unlocked by ASUS (which actually makes sense if you think about it)..
I just removed root, update manual to new FW and root again. It is not that much work.

Categories

Resources