yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] mihir_s9:
thanks to all of you,

yes towelroot worked without me loosing all my data.

https://towelroot.com/

its a simple download install and run.

:D:cowboy:
[Nexus 5 Original Android Development] Mohamed Yaser:
Really helped me alot Thanks for that man
[Nexus 5 Original Android Development] carmatana:
Just rooted my new Nexus 5, everything went perfect as in the instructions
[Nexus 5 Original Android Development] Chitown021:
I know I've got to be missing something really small. I can't get my N5 rooted. I did it before but my phone went bad (the vibration mechanism came loose so T-Mobile sent me a replacement). I have my phone in fastboot mode but when I run CF Auto Root it just sits there "Waiting for device"
[Nexus 5 Original Android Development] EPayne123:
Have you installed the drivers? I would recommend you use Towelroot to root but you will need to install drivers anyways to ensure that you can return to stock if you mess something up or something goes wrong and trust me. . . it is easier than you think! If you are going to use CF then either A you may as well use Towelroot OR go ahead and do everything yourself. Towelroot you don't lose data and manually rooting means you have to install drivers which you need to anyways as a precaution and you really do NOT want to skip this step.

Have you installed drivers yet? I can't stress enough how important it is to have drivers installed and you can even have the 4.4.4 image on your machine also unless you are looking to go back to a previous version of Andy in the event that something goes wrong and you must return to a stock state.
[Nexus 5 Original Android Development] Chitown021:
I'm pretty sure I have. My computer recognizes my other, rooted N5 and it recognizes the new one when I boot it up normally. I'll try and install them again tomorrow.
[Nexus 5 Original Android Development] Circaflex:
you know, that is pretty disrespectful. this is the CF root thread, you could've just PM'd the user with the idea to use towelroot instead. CF root is proven and Chainfire has done so much for this community
[Nexus 5 Original Android Development] EPayne123:
Well, I'm gathering that your reply is hypocritical considering "you could've just PM'd" me and talked to me politely but I guess you wanted to be disrespectful yourself. Just saying, have a good night.
[Nexus 5 Original Android Development] Wakamatsu:
I don't think even you believe this garbage you just posted.
[Nexus 5 Original Android Development] Chitown021:
I feel like such an idiot, it was a driver issue. I thought I had already installed them because I had rooted my original device back in Feb but I also installed Windows 8 on my computer at some point this year so I probably lost it. As soon as I installed the driver CF Auto Root did its thing!

Now my next step will be returning the old device to stock before returning it. I was running SlimKat on my old phone.

Thanks.
[Nexus 5 Original Android Development] Austie1337:
I'm getting the Nexus 5 tomorrow. Does CF-Auto-Root still work for the latest version of android on the n5? I'm assuming it does, but I don't want to screw anything up. Thank you!
[Nexus 5 Original Android Development] jd1639:
If you're just getting the device the best place to start is here

http://xdaforums.com/showthread.php?p=53439068
[Nexus 5 Original Android Development] Austie1337:
Thanks so much!
[Nexus 5 Original Android Development] Cdbarron727:
i unlocked through NRT

[MENTION=631273]Chainfire[/MENTION] will this method work for me if my bootloader is unlocked already? Will it bypass that step and proceed with rooting?
[Nexus 5 Original Android Development] Primokorn:
Yes. It will install root access without touching the BL.
[Nexus 5 Original Android Development] gooselk:
Hi,

please help me out here as I'm a bit lost in translation. I rooted using [MENTION=631273]Chainfire[/MENTION]'s excellent method. Everything worked fine. Now with Lollipop coming up I'm wondering what steps I must take to update. I will lose root in that instance, I know, but can I update OTA?

As far as I understood OTA works only if the stock recovery is still intact and CF doesn't touch the recovery right? Man I'm confused... :confused: :o

Please give me a little heads-up on that :)
[Nexus 5 Original Android Development] jd1639:
See this thread http://xdaforums.com/showthread.php?p=56472244
[Nexus 5 Original Android Development] flex360:
i had to do mine manually

thanks :)
[Nexus 5 Original Android Development] Sukrith:
Ive been using cf auto root on my N5 with lrx21o for a day now and it lags like hell... during transitions... i thought it was google... but flashing stock kernel made me realize that there is something wrong with cf patch.. please fix it...:highfive: :fingers-crossed:
[Nexus 5 Original Android Development] VisionNN:
Lol good to know. Im just going to leave this here and wait until the lag is fixed. Lollipop is so smooth right now, ill live without root for a bit haha
[Nexus 5 Original Android Development] Monnyaa:
I updated to Lollipop and attempted to root. Root Checker Pro says that I have root access yet Titanium Backup Pro says it cannot get root even though access is granted by SuperSU. Titanium says it's trying to use the /system/xbin/su command. Upon further investigation Root Checker says that /system/xbin/su is correctly configured. Furthermore other apps such as Root Explorer and Busybox are working correctly.

