yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] jd1639:
Glad you got it. Next time someone tells you to rename it recovery.img just rename it recovery. The .img is already there
[Nexus 5 General] 1ManWolfePack:
Good advice.

If in doubt, right click the file and check properties to make sure it isn't doubled up.
[Nexus 5 General] Brian D:
Good find!
[Nexus 5 General] kweso:
new to n5

hey guys,

plz forgive me that i did not read all 180 pages of this thread. i read the first and last couple of, though.

maybe you could clear up my last questions:

1. i cant have root without unlocking the bootloader?

2. unlocking the bootloader still wipes all my data? no way around this?

3. rooting and installing xposed (no custom recovery or custom rom installed) will prevent me to get ota-updates from google?

4. cwm recovery is working fine?

5. cm11 is working as good as nightlies will (which in my experience is quite good)?

thank you very much!

kws
[Nexus 5 General] jd1639:
1 not really, there is a way but I don't recommend it

2 yes, unlocking the bootloader does wipe your device

3 rooting won't, but xposed will

4 cwm is working but I'd recommend twrp or philz

5 cm works
[Nexus 5 General] kweso:
but i can update my system manually? if yes, usually how fast after the rollout of the official google update? how long does it usually take the cm-guys to have a usable nightly for nexus (5) after mayor update-releases from google?

i really liked cmw on my sgs2. is this a personal recommendation or does cwm actually cause problems on the n5?

sorry, i promise, after this info i will be satisfied and not bother you any longer.

tyvm!

kws
[Nexus 5 General] jd1639:
No problem with the questions. Cm will usually have something within days of a new android release. Cwm works OK but it's not updated as frequently and is getting a little old
[Nexus 5 General] meangreenie:
jfi..

with my rma replacement i got yesterday i did the following

let it update to 4.4.4

towel root .. made it rain

install supersu from the play store

install run busybox from play store

install and run bootunlocker from the play store, unlocked bootloader .. no data is lost

install flashify from play store.. flashed latest twrp recovery

done
[Nexus 5 General] jd1639:
Yep, that'll work
[Nexus 5 General] :
Hmmmm....so towelroot does actually serve a useful purpose in Nexus land.

Thanks for the tip [MENTION=4531983]meangreenie[/MENTION]! ?
[Nexus 5 General] jd1639:
It does,, but then nobody learns what fastboot is and how to get out of trouble down the road.
[Nexus 5 General] :
Fast boot? I can make my device boot faster with that???? :)
[Nexus 5 General] Chromium:
Of course!
[Nexus 5 General] :
I'm getting it then! Yay!!! ;)
[Nexus 5 General] SuperTrucker65:
Thank You

Thank you for this awesome guide! It totally helped me!
[Nexus 5 General] kweso:
i know fastboot. but never heard of "towelroot". sounds like something from hitchhikers guide ;)

but all i can find says, it is specifically for sgs5. where would i get it for the n5?

flashify is something like rom manager? whats the difference?

and just to summarize:

there's the methode from this thread

theres cf-auto-root, essentially a prepacked version of the above, is that right?

and there's towelroot.

and only the last one unlocks without wiping? are there any disadvantages by using towelroot exept not learning about fastboot?

i got the n5 because i think it is the best-looking and -feeling phone for a really decent price. but i also liked the fact of fast updates and full support of google features. but since i have it, i miss my cm-features. and since root+xposed will disable ota updates from google anyway and you say that cm are quite fast (days, you say), i will go straight for cm again. and to have it clean, i will use the original root methode and wipe my n5 (i use helium anyway).

would you agree thats the way to go? or is there ANY disadvantage by using cm over using rooted stock (besides the system update thing)?

tyvm!
[Nexus 5 General] meangreenie:
towel root works fine on n5. if you don't want to lose data this is the way to go as you can root first then run bootunlocker to unlock the bootloader.. all without rebooting the phone and straight from the phone without any PC needed.. though i recommend to install SuperSU from the play store afterwards so you have control at what can have root, you can this because your already rooted with towel root

... towel root alone just gives everything root access

flashify let's you, well, flash stuff, like recovery ect, didn't rely look at all its functions. i only used it to flash recovery then uninstalled it. just be careful to flash the right recovery, double check.. i would of used twrp recovery manager but it's broken atm, check comments in play store

as for what rom you want, you can use multiboot and run both.. any updates will be available by .zip for flashing from recovery before any ota is likely to be available on your phone
[Nexus 5 General] Bonez1802:
Can you please share link of the towel root that you were using.. Thnx
[Nexus 5 General] meangreenie:
https://towelroot.com/
[Nexus 5 General] thejinx:
I've got a Nexus 5 32GB, did all what was written, but the recovery is not rewritten or update, as you wish.

