yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] Ronaldo Forenucci:
Done and done, thanks boss.

Since I have you, nuther question: How do I bypass bootloader mismatches? A few times in the past, I've wanted to flash the latest stock, but it wouldn't flash because of a bootloader mismatch. This caused me to have to flash whatever version that had the same bootloader as what was on the device. Can NRT just flash the latest BL from the latest stock image? Is that "Force Flash" mode? Any dangers? Thx!
[Nexus 5 Android Development] WugFresh:
Yes, you can with advanced utilities Flash bootloader button.

Yes, Force flash will also work. It was designed for that - to override requirement checks when flashing and just flash everything from the new IMG one by one. Force flash is only dangerous if you were to select the entirely wrong device.. Because then without checks it would allow you to flash completely incompatible hardware.
[Nexus 5 Android Development] AkaGrey:
In the description i read that for the recovery , it flashes twrp . So i can assume that cwm can't be flashed /it's not implemented on the tool?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] int abacus:
you can flash cwm... you just need to go to Options --> Custom Recovery tab and select from a local folder which has cwm.
[Nexus 5 Android Development] skinnypupp:
I'm not sure about others, but after I followed the steps in uninstalling a bunch of the USB drivers, it could never connect via ADB or even normal MTP. It shows up as "Nexus 5" in USB Debugging mode, and it is impossible to install drivers. With debugging disabled, it shows up as "Google Nexus ADB Interface" and the storage drive doesn't appear.

To top it all off, now my Nexus 4 doesn't appear either.

Edit: My solution was to delete from the device manager, disable USB debugging and reboot the PHONE while plugged in. Rebooting Windows itself does nothing.
[Nexus 5 Android Development] whosgotlag:
Worked perfectly man, thank you
[Nexus 5 Android Development] jlk_250:
I've got a noob question. I'm trying to unlock my N4 and NRT says that you should back up everything first because it will wipe everything when you unlock. I backed up what I could but had a problem when I tried to back up media/data. When I do this it says that you need to be unlocked for the backup to work and I end up with 0MB files (empty). So how are you supposed to back up data for the initial unlock when you need to be unlocked already?
[Nexus 5 Android Development] HellRazorGod:
Another Nexus Noob question

Hi Wug and the other respected pros,

I resumed my Android life after a long time with a Nexus 5! :)

My question is : Will I lose the ability to OTA update if I ONLY ROOT the phone and don't touch anything else on the Stock ROM?

Because my friend had a Nexus 4 which was rooted and apparently you needed to have all the system files intact for the OTA to process.

Does the same apply to the N5?

I want Google to update my phone but I need Root Access. Don't mind losing Root after OTA updating. I can root again.

Please let me know.

Thanks!
[Nexus 5 Android Development] gaurav2009:
Oh man i was so scared to root and unlock my nexus 5(my first nexus device) but thanks to dev who made this toolkit,,,,it was so easy and straight forward guide,,,i rooted and installed twrp without any problems thanks :D this is best toolkit available in nexus 5 forum :D
[Nexus 5 Android Development] int abacus:
1. This should help you --> http://www.wugfresh.com/faqs/can-i-still-take-an-ota-after-i-unlock-and-root/

2. Same applies to N5.

It is really hard to brick your nexus with this tool kit.

---------- Post added at 01:31 AM ---------- Previous post was at 01:16 AM ----------

Backup (copy to your pc) whatever files you may have in your storage through download/push (pdf, doc, mp3, etc). If the device is new... just go ahead and unlock the bootloader and flash SuperSU to get root access... once you did all that, you can go to TWRP recovery and backup your ROM which will be save into the internal sdcard.
[Nexus 5 Android Development] jlk_250:
TY. I've already backed up what I can so will go ahead and unlock it. Wish I had done that when it was new rather than right now.
[Nexus 5 Android Development] Ben36:
Is this Nexus 5 specific or will it unlock, root and add twrp to a galaxy nexus too?
[Nexus 5 Android Development] WugFresh:
From the OP:
[Nexus 5 Android Development] Exostenza:
You are the best! This was the very first thing I did with my phone! So easy and useful.
[Nexus 5 Android Development] REDFOCZ:
Toolkit worked great on my N5 just like it did on my N7.

Sent from my Nexus 5
[Nexus 5 Android Development] blinqipa:
[N00B question coming...]Hello guys ,I have 3 months guarantee from a mobile shop(not LG or Google,local shop)if I root my phone ,then let's say something happened , then if I unroot my nexus 5 , will the mobile shop be able to see or understand if the phone was rooted?please help .Sorry for this NooBish question :sly:
[Nexus 5 Android Development] pkelly517:
Rooted? Nope. Reflash back to factory images, relock bootloader and you are good to go.

