yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] ironia.:
it's possible to flash supersu 2.35 without using twrp???

you can try

flash

twrp 2.8.1.0

flash supersu

and then flash twrp 2.8.2.0

but for stay away from these issues is better to wait for a new TWRP version??

tnx
[Nexus 5 General] Ben36:
Do you already have root? U could try the app off the play store

Sent from my Android 5.0 Nexus 5
[Nexus 5 General] ironia.:
i'm stock unlocked
[Nexus 5 General] jd1639:
Boot twrp, don't install it then flash supersu. fastboot boot recovery.img
[Nexus 5 General] ironia.:
which version 2.8.1.0 or 2.8.2.0?
[Nexus 5 General] jd1639:
Use 2.8.1.0. Send there are some issues with the newer one.
[Nexus 5 General] Blackbox421:
Hey guys,

I am currently on stock Android 4.4.4 with a unlocked bootloader. Now I want to install a custom recovery to root my phone.

I already installed adb and fastboot system wide on my pc with the "15 seconds ADB installer" (http://xdaforums.com/showthread.php?t=2588979).

Now my question is, if I need to type in the "cd Desktop/android-sdk-windows/platform-tools" code in cmd (windows) before every command. I ask this, because I unlocked my bootloader without this line (following this guide: http://xdaforums.com/google-nexus-5/general/noob-read-adb-fastboot-how-hep-t2807273).

If I need to type in this command.. Should I simply create a new folder with this name? So adb will find the recovery.img and the SuperSU file?

Any answer would be appreciated! Thank you! =)
[Nexus 5 General] jd1639:
You don't need to be in that folder. Just open a command window in the same folder that your recovery.img is.
[Nexus 5 General] Rolo42:
Yes, through the SuperSU Play Store app (phone was already rooted).
[Nexus 5 General] noob5ever:
fromcxe called

many thanks for the tutorial!

I managed to root my nexus 5 using the guide, The LG USB driver didn't seem to work so I used the Universal_Naked_Driver_0.73 method and that did the trick. Much appreciated!
[Nexus 5 General] aerozolic:
Deleted
[Nexus 5 General] sms2000:
fastboot oem unlock fails

I have a newly obtained D821 Nexus 5 16Gb. It updated itself to Lollipop with B/L HHZ12d.

Secure Edit - enabled

Lock State locked.

I cannot unlock!

The fastboot oem unlock fails with

... FAILED (command write failed (Unknown error))

Any ideas?
[Nexus 5 General] jd1639:
It usually means your emmc is bad. But just for fun go into settings, developer options on your phone. Is there an "enable oem unlock" there?
[Nexus 5 General] :
Try different USB drivers. Try a different cable. Try a different USB port on the computer. And try a different computer.

If none of those help, it could be a hardware issue unfortunately. Your emmc flash memory chip could be bad.
[Nexus 5 General] sms2000:
I found another cable, another USB, will check with another PC. I reaplied drivers...

I found another Nexus 5 D821/16 with 4.4.4. Those two were bought simultaneously.

All the same: I cannot unlock or flash with fastboot.

OK, I have to try another comp, this one is not trustworthy anymore.

And yes I heard someone had the same problem with Nexus 4 and returned it back to a shop for exchange.
[Nexus 5 General] sms2000:
Yep, another computer succeeded to flash Nexus 5 with 5.0.0 Android.
[Nexus 5 General] Warl0rd:
Hello there.

I have a few doubts regarding rooting on lollipop.

Should I use the lastest SuperSU version (UPDATE-SuperSU-v2.37.zip)?

Do I need patched kernel?

Thanks!
[Nexus 5 General] jd1639:
Just flash that super su in custom recovery and you'll be fine. No patch required.
[Nexus 5 General] ajaxcbcb:
Try to update ur adb to a newer version. Usually that is one of the primary reasons to bootloader unlock failing. have fun :)
[Nexus 5 General] daffie:
I am fairly known with procedure for rooting and such and have done so on HTC One M8 and M7.