The bootloader is unlock, but can't write the recovery. I've tried both recovery images, but still get the original one.

Does anybody know why this happens?
[Nexus 5 General] hityo:
Any one ever heard of the boot-loader relocking itself after a restart?

Ive got cache issues and want to flash the rom again but every-time i try and unlock the boot-loader after a restart it locks it self.

The phone can start up but comes up with issues saying that the gallery, camera.. has crashed....

I have tried to flash just the cache.img file, adbside load, cf-auto root and still cant get the bootloader unlocked to perform a new flash

any ideas guys???
[Nexus 5 General] vin4yak:
Bootloader relocking itself on it's own is not a good sign. Probably the eMMC has gone bad because of which you aren't able to "write" to it and hence the bootloader unlock doesn't stick after a reboot. You will need to RMA the device or visit a LG center.
[Nexus 5 General] thejinx:
Nevermind, using Fashify, I was able to rewrite the recovery.
[Nexus 5 General] kweso:
what would happen, if i use towelroot and DONT unlock the bootloader and/or flash a custom recovery? could i still use xposed?

thx,

kws
[Nexus 5 General] kweso:
but it wouldnt change anything regarding google-ota-updates?

i would still have to manually update via recovery or nexusroottoolkit.

i just cant have a custom recovery without unlocked bootloader.

is all that right?

thx
[Nexus 5 General] vin4yak:
If you modify system files in any way after attaining root, you can't OTA update.

Again, if you edit system files after attaining root, you can't flash OTA update via recovery, you will need an unmodified system for the update to flash successfully.

Yes, you can flash a custom recovery if the bootloader is locked. Since you've towel rooted it, you can install Flashify from playstore by which you can flash a custom recovery from within the app! :)
[Nexus 5 General] swat4samp:
As long as you have locked bootloader, you can receive OTA updates.CMIIW

---------- Post added at 11:51 PM ---------- Previous post was at 11:49 PM ----------

So towelroot is safe?
[Nexus 5 General] vin4yak:
Bootloader status has nothing to do with OTA updates. Everything depends on system files.

I wouldn't suggest Towelroot to anyone. Since he asked questions regarding towelroot, I replied him back.

I prefer the traditional way of unlocking, rooting and setting up the environment on PC any day! :)
[Nexus 5 General] swat4samp:
Ok sorry for asking too much :o since i was new to this N5. The guide by chromium, is it enough to follow for rooting and flashing?
[Nexus 5 General] vin4yak:
No need to apologize. It's better you get everything sorted out first before attempting to mess with your expensive piece of hardware :)

Yes, this thread will be enough for rooting the device. However, when you have the time, do consider reading this thread: http://xdaforums.com/google-nexus-5/general/resource-guides-info-threads-linked-read-t2784527
[Nexus 5 General] kweso:
thx!

but i can update with the image provided on android.com, cant i?

or only via nexus root toolkit? locking and unlocking again and reinstalling xposed after that?

how are you guys updating a rooted but original android?

thx
[Nexus 5 General] kweso:
hey guys, so i used the towelroot methode with su, bootunlocker, busybox and flashify from playstore. all went fine. i have root and with gravitybox all the fancy settings that i like (and should be in stock android anyway ;) )

thx all!
[Nexus 5 General] vin4yak:
That's good. But make time to read everything about adb/fastboot as you will need those of you get into trouble later on while flashing. :)

Yes, you can update by flashing the factory images. You only need an unlocked bootloader for that.

- Sent from an IceCold Hammerhead!
[Nexus 5 General] kweso:
i used cm on my sgs2 and still use it on my tf300t. especially with the later i always use fastboot. and i would have used it here if it didnt wipe my userdata (i was stupid enough to setup everything and then decided to root. didnt want to setup all my imaps etc again ;) )

you said "if you edit system files after attaining root, you can't flash OTA update via recovery"

i dont care about ota. but with factory image you mean the ones from android.com? what do you use to update? nexusroottoolkit? recovery?

thx

kws
[Nexus 5 General] cmax24:
Chromium can you add, please, a guide to lock the bootloader ?
[Nexus 5 General] aavvaallooss:
Fastboot OEM lock
[Nexus 5 General] sonnhy:
Not sure where to ask so I'll ask here.