Can someone confirm that they can get Titanium backup to work after rooting using CF-Auto Root? I have tried reinstalling Titanium several times but it's all the same. Titanium was working fine before the OS upgrade too. Thanks

Edit: Also, I have seen no performance issues after using CF-Auto.
[Nexus 5 Original Android Development] jd1639:
You need the beta of tibu that's for android l
[Nexus 5 Original Android Development] shhbz:
find it here https://twitter.com/titaniumbackup
[Nexus 5 Original Android Development] gartner83:
I don't understand what could be the reason:rolleyes:. It doesn't include any custom kernel.
[Nexus 5 Original Android Development] Sukrith:
In case you haven't read about root on Android L... Something in the kernel actually messes the root access as it doesn't let it run during boot or something... This was done to make android secure... And this in turn has caused CFAR to mod the kernel to make root access possible... The boot as a whole is not changed but parts of it are... This is what causes the lag I guess...
[Nexus 5 Original Android Development] gartner83:
Non-permissive kernel issue? Yes, I've read something about it. Thanks for the explanation:good:.

So you just reflashed boot.img and nothing else to go back to stock?
[Nexus 5 Original Android Development] sweetmeroy:
After downloading the zip file, unzip it to the root folder of disk e and run the root-windows.bat, but I only got the error "The system cannot find the path specified". Then I ran the cmd as admin, copied the command line "tools\fastboot-windows.exe boot image\CF-Auto-Root-hammerhead-hammerhead-nexus5.img" and ran the command. I skipped the unlock command because my nexus 5 has been unlocked for a very long time. It went on fluently.

But when using Titanium Backup and fqrouter , the apps recognise my phone as unrooted. Is it because my skipping the unlock step?
[Nexus 5 Original Android Development] androidsnax:
you may have to use the test Titanium app - worked for me... Ill have a look for the link and edit...

Edit:

https://twitter.com/titaniumbackup
[Nexus 5 Original Android Development] VisionNN:
So does anyone know why it says root was successfully done, but i cant open the super su app, the test version of titanium backup even says theres no root. Any suggestions?

Edit: nvm, reflashed and everything is working now.
[Nexus 5 Original Android Development] Sukrith:
Ya... But the su app will be in the system partition... I also read that now on ota will check the partition as a whole instead of the files required so having that wont let us flash future otas...
[Nexus 5 Original Android Development] gartner83:
Maybe if you completely remove SuperSU through it's settings it will delete itself. Didn't try it but I know there are some options for uninstallation.
[Nexus 5 Original Android Development] MasterTB:
There's something wrong with L and Root.

I have done this process with CFAR before and never experienced issues, BUT with L, most of the apps that use root don't work as they should.

For example, App Quarantine Pro doesn't quarantine ****. All apps return to the launcher after the order to go to quarantine. Meaning something is wrong.... but the developer for AQP doesn't list issues with the app so it must be a root problem.

TWRP manager can't reboot the system or go to recovery or to bootloader, it asks but no matter how many times you press "yes" nothing happens..

Also, root file explorers are not working properly...

And so on with other apps.

Any ideas? Do I need to re-root??
[Nexus 5 Original Android Development] Sukrith:
Its the issue with the new root policies in L... http://xdaforums.com/showthread.php?p=56123703

Flash this... I got es working using this...
[Nexus 5 Original Android Development] MasterTB:
Thanks. I'll try it.
[Nexus 5 Original Android Development] cybercrash:
Hello,

is there any way to unroot my freshly rooted Nexus5 + Android 5.0!

...just in case google gives out an Android 5.1 and I can't flash because of root.
[Nexus 5 Original Android Development] jd1639:
If you're that worried why did you root in the first place? There are a number of ways to unroot. I'd start with the full unroot option in the supersu app

---------- Post added at 11:22 AM ---------- Previous post was at 11:22 AM ----------
[Nexus 5 Original Android Development] ltredbeard:
Posts 726 and 727 confused me. Anyone know if the current script edits the kernel or does it only install the SU file and app? It was my understanding that L required the kernel to at least be modified.
[Nexus 5 Original Android Development] jd1639:
It edits the kernel
[Nexus 5 Original Android Development] DiST_EL:
My phone had also some pretty bad lag moments after I rooted and installed elemental X kernel. Now I am running full stock (unrooted) and everything is fine.

