yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] Chromium:
Why would i remove it? 2500 people were able to download it just fine, so im guessing you clicked on the wrong download link. And even if you did click on the wrong download link, why would you go onto running the malicious executable file which had nothing to do with the SDK. I clearly said that the SDK is in zip format, so wouldn't an .exe file cause you to be a bit suspicious?

Sent using xda-developers app
[Nexus 5 General] 123go!:
ok, its morning here.

now I have 2 superusers. supersu is now saying "the su binary needs to be updated. continue?" and when I hit continue it tries to update and it then says failed. If I try the TWRP method, it does nothing.

Man I feel like a dolt for messing up something so simple. I have never had any problems flashing dozens of roms on my old nexus s. I am tempted to flash it to stock and start over again.....this is frustrating
[Nexus 5 General] aavvaallooss:
Wich malware? No problem here with AVG Internet Security 2014
[Nexus 5 General] Kobayashi_SRK:
This is the first smartphone I've ever personally used and owned.

Everything here worked awesome. You guys are cool.

Now somebody tell me the equivalent of

sudo pacman -Syu

on Android, and I'll give you one internet! :D
[Nexus 5 General] gamerZ1:
OK i got the phone a good tutorial how to unlock,root install a custom recovery?
[Nexus 5 General] abaaaabbbb63:
Why would you ask that in a thread that is the answer to your question?
[Nexus 5 General] Redfield_87:
Hi, my Nexus 5 is on RMA, when it come back i should update it to 4.4.1 and then root the phone following the steps on this guide (same process that 4.4), right?

Thanks for your work! :good:
[Nexus 5 General] aavvaallooss:
Right!
[Nexus 5 General] james1196:
Nice Tutorial. Very straight forward but including all necersary details.
[Nexus 5 General] Seifer780:
Boot Lock

I have my phone rooted and the bootloader is also unlocked so I see the unlocked symbol on my phone. Does the bootloader need to remain unlocked in order for me to continue flashing ROM's, remaining rooted, and changing kernels?
[Nexus 5 General] james1196:
To flash you only need the unlocked Bootloader and Custom Recovery. Root simply gives you the permissions you want. Most Roms come pre-rooted. So just flash whatever the Bootloader will remain unlocked whilst Root is irrelevant.
[Nexus 5 General] radical86:
thanks!

really good straightforward tutorial.
[Nexus 5 General] In Desolation:
So I just pushed the 4.4.1 update and lost root. I'm trying to regain it the long way instead of taking a toolkit shortcut. But when I try the command it will not recognize it. I even tried to just copy and paste it.
[Nexus 5 General] jd1639:
What command are you using and do you have a custom recovery? You should be installing supersu from within the custom recovery
[Nexus 5 General] In Desolation:
Well, I was using TWRP. Both it and SuperSU are now not working since the update.

This is the command I was using

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

adb version
[Nexus 5 General] jd1639:
When you type adb version on a command prompt you don't get anything?
[Nexus 5 General] In Desolation:
This is what I was receiving

.
[Nexus 5 General] Chromium:
You arent supposed to type the command into the run window. You need to open command prompt first (winkey+r, cmd, enter), then run the command from there.
[Nexus 5 General] rayosx:
I have a very noob question trying to see if i can fix it. I own a nexus 10 and a nexus 5. Both of them are rooted on stock rom with custom recovery, I learned on the hard way soft bricking my nexus 10 when I tried to update it from Jelly BEAN 4.3 TO kit kat 4.4, it was boot looped, so the only thing that I first did is enter to twrp 2.6.0.0 and made a backup of everything including data, the backup i did was inserting a flash drive into the micro usb, the backup came ok, but when i fixed my nexus 10 tablet with wugs root kit, i put a new fresh stock image of 4.4. Then it was updated to like twrp 2.6.3.1 and i tried to recover my data from the backup flash drive and seemed that everything went fine and my data was not properly recovered, the backup file was about 3 gb size and i just wanted my pictures and important pdf files or videos ans there was nothing on gallery, camera or camscanner. Very weird, any clue if i have a chance to down grade to 4.3 and put back the old custom recovery to 2.6.0.0 version and maybe try to recover my files? Any suggestion? Thanks
[Nexus 5 General] Redfield_87:
This method works on 4.4.2 too, right?
[Nexus 5 General] jd1639:
No,a nandroid backup does not back your pics,etc
[Nexus 5 General] :
I used CF Auto Root & it worked for me on 4.4.2