I'm using TWRP Recovery, how can I connect my phone with USB and manage files on the internal memory on PC? I was on 4EXT Recovery on my HTC Sensation and there was a function that allow me to connect the microSD on the phone to the PC shown as Mass Storage, is on TWRP the same function?
[Nexus 5 General] Chromium:
No you can't do this on the Nexus 5. The Nexus 5 doesnt support USB mass storage mode, only MTP, so if you want to access the storage while in recovery you can use adb.
[Nexus 5 General] vin4yak:
For flashing the factory images, you need an unlocked bootloader. Since you are rooted now after towel rooting, you can unlock the bootloader via bootunlocker app without wiping data. :)
[Nexus 5 General] kweso:
i know. and i already did. and flashed cwm recovery and installed xposed.

my question was: when google brings a new update, how do i flash that (in best case without wiping data)?

do i use my recovery or nexustoolkit or something else?

tyvm!

kws
[Nexus 5 General] aavvaallooss:
You carne learn a lot here about OTAs:

http://xdaforums.com/showthread.php?t=2523217
[Nexus 5 General] kweso:
this is very helpful indeed! thx!
[Nexus 5 General] sonnhy:
Well, I can't believe it D:

Oh, ok, thanks i suppose..
[Nexus 5 General] vin4yak:
Flash all img files except userdata.img. Your data will be untouched! :)
[Nexus 5 General] kweso:
why do i get the feeling we're talking past each other?

but nevermind. the other thread answeres all my questions!

(http://xdaforums.com/showthread.php?t=2523217)

and thx anyway!

kws
[Nexus 5 General] vin4yak:
lol. Ah, I get it. Since you earlier said you didn't care about OTAs, I was suggesting you update via the factory image method without wiping data. Anyways, as long as you figured it out...

Cheers.
[Nexus 5 General] kweso:
yes thx! for now i am happy with my data in tact and all my beloved gimmiks that come with gravity box! looking forward to "L"...

laters

ah, maybe one little question: can i restore a backup image that i made with cwm after i switched to twrp?

sry&thx,

kws
[Nexus 5 General] vin4yak:
I don't know about official CWM, but PhilzTouch has that option! It's based on CWM along with added goodies :)

Nexus 5 PhilzTouch Thread: http://xdaforums.com/google-nexus-5/development/hammerhead-philz-touch-6-43-6-f2fs-t2565174
[Nexus 5 General] jd1639:
No
[Nexus 5 General] davidstech11:
I knew you were going to go with the Towelroot method. With all the questions you had it just seemed like something you would pick.

Good luck with the device.
[Nexus 5 General] avs333:
Is it possible to convert 820 to 821 by flashing the radio module or whatever (I'm missing the lte 7 ranges here)?
[Nexus 5 General] :
That's a hardware limitation. Software changes won't fix it. Sorry.
[Nexus 5 General] benedictspeedy:
Unlock Bootloader Using Mac

Greetings,

May I know if it is possible for me to Unlock Bootloader for Nexus 5 using Mac?
[Nexus 5 General] aavvaallooss:
http://xdaforums.com/google-nexus-5/development/toolkit-root-twrp-recovery-unroot-11-6-t2515640
[Nexus 5 General] proyatzu:
Will this method work with android 4.4.4 (full stock) ??
[Nexus 5 General] jd1639:
Of course
[Nexus 5 General] rmdeathwish:
A very noob question?

Hi everyone

I finally decided to unlock my stock Nexus 5 after looking at Mahdi Rom

This might seem wierd but im facing an issue while checking the files after unzipping

1) . As stated in the instructions, i go to the download SDK tools page to get the SDK zip files (not the recommended exe as on the page)

After unzipping, i do get the SDK-manager .exe but after running that (its a short cmd run which vanishes quickly) i do not see the following Tools > Android SDK Tools, Android SDK Platform-tools

- Extras > Android Support Library, Google USB Driver (as stated in the description) .

Can someone help me here?

2) As a result running the

cd Desktop/android-sdk-windows/platform-tools

adb version

gives me the unrecognized command prompt.

the same is happening if i use the slimmed version

Would really appreciate some help on this

I tried searching the thread but i guess i did not enter the correct keywords so did not get the desired results

Thanks

P.S. I am using Windows 8.1
[Nexus 5 General] Chromium:
Use the slim version, and extract the zip somewhere. Then keep going further into the folder, until you get inside the platform-tools folder. Once you are there, hold shift and right click in some empty space in the folder. Choose open command window here, and test out "adb version" to see if its working.
[Nexus 5 General] jd1639:
Google 15 second adb install xda. Use that
[Nexus 5 General] fyze:
fastboot configuration in pc

hello sir:mad:

is there general configuration instruction for general tablets

