yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] WugFresh:
I am really curious about how that is happening. Can you add me on Google hangouts and hit me up via chat when you get a chance.

It just doesn't make sense to me why it works for so many people but for some they experience what is happening to you.

To resolve your problem in the meantime you can just grab the full installer for my site and install it over the older version - this will effective work the same.

{{ WugFresh }}
[Nexus 5 Android Development] pkelly517:
PM sent to figure out a good time.

No need for me to update until you can figure out the issue. I'm rooted on everything I need.
[Nexus 5 Android Development] tungzta:
Flash to stock + unroot

If I have a custom recovery and a custom rom and I just wanted to go back to stock for ****s and giggles, does the "Flash to stock + Unroot" option work regardless of the current version of Android running on the phone? How does this option differ from the guide in this link? http://xdaforums.com/showthread.php?t=2513701
[Nexus 5 Android Development] WugFresh:
I helped write the official Google flash-all.bat that the guide you linked to uses :)

So that will work as well.

The difference between that guide and this toolkit is that the process is fully automated, has extra failsafes like hashchecking, device matching, informational warnings, and also some advanced options/customizations in the toolkits main options menu like "force flash mode" and "no wipe mode".

Yes, flashing stock can work regardless of what android build you are currently running, and if you run into issues where the script gives you errors about not meeting certain requirements/prerequisites then you can enable force flash mode and try again.

Make sure you select the correct device and build in the toolkit or make use of the autodetect feature if your drivers are already configured.

Cheers

{{ WugFresh }}
[Nexus 5 Android Development] Caniv:
hello!

ive never used a toolkit before so i have to ask

is there a built in step in the toolkit to install TeamWinRecoveryProject?\

looking at the pics in the OP i dont see an optioned named similarly?
[Nexus 5 Android Development] mchu6am4:
Paypal donation ID - ID845932218H395294A - thanks for your hard work!
[Nexus 5 Android Development] yoyosamsam:
Sorry for my bad explanation, I try my best to explain it again. I was successful to flash back to stock rom and unroot via your tool. (there was pure android and no any additional app, obviously no supersu as well) At that moment, my oem was still unlock and i need to re-lock it before i bring it to repair. The problem is here, i used your tool to relock my phone, it was successful, in the bootloader it showed my phone is lock. However, I goto android system and i discover that there was a app called "supersu installer" which is different with supersu. Supersu installer is an app that seems like to lead you root your phone. I try to delete it,but it said it is a system app which you can not delete it. My phone was unroot at that moment, so i can not use titanium to uninstall supersu installer. I am sure that all my step was correct, because I use the same tool to relock my nexus 4 and it was succeed. Finally, I used your tool to unlock bootloader, flash stock and fastboot to relock my n5. And the problem is solved and there was no more supersu installer.
[Nexus 5 Android Development] tourbound129:
Yes. When you click the checkbox for custom recovery it will then bring up the option to pick which one.
[Nexus 5 Android Development] 1Chef:
using your toolkit I have unlocked the bootloader of my nexus 5, and am stuck at rooting as it fails to download the 'modified boot hammerhead 4.4.0 KRT16M.img' and when i go to download the file manually there is no file there. any help is appreciated, thanks.
[Nexus 5 Android Development] KNz0r:
it seems android file is is down...
[Nexus 5 Android Development] WugFresh:
In the toolkits options menu you can switch the download server to goo.im

{{ WugFresh }}
[Nexus 5 Android Development] OneOfOne:
I just want to thank wugfresh for the excellent tool kit. many many thanks
[Nexus 5 Android Development] shizkoff777:
I'm sorry I looked but never found the answer.I bought the nexus from Google but activated it with sprint what is my model type and I don't know what to pick for device either.I know I sound dumb
[Nexus 5 Android Development] Lownita:
Is it ok to backup and restore virtual sdcard from one N5 to another (rma) N5 with the toolkit?

Thanks!
[Nexus 5 Android Development] chevlar:
Been a nexus user since the nexus s 4g, and never had a need for toolkit till now when I couldn't get my new nexus 5 to recognize. The driver installation and troubleshooting aspects are worth their weight in gold. Thanks wug!
[Nexus 5 Android Development] asturnauta:
Thanks a lot for this toolkit, i have my new nexus 5 unlcocked, rooted and TWRP in a few minutes and very easy.
[Nexus 5 Android Development] WugFresh:
Seeing that the bottom of your post says:

I am going to take a wild guess and assume that you have a Nexus 5. ;)

In the device selection window it provides clear instructions on how to determine your build. Cheers.

{{ WugFresh }}
[Nexus 5 Android Development] WugFresh:
Yeah, it should be alright. Keep in mind that some games and other apps may have stored data there, so you might be restoring stuff that you don't need on your new setup, unless you plan on reinstalling everything back to the way it was. Personally I prefer a fresh start and just copy over things like music and pics manually - and let the apps recreate any folders or data themselves. I suppose the one benefit of using the data media backup and restore is for games that store large amounts of data on your sdcard... But again in that case, if it were me - I would probably just try to copy over that particular folder rather than backup and restore the whole data media directory.

Whatever you decide to do should work. If for some reason it causes unforseen complications you could always reflash stock. Hope that helps answer your question.

Cheers.

{{ WugFresh }}
[Nexus 5 Android Development] skygunner:
my N5 is outright from play store, so do I still have to unlock it before root it?

Can I just root it without unlock it?

I don't want to do a backup of the data at the moment
[Nexus 5 Android Development] Lownita:
Backup worked, but restore left a lot of files, twrp backups, obb folder. No idea why. I just copied it over via MTP then. It really is a pain in the ass to backup sdcard since it is not possible to mount it as USB drive anymore. Thanks anyways :)
[Nexus 5 Android Development] WugFresh:
N5's purchased directly from the playstore still come shipped with a locked bootloader, therefore yes - you will have to unlock before rooting - so you will have to backup first. In the future it's best to unlock right away to avoid this complication (assuming the device is a Nexus). Cheers.

{{ WugFresh }}
[Nexus 5 Android Development] skygunner:
Thanks for the reply.
[Nexus 5 Android Development] Borg3D5:
UPDATE JANUARY 2014

===================

Last week, finally, i found the problem and i was able to update - root/unroot my Nexus5 again.

I want to share this information with you all:

The problem start always from my antivirus that is G-Data 2014 version (regular licensed, i use it with 4 licenses so no crack - fix - tricks or whatever).

Be attention please:

This can seems as a normal common problem and everyone may think "ok this is not a new, it is just sufficent to deactivate antivirus like in other similar situations" but, instead, it is not as you can think because G Data block Wug's tool update not just because not listed in a "white list" but because Wug's tool is no liked by the "interactive check" engine of G Data, that is a slighly different problem.

What does it mean, in few words?

That if you have G Data 2014 and you want to be sure Wug's tool to work good, it is no sufficent to simple deactivate the antivirus, but YOU NEED TO DEACTIVATE THE "INTERACTIVE FILE CHECK ENGINE OPTION" BEFORE TO INSTALL THE WUG'S TOOL.

If you no did it and simple temporaly deactivate the antivirus BEFORE to use Wug's tool, it simple will be NEVER updated --->fix: unistall Wug's tool and re-install it again, following the fix trick BEFORE the installation.

I did many attemps also in virtual machines without the antivirus installed but, because the antivirus was installed on the REAL machine that was running the virtuals one (and a VIRTUAL machine it is just as SIMPLE FILE on your HDD) , G Data was always active anyway, no mean what kind of features and/or OS the virtual machines was running.

I was able to found what problem was blocking Wug's tool by manually checking, line by line, the Windows events logs (that taken a bit of time).

Hope this will be usefull to Wug and everyone else having the same problem.
[Nexus 5 Android Development] Lownita:
This toolkit works like a charm and descriptions whilst performing actions are very informative. Also didn't know about the tempered flag, happy I locked my old device with this toolkit before sending it back :)

Tapatalked from my Nexus 5
[Nexus 5 Android Development] _DavidWebb:
OEM lock

After running the OEM lock function on my N5, everything on the toolkit said it was successful, that the tamperflag was reset and the .zip was removed, but when I reboot the Google screen still shows an unlocked lock. Should I just try the OEM lock again?

*edit

I tried it again and it worked! Nevermind.
[Nexus 5 Android Development] gilc8:
restore failed - unrooted

Hi,

I'm trying to restore some data to a game,

My device (NEXUS5) is unrooted, I succeeded to take the backup but when I'm restoring the I cannot get the newest changes that I made.

see my steps:

1. take a backup with the toolkit - worked

2. convert the *.ab file to tar via this command:

java -jar abe.jar unpack game.ab game.tar

3. convert back to *.ab file

4. restore via toolkit - worked

5. open the game - no changes :-/

is there a problem to restore to an unrooted device?
[Nexus 5 Android Development] lrm537:
Trying to return my N5 to stock, but keep getting this;

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

failed to allocate 719360852 bytes

error: update package missing system.img

I'm not sure why it's not working as i've never had any issue before. I downloaded the factory image again, just to be sure it wasn't a problem with it, but that made no difference. At the moment my phone is stock as i have removed SU and replaced the stock recovery, so i'm not in any trouble. Just wonder what could be causing it to not work, that's all. Just curiosity more than anything.
[Nexus 5 Android Development] WugFresh:
Indicative of an incomplete download. Use a good browser and try again, aka - basically anything other than ie.
[Nexus 5 Android Development] stremax:
Used your toolkit in my N4, really usefull, perfect to flash stock, keep your good work on, this time rooted old school way... Fastboot oem unlock
[Nexus 5 Android Development] w0nder:
I used your toolkit once before with the Nexus 7 and now i used it again to unlock and root my Nexus 5 that arrived today!

And everything was flawless rooted my Nexus 5 in about 5 Minutes.

Thanks a lot WUG for this great Tool!
[Nexus 5 Android Development] jarlave:
finally a working Toolkit :)

The others are so buggy...

oh yeah, one more thing, yout toolkit loads an old version of the TWRP, there is an 2.6.3.2 version, but it loads the 2.6.3.0 version
[Nexus 5 Android Development] puccini:
Awesome stuff. Worked like a charm. Many thanks for your work.
[Nexus 5 Android Development] sklaes:
Great Toolkit :D

I only miss one funktion: Backup/Restore of the EFS partition
[Nexus 5 Android Development] jbdan:
Was waiting to see wug for the N5! The best and only one for me :)
[Nexus 5 Android Development] trunks986:
i'm on windows 8.1 and i'm having some problem with driver installation... how to do?
[Nexus 5 Android Development] maxal:
You can delete the old version of twrp yourself and replace it with the new version of twrp, that's what I did.
[Nexus 5 Android Development] Flash23:
By far the easiest method to use for rooting... I rooted my N4, N7 and now my N5 with this method and never came across any problems

Thanks wug!
[Nexus 5 Android Development] Lith808:
II
[Nexus 5 Android Development] mjs2011:
Good to see that people have had success flashing TWRP. I need to get on that.

Glad this tool has made its way to the Nexus 5. It was perfect on my Nexus 7 when I had it.
[Nexus 5 Android Development] PesSarmiento:
Thanks a lot, after all the process I do it a Factory data reset, and now I don't Have BusyBox, It is 100% necessary to have that?
[Nexus 5 Android Development] Fulbring:
Thanks for this! I was stuck in a Softbrick and this got me out of it!

Appreciated your work!
[Nexus 5 Android Development] finesse:
Thanks, looking forward to testing!
[Nexus 5 Android Development] Boonyard:
Used this on Nexus 7 and was great. Can't get ADB drivers installed at all for the Nexus 5 though.

It keeps saying it's offline. Anyone else had problems?

EDIT: Ging down the samsung route worked.
[Nexus 5 Android Development] Globespy:
How exactly is this done?

Still the old Goo Manager way? That's the only way I've every updated TWRP.

Thanks.
[Nexus 5 Android Development] jackie_jagger:
I can't seem to get ADB working on my system. Did you use Driver Solution #3?

Edit never mind, got it working. Had to enable the signature on the device.
[Nexus 5 Android Development] deltawye:
How do we manually download the: modified_boot_hammerhead_4.4.0_krt16m.IMG ?
[Nexus 5 Android Development] WugFresh:
Whenever new TWRP's come out, just notify me. I have built a whole system that makes it very easy for me to update that. That said, in the toolkits options menu, there is use "alternate recovery" option, where you can load in the latest file.

Yes, using Goo manager is also a simple way.

I will update the masterlists shortly with the new TWRP.

{{ WugFresh }}
[Nexus 5 Android Development] n7of9:
i saw the update to 1.7.5 before i saw the thread and went ahead and used it - all working as expected, as you know :) and i realised i haven't donated in a while, so i just sent you a beer (i have no idea how much beer costs!)

not a bug, worked for me flawlessly, i did it last night

follow the driver installation instructions from within the toolkit
[Nexus 5 Android Development] lrm537:
This will be the third time i have downloaded the file. Is it worth downloading it straight from Google and replacing it in the Factory-images folder. The size of the hammerhead-kot49h-factory-02006b99 folder (downloaded from the toolkit) is 454 MB (476,860,702 bytes). Does that sound about right?
[Nexus 5 Android Development] WugFresh:
Download it from Google and use the Other/Browse in the flash stock interface and it will ask where the file is. Don't try manually putting files in the toolkit directories.
[Nexus 5 Android Development] lrm537:
No luck. Same result as before. Anything else it could be?

Here's what happens

View attachment 2535193
[Nexus 5 Android Development] tylerdurden83:
I just did a Flash Stock + Unroot which ended up well, then I fired the OEM lock command which also didnt give me any errors, but I still see the opened lock at boot....

Can you guys help me fix it? Cheers!
[Nexus 5 Android Development] abdel12345:
Use the full factory reset option that returns everything to normal and locks it. I'm pretty sure there is one.

Sent from my white LG Nexus 5
[Nexus 5 Android Development] tylerdurden83:
I can only find two separate voices, one which is factory reset + unroot, one that says, after factory reset + unroot run this to oem lock... oh well, i went the "longer" way, fastboot oem lock, it worked just fine....
[Nexus 5 Android Development] TheCrow1372:
Sorry for wrong thread but why don't they have something like this for Nexus 4 or will this work cuz all the other rooting and recovery threads are sooooo complicated, just want to root my phone and get on with it sorry??:crying:
[Nexus 5 Android Development] WugFresh:
Works for all the Google supported Nexus devices. So yeah - works for N4.

{{ WugFresh }}
[Nexus 5 Android Development] jjhiza:
I just did a quick Google Search for "Nexus 4 root toolkit" and got immediate hits... Did you search? :what:

Additionally, the manual root method is the same for the N4 as it is for the N5... What I'm curious about is why you find it so difficult. That's not a knock, just an honest question, because rooting my Nexus 5 took me all of 7 minutes.

I saw that you're having trouble with the Nexus 4 drivers... Do you have them installed? What desktop OS are you using? I run Linux, which is probably why I don't need to install drivers, but I don't remember driver install being that difficult in my pre-Linux days.

I know you "just want to root" and get on with your life, but I'd personally suggest that you stick with the manual root method. You'll learn a ton (adb, fastboot, etc), and that knowledge can help you out if you run into any problems down the road.

This is just my opinion, but I feel that toolkits should only be used by experienced root users, who are looking to save time. If you don't know how the manual process works, you'll never be able to recover from potential issues like data corruption, flashing mistakes (eg. no OS installed), soft bricks, etc. Knowing how to correct those issues on your own, will make you more confident moving forward. :)
[Nexus 5 Android Development] TheCrow1372:
Thanks for your post and concern, I've been around for awhile and know how to do it the more indepth way but just looking to just get on with the show and know how to get out of danger if need be so again thanks for reply;)
[Nexus 5 Android Development] sam razzy:
Is this the easiest way to root unlock and enjoy the nexus 5
[Nexus 5 Android Development] abdel12345:
Yes if you don't know how to use fastboot and don't feel like learning how then this is a good ready alternative

Sent from my white LG Nexus 5
[Nexus 5 Android Development] robertusIT:
i have a problem

i rooted my nexus 5 without problem, but now in my pc i can't see my phone files in "computer" in windows 7.

how can i fix it?

in another pc without this toolkit, i can see all phone files in computer...
[Nexus 5 Android Development] abdel12345:
You need to go under devices and printers go to nexus 5 and right click on it. Choose drivers and change to mtp rather than fastboot drivers and it should work fine.

Sent from my white LG Nexus 5
[Nexus 5 Android Development] robertusIT:
i have only this driver installed

i have already mtp on the phone actived
[Nexus 5 Android Development] abdel12345:
You need to use the tool kit to do fill driver reinstall. But don't reinstall. Just follow the steps to uninstall then reboot pc and then plug in your phone and let it install by itself. After that you should see the mtp driver. If not than try doing to full installation using the tool kit but that way I told worked for me.

Sent from my white LG Nexus 5
[Nexus 5 Android Development] robertusIT:
infact this way works, but lost adb driver
[Nexus 5 Android Development] abdel12345:
Adb should still work if you reinstall using the tool kit. Once you do that they should both be fine.

If it works press thanks:)

Sent from my white LG Nexus 5
[Nexus 5 Android Development] paradiselost28:
sorry, wrong post (to delete)
[Nexus 5 Android Development] karasmunay:
I have an unlocked nexus 7 2013... Does rooting erase data? It doesn't say it does on the app
[Nexus 5 Android Development] JerryPi:
Before you are able to root, you first have to unlock the bootloader which does erase your device.
[Nexus 5 Android Development] relaxable:
Temporary Custom Recovery vs Recovery

First, thanks for the great tool!

I'm not sure what I've done wrong - Nexus 5, was rooted/stock/TWRP Recovery. decided to go with Cyanogen Mod. No problems for some days. And flashed more than one version.

Not sure, but I think the problem started when I switched to ART - while the phone works finethe problem basically is that TWRP 2.6.3.4 doesn't work - it asks for a password when boot into recovery / cannot mount anything.

(after rebooting phone from this state, I also lose some of the previous settings in Nova launcher - the wallpaper & widgets go back to default/new state)

I guess I could start over with factory reset/wipe, but I'd really rather not as I have everything the way I like it...

The thing is: if I use TWRP to boot TEMPORARY custom recovery, TWRP works - I can backup, install, etc. - there is no problem to mount.

Why does temporary custom recovery work but not permanent? I've tried reflashing permanent recovery. I also tried flashing CWM recovery - but it also has the problem of unable to mount.
[Nexus 5 Android Development] :
Everything is damn cool with this toolkit
[Nexus 5 Android Development] Phil402:
Hey,

i am having slight issues:

I tried driver solution #1 and #4 so far but the problem is that the Toolkit cant reboot my Nexus 5 into bootloader, so the process fails.

If i manually reboot my device into the bootloader, the fastboot check works fine.

Any ideas what I am doing wrong?

I am using Windows 8.1 with the original OEM USB cable on a USB 2.0 port.

edit: if i'll do it this way (SDK):

adb devices

adb reboot bootloader

it works?!

edit2:

nvm, since i did it manually once it works with the toolkit too.
[Nexus 5 Android Development] ov3r85:
hello.

ive installex cm11 on my nexus 5.

i wanted to restore my clean 4.4.2 using wugfresh.

everything is ok in the command prompt but it gets stuck on erasing "userdata"

if i install with "no wipe" it works but the phone enters in a bootloop.

what to do/? thanks
[Nexus 5 Android Development] WugFresh:
Try an alternative USB port.
[Nexus 5 Android Development] SilentSummer:
Thanks again for the Toolkit. :good:

Used it on the N4 and now on the N5.
[Nexus 5 Android Development] lejars1:
I've just rooted a Nexus 7.

I hope that the developer reads this because in addition to working very well, I'm amazed at the careful and thoughtful way that the whole thing has been presented. It must have taken ages and a lot of intuition to understand how people might understand or - misunderstand the steps - and to give all of the advice and support along the way. Really brilliantly done. Thank you.

Now, one problem.

I've rooted by Nexus 7 but now when I plug it in to my computer, it won't activate the MTP driver - or the PTP one either.

It's not the computer, because there is no problem when I plug in my rooted Galaxy S3. Just the Nexus 7.

Anyone any ideas on this please?

Thanks
[Nexus 5 Android Development] WugFresh:
Thanks man! I really appreciate your comments. I try to build software the way I would want it to be presented to me.

But its not just my own intuition. Its also a big product of listening to the community. End-users have given some really good suggestions, and I also try and track frequently asked questions. I always believed that if a lot of people are asking the same question then its most likely an indication that I am doing something wrong - maybe a step is not really clear - or some phrasing is misleading, etc.

Now to answer your question;

There are a few trouble shooting options.

1. Disable MTP and see if your computer autoconfigures it then re-enable: Settings > Storage > Menu item in upper right

2. If that doesn't work its most likely that computer configured your mtp as an adb driver... So in that case you are going to want to redo the driver installation.. Meaning uninstall everything, restart your computer, then try to get the mtp configured properly first using the method 1.. Then proceed to reconfigure your adb/fastboot drivers.

{{ WugFresh }}
[Nexus 5 Android Development] lejars1:
Thank you again. You're dead right. Whether it is connected as MPT or PTP, the device manager shows that the Android device is an Adb interface.

So I'll uninstall them - you mean the adb driver, I suppose and then see if it will configure itself correctly. Is that right?