yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] nleitao:
grrr let me try answer this for the third time...

As everyone else here i got the OTA update. Accepted it and it installed smoothly without any kind of problems.

After it i discovered that the root is gone. Since KitKat doesn't have reboot option on the power menu, i need root for the reboot app.

Tried reboot in bootloader, and found that the bootloader is unlocked. After that tried to reboot in recovery and found a droid with the belly open and a "no command"under it. This should mean i need to start from step 2.

Now, the recovery. Since my lost Galaxy s2, then on my faithful N7000 Note, i always used the CWM recovers and i like them a lot. Now we have this TWRP that seems to be easier to use. My question is, does it brings new things?

I'm loving KitKat and for now i want to keep stock with the ability to install OTA the new updates.
[Nexus 5 General] jd1639:
I think I understand your question, cwm or twrp are both good,, it's a personal preference. If you need to install a custom recovery use fastboot flash recovery recovery.img where recovery.img is either the cwm or twrp image. Just having root and a custom recovery will not keep you from getting and installing ota's. Deleting system apps, changing build.prop, etc is what keeps you from installing the ota. Hope this helps. If I misunderstood let me know
[Nexus 5 General] Vercion3:
This does clarify things up. Thanks!
[Nexus 5 General] nleitao:
thanks for the quick reply.
[Nexus 5 General] Wakamatsu:
Just an fyi, there's a few updates:

CW recovery 6.0.4.5

CW touch recovery 6.0.4.5

UPDATE-SuperSU-v1.85.zip
[Nexus 5 General] Vercion3:
What are the differences between just the recovery and touch recovery?
[Nexus 5 General] nleitao:
thanks. now im kicking my head on the drivers. lol formatedvthe pc, need to install them again.

touch recovery works with the touch screen?
[Nexus 5 General] aavvaallooss:
With 'touch' you don't need to prees buttons. It works touching the screen
[Nexus 5 General] Vercion3:
I heard that the recovery images were not official by the TWRP or CWM team is that true?
[Nexus 5 General] jwhyte:
There are official versions of both available.
[Nexus 5 General] Vercion3:
Do you guys recommend any apps to use for backing up my apps and data before rooting it?
[Nexus 5 General] Supearnesh:
thanks a lot for this great guide! I'm getting my nexus soon
[Nexus 5 General] aavvaallooss:
TWRP and/or Titanium BackUp
[Nexus 5 General] Supearnesh:
I used titanium backup for a while when I still made backups; if you want to keep your home screens the same, you can use Nova and backup through there. hope that helps
[Nexus 5 General] Vercion3:
I thought titanium is only for rooted
[Nexus 5 General] abaaaabbbb63:
It is. Try Helium Backup
[Nexus 5 General] nleitao:
This should be added to first post.

Also the tutorial should be corrected

were you read

adb push UPDATE-SuperSU-vX.XX.zip /sdcard/

you should read

adb push UPDATE-SuperSU-vX.XX.zip /sdcard/0

it was the only way i got the push done...
[Nexus 5 General] Vercion3:
I just did steps 1,2, 3 if i m not flashing anything, do i just click reboot?
[Nexus 5 General] jd1639:
Yes. Your rooted with a custom recovery. Way to go!
[Nexus 5 General] Vercion3:
I created a backup w/Helium but when i try to restore it after i rooted it, it says cant find any :( i do have the folder in my internal storage
[Nexus 5 General] jd1639:
Sorry. I've never used helium so can't help with that.
[Nexus 5 General] theesotericone:
What's inside the folder?
[Nexus 5 General] Vercion3:
It's just the original folders created during backup i didn't modify anything

Edit: 2 problems

1) I cannot enable widgets on my lockscreen (for Dashclock) in Xposed, i downloaded Gravity Box, Advanced Power Menu, Green Youtube, and Immerse Me

2) Even though my phone is plugged to my computer, the battery is decreasing D: HELP PLEASEEE
[Nexus 5 General] theesotericone:
Not what I asked. Let me rephrase. Does the folder have any content?
[Nexus 5 General] Vercion3:
Yea there are