I have just managed to unlock the bootloader of my new N5 using the procedure in startpost I followed the steps to-a-T. Then proceeded to flash new TWRP recovery (v2.8.2.0). That seems to go well and I see this :

C:\adb>fastboot flash recovery recovery.img

target reported max download size of 1073741824 bytes

sending 'recovery' (14910 KB)...

OKAY [ 0.637s]

writing 'recovery'...

OKAY [ 1.166s]

finished. total time: 1.806s

Then I do a reboot bootloader and afterwards choose 'recovery mode'. The phone reboots and I see the Teamwin logo but then the phone reboots again and starts up normally. I cannot get into recovery mode.

Does this sound familiair to anyone? Maybe someone has some tips for me to get this step finalized before I can finally root my phone and flash custom rom :)

Many thanks in advance for the help...
[Nexus 5 General] aerozolic:
2.8.2.0 is broken for many hammerhead users. Try 2.8.1.0

Sent from my Nexus 5
[Nexus 5 General] daffie:
Thanks very much for the super-quick help! I'll get cracking again with v2.8.1.0.

Edit : gotta love XDA! A quick question, super-quick help...and pronto...problem solved :good: :highfive:
[Nexus 5 General] :
I wanted to ask. I m on nexus 5 version 4.4.4

i want to install TWRP recovery so should i select the latest or any selected version? newer one is 2.8.2.0.

And also of SuperSU selected version or latest 2.3.7?

second question i tried flashing factory images 4.4.4 for nexus 5 but there was written:archive doesnt contain boot.img & system.img? dont know how to fix it?
[Nexus 5 General] jd1639:
Use the previous version of twrp. Some people are having issues with 2.8.2.0. You have the correct version of supersu. Try redownloading 4.4.4
[Nexus 5 General] :
Can u specify exact version of TWRP so i could install or 2.8.1.0?

i tried but the same case i even extracted the zip further i have these files but when i flash this happens.
[Nexus 5 General] jd1639:
Use 2.8.1.0 flash the image in fastboot http://techerrata.com/browse/twrp2/hammerhead
[Nexus 5 General] :
thank you very much bro.
[Nexus 5 General] BirchBarlow:
You probably don't have enough RAM available to flash the images. Close all other programs before attempting to flash the factory image.
[Nexus 5 General] cobyman7035:
I can't root lol.. Do I flash twrp recovery first.? Then flash su zip after? I try cf auto root… fail to find files

I ment this for nexus6
[Nexus 5 General] :
This is the Nexus 5 section. There's a Nexus 6 section. And here's a all in one thread for your N6,

http://xdaforums.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481

Read read read... Then do. ?
[Nexus 5 General] apache04:
One simple question please.

I am all stock 5.0

I want to root, but I don't want to flash a custom recovery to break the OTAs

can this be possible without using a toolkit?

If not, then please suggest a toolkit :)
[Nexus 5 General] Pagozzi:
I've got some problem with the flashall.bat script in order to get back stock from a custom rom on my nexus 5.......I've unzipped the factory image in the adb archive but, when I double click on the flashall.bat something get wrong...here's what I have :

http://www.androidiani.com/forum/att...ne-cattura.jpg

P.S. I know it's possible to flash the .img files manually one by one but I'd like to know what is the problem in this specific case and how to fix it

thanks
[Nexus 5 General] :
i had no application running at that time except this command.I have read people say it has something to do with drivers but i m not sure because drivers are already working.
[Nexus 5 General] easyrider77:
I think I borked my phone good this time.

I being the techy/gadgety person I am like to mess.....some times to much.

This time I was messing with reverting back to stock, locking the bootloader and resetting the tamper flag to false again.

At first I was messing with the flashall.bat way and it didn't work for some reason. So I learned how to do command via the command prompt in fast boot mode, so I did fastboot flash recovery recovery.img, etc..etc.. and so on with all the files, that got me back to stock oem again.

