yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] jaladhjin:
Is there any classy way I can flash TWRP.img if I have it saved on the phone without the usb cable & my computer & the fast boot stuff ?
[Nexus 5 General] abaaaabbbb63:
If you have root acces, then use flashify, or GooManager.
[Nexus 5 General] NCguy:
Interesting. Is "Nandroid" then a standard file format or just a term for any android image backup?

Does TWRP and CWMR at least backup identical partitions?
[Nexus 5 General] jd1639:
Twrp and cwm do back up the same partitions. But as stated, they are different file formats. I use one, twrp, for all my nandroids. If I need to use cwm I have a zip file I can use to easily flash it and then flash back to twrp when I'm done using it.
[Nexus 5 General] ngydna:
Thanks for this guide!
[Nexus 5 General] hsktommox:
Maybe you can ask these people who is very familiar with it.
[Nexus 5 General] Cronnny:
Worked!

This worked very well for me and I got everything done quickly. Great instructions Thanks!!

Nexus 5 - 32 Gb ATT
[Nexus 5 General] ranveer5289:
Only Android System in Battery Usage

I successfully unlocked my bootloader and got root access. Now it has been 1.5 hrs since I rooted but my battery Usage statistics only lists Android System @ 100%.

This was not the case before rooting because earlier it used to show a complete break up of all the apps. I also tried rebooting but that didn't worked either.

Here is the usage screenshot http://imgur.com/w7m1Hp1
[Nexus 5 General] abaaaabbbb63:
Did you keep the phone locked for the past hour? It seems nothing else ,other than the Android system, drained your battery.
[Nexus 5 General] ranveer5289:
No, I didn't kept my phone locked. I was setting up my phone and that includes downloading/installing apps, browsing etc.
[Nexus 5 General] h20wakebum:
So... I just got my Nexus 5 (coming from a rooted Samsung Galaxy S4) and I have a dumb question...

Assuming I'm happy with stock (which so far I am)... what is the point of rooting the nexus?

I know in the past it was needed for certain apps... but i think i can get by without them.

Is there any other benefit really to rooting a Nexus device?

Again, I've always rooted all my devices... but this thing is running well currently and I don't want to mess any of that up...

I appreciate your thoughts.
[Nexus 5 General] abaaaabbbb63:
A battery stats wipe would help. Do you have CWM recovery?

If no, then boot CWM recovery with the following fastboot command:

fastboot boot path/to/CWM.img

Then select - Advanced, wipe battery stats.
[Nexus 5 General] stuart0001:
Wiping battery stats achieves nothing. Its a myth that I thought everyone knew about by now.

http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
[Nexus 5 General] abaaaabbbb63:
Wiping battery stats resets the battery stats in settings>about>battery... Which is exactly what I was trying to achieve.

---------- Post added at 09:24 PM ---------- Previous post was at 09:24 PM ----------

If you're happy with it as it is, then don't root it. Make the most out of it untouched, then root it when you get bored of it.
[Nexus 5 General] ranveer5289:
There is no option to wipe battery stats under advanced in CWM. I used the CWM version linked in the OP and the version is 6.xx.xx.
[Nexus 5 General] abaaaabbbb63:
Ok...they might have taken it out...

try this then:

https://play.google.com/store/apps/...EwOSwiY29tLm5lbWEuYmF0dGVyeWNhbGlicmF0aW9uIl0.

Does kind of the same thing. Then reboot.
[Nexus 5 General] ranveer5289:
Ok..so I tried this app. It showed me a message "successfully calibrated" and than i re-booted. After reboot it still shows android system [MENTION=1412615]100%[/MENTION] :(
[Nexus 5 General] abaaaabbbb63:
ok then... Use it normally, charge it, and check battery stats again tomorrow.
[Nexus 5 General] ranveer5289:
Ok...thanks for your help.
[Nexus 5 General] Kortxero:
One word: ad blockers (well, that's two actually lol)
[Nexus 5 General] h20wakebum:
LOL... I ended up rooting.

I read the post in the Q/A regarding why you'd root etc and quicly realized why i always rooted... Autostarts... can't use it without root.

I love that app!!

Root was painless.

Also, it fixed my issue with not being able to connect the phone to the computer in MTP mode (using cf-auto root)
[Nexus 5 General] TeChNoC4AzY:
Sigh i feel jealous seeing all these posts with people successfull at doing all this with the nexus 5.. I really want one. Well-Christmas is almost here!
[Nexus 5 General] AndrewJohansen:
I was having trouble with the drivers so I used the first guide on theandroidsoul. After I uninstalled the driver in device manager on my win7 computer like it says in step 3 of the guide my computer no longer detects my nexus. I'm getting pissed since it took less than 5 minutes to unlock and root my n4.

Anyone have an idea what to do?
[Nexus 5 General] clj575:
THE LINK HERE CONTAINS MALWARE/ SPYWARE in the instructions!>>>>>>>>get a slimmed version containing only the essential components here (Thanks [MENTION=962867]El Daddy[/MENTION])

The reason I know because after clicking the link I got the crap on my computer.

WTH?
[Nexus 5 General] jd1639:
I hope you're sure of that.
[Nexus 5 General] clj575:
If I wasn't I wouldn't have posted it.......follow the download link and see what pops up. Which one of the download links is the real one...because all three prompt "other" things to download?
[Nexus 5 General] mobrien118:
Awesome!

I got the phone the Tuesday after they went online (5 days after announced). Before I even booted it into Android, I unlocked and rooted it. I'm glad it is this easy these days!!!
[Nexus 5 General] X-Jonte-X:
I using superuser from koush and I got always the message that my binaries are out dated. See screen shot.

When I choose recovery as installation method it's reboot into recovery and tried to install a zip file, but the recover (TWRP 2.6.3.2) could not locate the file.

What could I do? Re-flash the superuser.zip?

Edit: re-flashing the newer version solve the issue.
[Nexus 5 General] fakitol:
For me CWM backups uses unix era start time for a folder name... How to fix this?
[Nexus 5 General] klairvoiancy:
Thanks Chromium! Your guide was not only clear and informative, but also shed a lot of light on the entire rooting process.

I learned a lot! .....and saved a kitten!
[Nexus 5 General] ranveer5289:
Issue got resolved after full charge.

Thanks again. :)
[Nexus 5 General] 3pun0x:
you help me a lot... thank you now i have root nexus 5 :fingers-crossed:
[Nexus 5 General] fssjt2:
problem

i have nexus 5 and there are problem it is : the mobile not start and i cant enter to recovery mode and work factory reset

now i want instillation the software via pc how ?????????

i can go to boot loader, recovery mode but i cant go to wipe data , factory reset and another operations
[Nexus 5 General] fugn:
It could be that another driver is conflicting with the one that the USB driver picked up. Try uninstalling the portable device driver and use the one you want to use.

Edit: Oops Taptalk noob over here.

---------- Post added at 11:47 AM ---------- Previous post was at 11:23 AM ----------

Start on bootloader and connect to the PC, flash the recovery.img again you may be able to fix that issue.
[Nexus 5 General] DigitalUnderground:
Nvm I used the toolkit in original dev thread to install the drivers. I'm rooted and ready to go.
[Nexus 5 General] CryoRain:
Just wanted to post a big THANKS in this thread!

Switched from the iPhone jailbreaking scene and got a Nexus 5.

This guide was easy to follow and very informative. Unlocked, custom recovery flashed, and rooted in just a few hours with only minor driver problems to slow me down.

Can't wait to explore the possibilities.
[Nexus 5 General] magnitude09:
Hmm

Thanks

My friend got this phone , today we will try to unlock.
[Nexus 5 General] auvn:
Q about OTAs

hello.. so what about OTAs? If I understand correct if I only unlock/root my phone without installing of any custom ROMs I'll be able to update it with OTA?

Thanks in advance.
[Nexus 5 General] abaaaabbbb63:
Yes. As long as you have the Stock ROM and Stock Kernel, you will be able to download and install the OTA.

If you have the stock recovery, then it will install automatically. If you have a custom recovery, then you'll have to install the downloaded OTA zip manually.
[Nexus 5 General] jaysidhuk:
Yes, if you only unlock the bootloader you will still be able to get ota's. The lock state of your bootloader will not affect your ability to receive ota's.
[Nexus 5 General] TeChNoC4AzY:
Can kernels be flashed freely without any kind of s-off needed like HTC phones have?
[Nexus 5 General] jd1639:
Yes, if you do it in a custom recovery the bootloader can be locked.
[Nexus 5 General] karl23:
If anyone is as exceptionally stupid as I, the fastboot devices step won't work unless your phone is both connected and in fastboot mode. I went round and round the driver rabbit hole before I figured that out.
[Nexus 5 General] jd1639:
Lmao, yep has to be plugged in and in fastboot. Hey it happens to all of us at sometime
[Nexus 5 General] Vangelis13:
A legend in my book!! :p
[Nexus 5 General] modiko:
thank you very much .. i needed it
[Nexus 5 General] cherubashe:
driver problems

I have tried everything to install drivers. Can't get it to work. Even reset computer. Every time it says we have found your drivers but can't install. And it says for Google nexus 4. There is no hash and file might be corrupted. I use the link in the op. I'm lost. Just bought 2 days ago. Running Windows 8.1
[Nexus 5 General] Striatum_bdr:
Always same thing. Guys want custom stuff but can't cut links with mummy stock Rom. Always seen those concerns in all phone threads.
[Nexus 5 General] Chromium:
Also when an ota comes out someone will most likely upload the cached zip which gets downloaded when you accept the ota. Then people with a custom recovery installed can simply download this zip and flash it manually using their custom recovery. It really isn't that much harder than accepting the actual ota...only difference is that you have to manually install it with your recovery instead it happening automatically.

Sent using xda-developers app
[Nexus 5 General] foosion:
I've had a Nexus for over a year and I've never seen an OTA on my phone before someone posted the update zip. Even if you haven't rooted or don't have a custom recovery, you can easily flash an update.
[Nexus 5 General] TecQuality:
thanks guys for the guide, it's basically the same for all the fastboot devices right (from GNex to N5)?
[Nexus 5 General] Chromium:
Yes the process is very consistent throughout all nexus devices.
[Nexus 5 General] Empty Hand:
Thank you for the guide. I've got everything ready on my computer and now have to struggle through the wait until mid week for my N5 to arrive. Thanks to you, I will be saving a kitty.
[Nexus 5 General] theesotericone:
Coming from Samsung devices I have to say that I wish I made the switch a long time ago. Since I already have SDK installed and a pretty good working knowledge of ADB making the transition to a fastboot device is gonna be painless. It took about 30 seconds to install fastboot from command line(linux) Should take all of 5 minutes to unlock, install a recovery and root. Thanks for the write up. And for the record I don't really like cats but I do like phones:cool:
[Nexus 5 General] AntikytheraTech:
Thanks for this thread! ( Already hit the button :good: ) Are the ADB commands in the OP the same if you are running the SDK on a mac? my past 3 devices have all been samsung devices so I am versed in ODIN but the ADB is new to me. Ultimately if they are not the same steps I may just make a windows partition on my computer specifically for using the ADB - but I would prefer not to if I don't have to.
[Nexus 5 General] clorbag:
i wish i could give you 100 thanks but it seem i can only give 1..... thanks man you're just great =)
[Nexus 5 General] lschmitt414:
Thank You

Thanks for the info!!
[Nexus 5 General] JCreazy:
I am curious if it is possible to add information about flashing kernels. I think it would be good to explain the proper way to do it.
[Nexus 5 General] abaaaabbbb63:
Well.. You just install them from recovery.
[Nexus 5 General] theesotericone:
Not just. You can flash them from fastboot as well. Having options is always a good thing. A zip from recovery and an img from fastboot.
[Nexus 5 General] NathanV1977:
It's basically the same on a Mac, but instead of just:

fastboot oem unlock

You'll need to write

./fastboot-mac oem unlock
[Nexus 5 General] speeddemon1891:
Linux

I just switch from windows to linux (Ubuntu). Is there a way for me to unlock and install a custom recovery in linux?
[Nexus 5 General] AndrewJohansen:
This guy is the best.
[Nexus 5 General] 3Shirts:
Anyone got a mirror of SuperSU. The download from chainfire's site is just not loading. Seems to be quite overloaded.
[Nexus 5 General] Chromium:
Yes its the same process. Adb installation may be a bit different so search Google for a guide to set it up. Also with Linux you don't need to worry about installing drivers. Other than that everything should be the same.
[Nexus 5 General] Chromium:
http://www.mediafire.com/?kzc159c1bchw2gu

Sent using xda-developers app
[Nexus 5 General] MarkFromLondon:
It appears to have worked like a charm

The only problem is I can't test it fully as my bloody network forgot to add a SIM card so I have to get mine 4G enabled and/or wait for them to send another one!

Thanks, man!
[Nexus 5 General] jd1639:
I had a similar problem where I had unknown usb device and drivers wouldn't install. But fastboot still worked. Have you tired fastboot? Adb devices also ran but didn't show any device.
[Nexus 5 General] cherubashe:
Don't want too try. get to point where I put fastboot devices in cmd and nothing
[Nexus 5 General] jd1639:
I had the same thing, but fastboot worked and I was able to flash the factory image. I used the batch file to flash everything. It worked fine. After that my pc was able to recognize the device. I think something got corrupted on the device itself and that's why the pc wouldn't recognize it.
[Nexus 5 General] cherubashe:
when i plug it in i can see and read the files. its just when i type fastboot devices i get nothing to show up. should i just procede
[Nexus 5 General] jd1639:
I did. It won't hurt anything. If it doesn't work it'll just sit there and not flash anything and you can ctrl c out. But give it some time I ctrl c too soon the first time and had start over
[Nexus 5 General] stonew5082:
how long does the recovery take to transfer to the phone and flash? mine's been stuck downloading for about 5 min...
[Nexus 5 General] Chromium:
The "fastboot flash recovery recovery.img" command should take only a few seconds.
[Nexus 5 General] stonew5082:
what do you suggest I do, how do I cancel the process and try again?
[Nexus 5 General] Chromium:
Try stopping it and reflashing. Use ctrl + C to cancel the process.
[Nexus 5 General] stonew5082:
hmmm phone won't respond to my reboot command, although ctrl c did stop the cmd prompt from sending. I'm going to boot up the phone and try from scratch, thanks!
[Nexus 5 General] raphaelemf:
Hi everybody!

First of all thank you for the post. Second, i'm sorry for my bad english, its not my mother language. Now i need to ask you guys for help. I've followed the intructions but im stuck in the 3o step. I got the dead android with read triagle. I tried all usb 2.0 and 3.0 ports and nothing. After a fill minutes the phone just started by it self normally so now i dont now if the 3o step is done or not. Can anyone help me with this please?
[Nexus 5 General] stonew5082:
damn, still not working. maybe I'll reboot the computer
[Nexus 5 General] theesotericone:
Run

fastboot devices

Before you do anything else. If the N5 shows up proceed to the flash. Also make sure you have the path variables set or at least have the recovery in the correct location for it to install.
[Nexus 5 General] stonew5082:
I do,otherwise I wouldn't get the 'downloading' message on the phone. N5 does show up in fastboot and rebooting hasn't fixed the problem
[Nexus 5 General] theesotericone:
Is the recovery.img in the proper place for fastboot to find it? Do the names of the recovery match what you are asking fastboot to flash? What OS is your comp running?
[Nexus 5 General] stonew5082:
yeah everything is perfect. I tried a different usb cable and it suddenly worked, really weird
[Nexus 5 General] theesotericone:
Cool. Not weird at all though. Some cables just don't work well. That's is usually one of the things to check. After the things I mentioned and the things you already did.
[Nexus 5 General] stonew5082:
ok one more question, clockwork mod isn't mounting storage to get my rom on the phone. can I flash a rom from fastboot?
[Nexus 5 General] theesotericone:
You can. You shouldn't have an issue with CWM though. None of the mount usb storage is working for the recoveries right now. So you have to either ADB push or reboot into the OS and transfer with MTP. What clock work did you flash? I'm using the swipeable from playfulgod and it works great.

http://xdaforums.com/showthread.php?t=2511952

Third DL link down under My builds.
[Nexus 5 General] stonew5082:
you mind giving me the commands, I'm not much of an adb wizard
[Nexus 5 General] theesotericone:
These should work.

CWM mount data
adb push ROM.zip /sdcard/
CWM unmount data

I haven't had to use ADB push with this device yet but that should get you there. Another option is to sideload it from your comp. Install zip>install zip from sideload. The use:

adb sideload ROM.zip
[Nexus 5 General] raphaelemf:
Guys can you please help me with the 3o step? I dont know what to do.
[Nexus 5 General] Chromium:
Actually, the phone it self doesnt support usb mass storage. Its not a fault of the recoveries, and it wont ever be added.

So yes, your only option to move files onto the phone will in recovery is to use adb push.

Be more specific. What have you done so far?
[Nexus 5 General] jd1639:
I would go back to step 1 and use the slimmed down version. It had what you need and easier to Set up
[Nexus 5 General] theesotericone:
Really? I would find it hard to believe that there isn't a workaround to make the phone use MTP instead of mass storage. On my old Skyrocket the newer ROMs use MTP but the recovery can still use mass storage. I haven't really looked into it much but if what you say is true that sucks.
[Nexus 5 General] jd1639:
No you can transfer from the pc to the phone. You should be able to just drag and drop it
[Nexus 5 General] raphaelemf:
i'm actually using the slimmed version. ive Unlock Bootloader, Install Custom Recovery but i stoped at the dead android with red triagle. the phone is working though.
[Nexus 5 General] Chromium:
Was there a specific error?

Yep, its true. I think it has something to do with the fact that it uses the ext4 filesystem, but im not completely sure on the whole explanation.
[Nexus 5 General] theesotericone:
What's up jd. Where talking about from within recovery here. Not from within the OS. Drag and drop works fine using MTP in th OS. It just isn't working in recovery.
[Nexus 5 General] Chromium:
Only while the phone is booted into android though. While in recovery, your only option is adb push.

That means the recovery wasnt flashed successfully. Try again. (Do 2. Installing a Custom Recovery again)
[Nexus 5 General] jd1639:
My bad, didn't read the whole post
[Nexus 5 General] stonew5082:
well for some reason I get the 'unable to move this in camera mode' message and the other mode doesn't give me a drive to open. Maybe I should reinstall the drivers I don't know. sideload worked great, thanks very much all!
[Nexus 5 General] Chromium:
Yea i noticed that mtp stopped working after the whole process when i rooted my friends n5 too. I had to use adb push instead, and for some reason it only worked while in the camera mode.
[Nexus 5 General] stonew5082:
its funny because my s3 would never mount properly either. I mean come on can't this basic feature work in android?? lol
[Nexus 5 General] theesotericone:
Interesting. I just adb pushed a zip to the sdcard from recovery. File appears to have transfered:

matt@mattsdm4:~$ adb push rasta.zip /sdcard
8619 KB/s (161821851 bytes in 18.334s)

But I can't find it anywhere. lol I'm using Android Tuner now to search the whole device but recovery doesn't see it at all. Strange times this phone is strange times.
[Nexus 5 General] Chromium:
put another slash on the end of the path. Like this:

adb push rasta.zip /sdcard/
[Nexus 5 General] theesotericone:
Makes sense. Where did the file that got pushed go though? That's what I'm trying to figure out. ADB shows it as successful but it is nowhere on my device. lol

Doing it your way worked and the file can be seen. This phone has a completely different file structure than I'm used to so thanks for the tip.:cool:
[Nexus 5 General] jd1639:
No external sd card like you're used to. /sdcard/ is the default location, analogues to the external. I'm getting used to it too. But this is a great device
[Nexus 5 General] Chromium:
[MENTION=5451511]theesotericone[/MENTION] How is this build? Are there any issues with wiping, flashing, backing up or restoring? Im planning on rooting another friends n5 and I need an almost completely stable custom recovery that does all of those things without any issues. Ive looked at the official twrp, official cwm, and playful gods cwm and his seems like the best choice, but I'd like some more feedback. Thanks :)

I dont think it actually got copied to the phone. Its odd, because it actually takes a while to push so you think that its being moved but then its nowhere to be found.
[Nexus 5 General] cherubashe:
finally got it to install the google usb driver here. http://developer.android.com/sdk/win-usb.html#top
[Nexus 5 General] jd1639:
Good job!
[Nexus 5 General] raphaelemf:
after 5 hours i think i managed to do it lolololololol

now how do i now that the phone is rooted? should i see something diferent?
[Nexus 5 General] jd1639:
You won't see anything different. You could get root checker from the play store to double check if it's rooted.
[Nexus 5 General] Chromium:
Well you should see the SuperSU app in your app drawer.
[Nexus 5 General] theesotericone:
It's completely stable for me. I've flashed at least five ROMs, made backups and restored them. Wipes are fast. And the swipe-able format is easy to navigate with. It's the recovery I'd recommend to anyone. Use it.
[Nexus 5 General] Chromium:
Great, thanks for the confirmation. I'll definitely be going with this.

Sent using xda-developers app
[Nexus 5 General] Natakranta:
100% true. After fix from Nov.21st cache wipes and system formats are fast, nandroids are working as they supposed to, no problem with nand restore. I happy flashed few ROM s with it including Cataclysm Nov.21 with lot of people had problems to flash in official CWM or TWRP.

And as a cherry on top of the cake there is the swipe feature - brilliant!
[Nexus 5 General] dyl421421:
Thanks for this! Very useful!
[Nexus 5 General] Ch3micalGnetics:
just saved a kitten !!! great post
[Nexus 5 General] dannyzen:
Quick Ubuntu Walkthrough helped me out: http://schier.co/post/how-to-root-nexus-5-in-ubuntu-linux
[Nexus 5 General] andQlimax:
I guess there is no root exploit on 4.4 to get root without bootloader unlock right?

I didn't uncloked the bootloader at first, now bit lazy to loose data.. :(

But don't see other solutions
[Nexus 5 General] mrvanderham:
Where's the SuperSU zip file?!

Hey Guys I got a problem with point 3, when i open the cmd and enter both command to copy the supersu zip file, it says: cannot stat UPDATE-SuperSU-vX.XX.zip : no such file or directory

But just as requested I really confirmed that this ZIP file was on the right place before...

Please help :(
[Nexus 5 General] Chromium:
No, you cant root without unlocking/

You dont actually enter "UPDATE-SuperSU-vX.XX.zip". You need to type the name of the file, so replace the "X"'s with the appropriate version.
[Nexus 5 General] mrvanderham:
Oh dear, it was so clear a mistake like that would happen to me... :D thx!