Bootloader unlocked at some point? Maybe

http://xdaforums.com/showthread.php?p=47335759#post47335759
[Nexus 5 Android Development] gado45:
after unlocking and rooting, after you uncheck "mtp mode" from usb settings you can't use anymore as a drive on pc, How do I get that usb menu back or where do I find it? Its gone
[Nexus 5 Android Development] WugFresh:
Its buried in settings:

Settings > Storage > menu in upper right corner > USB connections settings
[Nexus 5 Android Development] faqlexi:
Worked great for my N5! Thank you so much for your effort in making this tool!
[Nexus 5 Android Development] 093236:
Fixed my N5's bootloop by this program, thanks!:laugh:
[Nexus 5 Android Development] iTzGavin96:
Thanks!

Alas i can fix my nexus 5's out of the box issues! Thanks for your development !
[Nexus 5 Android Development] Grondinm:
Not sure if you are aware but new TWRP is available for hammerhead

http://techerrata.com/file/twrp2/hammerhead/openrecovery-twrp-2.6.3.4-hammerhead.img

if i can somehow help you in maintaining the manifest of versions you keep let me know i would be glad to.
[Nexus 5 Android Development] WugFresh:
Thank you for notifying me and thank you for the offer. I actually just (now) setup automated email notifications with changedetection.com to monitor those TWRP download pages along with the pages for CWM, Superuser, and SuperSU. So I should be notified right away if there is an update. This should make it easier for me to stay on top of it. I have automated the rest of the update process as much as possible.

I just updated the lists now - so the toolkit should now grab that new TWRP image moving forward.

{{ WugFresh }}
[Nexus 5 Android Development] Grondinm:
Thank you for this update and all your work on this toolkit. Deff makes things faster.
[Nexus 5 Android Development] tintin1892:
Been having trouble installing the drivers your toolkit explained everything and now drivers installed

Thank u very much
[Nexus 5 Android Development] powercat_:
Hey just wanted to post that I had used NRT to root my pre-4.4 nexus 4, then used it again after updating to 4.4 without any issue along the way!

Great software. Thanks again.
[Nexus 5 Android Development] 3dawg:
Does this store pushed adb files on the phone somewhere? I was trying to flash some files using the toolkit and it got as far as opening the recovery on the Nexus 5 and then it failed to run the script I think since it just sat on the recovery doing nothing. Are the files I tried to flash somewhere in the filesystem on the Nexus 5?
[Nexus 5 Android Development] sc00ty:
So can I make a backup, unlock my bootloader+root, and restore my backup and be back to the exact way I was before unlocking? I really do not feel like re-installing and re-configuring all my apps and settings...
[Nexus 5 Android Development] int abacus:
Not really... you need titanium backup to backup all user apps/settings and restore them after flashing a new ROM. The thing is that titanium backup requires root access, and you don't have that. Right now you can only backup whatever files (pictures, mp3, mp4, etc.) you may have in the storage/sdcard. If you unlock the bootloader, you will wipe everything including your apps, and you will have to manually reinstall and reconfig all apps and settings.
[Nexus 5 Android Development] sc00ty:
Well, looks like that isn't happening. Thanks for the answer.
[Nexus 5 Android Development] Ecf17:
Is there an option in the toolkit to update recovery?
[Nexus 5 Android Development] xI mEzMeRiZe Ix:
Just use the usual option to flash recovery and it should use the most recent one.

Sent from my Nexus 5
[Nexus 5 Android Development] badpanda:
Hello, where can we find the official stock recovery for nexus 5. Let's say I flashed a custom recovery like twrp. But I need to go back to stock recovery for OTA updates for example. How can we do that? Flash stock recovery. I'm i missing something here?

Thank you.
[Nexus 5 Android Development] krabman:
It may not speak directly to your question but you can often get the OTA here before it rolls out in your area. If not it wont be far behind and I'm not talking days, I'm talking hours. There is no need to be concerned about OTA at all in any context. Should you however wish to worry yourself over something that has no meaning you can simply go to the sticky explaining how to revert to stock and follow the directions.
[Nexus 5 Android Development] nickcaper:
Been playing around with this toolkit. I bricked my Nexus 5. Tried to fix it all night. I found that the only way to get this toolkit to work is to just download everything it wants and not use your own files.

Also. USE THE CABLE THE PHONE CAME WITH!