Could it really be CF autoroot causing those lags? Flar wrote that it's likely not an issue of his kernel. I don't know.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Sukrith:
Its probably something to do with the files conflicting with stock kernel... Ive not had an issue since i put elemental x except for partion errors and whatsapp not installing and all... Im really wondering wheter to keep root or not... But ive decided to wait for the first new ota to decide... If its a real pain to update... Then ill revert back!!! :fingers-crossed:
[Nexus 5 Original Android Development] qsuscs:
How does this actually work?

I know the “classic” procedure from my Galaxy Nexus: unlock the bootloader, flash a recovery, mount /system rw and place /system/(x)bin/su and $ROOTAPP.apk. This doesn’t seem to work any longer like this with Lollipop due to SELinux. I read something about patching the Kernel, but what is actually done? Is the source code available?

I think to understand that a bit better, I need to understand how the Nexus 5 (and other Android devices, I guess the differ from manufacturer to manufacturer) actually boots, it surely won’t be OpenBOOT or UEFI …

This (not understanding what is done) is also the reason why I have not rooted yet (but I did unlock the bootloader; I needed to do so to install Lollipop anyway and I just kept it unlocked, just in case …), I somehow don’t trust it—but why did I trust TWRP and SuperSU or later AOKP for my Galaxy Nexus then?
[Nexus 5 Original Android Development] monelli:
Hi, i have a noob question:

I installed CF-Auto-Root (http://autoroot.chainfire.eu/) and root work fine for me.

But this path the kernel (boot.img) and install supersu 2.20. Ok???

If i use an other kernel, for example franco, (it is yet patched) i use CF-Auto-Root or I only flash supersu??

(http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133)

thanks
[Nexus 5 Original Android Development] vacsed:
My Nexus 5 is encrypted, will the latest CF-Auto-Root still work with Android 5 or will it fail the same as custom recoveries do for the moment, as they don't know how to handle the new Lollipop encryption?
[Nexus 5 Original Android Development] Segarra:
Hello, to everyone... does it works, with Lillipop?
[Nexus 5 Original Android Development] Smerks:
I got the OTA of lollipop and rerooted using CF-Auto-root and these are the messages Im getting even after manually installing supersu

This is when I go to the supersu app itself

This is Titanium backup

And this is Adfree
[Nexus 5 Original Android Development] CDB-Man:
So, I installed the stock 4.4.4 recovery from the KTU84P image. Sideloaded the Lollipop update. (per the Nexus 5 OTA thread, the Lollipop update only works with stock recovery: http://xdaforums.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217) After that, I had lost root.

I booted the CF-Auto-Root-hammerhead-hammerhead-nexus5.img via fastboot. Since I was already oem unlocked from before, I skipped that step.

The result, while it looks like I'm rooted, it seems it refuses to install su at system/bin/su. xbin/su still existed from before installing the OTA.

What can I do to get su onto system/bin/su ? Below is the results of Root Checker:

Super User Application Status:
SuperSU application by Chainfire - version 2.16 - is installed!

System File Properties for Root Access:
Standard Location
Check Command: ls -l /system/bin/su:
Result: /system/bin/su: No such file or directory
Analysis: File /system/bin/su does not exist.

Standard Location
Check Command: ls -l /system/xbin/su:
Result: -rwsr-sr-x root root 100452 1971-01-01 03:24 su
Analysis: Setuid attribute is present and root user ownership is present. Root access IS correctly configured for this file! Executing this file can grant root access!

Alternative Location
Check Command: ls -l /sbin/su:
Result: /sbin/su: Permission denied
Analysis: File system permissions restricted and denied access.

Alternative Location
Check Command: ls -l /system/xbin/sudo:
Result: /system/xbin/sudo: No such file or directory
Analysis: File /system/xbin/sudo does not exist.

Root User ID and Group ID Status:

System Environment PATH: /sbin /vendor/bin /system/sbin /system/bin /system/xbin

ADB Shell Default User:
ADB shell setting for standard access, stored in default.prop, is configured as: shell (non root) user - ro.secure=1

Results provided on your Nexus 5 - Android 5.0 device by Root Checker Pro version 1.3.9 from joeykrim in the Android Market - http://goo.gl/NcnHn

EDIT: After installing Chainfire's temporary fix boot.img (https://plus.google.com/+Chainfire/posts/ZzXaU1W7Uzm) and using Wug's NRT (http://xdaforums.com/google-nexus-5/development/toolkit-wugs-nexus-root-toolkit-v1-8-3-t2517778) to help out, I managed to get root back!
[Nexus 5 Original Android Development] dannyella:
Coming from CM11. Flashed Android 5.0 stock images and BETA-SuperSU-v2.27 via fastboot before 1st boot and no issues so far. All my root apps are working properly. :good::good:
[Nexus 5 Original Android Development] Smerks:
Is beta-supersu a part of CF Auto root or have something to do with CF? Can you show me where this on the CFAR site is so I can try it?
[Nexus 5 Original Android Development] dannyella:
With beta 2.20 to 2.26, you needed to flash CF autoroot which contains a modified boot.img. But with latest beta, 2.27, you need not flash CF auto root. It works with stock kernel unmodified.

http://download.chainfire.eu/630/SuperSU/BETA-SuperSU-v2.27.zip

Hope this clears things up for you.
[Nexus 5 Original Android Development] TheBloodEagle27:
Man, thanks so much, I really wish there was a way to root without losing data, like towelroot.apk in 4.4.4 though...
[Nexus 5 Original Android Development] Smerks:
So this is the only way to make CFAR work with lollipop at this time?
[Nexus 5 Original Android Development] jd1639:
You can either use cfar or flash the beta zip in twrp. Either works for me.
[Nexus 5 Original Android Development] Smerks:
I have already used CFAR and as my above posts state it has not worked as intended. Can you clarify what you are telling me to do? I do not have TWRP anywhere on my phone as I want it as close to stock as possible but just rooted.
[Nexus 5 Original Android Development] yabadabadooo:
Hey guys dont know where to ask. Ive dualbooted Android L. Many root apps do work but one app dont work. Ive tried cf autoroot, updated to latest SU but it still wont work.

Is this a app developper issue? Ive contacted the dev but he dont answer :(
[Nexus 5 Original Android Development] jd1639:
What app is it. Most likely it's an app issue not a root or os issue
[Nexus 5 Original Android Development] yabadabadooo:
Xmodgames
[Nexus 5 Original Android Development] jd1639:
It says it doesn't support art mode. That's the problem. Android 5.0 uses art only
[Nexus 5 Original Android Development] Smerks:
Im still not able to use root and do not want to put TWRP on it. Is there a planned update for CFAR that incorporates the new supersu?

So what is the answer to getting root working aside from installing TWRP and using the beta super-su which states it has a higher chance of bootloops than usual, which i cannot chance with my only phone.

What I think I would really like to do is just roll back to kit kat and leave that as it was, since lollipop my pretty vanilla phone works like crap and now without root Im not even able to use some of my apps like titanium backup and adfree but Im at a loss as to what to do. Can someone please give me some guidance as all I want is a rooted Nexus 5 phone with no other modifications (aside from the necessary ones for root to work)
[Nexus 5 Original Android Development] jd1639:
Just boot twrp, don't install it. fastboot boot recovery.img where recovery.img is the twrp image file. Then flash supersu v2.30 in twrp. Reboot and you'll be rooted and still have the stock recovery

Rolling back to kk is going to be more of a hassle as you'll probably have to wipe your phone to get it to work.
[Nexus 5 Original Android Development] Smerks:
So Im assuming there will be no update I can just wait for to CFAR to incorporate this new supersu that actually works? And this is my only way to remedy this, correct?

If so then where do I get this recovery.img? I do not see it on the CFARs site.

Im quite lost at this point and kind of wishing I never rooted using a quick tool so as to end up this lost when it stops working.
[Nexus 5 Original Android Development] jd1639:
Get twrp from here http://techerrata.com/browse/twrp2/hammerhead
[Nexus 5 Original Android Development] Smerks:
Sorry to be a pain but is there someplace with a step by step guide to doing this as I picked an autoroot tool due to my knowledge being limited in the 1st place, so something that explains it in a bit of a more step by step fashion would be great.
[Nexus 5 Original Android Development] ironia.:
chainfire wrote "SuperSU v2.35 is rolling out on Play as we speak (Amazon will also be updated soon). The flashable ZIP is available via http://download.chainfire.eu/supersu immediately as well. All CF-Auto-Root's have already been updated."

here: https://plus.google.com/+Chainfire/posts/S5zoKTzKUW1
[Nexus 5 Original Android Development] jd1639:
See this http://xdaforums.com/showthread.php?p=47025283
[Nexus 5 Original Android Development] omerjerk:
Lollipop ?

Does this method works on Lollipop ? :confused:
[Nexus 5 Original Android Development] xXxNeXuSxXx:
Yup
[Nexus 5 Original Android Development] tenf00t:
Hey guys, let's say I flash 2.36 via TWRP using fastboot boot recovery.img. Once I'm rooted, will I be able to keep TWRP as my recovery image or will it still be overwritten by the stock recovery everytime I reboot?

Thanks
[Nexus 5 Original Android Development] jd1639:
If you just boot it, no. Use fastboot flash recovery recovery.img if you want to keep twrp. Where recovery.img is the twrp recovery image
[Nexus 5 Original Android Development] Smerks:
Thanks very much, all is well.
[Nexus 5 Original Android Development] tenf00t:
Never mind, when I first flashed TWRP on lollipop a couple of weeks ago, it would go away after I rebooted. Maybe I was tired and was just entering fastboot boot???

But I searched to see if that was a new problem and seem to remember finding an article stating that a custom recovery would be overwritten after a reboot with the stock recovery on lollipop... Maybe I was still tired.

Anyways I never reattempted to reflash TWRP until now and, well... it works fine. Sorry about that... :eek:
[Nexus 5 Original Android Development] abimael08:
why the hell does CFAR keep running every time I try to go into RECOVERY!!!!???? #help?
[Nexus 5 Original Android Development] veketash:
Future OTAs

I have a simple question: If I root using CF Auto Root on completely stock Lollipop, will I be able to receive and install future OTA updates? If yes, how?
[Nexus 5 Original Android Development] jd1639:
If everything else is completely stock, yes. You'll lose root with the ota though
[Nexus 5 Original Android Development] Ph0Xy:
Will the ota update wipe everything?

And will re-rooting after the OTA wipe everything, just like rooting for the first time does?
[Nexus 5 Original Android Development] jd1639:
Ota will not wipe anything. And rooting won't either.
[Nexus 5 Original Android Development] Adrianrff:
Hi, I'm having some problems installing the drivers in my computer.

I think I managed to do it, several times (If I can boot into bootloader through adb, it menas the drivers are installed, right?), but soon after the device is recocgized, and I boot into bootloader through adb, Windows gives me the same message it gives me when the drivers are not installed. It's like it forgets. So when I try to run the root-Windows.bat file, I get stuck in "waiting for device".

Any ideas on what might be going on here?

Thanks in advance
[Nexus 5 Original Android Development] satamateur:
[MENTION=4858937]jd1639[/MENTION]

Is any problem do factory reset on stock lollipop after root with cf-auto root,waiting too long on erese screen

Thanks
[Nexus 5 Original Android Development] Hand76:
Thanks man I don't have the phone yet but should BusyBox be installed in a certain path? Not sure what options there will be on the N5.
[Nexus 5 Original Android Development] melbourne408:
Massive thank you [MENTION=631273]Chainfire[/MENTION]

---------- Post added at 08:43 PM ---------- Previous post was at 08:35 PM ----------

I've always gone with busybox Pro, keeps me up to date with the latest busy in the box. :)
[Nexus 5 Original Android Development] Hand76:
No I'm saying inside busybox you have an option to install to xbin or bin or a custom location. Does it matter where?
[Nexus 5 Original Android Development] harrynghiem:
Very fast man, i am waiting from google to delivery nexus 5 is 32gb version. Thus very long time to can try it.

Thanks in your jobs
[Nexus 5 Original Android Development] m0han:
i don't own this device (yet!), but you deserve a thanks!
[Nexus 5 Original Android Development] Striatum_bdr:
Off topic. Just let the app guide you.
[Nexus 5 Original Android Development] :
Rather than just thanking chainfire you all should donate at least $1 to him.
[Nexus 5 Original Android Development] RichieRich84:
You using windows 8.1 or usb 3.0? They have issues with fastboot.
[Nexus 5 Original Android Development] nad4321:
Yes, im actually using both hahaha I'll try to use another computer
[Nexus 5 Original Android Development] RichieRich84:
Try windows 7 or XP. Hit thanks if I helped.
[Nexus 5 Original Android Development] gee2012:
Or buy his apps you need in the Play Store :good:
[Nexus 5 Original Android Development] oediv:
'Perfect thanks!
[Nexus 5 Original Android Development] ODAWGY:
To Mr Chainfire

Hey chainfire when i get my nexus 5 and i root my nexus 5 ill will be sure to donate £10 to you