yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] maortrol:
Ok, let's say I'm rooted (with unlocked bootloader), then I receive an OTA Update, and after the update I lose root. Then, I suppose I would need to run CF-Auto-Root again after the OTA update to regain root, right?

Well, my question is: if bootloader was previously unlocked before OTA Update, will CF-Auto-Root wipe the data anyway? Or it just wipe data ONLY if bootloader is currently locked?

The thing is that I don't know if an OTA Update locks again the bootloader, or it has nothing to do with bootloader status (locked / unlocked)... :confused:

Because I'd like to know if I can root my phone after every OTA Update without wiping my phone every time it happens...
[Nexus 5 Original Android Development] jd1639:
Everything you need to know is here http://xdaforums.com/showthread.php?p=47369234. The ota does not lock your bootloader
[Nexus 5 Original Android Development] maortrol:
So, once I'm rooted and my bootloader is unlocked, I can run CF-Auto-Root after every OTA Update to regain root access without wiping all my data in the process. Great! :D

Thank you very much! :good:
[Nexus 5 Original Android Development] jd1639:
I'd flash super su in a custom recovery but that's me
[Nexus 5 Original Android Development] maortrol:
I know, but if I flash a custom recovery, I will lose the OTA updates, and that's what I want to keep...

BTW, could I flash a custom recovery directly from the "Flash Clockworkmod Recovery" option in Rom Manager app? I guess yes, but not sure...

https://play.google.com/store/apps/details?id=com.koushikdutta.rommanager

I suppose that making this (flashing a custom recovery), I could flash every new OTA manually, as no automatic OTA would arrive to my Nexus 5, right?

Thanks!
[Nexus 5 Original Android Development] jd1639:
Actually, you'll still get the ota with a custom recovery and root. But you lose both in the process and have to fastboot the recovery back on. I've done this going from 4.4 to 4.4.2. If you change any system files the ota will fail.
[Nexus 5 Original Android Development] maortrol:
I'm not sure I understood you... :confused:

Simple questions for me to understand you: :p

- I thought that flashing a custom recovery will make automatic OTA fail. Do you mean that if I unlock the bootloader and get root access (with CF-Auto-Root), and also flash a custom recovery (with the above Rom Manager app), I will get the automatic OTA successfully installed anyway? That's right?

- So, in which cases are system files changed, so I couldn't get the automatic OTA properly installed?

Thank you very much!
[Nexus 5 Original Android Development] fezza:
So now I'm on 4.4.3 (flashed factory image manually), can I use the same CF root package I used with 4.4.2 to re-root? Asking just to be sure.
[Nexus 5 Original Android Development] maortrol:
It seems CF-Auto-Root works fine on 4.4.3 according to this commentary:

Now the question is: will CF-Auto-Root wipe your phone, even if you had previously unlocked your bootloader in 4.4.2? :confused:
[Nexus 5 Original Android Development] fezza:
Ok just done it and confirm CF auto root works fine, and no it didn't wipe mine because it was already unlocked. installing the 4.4.3 factory image did wipe it though :p
[Nexus 5 Original Android Development] n9ntje:
Can confirm it. installed factory image 4.4.3 and after reboot the CF-autoroot.zip. Worked like a charm :good:
[Nexus 5 Original Android Development] blahquader:
Worked fine with 4.4.3 - flashed google image via adb sideload, run chainfire-root, reboot, re-installed supersu from playstore - all fine :cowboy:
[Nexus 5 Original Android Development] cgendreau:
Ditto... All is good here also with the CF root method on 4.4.3... :D
[Nexus 5 Original Android Development] GruZone:
worked great man! TY very much :laugh:
[Nexus 5 Original Android Development] ryoen:
Hello, can someone help me?

I received the OTA of Android 4.4.3 (I was rooted before with a custom recovery TWRP), so I installed the OTA... everything went fine, installed correctly, everythings works but seems I lost root...

So when I want to start in recovery mode, I got a android, with a red triangle...﻿ what can I do?
[Nexus 5 Original Android Development] shhbz:
Press both vol up n down along wth power it will take u to recovery but i m not sure if update will work with custom recovery u need stock recovery to sideload .seem it has overwritten by stock recovery so fastboot the custom recovery again but if u want to stay in stock recovery then the 3 button combo should work
[Nexus 5 Original Android Development] ryoen:
The update was installed, i'm running 4.4.3... but I'm not able to get in the recovery mode, when I push vol up+down+power, I'm not starting in recovery, but still in fastboot mode...
[Nexus 5 Original Android Development] OpaqueEcho:
You don't want to be in RECOVERY mode when running the Auto-Root application, you want to be in FASTBOOT mode.
[Nexus 5 Original Android Development] ryoen:
problem solved :) Thanx anyway...
[Nexus 5 Original Android Development] g1xx3r:
How did you solve this?
[Nexus 5 Original Android Development] poyoguy:
I was running 4.4.2 with CF root (unlock and root). Use an app - BootUnlocker (root needed), to relock the phone thinking it will be safer.

Receive OTA 4.4.3 update and installed it, making my phone unroot.

I forgot to unlock the phone before update, making my phone locked and unroot.

Did the CF root after update, and it wipe my phone.

Just to inform if anyone is in the same situation.
[Nexus 5 Original Android Development] andy o:
Just in case, Survival mode in the paid SuperSU works just fine with the OTA, even when manually updating with the OTA zip (via TWRP in my case). I didn't think it would work updating manually, but it did just fine on N5 and N10. A friend updated via the regular Android update OTA dialog, and it went fine also.
[Nexus 5 Original Android Development] shhbz:
Most probably flashing cust revovery again via fastboot
[Nexus 5 Original Android Development] Smerks:
Just got the OTA from T-Mobile (dont know if that matters or if the root comes direct from Google) and did it, I have my phone rooted with CF-Root and it did kill root and started throwing some errors and was clear my phone was no longer rooted but all I had to do was rerun CF-Root and all was well.
[Nexus 5 Original Android Development] Smerks:
Check my last post in this thread, it MIGHT help you.
[Nexus 5 Original Android Development] haseoxth:
If your phone is locked, before root it CF root have to unlock it first. Your data will be wiped for sure.
[Nexus 5 Original Android Development] blazelazydays:
Can this method be used while running 4.4.3 ? Because I did the OTA update and my phone has never been rooted, but I want to root it.

is there a method to use while running 4.4.3 ?
[Nexus 5 Original Android Development] 4-2ndtwin:
Yep. But this will wipe ur phone, unless u have already unlocked ur bootloader.
[Nexus 5 Original Android Development] jd1639:
Use this, but if your bootloader is not unlocked your device will be wiped unlocking it even if you use cf-auto

http://xdaforums.com/showthread.php?p=47025283
[Nexus 5 Original Android Development] poyoguy:
Yes, unlock it again first before upgrading. I totally forgot about it.

Unlock will wipe the phone, root won't.

Upgrade will not lock the phone, just your phone will lose the root.
[Nexus 5 Original Android Development] zorro3210:
Hello

I bought a used N5 few months back.

My phone was rooted and I updated OTA to 4.4.3 and so lost my root.

Does this mean my bootlader was unlocked? How do I know it is unlocked?

If unlocked I can use just then the CF-Root directly and not data wipe?

thank you for your help
[Nexus 5 Original Android Development] rohan.thota:
will this method void my warranty and system updates from google?

first time rooting !
[Nexus 5 Original Android Development] sempot:
Warranty? You can always relock and reset temper status. That's the beauty of nexus. Well if you're using the nexus 5. You don't need OTA. There will be people uploading the latest flashable stock rom.
[Nexus 5 Original Android Development] Primokorn:
If you had root access it means your bootloader was unlocked. Reboot into fastboot mode and read. :)

Unlocking the BT wipes user data and not rooting.
[Nexus 5 Original Android Development] yzak58:
Does this method work on 4.4.3?
[Nexus 5 Original Android Development] CRIME INC.:
Yes

sent from my Paranoid HAMMERHEAD
[Nexus 5 Original Android Development] yzak58:
Okay
[Nexus 5 Original Android Development] :
Been having strange things happen so I did the restore to all stock 4.4.3 early this morning.. Hope I didn't mess nothing up on mine. Afterwards I fastboot flashed twrp and flashed CM. Straight to the niddy griddy. Haha. The advantage of owning a real phone. ;)
[Nexus 5 Original Android Development] aliquzwini:
Hello guys !!

Need help please :)

I bought my n5 from 2 months ago , I updated to 4.4.3 (ota) without root and without any modifications ,today I unlocked boot loader then installed cf root and it's done perfectly I mean su app installed (I watched video on YouTube to do it ) ,anyway when I check for root access using "root checker app" and promote to it I say "sorry you do not have root access" !!!!!!! And I tried greenify too it freeze after root promote :(

أرسلت من Nexus 5 بإستخدام تاباتلك
[Nexus 5 Original Android Development] jd1639:
Root this way. I can't help you anymore that this

http://xdaforums.com/showthread.php?p=47025283
[Nexus 5 Original Android Development] aliquzwini:
oops !!!

sooooory for putting my reply in wrong thread [emoji16]

أرسلت من Nexus 5 بإستخدام تاباتلك
[Nexus 5 Original Android Development] AndroiDer:
I have a question.... I have root the device with the CF-auto-root and everywhere on the forum and internet u read that if u have root u not able to get over-the-air updates annymore. But here it still works..... I had rooted the device with Android 4.4.2 and everything was well, a couple days later I get a message from my phone that there is a update. I have accept the update and hey downloaded the update succesfull and installed the update also succesfull. Now I running Android 4.4.3. Is the lucky or is this normal with the auto-root the U still get the updates of Google???

Thanks replying.
[Nexus 5 Original Android Development] jd1639:
My experience is if you only have root and have not changed any system files you will get the ota. Root is lost of course and you have to re-root
[Nexus 5 Original Android Development] AndroiDer:
Yeah I have only root and noting changed to the system files. After the update root was lost and I had to re-root again. But now without wipe annything because my device was unlocked now :D
[Nexus 5 Original Android Development] saman0suke1:
Does this delete all the files in the memory?

It worked for me in 4.4.3, Thanks!!
[Nexus 5 Original Android Development] Maxx247:
i rooted my phone but now i want to unroot it , how do i unroot :confused: my nexus?
[Nexus 5 Original Android Development] Primokorn:
http://xdaforums.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
[Nexus 5 Original Android Development] Shanks:
Install super su, go to settings and then to full unroot
[Nexus 5 Original Android Development] Assa551N:
This process unlocks the bootloader?
[Nexus 5 Original Android Development] jd1639:
Of course it does. If it remains unlocked after using, idk, never used it
[Nexus 5 Original Android Development] ski522:
Hhhhhmmmm...having trouble with this, everything seems to go as expected, but after boot up using a root checker I'm told I don't have root access. Using from linux I see:

Red Android, correct messages, and boot after 10 seconds, but still no go...

If I "adb shell" into the phone and try running "su", it doesn't do anything, just sits there...

Any suggestions on what to troubleshot?
[Nexus 5 Original Android Development] jd1639:
Use this to root

http://xdaforums.com/showthread.php?p=47025283
[Nexus 5 Original Android Development] ski522:
Thanks, I had used CWM in the past with 4.4.2 to root, guess I'll go that way again.
[Nexus 5 Original Android Development] slick4747:
I see that this root has support for the Samsung SGH-i257M (Canadian) but I wonder if that file would change things on my Samsung SGH-i257 (U.S. AT&T) model?

Anyone have any thoughts?
[Nexus 5 Original Android Development] jd1639:
You're in the nexus 5 forum. Not sure if anyone here has the answer.
[Nexus 5 Original Android Development] slick4747:
Just caught that - thanks for the redirect :)
[Nexus 5 Original Android Development] jeffreii:
Just to share my experience:

I finally had time to upgrade from 4.4.2 to 4.4.3. My phone is rooted with stock recovery. I initially rooted with CF Auto Root and left the bootloader unlocked. I downloaded bootunlocker to verify that it remained unlocked before proceeding with the upgrade.

I ran the upgrade and when the phone rebooted, I proceeded to run CF Auto Root again. The process was quick and finished without any issues. I went to look for SuperSU but could not find it. I downloaded it again from the Play Store. It wanted to upgrade the binary so I used the Normal method to do so. It told me that it failed. I rebooted the phone and ran SuperSU to try again...but SuperSU did not prompt for an update and everything seemed fine.

I used RootChecker to verify my root status, all good. I then tested all my root apps and had to give them permission again. All good.

All good.

Thanks!
[Nexus 5 Original Android Development] Segarra:
4.4.4 is coming!!!!!!

Enviado desde mi U30GT 2 mediante Tapatalk
[Nexus 5 Original Android Development] jd1639:
4.4.4 is here
[Nexus 5 Original Android Development] Segarra:
Anyone has tried?

Enviado desde mi U30GT 2 mediante Tapatalk
[Nexus 5 Original Android Development] jd1639:
I've been running it since yesterday, works fine
[Nexus 5 Original Android Development] Segarra:
Perfect!

Enviado desde mi U30GT 2 mediante Tapatalk
[Nexus 5 Original Android Development] :
Auto Root is not woring with new firmware 4.4.4

anyone have this issue

thank u
[Nexus 5 Original Android Development] Segarra:
isn't working?

Enviado desde mi U30GT 2 mediante Tapatalk
[Nexus 5 Original Android Development] darshakk:
Root 4.4.4 with CF-Auto-Root?

Has anyone else tried CF-Auto-Root on 4.4.4? It worked with 4.4.3 flawless. I believe, 4.4.4 update has nothing that can fail 4.4.4 rooting using this method. It's kinda hard to believe. I may try it tonight after updating to 4.4.4.
[Nexus 5 Original Android Development] liandri:
i tried cf autoroot with 4.4.4 and super su is gone now. root checker also shows, that my device does not have root access.

edit:

as rushilkr said in the post listed below (i can confirm it): installing manually SuperSU from playstore should work, if anyone misses supersu after cf autoroot.
[Nexus 5 Original Android Development] rushilkr:
Edit

---------- Post added at 06:20 AM ---------- Previous post was at 06:19 AM ----------

Same thing happened with me. Just download Super SU from play store, install it and you'll have your root access. Worked for me..
[Nexus 5 Original Android Development] Assa551N:
This process unlocks the bootloader?

If yes, the phone will do a factory reset?
[Nexus 5 Original Android Development] GtrCraft:
Yes and yes, read OP next time
[Nexus 5 Original Android Development] afraaa:
thanks for 4.4.3 root chainfire .. where is his T shirt indeed ? he is A GOD
[Nexus 5 Original Android Development] Ohihi:
Hello everyone,

After an OTA update (4.4.4) on my nexus 5 rooted, I've applied CF Autoroot and it was worked perfectly.

I had just need to reinstall SuperSu on the playstore.

Thanks again for the perfect job !
[Nexus 5 Original Android Development] KantSeeMe:
I know this wipes the phone when you first root it, but does it wipe it again after an update a re-root?

For example I updated to 4.4.3 and now I want to re-root, will it wipe again?
[Nexus 5 Original Android Development] jd1639:
Is your bootloader unlocked? If you have a custom recovery you could just flash supersu in it.
[Nexus 5 Original Android Development] KantSeeMe:
Bootloader should still be unlocked from the original use of auto-root right?

I am still on stock ROM and recovery the only thing I did was run this auto-root.
[Nexus 5 Original Android Development] jd1639:
If you didn't relock it it should still be unlocked.
[Nexus 5 Original Android Development] KantSeeMe:
Ok awesome, when I restart the phone I still see the little unlock icon. I can just re-root using the auto-root and it wont wipe my phone right?
[Nexus 5 Original Android Development] KantSeeMe:
Yes as in it wont, or yes as in it will :p

Thanks for your help btw!
[Nexus 5 Original Android Development] jd1639:
It won't wipe the device if the bootloader is already unlocked
[Nexus 5 Original Android Development] topaza:
Does not work on 4.4.4 for me... (but worked with previous versions)

display shows "downloading..."

PC shows: "downloading 'boot.img'... FAILED (data transfer failure (Protocol error))"

any idea?
[Nexus 5 Original Android Development] jd1639:
Flash a custom recovery in fastboot the flash super su in it
[Nexus 5 Original Android Development] topaza:
i would prefer to stay on stock recovery...
[Nexus 5 Original Android Development] jd1639:
Then just boot into a custom recovery, fastboot boot recovery.img. Flash super su, reboot and your done. Stock recovery is still there
[Nexus 5 Original Android Development] topaza:
I did some more tries today and suddenly it worked. Very strange as I did not change anything...
[Nexus 5 Original Android Development] Hand76:
Slightly on/off topic I just upgraded SuperSU to 2.0 on the stock 4.4.4 rooted rom and when I went to upgrade the binary it s did it's thing but said failed.

After a reboot it didn't ask me again and everything seems to be working root wise since.

Just leave it? Anyway just to reflash the binary or not needed?
[Nexus 5 Original Android Development] QQNoob:
I had already run this once to unlock my Nexus 5 and obtain root for the first time. Then I updated to Android 4.5 via the system update, and lost the SU binary. So I ran it again (Windows version) and it wiped my device again. :(
[Nexus 5 Original Android Development] jtrentha:
I know there is a post for a root method for Android L - http://xdaforums.com/google-nexus-5/general/how-to-root-android-l-t2796419 - for clarity's sake CF Autoroot presumably will NOT work for Android L???
[Nexus 5 Original Android Development] bjornbh:
Hello and thanks for the post. I'm new to root and I have to be honest, I'm not following this at all. I've downloaded the file per your instructions, I have my N5 in Fastboot Mode, it's plugged into my MacBook, and I have opened the file root-mac.sh. I've read the TextEdit file but where or what am I supposed to do from here? Do i open a terminal to communicate with the device? Do I use Android Studio and a terminal within that? I've actually tried that and Android Studio doesn't communicate with the device while in Fastboot Mode. Any help would be greatly appreciated. I've also donated to you twice on two of your links within the past 20 minutes.
[Nexus 5 Original Android Development] mahdibassam:
Hi people,

I tried to search the thread for the question I'm about to ask, but the search function is broken right now.

If I root my Nexus 5 , Will i still get OTA updates and install them without problems?

Thanks
[Nexus 5 Original Android Development] blahquader:
Yes. After a OTA, you have to re-root.
[Nexus 5 Original Android Development] QQNoob:
On the Nexus 5 it's just Volume Down + Power. Holding down both will not allow the device to boot.

However, it does seem to turn the device completely off if all three buttons are held down for 8 seconds. Holding down power alone for 8 seconds causes a reboot.
[Nexus 5 Original Android Development] KantSeeMe:
This is what I am afraid of, I don't want to re-root without being prepared for a device wipe lol.
[Nexus 5 Original Android Development] p1nky:
just installed 4.4.4 via OTA >> lost root. Then re-rooted with CF-Autoroot and reinstalled SuperSu via Playstore.

Everything works fine!

While rooting there is a failed message. But i think it is only the message, that the device is already unlocked and therefore it will not wiped.

Hope this helped to clear thinks up.
[Nexus 5 Original Android Development] BoSib:
Worked like a treat, thanks! :good:
[Nexus 5 Original Android Development] azlan96:
So its guaranteed that it will not be wiped?
[Nexus 5 Original Android Development] Primokorn:
Nope if your bootloader is already unlocked.
[Nexus 5 Original Android Development] zekharyahu:
I'm having trouble rooting my Nexus 5 using this tool.

I've unlocked the bootloader before.

So screen is expected to be like this

< waiting for device >
... FAILED (remote: Already Unlocked)
downloading 'boot.img'...

And my phone reads

SECURE BOOT - enabled
LOCK STATE - unlocked

downloading...

This is expected, except for the fact that it stays like this forever. How long should this proces take? I've aborted the process now several times and started over, but still no progress.

There's one difference though, after the first time I did this (and aborted it) my bootloader has in the top screen now in red written Restart bootloader inside an arrow to the right. This was before I did this process all in green "Start" inside a arrow (to the right).

Any ideas?

EDIT

Solved. It was a faulty USB port... Thanks to this thread
[Nexus 5 Original Android Development] MCASTILLO:
About Recovery

Hello everybody.

I have T Mobile Nexus 5, 4.4.4 android version, KTU84P Build Number, this tool will work in my device. How can I flash custom recovery, please?
[Nexus 5 Original Android Development] Primokorn:
http://xdaforums.com/google-nexus-5/general/guide-nexus-5-how-to-unlock-bootloader-t2507905
[Nexus 5 Original Android Development] MCASTILLO:
Thank you for your answer.

With CF AutoRoot will not work?
[Nexus 5 Original Android Development] Primokorn:
CF Auto root unlocks the bootloader (if needed) and install root permissions.

To install a custom recovery you have to use the above tutorial.
[Nexus 5 Original Android Development] MCASTILLO:
Thank you sir, I appreciate your help have a nice day... :)
[Nexus 5 Original Android Development] Deeps66:
If I install custom recovery will I able to get OTA updates from google? Not flashing any custom ROM, I want to be on Stock ROM just unlocked, rooted and Custom recovery.
[Nexus 5 Original Android Development] mandeep294:
Yes I got OTA while on custom rom. however u will need to revert any changed made to any system files and OTA flashing will give u stock recovery back
[Nexus 5 Original Android Development] mihir_s9:
Root without Data Wipe

hi i have been searching this but cant find any proper method to do this,

i have 4.4.4 on my nexus,

i have never tried to do anything with the device--the bootloader is still locked

i want to root without loosing any data

is there anyway to do it with no data wipe, all the methods i saw, have data wipe.
[Nexus 5 Original Android Development] mandeep294:
I guess with bootloader locked.. data wipe is a must
[Nexus 5 Original Android Development] jd1639:
There is a way. Use towelroot. Unlock with boot unlocker from the play store after root.
[Nexus 5 Original Android Development] mihir_s9:
Can you please explain it an a little more detail...?/

:confused:
[Nexus 5 Original Android Development] Philthy82:
Anyone have any experience with CF-Auto-Root on a Nexus 5 breaking the ability to remember app defaults? Every time I click a button that more than 1 app on my N5 can open, I get asked which app to open it with. Even if I select "Always", the next time I open the same type of link I get the same question.

I'm running stock 4.4.4, rooted with CF-Root. Tried a factory data reset but the issue persisted.
[Nexus 5 Original Android Development] LuvThyMetal:
I got my N5 back in November, I think its time for me to root lol ?
[Nexus 5 Original Android Development] mihir_s9:
do you know how to do so, without having a data wipe?? (Locked Bootloader):(

if so can you please help me with the same..?:confused:
[Nexus 5 Original Android Development] jd1639:
Google towelroot. Use that