---------- Post added at 08:04 PM ---------- Previous post was at 07:59 PM ----------

I was doing same thing for 4-5 hours, and then I learnt that we have to do this in command not in run.

the easiest way would be press and hold shift + right click in folder, then click on "open command window here" then just type command and hit enter.
[Nexus 5 General] Chromium:
Yes.

Sent using xda-developers app
[Nexus 5 General] OptimusVDarwin:
[MENTION=4883664]Chromium_[/MENTION] Need help trying to install a custom recovery it gives me this. And yes I put TWRP inside platform tools and I renamed it to recovery.img and not recovery.img.img

I'm on 4.4.2
[Nexus 5 General] flintdragon:
I'm having issues as well. I'm unable to "fastboot boot recovery.img" after 4.4.2. I'm using cwm.

downloading 'boot.img'...

FAILED (data transfer failure (Unknown error))

finished. total time: 0.001s
[Nexus 5 General] manalicream:
Hey guys just CF-Auto rooted 4.4.2 but am not seeing the Superuser app. Any thoughts?
[Nexus 5 General] supercarrera:
I'm having the same problem... :(
[Nexus 5 General] abaaaabbbb63:
Try moving it somewhere else, and writing the path to it.

Try using a different USB port.

Install the app from the play store. Does it work?

---------- Post added at 07:03 AM ---------- Previous post was at 07:02 AM ----------

Try flashing TWRP.
[Nexus 5 General] jcsww:
What seems to be the issue exactly? I have 6.0.4.5 that I flashed with fastboot without any issues on 4.4.2.
[Nexus 5 General] flintdragon:
Thanks! that worked. you guys have a lot of experience. :)
[Nexus 5 General] manalicream:
Thanks!
[Nexus 5 General] DRatJr:
Just seems kinda different to me, but just making sure: the link for TWRP is definitely the correct one, right?

Does this work with the 4.4.1 AND 4.4.2 OTAs installed on the device?

If I flash the SuperSU zip, and later decide I want a ROM, can I also flash a custom (rooted) ROM right after? (I will do all the necessary wipes). Or will this cause problems?

Thanks.
[Nexus 5 General] Primokorn:
Yes the TWRP link is correct: http://techerrata.com/browse/twrp2/hammerhead

TWRP works with 4.4.1 and should work with 4.4.2.

Yes you will be able to flash any custom rom after OTA update but I think it's not necessary to take the OTA if you're gonna install a custom rom.
[Nexus 5 General] monilchheda:
probably a bit paranoid here...

Upon unboxing (and first powerup, before even getting phone setup) , can I directly go into fast boot, unlock bootloader, flash custom recovery and root the phone?
[Nexus 5 General] abaaaabbbb63:
Um.. Yeah.
[Nexus 5 General] NCguy:
Im wondering if you would have issues with no users or file structure? Why are you concerned about going through the initial startup but not installing any apps or copying data?
[Nexus 5 General] monilchheda:
unlocking bootloader will erase the phone any ways, so, i was like let me see if its possible or any one has attempted it.
[Nexus 5 General] NCguy:
Actually on the play store galaxy nexus, at least for a long period of time, unlocking the bootloader did not wipe the phone. It was a mystery but it was the behavior. Have we positively verified yet that unlocking does indeed wipe the N5?
[Nexus 5 General] Chromium:
Even with the n4 it was possible to unlock without wiping. The trick was to unlock, flash a recovery and wipe cache without rebooting in between any of these steps. it was fixed with the release of the 4.3 bootloader, so its likely fixed in 4.4 as well. Once i get my hands on the device i will see if it is still possible though.
[Nexus 5 General] efrant:
You will be able unlock the bootloader and flash a custom recovery, but you will NOT be able to flash a superuser zip in recovery to get root, as the directory structure in /data is not created until you boot into Android at least once. However, you can still get root by placing the files in the correct locations yourself though.
[Nexus 5 General] efrant:
Yes. Just put ./ before every adb and fastboot command. (Assuming you downloaded the MacOS versions of fastboot and adb from Google and didn't rename them.)

That's assuming he renamed fastboot to fastboot-mac

Exactly the same in linux. Just put ./ before every adb and fastboot command. (Assuming you downloaded the linux versions of fastboot and adb from Google and didn't rename them.)
[Nexus 5 General] monilchheda:
this is my only concern... wiping of data upon unlocking the bootloader. if its fixed, nice.
[Nexus 5 General] IharpI:
After oem unlock my N5s camera and network does not work anymore.

How can i fix that?
[Nexus 5 General] NCguy:
Maybe relock it and/or reset. Sounds odd. Are you sure its not something else that caused it? Did you test them prior?
[Nexus 5 General] IharpI:
I tried "fastboot format userdata" as recommended in another thread.

They worked before.

Really Odd is, i cant even reset now.

If i go to settings -> backup restore -> factory reset, nothing happens if i press the button.

Wiping /cache in recovery fixed the problem for me!
[Nexus 5 General] KurrKurr:
Hi,

There's something quit unsetteling after the installation of TWRP. It asks for a password! I have neither set a password, nor have I encrypted my storage partition. Which password does TWRP need from me?

KK
[Nexus 5 General] Chromium:
If there is a cancel option, click that. Then do a factory reset with twrp.

If that's not working try reflashing twrp.

Sent using xda-developers app
[Nexus 5 General] jbs92:
I just attempted to oem unlock, flash TWRP and then wipe cache to save data but it doesn't work because of this. See here:

http://xdaforums.com/showpost.php?p=47108913&postcount=2

I read that before I went ahead, tried anyway and no joy. Cache wouldn't wipe, then device wouldn't boot. So, I had to go back into recovery and wipe data. Sorry! Maybe TWRP will fix it but I don't know the technical aspect behind how/why.
[Nexus 5 General] KurrKurr:
I found out what to do/what I did wrong:

Source: http://teamw.in/project/twrp2/205
[Nexus 5 General] justbabu:
Check post 2 of the official thread:

http://xdaforums.com/showthread.php?p=47108913

Sent from my Nexus 5
[Nexus 5 General] jbs92:
Yep, I just linked to that in my reply..
[Nexus 5 General] Chromium:
Thanks for the info. For those who haven't read this yet: MAKE SURE YOU REBOOT INTO ANDROID IN BETWEEN UNLOCKING AND FLASHNG A RECOVERY

I will update the guide when I get home.
[Nexus 5 General] justbabu:
Sorry - I obviously had a brain fart!

Sent from my Nexus 5
[Nexus 5 General] DRatJr:
What I meant about the last question is, let's say, I unlock and flash the SuperSU zip. Now I am on stock rooted. I can go ahead and flash a custom ROM (rooted) later (after I wipe and all) without any problems between the rooted stock and rooted rom, right? I am pretty sure no problems will occur, I've been rooting for years, just the way the guide says you can root stock OR flash rooted ROM made me question it.

Thanks
[Nexus 5 General] Drizwaldo1:
Folks, I'm unable to flash the latest supersu version via TWRP after flashing the 4.4.2 update.

When I try to flash the su ZIP I get an error and the process terminates. Any suggestions?

{EDIT} solved with CF-autoroot
[Nexus 5 General] Primokorn:
OK so no problem. From a rooted stock ROM you can flash a custom ROM without any problems.
[Nexus 5 General] DRatJr:
All right thanks man. Should be rooting soon. I got tired of toolkits with windows 8. Why have me click 1000 buttons to install drivers when I can do it in 5. Lol.
[Nexus 5 General] In Desolation:
I got it to work finally. Thanks to all who replied with help.
[Nexus 5 General] bigdanc123:
Re-Rooting after 4.4.2 Update

Great guide Chromium, wish I'd come here when I rooted my Nexus 5 last Friday (would have been so much easier!)

Basically, I unlocked the bootloader, installed TWRP recovery, then SuperSU installed itself and after a reboot, all was well.

Then this morning I updated to 4.4.2 (after making a backup using TWRP), all went well, but SuperSU & Titanium now say that its not rooted.

Do I just need to start in TWRP and flash the new SuperSU 1.8.zip to the phone? Install it from TWRP and that's me rooted again?

Or should I start from the beginning again?
[Nexus 5 General] jd1639:
Just flash supersu in twrp. You'll be rooted again.
[Nexus 5 General] BrannonJB:
Many thanks!

This is a great guide!!! A huge thank you to Chromium_ and all contributors!

It took me all of ten minutes to gain full root and most of that time was spent on driver issues but I didn’t have to go any further than this thread to find the solution.

I’m pretty much a total noob and if I can root the N5 then I think anyone can.

Thanks again,
[Nexus 5 General] bigdanc123:
Do I need to flash SuperSU to the phone? Can't I just copy it on to the phone, and then use TWRP to install it?

Is that what is meant by ”flashing" using TWRP to install? And do I need to uninstall my current SuperSU app first?
[Nexus 5 General] james1196:
Same thing buddy, flashing is installing zips through recovery.
[Nexus 5 General] jd1639:
Put it on the phone then boot into twrp and flash it
[Nexus 5 General] aneesh99:
I keep getting the 'can't open .zip' error when trying to flash SuperSU in TWRP. Tried renaming, moving it about etc. Any ideas? :confused:
[Nexus 5 General] jd1639:
Re-download it
[Nexus 5 General] gdallas:
hi,

i just flashed the new 4.4.2 as per what we discussed there, seems to have worked, but supersu is complaining that no su binary is installed now! this is exactly what happened when i just updated it ota offically. i thought doing it this way with the custom recovery would avoid this issue?

what should i do now?

thanks
[Nexus 5 General] jd1639:
Just flash the supersu in your custom recovery. The file is in the op. Download it to your phone then boot into recovery.
[Nexus 5 General] gdallas:
genius...thanks...that worked! now back in root...thanks bro
[Nexus 5 General] Navalio:
Hi,

Just for information I received OTA 442 with custom TWRP recovery, stock unrooted rom, closed bootloader and while update application TWRP installed OTA.

Once on 4.4 the cf root was made and prior to make it again on 4.4.2. and opening bootloader, i'm interesting is any possibility to toggle bootloader state available without connectiong phone to computer? Any app, any zip for install in custom recovery?

Thanks beforehand,
[Nexus 5 General] xdm9mm:
39625448

Great info op... I'm still waiting for my N5...
[Nexus 5 General] jd1639:
Look for bootunlocker app. You can unlock or lock from your phone.
[Nexus 5 General] datrageguy:
So I've made it all the way to the point of rooting. I have everything set up right except whenever I boot into recovery( running TWRP) my computer will no longer find my device so I'm unable to push it over. Any idea what I should do about this?
[Nexus 5 General] jd1639:
Easiest way is to boot into your phone and download supersu directly to it. Then reboot into recovery. Otherwise Google "android naked device drivers xda" and install those usb drivers. Then you'll be able to push super su onto your phone
[Nexus 5 General] datrageguy:
Thank you! I haven't been on Android since the HTC EVO first came out so I've lost my touch with things. Plus it was my first time not using a one click method. Thanks for the help! I'm officially rooted and everything. Sticking with Stock Rom though. I just like the way it feels and looks.
[Nexus 5 General] jd1639:
Glad to hear. And you'll be better off in the long run not using one click methods
[Nexus 5 General] lopri:
SuperSU

Hi, I have a quick question wrt root access. What difference does it make to install SuperSU into /system? I understand that it becomes a part of the system, or system app, but how does it differ functionally? Are there advantages and/or disadvantages to each way?

There is an option in my SuperSU app to install into /system but I am not sure whether I should tick it or not. A help would be appreciated.
[Nexus 5 General] Primokorn:
SuperSU is always a system app on my side after flashing the zip file from recovery (/system/app/Superuser.apk and /system/xbin/su)
[Nexus 5 General] SurenSeven:
I am on stock rom,rooted with custom recovery. Side loaded 4.4.1 couple days ago(before rooting and flashing custom recovery) n was fine . Now trying to side load 4.4.2 from twrp and keep getting "e: signature verification failed"

What have i done wrong?
[Nexus 5 General] jd1639:
Are you trying to sideload the 4.4.1 to 4.4.2 update zip? If so I'd redownload the zip and try again
[Nexus 5 General] N00berd:
Hi

I'm new to this forum and I feel pretty dumb to ask this question:

I'm using a Nexus 5 @ 4.4.2 with Franco Kernel. I have just updated the Franco kernel and have lost root during the process.

So I tried to regain root by using the Nexus Toolkit once again and although it finished without error I still didn't have root access. I looked at some rooting guides and decided to reflash SuperUser.zip by Clockworkmod from Recovery but still ... I don't have root. :(

I'm kinda lost here as I didn't find a specific guide on how to REgain root. :(

What did I do wrong?
[Nexus 5 General] Badd_blood:
Easy as pie, thanks for the guide.
[Nexus 5 General] albert_htc:
Thanks for the guide. I had a slight issue..

After flashing clockworkmod I tried to reboot by using the menu item on the phone.

This gave me a warning about not being root. I ignored this as that was the next stage.

Bad move trying to boot back to recovery I got the android on it's back with a red !

So I re-flashed clockworkmod. and tried again.

I then had an issue pushing SuperSU to the phone not sure why but it wouldn't go.

So I rebooted in to the OS, connected to the PC and copied SuperSU to /sdcard/downloads/

Rebooted to recovery only to have the same issue as before.. re-flashed clockworkmod, restarted bootloader when back to clockworkmod and applied the SuperSU from my /sdcard/downloads rebooted and all seems to be working..

Can anyone advise what went wrong and if what I've done now is OK.

I have since been able to make a nandriod backup.

Only issue I've noticed is the android picture in CWM is corrupt..
[Nexus 5 General] SurenSeven:
Yeah that's what i was trying to do and re-downloading didnt help so i unchecked the zip signature verification in twrp and flashed the ota zip and its fine now.
[Nexus 5 General] Bane99:
This is because you need to push the update to /sdcard/0/

I discovered this after following the original post to the letter and couldn't find SuperSU.

I also noticed the picture is corrupt as well.
[Nexus 5 General] SpriCo:
Thank you, was very helpful!
[Nexus 5 General] gdallas:
Would this guide also work for my nexus 7?sirty if this is a dumb question.. I previously rooted my n7 using ncry before but hasn't been rooted for a while since updates, was wondering if I could one, just this guide, and 2,id it's possible, would it matter that there was previous rooted, not sure about recovery, but if there was would the new one just write over it anyway?

Thanks
[Nexus 5 General] abaaaabbbb63:
Well ,in theory it's the same process. But I don't see why to not follow a guide from the N7 section...
[Nexus 5 General] a.daniel:
i flashed over the air update from 4.4.1 to 4.4.2. I've lost the root access but i can't seem to be able to flash stock or install custom recovery. I get error on my pc saying something like recovery.img can't be opened.
[Nexus 5 General] jd1639:
Are you using fastboot and is the path to recovery.img correct?
[Nexus 5 General] a.daniel:
sorry for the noob question but isn't fastboot the screen where it shows the options to start/restart/recovery mode...? i think the path is correct. i've put it in desktop, inside android-sdk-windows folder
[Nexus 5 General] jd1639:
Yes that's correct. System.img should be the custom recovery image and that should be in your android-sdk-windows folder. If the custom recovery image is named something different than system.img you have to use its name
[Nexus 5 General] Raistlin1:
I keep referring to this guide, thanks again OP Been using adb to temp boot TWRP to do backups and bakup my EFS and then I pushed the older radio using adb as well.

Saving kittens!
[Nexus 5 General] nexyone:
Hi, I unlocked my boot loader and I want to root the phone now so i can have SU permisions .can i just root with out installing costum recovery? I still want to be able to get ota updates and stay as stock as possible. Is flashing costum recovery required ?

Thanks
[Nexus 5 General] abaaaabbbb63:
You could boot a custom recovery. Use the command

fastboot boot recovery.img

It will only boot the recovery, you flash the SuperSU package, and then you reboot. The recovery won' be saved.
[Nexus 5 General] epiphone:
Flashed the CWM 6.0.4.4 using this guide, and rooted to stock.

Got the OTA for 4.4.2 and downloaded the package, however after choosing to install, think there are some messages that said the flash was incompatible, and eventually after the phone rebooted the version is still at 4.4.

Should I be sideloading? Do I have to sideload to get OTA all the time?
[Nexus 5 General] james1196:
Sorry for the question. What is side loading? Everyone keeps saying it :'(
[Nexus 5 General] abaaaabbbb63:
Using the "adb sideload x.zip" to load a zip from your pc to your recovery, and installing it.
[Nexus 5 General] mpgrimm2:
You should head over and read the following thread...

[INFO] Nexus 5 OTA Help-Desk

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

Chances are one of the scenarios will apply to you (it helped me) and you may find that you changed/removed some of the system files, kernel etc or something you forgot about preventing the ota zip from flashing (it checks the files first).

PS: the ota worked for me on TWRP 2.6.3.4, but it removed root and replaced recovery with the stock version. No big deal, just reflashed recovery and Su from fastboot.

Sent from my Up all Night Sleep all Day Nexus 5!
[Nexus 5 General] souwailap:
thank you so much.
[Nexus 5 General] nexyone:
I rooted my phone ... Is there some app or a setting that can increase vibration intensity?
[Nexus 5 General] deusfaux:
Even though I know how to do it, for reference and for others, it would be nice if the OP detailed how to root without installing a custom recovery - that is, just booting into one temporarily using 'fastboot boot customrecovery.img'. Phone stays stock then, which a lot of people are interested in doing.
[Nexus 5 General] Vercion3:
Confirm

I just wanted to root my nexus 5 to install Xposed.

I do not want to flash any ROMS or anything else. SO do i just Unlock the bootloader? Or do i have to follow step 2 and step 3 Option A?:confused::confused::confused:

Edit: After i root it without flashing anything, do i still get OTA updates? or do i have to do them manually? If so, how?
[Nexus 5 General] abaaaabbbb63:
Me again :D

You do Step 1,2 and 3. Option not needed.
[Nexus 5 General] Vercion3:
Alright! Thanks again!

Edit:

1) After i root it without flashing anything, do i still get OTA updates? or do i have to do them manually? If so, how?

2) TWRP or CWM?
[Nexus 5 General] abaaaabbbb63:
1. Yes, you will, and you will have to flash them manually through your custom recovery, just like you would install any other zip. But you'll have to flash the supersu zip again.

2. I personally prefer TWRP, cause it's easy to use. But it doesn't really matter which one you use.
[Nexus 5 General] Vercion3:
Should i wait until the official stable custom recovery image is released to prevent something wrong that might happened ?