Again I decided to mess around with it and did the flash back but this time I did flashall.bat right after I had already flashed the img files, and flashlall.bat worked this time, dunno why but it just did so once I let flashall finish it's thing I decided to use a zip file via here: http://xdaforums.com/showthread.php?t=2239421 and grabbed the "Nexus BootUnlocker script" file and used it.

After putting the zip file on my OTG device I then proceeded to boot up twrp temorarily by doing "fastboot boot path/to/TWRP.img" of corse path being where it was on my machine ie: c:\twrp\twrp.img or whatever.

Once that booted the device to twrp temporarily I then browsed to the zip file and used it and rebooted to bootloader to make sure everything was locked and it was indeed locked bootloader and tamper free.

Now here is where I have run into issues.

I did fastboot oem unlock (to unlock the bootloader) - that worked fine

I did fastboot flash openrecovery-twrp-2.8.1.0-hammerhead.img then rebooted to twrp recovery - that worked fine.

Once I am in recovery though I go to wipe > advanced wipe > and check things on the list ie: dalvik, syste, data, etc....... Upon finishing the process though I get a message saying E: unable to mount /data, E: unable to mount storage.

I also tried to restore a nandroid backup I had via twrp but still nothing, I just hang at the google logo.

So what did I do wrong in the process? so as I don't do it again down the road.

My guess is that I did not let the system setup once again before I did twrp wipe and flashing......but I could be wrong.
[Nexus 5 General] jd1639:
Just flash the factory image in fastboot and you should be fine. Not sure what you did wrong. Flashing the nandroid should have recovered you.
[Nexus 5 General] easyrider77:
Yeah I think, not positive, but it's the only real thing that makes since is....after unlocking the bootloader it does wipe the phone, so I got ahead of it and tried to do somthing wihtout it haveng any system or anything on the phone, hence it wasn't sure exactly what to do.

once I loaded up the factory stuff again, let the phone boot up this time, then I rebooted to fastboot and flashed twrp again, rebooted to twrp did the nandroid it's back up and running again.

The only thing different I did this go round was I let it boot up to the system before I proceeded.

Everything is a go though. I knew I wasn't bricked just wanted to make sure I had the steps and stuff right, and you confirmed that, so I'm betting you have to let the system bootup after an oem unlock before proceeding with the rest then it has a base to work from.
[Nexus 5 General] cobyman7035:
How to get back to fully stock 5.01? I'm currently using franco kernel r60 on 4.3 lol

Via my NeXus™ 7FHD on XDA Premium app
[Nexus 5 General] Primokorn:
Flash the factory imgs.
[Nexus 5 General] jcmordan:
Hello, i have the same problem: install cwm and then reboot the phone, when i go back to recovery mode I get "no command" screem. what I need to do?
[Nexus 5 General] jd1639:
This worked for me but I'm not sure why,

fastboot boot cwm.zip

Then flash supersu in cwm. Then go back and flash cwm,

fastboot flash recovery cwm.zip

Also,I recommend twrp, not cwm as cwm is poorly supported
[Nexus 5 General] jcmordan:
I tried that, but when i tried to flash supersu in cwm, I can't find it, I was put it in root dir of internal storage, where I should put supersu zip?
[Nexus 5 General] jd1639:
Put it in /sdcard/download
[Nexus 5 General] jcmordan:
Thanks. with twrp work at firts, flash supersu and no need to reinstall twrp.
[Nexus 5 General] Fata7:
Hello,

I was on android 4.4.4 with custom recovery, custom rom, rooted, unlocked bootloader.

I follow the topic (http://xdaforums.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701) for flashing lollipop 5.0.1.

Now I have a stock rom but no more custom recovery and I need it to flash SuperSU and incoming Lollipop custom Rom.

So, how can I get a custom recovery ? Is the first post of this thread works for lollipop?

Thank you =]
[Nexus 5 General] jd1639:
Just flash a custom recovery image file in fastboot

fastboot flash recovery customrecovery.img
[Nexus 5 General] ofird:
I installed latest 5.01 (unlocked and rooted with TWRP)

When I open Super SU (version 2.4) I get a message that I need to update it and I get two options "normal" and "twrp" when I select TWRP and click OK nothing happens, even after restarting manually and opening SuperSU I get the same message

Does it happen the same for you?
[Nexus 5 General] treefrog321:
I have never tried to update the binaries using the TWRP method. I have always done it with the "Normal" method. Never had a problem.
[Nexus 5 General] ofird:
To which folder does super su download the new version to?
[Nexus 5 General] Elluel:
Just flash the newer version in recovery and forget about any binary update issues.
[Nexus 5 General] ofird:
Where do I download the latest?
[Nexus 5 General] aavvaallooss:
https://www.google.com/search?q=supersu&ie=utf-8&oe=utf-8

https://www.google.com/search?q=twrp&ie=utf-8&oe=utf-8
[Nexus 5 General] funnel71:
I've never tried it on the Nexus, but I have tried it on other devices and it never has worked. So I just use normal all the time and have had 100% success
[Nexus 5 General] eyeconic:
With 5.01 I had to change from TWRP to ClockworkMod. Also, it is safe to select the "Normal" option.
[Nexus 5 General] xrad:
Root possible without cable?

My USB port is fused due to a short circuit (can still charge via Qi luckily). I'm afraid the answer is No, but it can't hurt to ask:

Is there any way to root without using a USB cable connection in the process?

I'm thinking about root exploits (Framaroot does not seem to be supported for Nexus 5) or tricking the OTA function to perform sideloading a special image stored somewhere. I'm expecting a replacement device and want to have a nandroid or TB. My bootloader is unlocked BTW.
[Nexus 5 General] aavvaallooss:
Towelroot worked on 4.4.4 but I think that doesn't work on Lollipop
[Nexus 5 General] gee2012:
It worked on kernels build upto June 2 2014 because of a vulnurability in the kernel.

---------- Post added at 11:59 AM ---------- Previous post was at 11:55 AM ----------

Nope, no other way getting root besides flashing the latest superSU.zip with a custom recovery or using CF Auto Root in fastboot. or flashing a pre-rooted custom rom in recovery.
[Nexus 5 General] Thepho3nix:
Hey guys! just came from Lg G2.

Entrying in boot menu with the three buttons combo i noticed a legend showing these lines right at the bottom:

- Secure Boot - ENABLED

- Lock State - UNLOCKED.

i'm not on lollipop and still running 4.4.4 KK, i downlaoded the OTA update for sideload flashing, but dont know if i should go further with it i dont wanna brick it at all.

does my N5 have unlocked bootloader?

is it safe to flash lollipop update via sideload?

ill wait foe your answers:confused:
[Nexus 5 General] BirchBarlow:
It's safe, but it will only patch if you're 100% stock (including recovery). If anything is modified, you either have to reverse the modifications, or better yet just flash the factory image.
[Nexus 5 General] haimmalka:
Mod Edit no need to quote ENTIRE OP....