Edit: 1 problem

1) I cannot enable widgets on my lockscreen (for Dashclock).
[Nexus 5 General] Primokorn:
Go to Settings > Security > Widgets > Enable widgets
[Nexus 5 General] anshmiester78900:
Guys i have been using Galaxy S2 for the last 2 years . I think we didnt need to unlock bootloader to root and install CWM to the device . But with Nexus it's necessary right ?
[Nexus 5 General] kssood:
m pretty f**ked up right now. internal storage is empty . superuser yet not installed... wiped the stock rom. no os installed cant transfer superuser to internal storage with adb. wtf m i supposed to do
[Nexus 5 General] nleitao:
try this one

http://xdaforums.com/showthread.php?t=2513701
[Nexus 5 General] hongnagtl1:
Thanks for information.
[Nexus 5 General] shikhan:
Root troubles?

I just updated to 4.4.2, and am seeing something odd.

I was on stock, rooted + twrp recovery +xposed. I removed the xposed framework, and followed this guide to update to 4.2.2. Everything seemed to go well, and I also reflashed the superSU rom, however, I no longer see the SuperSU app in my app list. I've gone back and downloaded a fresh copy of SuperSU from this thread and still nothing.

Titanium Backup still reports that I have root, but something seems wrong, as Root Explorer locks up anytime I try to do an activity that usually would have prompted for root.

Does anyone have any ideas on what might have gone wrong, or what I can do to?
[Nexus 5 General] abaaaabbbb63:
Try installing the Supersu app from the play store.
[Nexus 5 General] jd1639:
Download super su from Google play store
[Nexus 5 General] abaaaabbbb63:
First :P
[Nexus 5 General] shikhan:
Thanks - I don't know why I didn't think to look there. This worked, although it took a while for SuperSU to start working the first time.
[Nexus 5 General] jd1639:
I hate that when it happens:)
[Nexus 5 General] meteora:
quick question

I've just received my N5 today. If I first update it to 4.4.2 through OTA would I still be able to unlock BL, Install TWRP and especially root my phone through adb? or this method (esp rooting) only works on 4.4.1? :confused:

thank you
[Nexus 5 General] Vercion3:
It works. I rootrd after getting ota for 4.4.2
[Nexus 5 General] therealgiblet:
That worked and the instructions were spot on.

Had a bit of trouble with the ADB drivers getting mixed up with my S3 ones but other than that - 'FLAWLESS'....

Cheers
[Nexus 5 General] jmulla718:
Just got my nexus 5 upgraded to 4.2.2 and used this method. Works perfectly
[Nexus 5 General] TeChNoC4AzY:
Doesn't the nexus 5 have android 4.4 kitkat? Unless you are talking about a rom you installed? :confused:
[Nexus 5 General] Vercion3:
Yes but Google sent out ota for 4.4.2 to improve camera and other bugs
[Nexus 5 General] TeChNoC4AzY:
Oh well I was just wondering why he had 4.2.2 on a nexus 5.
[Nexus 5 General] jmulla718:
My bad meant 4.4.2
[Nexus 5 General] TeChNoC4AzY:
Oh Ok lol.
[Nexus 5 General] 4walls:
Try this:
[Nexus 5 General] adimos00:
Thank you for the guide, I managed to root my Nexus quite easily.

One point about the drivers.

I installed the LG Nexus 5 United Mobile Driver and although Windows could see my device, in adb / fastboot the phone was not recognised and no fastboot devices were listed. I read about a similar case in this thread, so I unistalled the driver and got the Universal Naked Driver instead, which worked perfectly.

And now I am very happy!
[Nexus 5 General] xdm9mm:
Thanks for the great tutorial... just done mine in no time...
[Nexus 5 General] DarkiKun:
Just got my nexus 5 and this was quite helpful, thanks
[Nexus 5 General] gil80:
Hi

I used the Nexus Root Tool Kit by WugFresh and it seems that I cannot access the recovery mode unless I'm connected to the PC and use this tool.

I unlocked and rooted the phone and I'd like to have the option to get into recovery mode wihtout using this tool and have my nandroid backups on the device.

Reading your OP, I got confused wheather I should restart the whole process or just download TWRP or CWM and use the Nexus Tool Kit to flash the zip and that will grant me access to recovery without the tool kit.

I'm using 4.4.2 stock rom.

Thanks.
[Nexus 5 General] jd1639:
Don't use the tool kit. Get the twrp or cwm image file and use fastboot to flash it. Boot into bootloader and use:

fastboot flash recovery recovery.img

Where recovery.img is the twrp or cwm recovery image
[Nexus 5 General] baySF:
If I'm doing this for the first time, do I need to push the update still, or can I just put the new versions in the appropriate folder before rooting/unlocking etc.? Also, when the OP shows that there are two codes, one above the other, do I hit enter and then enter the second code that is below the first code? Thanks for the help! Trying to get my questions out the way before my Nexus arrives today.
[Nexus 5 General] jd1639:
Use the newest factory image and it'll update everything. Where there are two commands you do need to hit enter between them. Just use method one and the flash-all batch file. I would suggest you also Google "Android naked usb drivers" and use those drivers. I've had good success with those.

Edit, sorry use method #1 in this to update the os. http://xdaforums.com/showthread.php?p=47156064
[Nexus 5 General] gil80:
Can you please link me to the best place to get it for 4.4.2?

Thanks a lot! :cowboy:
[Nexus 5 General] jd1639:
Read the OP, it's all there.
[Nexus 5 General] SamEkinci:
This thread was extremely helpful.

Thank you!
[Nexus 5 General] Nital:
Awesome post ! Made my first steps into the Android world so easy !

Thanks a lot !
[Nexus 5 General] Crazy Chuckster:
If I am reading the first post correctly, I need to unlock the bootloader in order to root my nexus 5? Unlocking the boot loader will wipe my phone correct?

Is there another way to root without having to wipe it?
[Nexus 5 General] Vercion3:
Nope :/
[Nexus 5 General] Crazy Chuckster:
Thanks vercion, I just got mine a couple days ago so wiping it wont be a huge deal......
[Nexus 5 General] Vercion3:
Yeah, its better to root it right when u got it so u don't have to worry about backing up data and stuff. Which is what i regret of not doing
[Nexus 5 General] Vercion3:
is there a specific method to flash recovery image? or i can just flash it via recovery
[Nexus 5 General] jd1639:
You'll have to flash it with fastboot
[Nexus 5 General] Vercion3:
How? Sorry idk how to do it
[Nexus 5 General] jd1639:
Read the op
[Nexus 5 General] pakeha:
there is no sd card, so where do you put the su file?
[Nexus 5 General] Vercion3:
U dont have to put it. I used twrp and it asks me if i wanna download it and it downloaded automatically :P
[Nexus 5 General] pakeha:
i use cwm, and i dont see that option
[Nexus 5 General] Vercion3:
Well, ur phone is already rooted by then. Just install it from playstore
[Nexus 5 General] fraussantin:
the bootloader is original unloched or custom?
[Nexus 5 General] Vercion3:
Original unlocked
[Nexus 5 General] fraussantin:
Ok thanks

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] The0Code:
I seem to have ran into a snag. Well a lot of snags....

Got the phone today, (stupidly) updated to and 4.4.2 but I've succesfully unlocked the bootloader (using a toolkit :P). The reason I used the toolkit is because my SDK Manager isn't launching on my laptop so I can't do it manually....

On the toolkit though, in order to root the phone, my device must be in ADB mode and I think I might have the wrong nexus 5 drivers for my laptop (believe me, I've tried eveything) so I can't even mount my phone anymore. I can only do things involving fastboot on the toolkit because it seems like the only way things are recognized. My only option now seems to be to flash a pre-rooted rom through the temporary custom recovery...any around?

If not, any suggestions (that dont involve ADB, SDK, etc.). Would really love to get rooted lol.

---------- Post added at 08:42 PM ---------- Previous post was at 08:42 PM ----------

I seem to have ran into a snag. Well a lot of snags....

Got the phone today, (stupidly) updated to and 4.4.2 but I've succesfully unlocked the bootloader (using a toolkit :P). The reason I used the toolkit is because my SDK Manager isn't launching on my laptop so I can't do it manually....

On the toolkit though, in order to root the phone, my device must be in ADB mode and I think I might have the wrong nexus 5 drivers for my laptop (believe me, I've tried eveything) so I can't even mount my phone anymore. I can only do things involving fastboot on the toolkit because it seems like the only way things are recognized. My only option now seems to be to flash a pre-rooted rom through the temporary custom recovery...any around?

If not, any suggestions (that dont involve ADB, SDK, etc.). Would really love to get rooted lol.
[Nexus 5 General] jd1639:
Google "Android naked usb drivers" use those
[Nexus 5 General] The0Code:
Alright I've downloaded them. Can you please elaborate on how I use them? thanks.
[Nexus 5 General] jd1639:
On device manager you'll probably see a usb port didn't have the correct driver. Right chick on it and then browes to where the downloaded drivers are
[Nexus 5 General] The0Code:
All alright, I thought as much. I've tried that a lot of times, subfolders included, everything extracted, and it still says it can't find anything for my Nexus 5 :/ Appreciate the help....any other suggestions?
[Nexus 5 General] jd1639:
You can get into fastboot?

Edit, if you can get a twrp or cwm image file. Then fastboot flash recovery recovery.img. where recovery img is the twrp or cwm image. Once you do that download super su to your phone, then flash it in twrp or cwm.
[Nexus 5 General] The0Code:
Could i just flash a recovery .img with a temporary twrp? And if so, after doing that, how do I go about rooting the phone afterwards since my laptop can't seem to sense it no matter what I do?
[Nexus 5 General] jd1639:
You'll need your laptop to recognize your device when it's in fastboot mode. You can boot into twrp and flash super su to root. Make sure super su is on your phone first. The use fastboot boot recovery recovery.img where recovery.img is the twrp image. When it boots into twrp flash super su. That'll root your phone and leave the factory recovery on your phone.
[Nexus 5 General] Caebron:
What about the ones that are already checked by default (Android4.4 (API19) -> SDK Platform and ARM EABI v7a System Image)?

Should I uncheck these?
[Nexus 5 General] Vercion3:
Doesnt matter if u check or uncheck. It wont interefere the process
[Nexus 5 General] The0Code:
Alright, it took me a while but I flashed a custom recovery. Final stretch, I can only flash things I transfer via bluetooth lol What do I flash to get rooted....I previously owned a NExus S and HTC Hero and they both had toolkits to help me lol....

Is there a flashable zip that roots me? If not, what's my next step.
[Nexus 5 General] Caebron:
Thanks for the quick response!

One other question:

Does the folder containing the sdk files need to be on drive c? I keep getting a message that Windows cant find the specified path.

EDIT: It still says it can't find the specified path even after moving the entire folder to the desktop

EDIT 2: NVM, I figured it out.
[Nexus 5 General] jd1639:
You need to download supersu to your phone. It's a zip. Then flash that in recovery. The file is on the op of this thread
[Nexus 5 General] Caebron:
Hm... I tried everything in the OP to install the driver, Windows keeps reporting it installed the drivers succesfully, but when I run "fastboot devices" in cmd it returns empty handed.

When I try to manually update the drivers via Device Manager and point to the folder where the driver is located, Windows always says "The best driver for your device is already installed"

Help?
[Nexus 5 General] jd1639:
Delete the usb's and start over. Try the android naked usb drivers. They worked for me when others didn't. Remember to reboot after you delete the usb's and after you install new ones
[Nexus 5 General] Caebron:
I did. I tried everything it says in the OP. And when I uninstall them and reboot, Windows automatically installs *something* the moment I plug in my Nexus. Then I get a popup saying the 'driver installation was succesful' (even though I have Windows set to NOT auto-install driver but to let me choose).

Then I go into device manager, uninstall the device (Nexus 5), and then Device Manager lists the Nexus 5 with a yellow exclamation mark. Then I right click on it, click to manually install the driver, point it to the Naked Driver folder, and it says 'The best driver is already installed'

:(

---------- Post added at 02:30 PM ---------- Previous post was at 02:29 PM ----------

I also tried the Google USB drivers.

---------- Post added at 02:47 PM ---------- Previous post was at 02:30 PM ----------

Finally got it to work by enabling USB debugging on the device!
[Nexus 5 General] jd1639:
Yea, that'll do it. Glad you got it working
[Nexus 5 General] Caebron:
Unlocked and rooted! Now to install Franco's kernel and hopefully prolong the battery life a bit. Thanks for the help.

---------- Post added at 03:16 PM ---------- Previous post was at 03:13 PM ----------

Does the phone have to be in recovery when adb pushing a zip file via cmd.exe?
[Nexus 5 General] jd1639:
NP, franko is a good kernel. I run it on cataclysm rom
[Nexus 5 General] gil80:
Hi,

After installing TWRP using the OP guide, I went into the recovery mode and selected the BACKUP option.

I get an error message: E: UNABLE TO LOCATE STORAGE DEVICE

Can someone help please?

Thanks!
[Nexus 5 General] jd1639:
What version of twrp? Use 2.6.3.4 http://d-h.st/YpG
[Nexus 5 General] gil80:
yes the latest.

Edit: I think I should have a numbered folder inside the TWRP\Backup folder... it's not there...

I reflashed TWRP but it didn't help.
[Nexus 5 General] jd1639:
You should have a numbered folder
[Nexus 5 General] gil80:
I'll flash CWM and then flash TWRP back again and see if it works...

The main feature I care about is Nandroid backup... so if TWRP won't work then I'll stick to CWM

I just wonder if I'll switch to TWRP will it know how to restore a CWM nandroid backup
[Nexus 5 General] jd1639:
No it won't nandroids between the two are not compatible
[Nexus 5 General] gil80:
Just finished CWM nandroid but I can't find the file. It's not in clockworkrecovery folder....

Edit: Just fixed the TWRP by reflashing after coming back from CWM. Still cannot find the CWM backup file.
[Nexus 5 General] jd1639:
You got some weird stuff going on. Try to fastboot the cache.img grin the factory image. If that doesn't work you might have to flash the whole factory image and start over.
[Nexus 5 General] theesotericone:
mnt/shell/emulated

What's the point of this again?
[Nexus 5 General] iNSPiRE.DS:
Followed instructions and rooted 4.4.2 with ease. :) Thanks.
[Nexus 5 General] GrantK:
Root not working

Before the 4.4.2 OTA update, my Nexus 5 was rooted and had TWRP 2.6.3.1. After the update, I lost root and TWRP. I was able to install TWRP to 2.6.3.4, however, all my attempts at rooting hasn't worked.

I followed the instructions and copied the latest UPDATE-SuperSU-v1.80.zip to the root of the device. I booted into recovery and said to install the zip file. Upon rebooting, there wasn't the SuperUser icon in the app drawer. Titanium BackUp get stuck at requesting root.

Is there some cache I have to delete?

Grant
[Nexus 5 General] jd1639:
It should have worked. Try downloading super su from the play store
[Nexus 5 General] GrantK:
Thanks a lot jd1639. I downloaded SuperSU (by Chainfire) from the Playstore. Launched it and it installed itself via TWRP (ran some internal script). Now it is working fine with Titanium Backup.

Thanks!

Grant
[Nexus 5 General] :
Delete.
[Nexus 5 General] dangminh_dds:
Nice guide
[Nexus 5 General] Xalicus:
Web/wifi not working

The only thing I really wanted root for was to use a wifi tethering app. I got it to work on my last phone, Tmobile Galaxy S3, but after following all the instructions to the letter on the first post, I lost all data capabilities... Now I have a worthless Nexus 5... No wifi, no data, no nothing! And when I tried to start tethering sometimes it would kinda soft restart my phone.

I need help, and I tried to find an answer already.
[Nexus 5 General] Vercion3:
Isnt the wifi tethering included already and u can use it without rooting ur device ?
[Nexus 5 General] MersauX:
Lol, I got my Nexus 5 yesterday, unlocked the bootloader and without restarting the phone flashed CWM and managed to get a bootloop, that's an achievement for me, I had the phone for 10 minutes. But, it was an easy fix, just downloaded the stock image and flashed everything and it's working like a charm.
[Nexus 5 General] jd1639:
You have to boot after unlocking the bootloader. That's why you got the boot loop.
[Nexus 5 General] MersauX:
Yep, figured that one out the hard way. :)
[Nexus 5 General] Xalicus:
Well, not on my old 2gb data plan, I would have to go to the new 4.5gb plan to get tethering, and I just don't have the extra money for the extra data every month. Every time I used the tethering I get the tmobile upsell page.
[Nexus 5 General] carbonos1:
After following these instructions android seems to be unable to write to the internal storage! (recovery can backup, but thats it)

Chrome and Gmail work fine, however i cannot take any pictures with the camera, view photos in gallery and the play store refuses to open.

Could someone please tell me what i have done wrong?

Any help would be appreciated, thanks

(using TWRP)
[Nexus 5 General] jd1639:
You've just rooted and instated a custom recovery? What version on twrp?
[Nexus 5 General] carbonos1:
The recovery works fine.

After a bit of fiddling around I can tell you that the phone is running android in a usable fashion, however the /sdcard/ partition is not readable by default android permissions, and chmod via adb and the recovery does not seem to be able to fix the solution. I can write to the partition with root permission and push to it via adb

I am running twrp v 2.6.3.4
[Nexus 5 General] Mammt:
Rooted stock + TWRP at the moment, worked flawlessly. Only one question: does the rooted N5 need Busybox aswell? I already reinstalled AdAway and it gave no problems, are there still apps that need Busybox to run?
[Nexus 5 General] jd1639:
I'm sure there are still some that require busybox but I haven't run into any lately.
[Nexus 5 General] Mammt:
So I guess installing it won't hurt?
[Nexus 5 General] jd1639:
No, it shouldn't hurt anything
[Nexus 5 General] eyeconic:
Your TWRP line is incomplete with respect to install the SU binaries.

Seemingly, I need to do "adb sideload UPDATE-SuperSU-v1.80.zip"

The installation gets aborted with:

"Failed to verify whole-file signature"

Suggestions?
[Nexus 5 General] Miqueas111:
QUESTION:

If I follow this 3 steps (unclok BT , install custom recovery, root)... am I going to update via OTA (Settings, Updates...)?

Thanks, I'm new in this device, second day with it.
[Nexus 5 General] jd1639:
Yes, if that's all you do. If you flash a custom recovery or kernel you won't be able to get an ota
[Nexus 5 General] funnel71:
The instructions here were perfect from start to finish. Recommend using the Naked drivers if using USB for the first time
[Nexus 5 General] Ep3n3wp:
Thanks op for writing this up.... I just unlocked added recovery and su with no problems!!!

Great directions!
[Nexus 5 General] hoseunten:
Hi. When im going to root my n5 Do I still get the New Updates for my phone from Google?
[Nexus 5 General] Vercion3:
As long as is stock ROM and kernel, you will get the ota updates
[Nexus 5 General] funnel71:
But if you put custom recovery on like twrp or cwm you don't get updates you'll have to flash them in.
[Nexus 5 General] jd1639:
Not true, if you don't mod anything else you'll still get the ota's. You will lose the custom recovery when you take them though and will have reinstall and re-root if you're rooted.
[Nexus 5 General] funnel71:
My apologies the ota guide I read earlier said differently