Thanks for the kit..

:o
[Nexus 5 Android Development] WugFresh:
There is a button in advanced utilities called flash stock recovery. Use that.
[Nexus 5 Android Development] STXInnovation:
I have a Nexus 5 and a Nexus 7. Say I connect my Nexus 5 to my computer and the toolkit recognizes the device is connected. If I plug in my Nexus 7, I would have to uninstall and re install the drivers.

Is there any way to have the toolkit recognize multiple devices without having to keep installing drivers?
[Nexus 5 Android Development] pkelly517:
Drivers are device/manufacturer specific.

The same way your computer knows you plugged in your thumb drive or your camera, it knows which android device you plugged in.

Relax. Plug your stuff in.

Edit: just make sure you change the device in NRT. Don't load the factory images for your N5 on the N7. That's a little bit of experience from owning an N4, N10 and a Gnex. And an oops.
[Nexus 5 Android Development] ProNewb:
hashcheck mismatches :(

so I couldnt download the latest updates (super SU.zip, openrecovery.img, modified boot hammerhead.img, etc) using the program's interface, keeps giving me mismatch errors. I manually downloaded them from androdifilehost.com

Setup: windows 8.1, 64 bit,

then the program imported them. that's is fine right?

now, a few questions before I go ahead and unlock then root:

should I backup while I am unrooted? (using the program's feature, not heluim or third party apps) I mean I don't have any necessary files on my sd, nor apps nothing. just wondering about EFS backup, imei code, etc

should I backup after unlock? or after I root?

and what's this new thing I am hearing that rooting process doesn't play nice with usb 3.0 ports?

anxiously waiting for replies.
[Nexus 5 Android Development] Rob1ou:
Can i use this toolkit to unlock my bootloader then root my device?

Envoyé de mon HTC One en utilisant Tapatalk
[Nexus 5 Android Development] 5FOOTER:
Wug thanks for this its the only way I could root my n5 nothing else worked again thanks.
[Nexus 5 Android Development] :
Hi,

Hum... maybe you need read more closely the OP..., the first thing that we can read:

Then the description... then the screenshots...

:)
[Nexus 5 Android Development] Rob1ou:
Sorry i m using Tapatalk and the screenshot are always loading so i don t see them

Envoyé de mon HTC One en utilisant Tapatalk
[Nexus 5 Android Development] WugFresh:
v1.7.9 is now up. Enjoy! ^_^ now to catch some zzz's...

{{ WugFresh }}
[Nexus 5 Android Development] suneet mehta:
I tried the #4 after #1 for the driver installation. In the #4 solution even when i have updated the driver for bootloader interface still at the last it shows an exclamation mark. This windows 8.1 is driving me crazy. Someone please help me.
[Nexus 5 Android Development] networkdood:
Alternate solution

I have been trying to get this to work. Both this toolkit and skip's seem to not like my Nexus 5 when it comes to unlocking the bootloader, rooting, custom recovery. However, I found a solution that I was able to accomplish.

Go here:

http://stackoverflow.com/questions/1...or-the-nexus-5

and look at answer 6.

Then, go here:

http://xdaforums.com/show....php?t=2507905

This worked for me. Even after all of this. I went to Wug's program and it told me that I failed the driver test. Seems both programs are lacking something that reads the device in adb mode as my phone works perfect now.

But, I applaud both of their efforts.
[Nexus 5 Android Development] WugFresh:
Glad you got it sorted... But next time you post something it would be helpful if you actually explained your problem. Saying that "it didn't work" is literally impossible to respond to.

When reporting anything:

1. State what you were trying to do.

2. State how you did it (explicitly).

3. State what happened (explicitly).

I strongly doubt that 'NRT is lacking something that reads the device in adb mode' - that doesn't even make sense: adb.exe is provided by Google and so are the drivers - those are the only two software factors at play, and the hardware component is your USB connectivity. This package provides those Google drivers and also multiple other working drivers... Plus detailed instructions - its then up to the end user to successfully configure those drivers. My guess is either you:

A: Didn't configure the drivers entirely (maybe missed a step like accepting the RSA prompt)

B: Have a connectivity issue so adb is not working consistently on that port

C: Something else I don't know since you didn't describe your problem at all.

If you would like suggestions for getting your setup working consistently then please provide more info.

Cheers,

{{ WugFresh }}
[Nexus 5 Android Development] networkdood:
MTP driver issue

For MTP driver issues, after all drivers downloaded to WIN 7, I went back and updated and found I could download the MTP driver, manually, and that made the PC recognize my phone in MTP mode, when phone is not in USB debugging mode.
[Nexus 5 Android Development] tomciopaluch357:
I used Wugs NRT 1.7.9 i did have Nexus 4 before on the same pc and everything was ok and now theses drivers are driving me crazy i did uninstall previous drivers and installed new ones method 1 and somehow it installs drivers for Nexus 4 not 5 , i guess i try something else , besides that everything is working ok rooted, unlocked and transfer some files using Camera PTP thats how installed a fresh ROM
[Nexus 5 Android Development] networkdood:
Try uninstalling all mobile device drivers using CCLEANER or in the control panel on your pc, reboot, and then plug in phone with USB dev checked and unchecked, as well as camera and MTP. MTP drivers seem to be an issue with this device, but I fixed my problem with that. Problem is that neither WUG's or MSKIP's program will fully acknowledge my phone, so I found an alternative solution.
[Nexus 5 Android Development] tomciopaluch357:
Thank you working on that will get back
[Nexus 5 Android Development] abdel12345:
I went throught the driver installation guide and did all the steps and it worked. But now when I connect my phone to the cpu you I cant view the files on the device. Any ideas why?
[Nexus 5 Android Development] tomciopaluch357:
That worked and solve the problem

Another solution...

Plug the phone into your computer. Go to "Device Manager" and find the Nexus <x> device where-ever it's listed (may not be called "Nexus...", though on my machine with the real drivers it was).

Right click, choose "update driver software"

Select "browse my computer"

Select "let me pick..."

Choose the option. "usb composite device"

Apply and close all windows.

Disconnect and reconnect the phone to the computer.

The phone will now allow you to move files to it properly. Something weird with proper phone drivers. I believe you need to reverse this if you need to use ADB again in the future. This worked like charm thank you
[Nexus 5 Android Development] networkdood:
Apologize for that - but, I can confirm that my device is recognized when I use the adb device command in platform tools in the command prompt screen - and yet I do not pass your kit's driver test. With skip's tool, it sees my device but will then if I were to unlock bootloader then I receive a message stating that device not found. I found this issue very odd, but I am glad I have found a third solution with some tinkering. MTP driver seems to be a big issue with the Nexus 5.
[Nexus 5 Android Development] canada2005:
Getting a virus warning from my Bitdefender 2014.

wugfresh development\data\nexwug_dl_nrtfiles.exe

Virus name: Gen:Trojan.Heur.AutoIT.3

I downloaded 1.7.8 then it updated via autoupdate. Can you look into this please.
[Nexus 5 Android Development] blinqipa:
So there's an update for Nexus 5 (4.4.1) ,I have rooted hammerhead ,can I install it through OTA? Will it brick my device ,or should I relock bootloader flash KRT16M through toolkit?
[Nexus 5 Android Development] abdel12345:
You can install using ota as long as you ROM, recovery, and kernel are stock. Being unlocked and rooted won't affect it but you will lose root through the update.
[Nexus 5 Android Development] WugFresh:
Its a false positive, please report it to your AV provider so they can review it, deem it safe and whitelist it.

The programming language this is written in (Autoit) is known to get falsely flagged.

I am the sole developer and publisher of this application and if you downloaded it from my website and the hash value matches what I posted there then I guarantee its 100% clean and will always be.

I use to report it to AV providers myself but it is too time consuming, so I ask that users please report it themselves.
[Nexus 5 Android Development] WugFresh:
FAQs - Can I still take an OTA after I unlock and root?
[Nexus 5 Android Development] pkelly517:
Actually, you can sideload the update with TWRP installed. I'm assuming that means that the normal OTA will work with TWRP.

I lost root and ended up with stock recovery. Fortunately I know of a little tool that can fix that in minutes! :)
[Nexus 5 Android Development] OneMoreBrick:
So just to be clear, you downloaded the OTA file, and then sideloaded in TWRP. That's it, right?

