yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] gfreek:
cannot update to 4.4.2?

Ok guys I used CF AUTO to have completely stock, Unlocked bootloader, Rooted with no modification.

This morning got notification for new update 4.4.2 which I downloaded and tried to update each time it does about 5% then goes to ERROR with android laying down and a red triangle with exclamation point

I then did a factory reset to see if it made any difference but still no joy got the same error!! Now I don't understand what is going on here I have not made any changes to build prop or anything like that.:( To my understanding CF-Auto should not effect OTA update or am I wrong?

Unless I have missed something then I'm left with no choice and follow this method: http://xdaforums.com/showthread.php?t=2513701 and get back to its original state.
[Nexus 5 Original Android Development] Primokorn:
Yes you are wrong :) Did you read this?
[Nexus 5 Original Android Development] gfreek:
Yes I read that to sideload OTA but as I was getting the OTA on the phone I thought I could just apply it, I guess you cant with CF-Auto it has to be adb sideloaded correct?
[Nexus 5 Original Android Development] Primokorn:
Yes you need a custom recovery (TWRP :)) - More information
[Nexus 5 Original Android Development] 5aaled:
My phone was all stock and rooted by cf- root and today receive 4.4.2 via ota but the root gone, should I reroot it manual again by PC or there is some thing I can do?
[Nexus 5 Original Android Development] ScumDroid:
Yeah run the bat file again from bootloader mode and it will reroot. I had OTA survival ticked off in SU settings before i accepted the update, and my root survived the update from 4.4.1 to 4.4.2. :highfive:

---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------

No Chainfire AutoRoot does not affect OTA's, ive updated fine via the device from 4.4 to 4.4.1 to 4.4.2 while being rooted with Chainfire AR. You must have modified some system settings? Also you dont need a custom recovery to sideload, it can be done via ADB and stock recovery. You need the android sdk package installed, and you place the update zip inside the platform tools folder, then place mouse cursor inside platform tools folder and hit shift and right click on mouse then open command prompt here, then type "adb sideload blah blah blah.zip" without quotes (see here: http://www.androidheadlines.com/2013/12/download-android-4-4-2-rolling-google-nexus-5.html) Although i have a feeling if the OTA didnt work via device it wont work adb sideload ether.
[Nexus 5 Original Android Development] Philthy82:
Might have misunderstood, but if you're saying CF-Auto-Root does prevent OTA updates, you are in fact wrong. I've rooted with CF, kept the stock rom and recovery, and I received my 4.2.2 OTA this morning - installed fine too. It does unroot your phone when updating, so you'll need to reapply CF-Auto-Root after the update, but from what I understand re-rooting doesn't wipe your data.
[Nexus 5 Original Android Development] badpanda:
Same...
[Nexus 5 Original Android Development] Primokorn:
I thought that modifying system files breaks OTA updates and the su binary is a system modification so...

But nice to know that it works even with CF-Auto-Root.
[Nexus 5 Original Android Development] LexLuth0r:
I have restored to the factory image but now I want to root again. The phone is already unlocked so instead of using this script is there a way I can just install SuperSU (without custom recovery) via fastboot?
[Nexus 5 Original Android Development] KnieveI:
Just use CF root again.

Won't wipe anything if you are unlocked.

Knievel
[Nexus 5 Original Android Development] LexLuth0r:
Will probably end up doing it this way but thought there might have been a way to install it via fastboot. I want to get use to commands instead of using scripts.
[Nexus 5 Original Android Development] wixi909:
Awesome! Rootet and unlocked in notime! However I have huge battery drain now, running stock, cpu and batterystats looks normal :/

:eek:weird
[Nexus 5 Original Android Development] jeffreii:
I used CF Auto-Root to Root my Nexus 5 with 4.4 when I got it a month ago. Since then I have done no modifications, no custom recovery, just stock-rooted.

I took the OTA from 4.4 to 4.4.2 yesterday and lost root - did not try any sort of survival mode.

Afterwards, I ran CF Auto-Root again to re-root. The procedure showed a success. Upon rebooting, there was no SuperSU app and root did not work. However, I simply installed SuperSU from the Play Store, ran it to update the binary, then rebooted my phone and I have full root again.

Thanks again CF!
[Nexus 5 Original Android Development] mainsail:
Me too.. Updated to 4.4.2 and reinstalled SuperUS from PlayStore and updated binaries. All works ok again. I have stock rom. Received NX5 2 day ago.

F
[Nexus 5 Original Android Development] LexLuth0r:
This is crazy, I flashed my phone to stock last week as wanted to receive the OTA without root/custom recovery. Waited for over a week, kept on clicking the update and nothing. Decided today was going to just flash CFRoot and sideload the update but I didn't even need to cause soon as I had just installed SuperSU after rooting I noticed a notifcation saying an OTA was available. Updated, no problems. I dunno if it was connected to rooting or just real good timing but thought I would share in case there are others in a similar situation.
[Nexus 5 Original Android Development] Wostl:
Hi,

i have done the autoroot and I think during the process everything was ok.

But now sometimes the phone plays some systemsounds in a loop. has anyone experienced something similiar or is there a solution for this?

Maybe wiping all data again may help?
[Nexus 5 Original Android Development] remixkilla:
I am having trouble i keep getting "The system cannot find the patch specified" i get this when i am trying to run c4 auto root
[Nexus 5 Original Android Development] Wostl:
Also I downloaded the rom-manager and tried to install cwm. CWM was downloading inside rom-manager but get stuck while flashing...

I think there went something wrong while doing the autoroot routine. Is there a short way to reset all and do it again?
[Nexus 5 Original Android Development] Agent_Adodas:
Easy as 1,2,3. worked great on Nexus 5 stock all.

thanks a lot.
[Nexus 5 Original Android Development] nike0518:
does cf auto root trip the flash counter?

I already used it to root my nexus and i used "bootunlocker for nexus devices" app to lock the bootloader again too,

I have not installed a custom recovery either and was wondering if the flash counter got tripped when i used cf auto root?

I have insurance on nexus 5 and dont want them to see that if something happens
[Nexus 5 Original Android Development] Primokorn:
CF-Auto-Root already unlocked your BL. No need to use Bootunlocker.

Regarding warranty purposes you have to reset the tamper flag. (Guide)
[Nexus 5 Original Android Development] inamak:
For some reason this is not working for me - used CF Auto Root with 4.4 and went fine. No mods etc. Took the OTA to 4.4.2 and lost root.

Re ran CF-Auto Root, and looked like it worked but no SU. Installed SU from Play store, but when I try and update the binary i get the following error:

Gaining root access.....fail!

Any ideas why I can't get this going again on my phone?

EDIT - Nevermind I just used fastboot to install TWRP and flashed SU zip - works great now.
[Nexus 5 Original Android Development] NWLONEWOLF87:
Thanks bro! Six pack coming your way :)
[Nexus 5 Original Android Development] Miniqpa:
Does this Method works on a stock 4.2.2?

Got root + recovery on 4.4 and flashed a stock factory image without wipe do got the 4.2.2 OTA running.

SuperSu is of course not running any more.

So can i just do CF-Auto-Root again or should i do the flash SuperSuxxx over Recovery Method?
[Nexus 5 Original Android Development] saman0suke1:
If I root my Nexus 5, will I keep receiving official updates notifications and being able to actually update them? thanks!
[Nexus 5 Original Android Development] Miniqpa:
Yes but root is gone and you have to root again.

If you also install a custom recovery you are not able to install them properly.
[Nexus 5 Original Android Development] JJMT:
Well, I can say that I rooted my N5 using CF-Auto_Root, but did not replace stock recovery. I then upgraded to SuperSU Pro. A few days ago I updated to 4.4.2 via OTA (direct from 4.4), and root was retained. Easy. :good:
[Nexus 5 Original Android Development] saman0suke1:
Thank you both for the information, If I upgrade to 4.4.2 without being root, will I be able to root after? thanks!
[Nexus 5 Original Android Development] stuart0001:
Yes
[Nexus 5 Original Android Development] :
Good to know this works, only reason I bought the supersu pro, Rooted after 4.4.2, stock rom, stock recovery, so I should be able to just do OTAs and keep root for all future updates unless something changes drastically?

Not using xposed as I heard this does not work with ART, and would have to disable everything before OTAs? - as long as I don't change much OTAs will work?
[Nexus 5 Original Android Development] f0olyc0oly:
Hi everyone. I just got my Nexus 5 last weekend. I'm planning to root it in order for the ps3 controller to work wirelessly.

I have a noob question, since the CF will only make the device "root". Can I install the custom recovery on a separate date?

First, I just want to test out the rooted device.

Also, if I use the CF to root will I still receive OTA update and will it work properly? Meaning no need to reroot the device again and the updates would be downloade and installed properly without any problems.

Based on what I have read from previous posts, that it is better to have a custom recovery in case the OTA update spoilt the system (hopefully not :eek:)

Edit: Will it also work on 4.4.2?
[Nexus 5 Original Android Development] Primokorn:
All answers have been already posted. To sum up:

* you can install a recovery custom when you want

* you will receive OTA and need to root again

* CF-Auto-Root works with 4.4.2
[Nexus 5 Original Android Development] f0olyc0oly:
Thanks Primokorn. Actually just finished reading all the posts from this thread. Wew!

Sorry for the advance comment without reading the other posts.

Will try to root my N5 this week and let you know guys.

Thanks as well to Chainfire. If it works, I'll buy your paid version. :D
[Nexus 5 Original Android Development] Chad_Petree:
Hmmm this is weird, I used the mac toolkit to root my device, and it appeared to be rooted but for example I installed adblock, but as soon as I opened it, it froze, my apps were taking forever to install on the play store and when I tried to use root checker it wouldn't tell me if my device was rooted, it says ""please wait for root checker to complete. System appears to be running very slow" I flashed the stock kernel with TWRP and then flashed CF-auto root but I still face the same situation , what could be wrong? :crying:
[Nexus 5 Original Android Development] Ugalde97:
Mine stays at <Waiting for Device> any idea?
[Nexus 5 Original Android Development] Primokorn:
Did you boot your phone into fastboot mode? Did you install fastboot on your PC?
[Nexus 5 Original Android Development] 4s8kalz:
Yes, rooted! :good:

Is it possible to un-root?
[Nexus 5 Original Android Development] Agent_Adodas:
^

look inside SU options, theres a setting for unroot.
[Nexus 5 Original Android Development] f0olyc0oly:
I'm trying to root my n5 now. I boot the device in bootloader mode and plugin the usb to my laptop. But windows detected the device and said driver is not installed.

EDIT: nvm, manged to make it worked! thanks chainfire, downloaded as well your paid version of SuperSU!
[Nexus 5 Original Android Development] Danub:
So if rooting through this method how would I install Franco kernel afterwards? Do I need to install a custom recovery? If anyone can link me a tutorial it would be greatly appreciated
[Nexus 5 Original Android Development] Enddo:
i root. then install 'rom manager' from the play store. setup the CWM recovery and then make a backup

then i use the paid franco app to let it auto flash the kernel, but you could boot to bootloader and flash it with adb for free.
[Nexus 5 Original Android Development] Miqueas111:
Hi, all, sorry to ask, but I only want root access. So if follow this steps to root, am I going to be able to update via OTA like normal?

Thanks in advance. I've buy this device to have the new about Google, so no point for me if rooting I loose this.

Thanks.
[Nexus 5 Original Android Development] bornoxt:
Yes, you are.
[Nexus 5 Original Android Development] digibucc:
thanks so much dude worked a charm :) win 8 x64
[Nexus 5 Original Android Development] roflwaffles:
I underwent the CF Auto Root process but I can't tell if my device is rooted. My boot loader is unlocked but I can't use stuff like Titanium Backup so I'm assuming it's not rooted.

If I do this process again, would I have my data wiped?
[Nexus 5 Original Android Development] Laurentyu1995:
You can see if your device is rooted or not by using an app: root checker. If you don't see SuperUser in app drawer install it from Google play
[Nexus 5 Original Android Development] roflwaffles:
Yeah I tried that and it said it wasn't rooted although I'm not sure what could have happened. Maybe its because I didn't have Android SDK instaled? In any case, does running CF Auto Root on an unlocked phone erase the preexisting data on it?
[Nexus 5 Original Android Development] rocksyjj:
when my nexus 5 arrives first thing will be this to run on it thanks alot chainfire
[Nexus 5 Original Android Development] Laurentyu1995:
My advice it's to uninstall existing drivers from your PC then download Google drivers from official android page, but you can find how to install them properly... just google it. If your device it's unlocked i don't think that CF AutoRoot will erase your data
[Nexus 5 Original Android Development] sheraz1015:
genius

Yes,you are a true genius man . i love your work , u r the greatest android dev who helps others to customize their devices and i have just rooted my nexus sucessfully using your rooting tool kit man love u

u r my heart winner
[Nexus 5 Original Android Development] bluedonut:
Long-time Android fan, previous rooter on Sprint Morotola Photon 4G. Then the Photon crashed a couple times and I never rerooted.

Just upgraded to Nexus 5 and am interested in rooting again to gain access to wireless hotspot.

I'm confused in reading over the posts on whether or not rooting will factor reset my Nexus 5 or not. I don't have a ton of apps and new "stuff" on my Nexus 5 that I didn't have on my Photon, but enough that it would be a pain to reinstall it all over again.

If it does factory reset, what's the prescribed method of saving the current data/apps/texts/pictures for easy reinstallation once rooted?

Thanks in advance!
[Nexus 5 Original Android Development] Carbonizarre:
Damn... anyone can help me?

I've installed every driver but my laptop can't find my nexus 5 in the fastboot mode........ dafuq?

I need help :(
[Nexus 5 Original Android Development] lennydude:
Try using the Wugfresh tool kit. They have a advanced driver help section. That may do it especially if your having those types of issues.

BTW: hope your using a Windows laptop.
[Nexus 5 Original Android Development] Carbonizarre:
Okay ? I'll try it..

Of course Windows Laptop

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] madroamer:
Can confirm whether apps & files get lost if try this ?
[Nexus 5 Original Android Development] lennydude:
This has been answered a few times already (actually is written very clear on first page) but........

This will unlock your phone which will do a complete factory reset. You will loose everything on the phone.

You need to do a complete backup prior to doing this.
[Nexus 5 Original Android Development] sGollSv:
does cf-auto-root work with android 4.4.2 ?
[Nexus 5 Original Android Development] Carbonizarre:
Yes :)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] robstunner:
For some reason it doesnt work on 4.4.2 for me. the bat file works all the way, however nothing after reboot

Edit, nvm worked
[Nexus 5 Original Android Development] madroamer:
It can be a numb quest pl suggest a good backup option or app or way to do
[Nexus 5 Original Android Development] Primokorn:
Helium app to backup user data.
[Nexus 5 Original Android Development] yodeiu:
So, will this app wipe all my apps from my never rooted stock rom Nexus 5? If i remember correctly when I rooted my Galaxy S2 it didn't wipe anything.

I wanna root, but I'm too lazy to install all my apps again as I'm not planning to change the ROM.
[Nexus 5 Original Android Development] Laurentyu1995:
This app will unlock your bootloader (if it's not unclocked; stock it's locked) and unlocking of bootloader need an wipe of all your apps including media (photos,videos,etc) that you have stored on your phone...after this it should be like you bought from store but rooted. To be more explicit,first you need to unlock bootloader,then root and then if you want (but not using CF-Autoroot) to install a custom recovery, a custom kernel....

Edit:I've also rooted my S+ and my friend S2 and yes rooting them doesn't wipe anything because they don't have a locked bootloader..
[Nexus 5 Original Android Development] yodeiu:
Thank you for the info, sucks that I have to wipe everything, guess I'll have to deal with it.

Sent from my Nexus 5
[Nexus 5 Original Android Development] gaveup:
I ran the tool (OSX Mavericks) and it looks like it unlocked everything as it should (formatted data as well). But I am not seeing the proper binaries for root installed.

Downloaded superSU and it is giving me the error:

"No SU binary installed...etcetcetc"

Did I miss something? Whats the next step?

Edit: NEVERMIND. Ugh. stupid mistakes lol.
[Nexus 5 Original Android Development] kiapolo:
Thank you! Downloaded the USB drivers and everything went smoothly!
[Nexus 5 Original Android Development] samsgun357:
I got a few questions. The OP says

cf-auto root is for root beginners and is for stock firmware. Is this method not recommended if I want to flash a custom recovery and ROM? If not why?

I actually just rooted my n7 flo last night with this method, super simple, thanks!

I then flashed cwm recovery on it. After the flash and before boot it asked to fix root /system/xbin or something which I did. Can someone explain this, why it asked that? I've had quite a few devices I've rooted etc but first time I've seen this. Thanks

-Gunny

Its only weird if it doesn't work!
[Nexus 5 Original Android Development] mandeep294:
no u can use this method even if u want to flash custom recovery.. its the best method for rooting
[Nexus 5 Original Android Development] samsgun357:
It was definitely easy enough that's for sure.

Its only weird if it doesn't work!
[Nexus 5 Original Android Development] happymfeet:
Just making sure but after using this tool, can I install rom manager and use that to flash a custom recovery? I'd like to know if there is any consequences to doing it this method or if it's even possible this way?
[Nexus 5 Original Android Development] Laurentyu1995:
I think that CF-AutoRoot it's the safest method for rooting Nexus 5 ( also another devices). After this for sure you'll can use any app that requires root. Personally I've installed a custom recovery using https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools . It's your choice ;) . Good luck !!!

If you are using this properly and have correct drivers installed i don't think there are bad consequences... as you know your warranty will be void
[Nexus 5 Original Android Development] occtec:
If you are unsure and are a newbie then head over here http://xdaforums.com/showthread.php?p=47247429 download the toolkit to your pc, make sure you install the device drivers first then away you go ;) simple and straight forward.

Cheers :)
[Nexus 5 Original Android Development] lennydude:
+1

This kit is awesome :)
[Nexus 5 Original Android Development] jjhiza:
I haven't used CWM in a while, but it may look for root in xbin by default. I'll have a look through the file system, but we might be using *bin* and NOT xbin, which might cause your issue.

*update: the N5 uses sbin, not xbin, so that's probably where you're running into issues with your recovery. Check for settings in the recovery, that would allow you to change where CWM looks for root. If you can't find anything, ask in the recovery thread, and if no solution is available, flash TWRP instead. Hope this helps. :thumbup:

While I agree that recoveries can be flashed using this method, I disagree with your premise that this is the BEST way to root. This is just my opinion, but I really think that learning how to root manually is an invaluable experience, and that new users are cheating themselves if they don't learn that process.

For this reason, my feeling is that new users should never use toolboxes the first time around, especially with a device that is so easy to root manually. Toolboxes should be used to save you time, but only after you know the manual process. I've seen a lot of users in my day, run into issues that could be easily resolved, if they only understood how rooting and flashing really works... Just my two cents though. :)
[Nexus 5 Original Android Development] occtec:
Your welcome, don't forget to hit 'thanks' ;)
[Nexus 5 Original Android Development] RichCowell:
Hi All,

Had quite a lot of Android devices now, but never rooted them...

I got a Google Nexus 5 before Christmas and looking at Rooting it now...

One quick question - on the original post it says:

Does that mean if it's not been rooted before? Will I lose everything by using this on my phone? Also, will it wipe all data or just the system?
[Nexus 5 Original Android Development] Primokorn:
If your booloader isn't unlocked CF-Auto-Root will unlock it so all your personal data will be wiped: videos, mp3, files... Backup first!!! ;)
[Nexus 5 Original Android Development] RichCowell:
Thanks, I've never used a backup thing either, so just do things manually, I'll try now it's Rooted though...

Is it better to lock the bootloader once it's rooted or just leave it unlocked?
[Nexus 5 Original Android Development] Primokorn:
Let it unlocked until you sell your N5 or return it to Google.
[Nexus 5 Original Android Development] skygunner:
my N5 is outright from play store, so do I still have to unlock it before root it?

Can I just root it without unlock it?

I don't want to do a backup of the data at the moment
[Nexus 5 Original Android Development] musclehead84:
You have to unlock it to root it.
[Nexus 5 Original Android Development] lowrider82:
Hello I just used cf auto root on my nexus 5 4.4.2 and even though it looked like it all went well and if I go on bootloader it says UNLOCKED, I don'thave root rights andthere is no supersu. I tried downloading and installing supersu, but when I open it, it says there is no root.

What can I do to fix this?
[Nexus 5 Original Android Development] mandeep294:
one of the methods to fix this is running the .bat file again.. it will not erase the data this tym and root access will be provided
[Nexus 5 Original Android Development] halojinx:
thanks for the root, tried adb pushing files to device and it did not work correctly, tried your method and worked great on my phone. Thanks.
[Nexus 5 Original Android Development] jonnypommy:
I'm running into a problem rooting.

I run the windows bat but i get the error "The system cannot find the path specified"

I have tried with and without running as admin.

I have tried with usb debugging and without

tried different usb ports

.... and yes I'm in fastboot mode

any ideas?

am I doing something wrong?

thanks in advance.

____________________________________

Finally fixed it.

I changed my cable to the proper Nexus cable and didn't run as admin and it worked.

Thank you Chainfire for your work.
[Nexus 5 Original Android Development] jtrentha:
Quick question: I've lost root running OmniRom nightlies - can I run CF-Autoroot again to gain root in this ROM without encountering issues? Thanks in advance.