i have a china made tablet called Alcatel M705VWBC

is this device is compatible with fast-boot

or can i use fast boot for this tablet device

:(
[Nexus 5 General] harrydaddy:
you can root a nexus 5 without unlocking bootloader

Just look up the video I made on YouTube, its called "how to root nexus 5 without wiping data"
[Nexus 5 General] Mr.World.Wide:
excuse me

the link of the first post for "full Android SDK" does not work

infact i have not permission

this link said :

403. That’s an error.

Your client does not have permission to get URL /sdk/index.html from this server. (Client IP address: 2.187.160.208)

We're sorry, but this service is not available in your country. That’s all we know.

can you give me another link for download "full Android SDK"???

thanks
[Nexus 5 General] jd1639:
Google 15 second adb install xda. That will give you everything you need.
[Nexus 5 General] redrumder:
I have problem with installing Custom Recovery. I typed "fastboot flash recovery recovery.img", and command promtp showed sending 'recovery', installing 'recovery'. Problem is nothing happened on the phone. No change to "use the volume buttons to scroll onto "Restart Bootloader" and hit power to select it etc." What should I do now?
[Nexus 5 General] :
Select recovery... Not restart bootloader. And did fastboot say "okay" or failed?
[Nexus 5 General] redrumder:
I figured it out and am happily rooted, Thanks.

e: According to Root checker app I'm not rooted. Hmm. Must have done something wrong.

---------- Post added at 02:41 AM ---------- Previous post was at 01:56 AM ----------

It didn't work out, so I have to try again. Question is which steps to take to start the process over again? Do I need to wipe everything when unlocking bootloader? I used CWM and SuperSU binaries. I'm thinking using TWRP this time.
[Nexus 5 General] :
Yes, try twrp. And if your bootloader is unlocked you don't need to do it again. ?
[Nexus 5 General] redrumder:
I went back to step 2. This time installed TWRP, used the same SuperSU binaries and still not rooted. What could I be doing wrong?
[Nexus 5 General] :
So, you flashed twrp with fastboot. And fastboot said "okay".

So you can go into twrp no problem?

And explain "used supersu binaries"? How exactly did you install supersu... And is it in your app drawer.

Have you opened it yet?
[Nexus 5 General] redrumder:
I think I was getting ahead of myself. I now opened SuperSU from my app drawer and gave access to Root Checker. It says I'm rooted so I guess it's alright.
[Nexus 5 General] Austie1337:
Hello, I am getting the Nexus 5 tomorrow. Will this work with the latest version or Android on the Nexus 5? Thank you! I just don't want to screw anything up.
[Nexus 5 General] jd1639:
Yes, it works with all versions of android.
[Nexus 5 General] Austie1337:
Wonderful! Much appreciated.
[Nexus 5 General] nexusjosh:
You just killed a kitten! In the spirit of this guide you can do it without a toolkit.

Download SDK Tools only package for Mac, run the 'android' program from the tools directory to run the SDK manager and select to install the Platform tools.

The commands are the same as in the guide, except you may need to put a ./ infront of the SDK tool program names, i.e. ./adb ./fastboot

And bonus, no driver was needed.
[Nexus 5 General] muzaffarkhan95:
root

sorry if i missed it out anywhere n for this noob qn, i have N5 running Android L with bootloader unlocked......so now flashing a recovery.img and flashing this supersu file will work on Android L??
[Nexus 5 General] jd1639:
Yes, you need super su 2.02
[Nexus 5 General] muzaffarkhan95:
Cool thanx a lot!!
[Nexus 5 General] CounterSpell:
help

Im sorry, im new here and need some help

My n5 is rooted, but i cant make OTA upgrade.

do i restore to factory default?

Or do i need an unroot?
[Nexus 5 General] jd1639:
You need this http://xdaforums.com/showthread.php?p=47369234
[Nexus 5 General] Ebra92:
driver installation

I tried all the methods in all the links for driver installation,no luck :(
[Nexus 5 General] jd1639:
Google 15 second adb install xda. Try those drivers
[Nexus 5 General] muzaffarkhan95:
Try this 15sec adb drivers installer http://xdaforums.com/showthread.php?t=2588979
[Nexus 5 General] Ebra92:
16728

I tried it already,it was the last linked method,no use
[Nexus 5 General] :
I'm not sure what is going on for you... But if "fastboot devices" doesn't list your device... The drivers aren't installed right. Or the cable is bad. Or the USB port is not great on the device or pc.

That's the only things it can be.

So, uninstall all the drivers. And reinstall the ones from the guide. Try a different cable. Try a different USB port on the computer. And lastly, try another computer.

Until your device is seen on you're computer, or another.... Your dead in the water unfortunately.

Good luck! ?
[Nexus 5 General] Ebra92:
tried another port & it worked,thx ! :)
[Nexus 5 General] Ebra92:
deleted post
[Nexus 5 General] vermatanmay4:
Hi all,

If i stop at Step 2, that is, I unlock the bootloader and install the custom recovery.

Will it make my mobile warranty null & Void.

Basically i want to install the Nexus 5 real volume booster app without rooting my phone and in one of the comments i found out that this way is possible.

Need your help on this.

Thanks in advance.
[Nexus 5 General] :
It's very easy to revert back to a seemingly untampered with device should you ever need warranty. Also, I hear they are pretty easy going with the nexus. As long as it's hardware and not something you did to mess it up. ?

Just do what you want and enjoy!
[Nexus 5 General] dcxgod:
I've had no problems with my device and have been rooted, stock and kept my bootloader unlocked. For whatever reason my SuperSU isn't functioning at all and indicates that I need to update my binaries, but when I try to install the zip file from Chainfire's SuperSU page via TWRP, it keeps giving me an error message. I'm not sure what to do at this point.
[Nexus 5 General] Elluel:
What version of SuperSU did you flash?
[Nexus 5 General] Mammt:
I used this guide to unlock+twrp+root on 4.4.2. Now I want to flash 4.4.4 with the flash-all script provided by google. I know data get wiped and bootloader remains unlocked. But what about twrp? Do I need to reinstall the custom recovery before rooting again?
[Nexus 5 General] jd1639:
You will have to re-install twrp. Flashing the flash-all.bat will put the stock recovery back on. You could follow method 2 and not flash recovery.img.
[Nexus 5 General] argosy:
is there a way to root the device without wiping it (unlocking bootloader) ?
[Nexus 5 General] joecool666:
hello, try towelroot, and if you want to unlockbootloader goto playstore and download nexus 5 unlockbootloader app , it don't wipe data, hope this help's
[Nexus 5 General] argosy:
thanks, towel should be the solution
[Nexus 5 General] joecool666:
welcome
[Nexus 5 General] birdie:
If I already have root (TowelRoot) but my bootloader is locked, can I still boot into CWM without unlocking my bootloader and without flashing?

I don't need CWM permanently installed, I need to use it just once.
[Nexus 5 General] jd1639:
You'll need to unlock the bootloader to boot into cwm. In the play store get bootunlocker. That'll allow you.to unlock without wiping the device.
[Nexus 5 General] VOLTAGEROCK:
I'm sorry for thanking you! I didn't realize you still had a question. So basically, I was new to rooting as well, but it is critical to follow the instructions to a "T" when rooting. When I went back to try again, I read everything first and then went back and started. Of course make sure you did the developer mode access setting and make sure it's on. I also noticed that when I rooted using the USB 2.0 port. The USB 3.0 port on the computer is indicated with a blue connector in the computer port. Are you aware of this? I just remember that after having many problems trying to root, someone here told me to use the 2.0 port (the non blue port). After using 2.0, everything worked. I do not understand the logic on why the 3.0 didn't work so it's very possible that I was doing something wrong the first few times and when I connected to the USB 2.0 port, it may have been a coincidence for the successful root.

Another thing prior to rooting was that I read the sticky somewhere that explained everything about rooting, such as what rooting means and what a kernel is and everything else that it explained. I found that thread so informative. Just look in the nexus 5 main and you should find the correct forum.

So, with all that said, I'm rooted and running cyanogen mood 11 nightly ROM from 8/29/2014 and will update soon to the latest nightly.

Just make sure you read EVERYTHING when it comes to instructions.

I am now way beyond a beginner, but far from an expert! Good luck and remember to search on XDA prior to posting because some people here will get annoyed at you and the moderators are just trying to keep from overloading their servers.

Sent from my wondrous Nexus numeral 5

---------- Post added at 03:55 PM ---------- Previous post was at 03:44 PM ----------

Here's the link for 'everything you need to know about Android'

Like I said, this was very informative to me.

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

Sent from my wondrous Nexus numeral 5
[Nexus 5 General] newb3e:
i am trying to install cm11 and when i try to use adb push command it say device not found...how do i fix it?its annoying me...

i have install adb from google.
[Nexus 5 General] Primokorn:
Do u want to flash CM through your custom recovery or to install a custom recovery first?

FYI http://xdaforums.com/google-nexus-5/help/diagnosing-usb-driver-adb-issues-windows-t2514396