Any issues with restoring root with the Toolkit yet?
[Nexus 5 Android Development] mchockeyvette27:
I'm a little confused by this...

You are assuming you can flash it through twrp because you DID sideload it through twrp and lost root/twrp because of it?
[Nexus 5 Android Development] pkelly517:
I had a rooted, TWRP enabled phone with Franco kernel. I had to rename a couple files, along with flashing the stock kernel.

I downloaded the OTA .zip.

I applied it in TWRP.

I no longer had TWRP.

I hit the root (with custom recovery) in Wug's NRT.

Minutes later, I had TWRP, root and 4.4.1 goodness.

I hope that answers your questions.
[Nexus 5 Android Development] mjs2011:
If side loading and flashing through twrp do you have to already be on a stock Rom or can you do it from any Rom?
[Nexus 5 Android Development] maxamus007:
Whats the best way to install OTA 4.4.1 using this toolkit?
[Nexus 5 Android Development] mchockeyvette27:
I'm guessing you did this all on your computer? Sorry if that's a dumb question.
[Nexus 5 Android Development] pkelly517:
4.4.1 Update on phone.

After the update, plugged in phone to have NRT give me some root and TWRP love.

You may want to wait for the official OTA update. I completely retract that if you've ever completely restored a phone through factory images. It's kind of a right of passage. You haven't truly screwed up until you need to do that. And, with a nexus, you can't even truly screw up.