:(
[Nexus 5 General] Elluel:
Why did you quote the entire OP?

It says your bootloader is already unlocked. You can't unlock it when its already unlocked.
[Nexus 5 General] haimmalka:
What is the difference if locked or open?

I can unlock bootloader or not
[Nexus 5 General] Elluel:
You're trying to unlock the bootloader

It is ALREADY unlocked

You can't unlock it when it is already unlocked. At least try reading the error.
[Nexus 5 General] haimmalka:
With locked What does this mean?

What is the difference if locked or open?

Why can not I open it?

What disadvantage with locked or open?
[Nexus 5 General] Elluel:
I've already answered your question twice. Read my post again.
[Nexus 5 General] haimmalka:
Sorry for my bad English

Google translation

I understand you Registrar can not be opened

I'm just asking when it is locked or open what a difference? It did not answer
[Nexus 5 General] Elluel:
You are trying to unlock the bootloader

Your bootloader is already unlocked

You cannot unlock it when it is already unlocked

You are still trying to unlock it when it is already unlocked

If you still can't understand then I don't know why you're even bothering.
[Nexus 5 General] haimmalka:
Do good when I ask questions and you answer

I realized that it is locked I try to open it when it is locked

I ask !!!!!!!!!!!

How can I open it? Possible? Yes or no?

I also ask !!!!!!!!!!!!!!!!!!

What's in it when it is locked or open?

What a difference a locked or open?

Is that you do not answer me maybe you do not understand my questioned!!!!!!!!
[Nexus 5 General] Elluel:
You're the one that does not understand, sorry. I've answered your question THREE times.
[Nexus 5 General] haimmalka:
What's funny you

Show me answer my question

I ask you what it is to give it an open or unlocked

With this open What's in it?

It locked like now what does this accomplish?

What is the difference between the two locked open
[Nexus 5 General] :
Open=unlocked. Same thing. That's it. ?

And we're talking about the bootloader. If you don't understand these terms, read the sticky threads, especially frequently asked questions and index threads and learn what all this means.

Otherwise, if you are completely confused and start messing with your device.... You are likely to have many problems.
[Nexus 5 General] haimmalka:
Open = unlocked. Same thing. That's it. ?

He replied that you did not answer me on this anime from now locked closed the same:good:
[Nexus 5 General] Wakamatsu:
/facepalm for real
[Nexus 5 General] jeremy.ck:
I successfully unlocked my bootloader but after installing teamwin I haven't been able to turn on my phone. I tried going into recovery mode but I get stuck on the teamwin boot animation. It's the same when I try to turn on my phone. Is there anyway to fix this situation?
[Nexus 5 General] Elluel:
Try flashing the recovery again
[Nexus 5 General] JukeRedlin:
Fixed, sorry. Ignore.
[Nexus 5 General] exhibit1234:
Hi,

I am trying to root my phone and when I type : adb devices my device isn't there. fastboot devices lists my device and I have a custom recovery installed now.

Thanks
[Nexus 5 General] jd1639:
If your booted into the bootloader use fastboot commands. Adb devices won't work when your booted into the bootloader. It only works when booted into recovery or android. I think everything is working correctly on your device
[Nexus 5 General] exhibit1234:
It didn't work. Seems like only fastboot works.. maybe I need a different driver ?
[Nexus 5 General] jd1639:
I think everything is working fine. To root flash the twrp image in the bootloader using, fastboot flash recovery twrp.img (where ywrp.img is the full name of the twrp image). Then flash supersu in twrp.
[Nexus 5 General] exhibit1234:
Okay I got it to work... thanks
[Nexus 5 General] life:
if im already unlocked (bootloader) and just want to install a custom recovery, will it wipe all my data? i don't think it will from what i remember, just want to be sure.

It's just flashing a custom recovery over the stock one and not wiping anything... right?
[Nexus 5 General] :
Correct! You're set!
[Nexus 5 General] tonyt3rry:
is there just a way for me to just root, I dont want no custom recoverys on my phone just root
[Nexus 5 General] jd1639:
fastboot boot twrp.img

Then flash supersu in twrp. It will just boot into twrp. It won't put it on your device
[Nexus 5 General] tonyt3rry:
thank you :D
[Nexus 5 General] mooncatcher:
I am stuck at the rooting process, I can't find SuperSU in the menu to install, how can I do it again?
[Nexus 5 General] crypticlight:
adb push SuperSU taking long time

I followed everything in order, unlocked bootloader, flashed twrp recovery and booted into it. When I did "adb -s <mydeviceid> push UPDATE-SuperSU-v2.45. /sdcard/", it is taking a long time.. stuck on that process for last 20 mins. Is it okay given the file is just few MBs? How long does it take ideally? :confused:

Please help.
[Nexus 5 General] daterrow:
will this work for lolipop stock 5.01?
[Nexus 5 General] crypticlight:
Yes. I tried it out yesterday and it worked fine. Had some issues while trying to adb push supersu zip but then I copy-pasted it after booting into android and it worked well.
[Nexus 5 General] zork10:
What are GApps andere do i have tot download thema before i do the whole proces?
[Nexus 5 General] rah94:
what's the difference between root with this methid and CF-auto ?
[Nexus 5 General] :
CF is mostly used for those wanting to not flash a custom recovery, Or there's no custom recovery for their device.

This is definitely the best way to Root.

You can't flash roms or anything else using the CF method either. It's just for using root apps.
[Nexus 5 General] Primokorn:
This thread is not dedicated to Gapps :confused: It does not matter if you currently have Gapps or not.
[Nexus 5 General] rah94:
so by using CF-auto method,can i control my cpu ?
[Nexus 5 General] :
You need a custom kernel for that, or a rom with a capable kernel.

So you'd need a custom recovery installed for that. So using CF auto root isn't your best choice.
[Nexus 5 General] jd1639:
Not alone, no. You'd need a custom kernel and an app to control the kernel. Rooting and controlling the cup are two different things.
[Nexus 5 General] rah94:
what's the different between full android sdk and slimmed version ?
[Nexus 5 General] Elluel:
You don't need the complete SDK unless you want to do some sort of development, you'll only need the adb/fastboot executables.
[Nexus 5 General] rah94:
this installation is for those who do not have adb and fastboot working properly right ?
[Nexus 5 General] Primokorn:
For people who never installed adb/fastboot. If 'adb devices' and 'fastboot devices' work on your PC then you don't need to install it one more time.
[Nexus 5 General] cribcaged:
Hi guys,

I've successfully got the root permission (unlock bootloader, TWRP recovery and root access), just wondering will I get the OTA updates on my Nexus 5?

or do I undo all this operations? is there a guide to unroot and put the stock recovery?

Thanks!
[Nexus 5 General] jd1639:
You'll get the ota, but it won't install. If all you've done to your device is root it, made no other changes to system files, then unroot and flash the stock recovery image with fastboot. Then the ota well install.
[Nexus 5 General] Primokorn:
For OTA questions read this: http://xdaforums.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217

To unroot: http://xdaforums.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701 (you can simply flash the stock recovery via fastboot).
[Nexus 5 General] cribcaged:
"you can simply flash the stock recovery via fastboot"

will this erase my data? just wondering if there is a way to root/customRecovery and unroot/stockRecovery without have the data wiped out
[Nexus 5 General] Telyx:
No, it won't erase your data.
[Nexus 5 General] Primokorn:
BTW if you flash a custom recovery to only root your device I suggest you to use fastboot boot command to only BOOT to a custom recovery and flash SuperSU.
[Nexus 5 General] cribcaged:
ah! interesting...how can I do that? so basically I don't need to replace the stock recovery in that way
[Nexus 5 General] Primokorn:
fastboot boot path/to/TWRP.img

You just boot on TWRP Recovery so you keep the stock recovery after a reboot ;) It's explained here (from Optional, but necessary for warranty purposes - Locking your bootloader+ Resetting the tamper flag)
[Nexus 5 General] nernding:
Hi guys, i rooted my nexus 5 device with custom rom which i used cm12. But then later, i had to factory reset it at the bootloader because it stuck at the cm logo and then i flash again the same custom rom and gapps. Now i've downloaded the rootchecker and it says im not rooted and supersu is not updating its binaries.

im still new to this. anyone ? thanks in advance!
[Nexus 5 General] Cueball666uk:
You need to goto developer options and enable root access for apps only
[Nexus 5 General] nernding:
thanks. rooted. :) btw, i've got the cm kernel, can i flash elementalx kernel ? cause i wanna get the double tap to wake function.