---------- Post added at 05:13 PM ---------- Previous post was at 05:12 PM ----------

Stock ROM and kernel.
[Nexus 5 Android Development] mchockeyvette27:
I have had to flash stock images already. Lol but I learned how to do it and its very easy. I'm on stock ROM and Franco's kernel, so all I have to do to try flashing through twrp is flash stock kernel correct?
[Nexus 5 Android Development] biosfear:
I'm trying to sideload the 4.4.1 update, i have downloaded it and using WUG NRT's

I am stuck when i try to load my Nexus 5 into the sideload screen by pressing vol UP + pwr, it just seems to loop on the google screen and then it boots up the OS.

I do the Vol UP + pwr when i see the android on his back, with an exclamation mark.

any ideas?

*Edit* i have twrp recovery installed. i tried sideload there but nothing seems to be happening when i select. it just sits on "starting adb sideload feature..."
[Nexus 5 Android Development] maxamus007:
Same here :(
[Nexus 5 Android Development] pkelly517:
Put the ota zip on your phone. Flash it like any other zip you've flashed.

---------- Post added at 05:48 PM ---------- Previous post was at 05:47 PM ----------

You need stock kernel.

There are a couple other files that need to be renamed in /system and /etc.
[Nexus 5 Android Development] biosfear:
are you sure this works? it failed for me.
[Nexus 5 Android Development] mchockeyvette27:
What are those files?
[Nexus 5 Android Development] maxamus007:
It failed for me too
[Nexus 5 Android Development] biosfear:
ok im getting closer,

my understanding is this, if you have twrp on your N5, boot to that, go to advanded, and adbsideload.

leave it on that screen, then run cmd, right click run ad admin, and navigate to C:\programs 86\wug NRT (or whatever its called for you)\data

you should see adb.exe in windows explorer if you go there.

then in cmd you type in adb sideload xxx.zip

on my N5 it then tried to install but the error is: Package expects build fingerprint of google/occ (rest is cut off)
[Nexus 5 Android Development] RodKahx:
deleted
[Nexus 5 Android Development] maxamus007:
I get a Google Calender error. I did modify it :(
[Nexus 5 Android Development] irus:
Can anyone confirm that root will work after updating to 4.4.1? Thanks In Advance
[Nexus 5 Android Development] norwoodesteel:
yes
[Nexus 5 Android Development] thekow:
Had this issue, had to reinstall the drivers for nexus, the generic samsung ABD didn't work. I could not sideload from any recovery until it did that.
[Nexus 5 Android Development] biosfear:
Ive resolved my issue.

IF YOU HAVE HAD XPOSED FRAMEWORK INSTALLED You need to install the Xposed-Disabler-recovery.zip which should be on your phone after installing the xposed framework.

this resolved my issue, i could then install the OTA via a normal zip install via twrp.
[Nexus 5 Android Development] lorenzofir:
Backup virtual sdcard

Pay attention to me this option is only partially backing up files (it somehow forget folders and files) i was lucky and realized it before wiping. nexus 5 android 4.4 nexus toolkit 1.7.9 and windows 8.1 my config.
[Nexus 5 Android Development] mchockeyvette27:
I'm having some issues installing the drivers. I do exactly what it says, uninstall any previous drivers, install the recommended one and it says it doesn't install when I hook up my device.
[Nexus 5 Android Development] dave2metz:
I used NRT this past Monday to unlock my bootloader and root my Nexus 5. Everything worked perfectly except for getting the correct drivers , but I followed the directions and it was successful. major props to the dev. thanks a lot
[Nexus 5 Android Development] !JORGE!:
Must have! tool kit!

If you own any nexus device you should download this toolkit! Everything packedup here for you! with the best methods! thanks dev !!!!!!!:highfive: