yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] CLPose:
Well, something could go wrong, and it did! :crying: I successfully unlocked the bootloader of my N5X (MDA89E) with NRT 2.1.9. :victory: but I got the "ADB recovery device was not found" notification (see image attached) when I try to root, root and flash TWRP, or simply flash TWRP (phone boots to bootloader and the notification appears):(. There seems to be a problem with drivers in mi Windows 10 computer :confused:. Any idea why I got this problem or how to solve it. I think I'll have to look for a Windows 7 PC and try again :mad:. TIA!
[Nexus 5X Android Development] Tipkaros:
I recommend you follow this guide to do all that manually, it's not difficult. https://xdaforums.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930

In the Prerequisites go with option A cause you don't need to download the whole Android Studio.
[Nexus 5X Android Development] CLPose:
Hi! Thanks for answering so fast ;). But I think the problem is not related to NRT, nor to manual procedure. I think it is related to Windows 10 and these Android drivers. Actually, the PC stops recognizing the phone in ADB recovery stage, but in Windows Device Manager no yellow warning indicates a problem with this device :silly:. I'll try these commands manually and report back whenever I find the solution. TIA!
[Nexus 5X Android Development] Tipkaros:
As you can see here http://www.wugfresh.com/forums/thre...-but-no-exclamtation-marks-in-device-manager/ you are not alone with that problem, and no answer has been given. That's why I recommend trying it all manually with rescources and explanations given in that thread I linked in my last post. :good:

P.S. You could also try connecting your phone to the USB 2.0 port on your computer instead of USB 3.0, just in case.
[Nexus 5X Android Development] pkelly517:
Check out the device manager when you are in fastboot. I bet you have a yellow triangle.

If you're lucky, you'll be able to update the drivers with Google's adb. Check out the driver routine in NRT. It's there somewhere. I'm not home, so I can't look.

You may have to allow Windows to use unapproved drivers. You'll have to Google that. It's been months since I has to do it. Reboot, hit a key, click a box, reboot again find, the box to click... Ugh.

Gold luck.
[Nexus 5X Android Development] luisbraz:
Read my post (#105) about that problem in windows 10. My device was not recognized in fastboot mode, and I managed to get it recognized, installing unassigned drivers.
[Nexus 5X Android Development] hilla_killa:
My windows 10 machine works fine with nrt. Could it be cpu related like the brand cause its not windows10? I have a lenovo c440 touch all in one and everything works perfectly
[Nexus 5X Android Development] CLPose:
Thanks for your suggestions! :good: But there's something I don't get :silly:: How am I supposed to know which is the driver I need if device manager shows no yellow triangle? :confused: Where am I suppose to look for the driver? Is there an "ADB/ Fastboot generic driver" for Nexus devices that are in that state? I'm sorry if I'm making stupid questions, but I find it a little bit difficult to understand :o. TIA!
[Nexus 5X Android Development] luisbraz:
Just point to search for the driver in the drivers folder in the nexus root Toolkit folder. Windows will find the appropriate driver.
[Nexus 5X Android Development] CLPose:
Well I may find the problem: NRT auto detects that I have Windows 8.1, but in fact, I have Windows 10pro! :p (see image attached) Is there a way to change OS detected by NRT? Does it make any difference? I'll keep trying with different driver solutions anyway. TIA!

PS: When I try to root + flash recovery, it seems to succesfully flash recovery, device restarts. I unlock device, NRT detects my device and reboots it and bang! The green android guy stays there for a minute or so, and the the phone reboots without device manager ever shouwing me a yellow warning symbol!
[Nexus 5X Android Development] divvykev:
Skipsoft has a driver installer if you search for it. May help as it's what sorted my problem on my Windows 10.
[Nexus 5X Android Development] CLPose:
Thanks for answering! ;) I'll try it as soon as I can. Anyway, I have a question: in my case, NRT successfully flashes TWRP and reboots without flashing SuperSU or rooting. Isn't it a must to flash SuperSU or root BEFORE rebooting to avoid Android overwriting TWRP with Android default recovery? :confused: TIA!
[Nexus 5X Android Development] Tipkaros:
Recovery is not connected to root. You can have a custom recovery without being rooted. Rooting only matters to grant you superuser privileges within the operating system itself. If I recall NRT has the option to temporarily use a custom recovery which is essentially using the "boot" command instead of the "flash" command which is permanent so you may have gotten those things mixed up. I have to ask have you tried the manual method I linked to you a few days ago? What happens when you connect your powered on phone to the computer, open command prompt inside the platform-tools folder and type - adb devices ? What happens when you boot your phone to the bootloader, connect it to the computer, and type - fastboot devices
[Nexus 5X Android Development] StakMak99:
Well sir, I am a BIG FAN of your brilliant, very noob forgiving, toolkit. I have always had a Nexus, from the first one to the 6p, my 5X is by far the most rugged and generally tough enough to survive being my DD. I still have the very first Nexus, just as it was when I bought 2 of them brand new.

I kept one still sealed, as well as the T-Mobile HTC G2. Your brilliant software has saved me bumm dozens of times, being extremely effective and efficient,saving my fingers from having to type out and run every cmd manually which means thousands of needless keystrokes saved. I have been using your NRT for years, ever staying updated in the fastest manner, allow me to say on the behalf of the tens of thousands of users, THANK YOU for all of your hard work and selflessly maintaining this ingenious toolkit. Let me buy you a beer, or whatever your preference to say thanks for your NRT.
[Nexus 5X Android Development] CLPose:
Hi, [MENTION=1982303]Tipkaros[/MENTION]! Thank you so much for taking care of my case. I might be confused about TWRP being overwritten with stock recovery, but I've read in many places that TWRP only can survive a reboot if rooted. I'll number my answers to make it easier to read:

1.	Yes, I tried the manual driver installation (Windows in Test mode and what not!) and the same result when pressing "Root with custom recovery": NRT flashes TWRP --> phone reboots --> recovery prescreen Android guy --> a minute later phone reboots without SuperSU :(. No yellow warning in Windows Device Manager.

2.	When I connect the phone to my computer with screen unlocked, USB debugging and MTP or “only charge” notifications appear, and no yellow triangle in Windows Device Manager :silly:.

3.	When I open terminal in platform-tools folder, adb devices return me a number.

4.	When I issue "fastboot devices", it returns me another number.

5.	As additional information, I'd like to add that in my other computer with Xubuntu, I went through SlimSnoopOS guide. “adb version” and “adb devices” were OK. With "fastboot devices" it returned me a "no permissions fastboot".

6.	I even tried NRT with two other Windows 7 notebooks and the same Android guy appeared after rebooting when TWRP was flashed.

I started to wonder if my N5X is rootable at all! That was yesterday night, I was very tired and frustrated. In the past, I rooted and TWRP my previous Moto G 2014 in less than 15 minutes. I rooted other devices as well with KingRoot. So I just turned everything off and went to sleep... :crying:

Once again, I'm so very sorry for this long and weird case. I really don't want to stuff the thread with my problem, which -I’m sure- is my fault. I must be doing something wrong. I just don't know what! :mad: If you feel like giving me a hint, I’d love to keep on trying…
[Nexus 5X Android Development] Tipkaros:
Sounds to me like everything is working. I'm gonna give you a quick guide what to do, follow the steps in order.

1) Close NRT. Forget that NRT even exists. Stop wasting time troubleshooting something you don't even need.

2) On your computer, download custom recovery - https://www.androidfilehost.com/?fid=529152257862685071 and place it in the platform-tools folder we talked about earlier. On your phone, download supersu - https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip .

3) Connect the phone to the computer, open command prompt within the platform-tools folder. Enter the following

adb devices

It should return your phone's serial number and the word "device". If instead of device it says "unauthorized" check on your phone there should be a prompt waiting to authorize your computer. Now enter this

adb reboot bootloader

4) Once your phone is in bootloader, look at it just in case to check the last line, it should be red and it should say "Device State - unlocked". If not then it means your bootloader is not unlocked but you said earlier that it is unlocked so I'm gonna assume that it is and won't go deeper into that. Enter the following

fastboot devices

It should return your phone's serial number (same as before) and the word "fastboot". Now enter this

fastboot flash recovery twrp-3.0.2-3-bullhead.img

Once it's done you will have custom recovery on your phone.

5) Unplug your phone from the computer. Use the volume keys to choose "Recovery mode" and press the power button to enter it. Once inside, tap on "Install", find the supersu file you downloaded to your phone earlier, tap on it, "Swipe to confirm flash" down at the bottom. Once it's done you will be rooted. Choose the option to wipe caches just in case and then reboot back into system.

6) Enjoy.
[Nexus 5X Android Development] CLPose:
Hi, there! No root yet, though I followed your steps. :crying: But some things happened in the process. I know I’m missing something, I just don’t know what! You may tell me what I did wrong:

1.	I got to the point where TWRP is installed. TWRP asks me for a password (which I don’t have). :confused:

2.	When I pressed the “cancel” button in TWRP, I can see TWRP screen with “Install”, “Wipe”, etc. buttons. :highfive:

3.	I allowed TWRP to make modifications in system.

4.	I went to internal storage to flash SuperSU and I see nothing. :silly: Internal storage was empty (maybe because of my data is encrypted?).

5.	Si I just plugged my USB OTG with SuperSU and flashed it. :victory:

6.	Wipe cache/ dalvik.

(It seemed to be successful thought “Fail” was displayed on TWRP header.)

7.	Rebooted system. No SuperSu. I installed SuperSu from PlayStore just to make sure that N5X was not rooted.

Now I think that data encryption is responsible for all the problems. But, as far as I know, there’s no need to decrypt data since TWRP 2.8.7.1.

Apart from that, my "device state" is "unlocked". And below that, there's a "secure ..." "enabled" green letters (don't remember the exact words). What am I missing? TIA!
[Nexus 5X Android Development] Tipkaros:
I didn't know about this but I did a quick google search for "twrp asks for password" and it gave some interesting results. Try booting into system and removing all PINs, lockscreen patterns etc. and then see if twrp stops asking for a password. If not, try setting a phone PIN or lockscreen PIN and use that one to enter in twrp when it asks. Or setting in twrp to ask for a password and then using some of those. In the end you could try a full wipe. Here, read these threads:

https://xdaforums.com/google-nexus-5/help/twrp-password-t2511049 and https://forums.oneplus.net/threads/twrp-encryption-password.432114/ and try the various solutions presented there. By the way if there's ever a need you can always use adb while inside twrp to flash stuff directly from your computer, here's info on that https://twrp.me/faq/ADBSideload.html . That's basically it from me, I can't really help you in any other way.
[Nexus 5X Android Development] CLPose:
Thanks you very much for your effort! :good: I'll keep trying and, I know, I'll root my N5X somehow. Anyway, I'll let you know when I succeed! :fingers-crossed:
[Nexus 5X Android Development] Lord_Flaya:
1. The password is your pin/password for unlocking your device.

2. Allow TWRP to modify system.

3. Select install, then choose SuperSU. You will see the files on internal storage if you enter your pin/password when booting TWRP.

4. Reboot to TWRP to verify it sticks (not replaced bystock recovery).

5. Wipe dalvik&cache (åptional, but I recommend it).

6. Reboot system. First boot may take a Loong time.

Edit: I strongly recommend to flash TWRP/root manually.

Easy guide is found here: https://xdaforums.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930/page164
[Nexus 5X Android Development] luisbraz:
Why wasting that time doing it manually? NRT works fine, all you need to do is install drivers for the phone being recognized and that's it!
[Nexus 5X Android Development] CLPose:
Hi! Thanks for your patience!

1. TWRP accepts no password as valid, nor my pass, nor "default", nor "default_password", as suggested in some posts.:confused:

2. I do allow TWRP to make change, but it seems it just can't. :confused:

3. I can get to the "install" part, but I think TWRP can't do anything since passwords entered are invalid (TWRP main page buttons is displayed after pressing "cancel" button in the password screen).:silly:

As I can't make NRT work, I've been reading A LOT to make the process manually (too scary to go ahead yet). Maybe, if I can get TWRP and root, it'll be easier to do other things such as Xposed, or other things with NRT. I don't want to stuff this thread anymore with my particular problem, as no obvious answer seem to work. But if anyone is kind enough to personally help me, you can PM me here in XDA or ping me at Telegram in [MENTION=6310891]CLPose[/MENTION].

TIA! ;) :good:
[Nexus 5X Android Development] divvykev:
TWRP asking for password for me was because I had set the "Ask for pattern password on start" to yes.

Only way round it was a full return to stock. Used NRT and made sure I checkes "No Thanks" when I setup.

Hope this helps someone
[Nexus 5X Android Development] CLPose:
Well, I think I'll have to factory reset my phone anyway... :crying: Thanks!
[Nexus 5X Android Development] ndarkside93:
You get rid of encryption you'll have to format the entire data(internal storage) partition.
[Nexus 5X Android Development] CLPose:
Hi, there! After some struggling I managed to TWRP and root my N5X with NRT. :victory: I went through this thread and didn’t see anything like my case. :p I stuffed this thread with my problem, so I take the liberty to explain how I solved it. May help others some time... :angel:

•	I was in stock MDA89E and NRT couldn’t TWRP nor root my N5X (no matter what process I chose).

•	Then, I decided to “update” my stock rom to MTC20F, but I chose to flash the insecure boot.img offered by NRT (I think this is the name NRT uses, though this should not be necessary since the OP says that NRT includes “a new system that no longer requires modified boot.imgs”).

•	After flashing and updating my MDA89E to MTC20F (with its insecure boot.img and choosing the “no force encryption” option) the “Root + Custom recovery” of NRT worked like a charm!

I may be confused about some things. So, if anyone wants to correct me to make these short explanation clearer, go ahead.

Thank you all for your patience and thanks [MENTION=3110798]WugFresh[/MENTION] for this amazing and excellent tool! :good:
[Nexus 5X Android Development] paul222008:
what is the use of this back-up? (not familiar with this back up, before i used to back up the whole rom using twrp)

so this back-up means backing up all of my data apps (not the rom) and restore it when i flash a new rom? am i right? :D
[Nexus 5X Android Development] CLPose:
Yes, right you are! :good: It makes a backup of your apps so that you can restore them whenever you need it. Good luck! :fingers-crossed:
[Nexus 5X Android Development] paul222008:
Restore it on any kind of ROMS i switch?
[Nexus 5X Android Development] pkelly517:
In theory.

I've had hit/miss luck with adb backup.
[Nexus 5X Android Development] paul222008:
what do you mean? :confused:
[Nexus 5X Android Development] luisbraz:
I think that this tool is dead!

No updates in 2 months... It's time to update and root the phone by the old fashion way!

Thanks Wug, it was an amazing tool.
[Nexus 5X Android Development] nesoor1230:
The Application still great and , I am using it till now with Android 7.1.2& Android O,

Flashing factory image, rooting . It's working fine . Did you face any problems?! , did you try it ?
[Nexus 5X Android Development] luisbraz:
I did try to flash Android O manually with the tool but it didn't work!

I've flashed using the command line and it seems to me a little faster!
[Nexus 5X Android Development] riccardoerre:
hello, after android 7.1.1 no others version shows up in the selection box. this could be a problem if i try to root my last version of android on N5x? thanks!
[Nexus 5X Android Development] MaxDim:
You can download the SuperSU zip and use the tool to boot into temporary TWRP to flash it on android O
[Nexus 5X Android Development] Gregor250385:
Yes, it works. I have root on developer preview 3 :) :) thanks for the tip [emoji111]
[Nexus 5X Android Development] Vonsmalhausen:
wow incredible easy way to do it :) really thank you man so so thank you :D
[Nexus 6P Android Development] WugFresh:
Unlocking, rooting, relocking and unrooting simplified! (and much more!)

VERSION 2.1.4 - This program will automatically bring together all the files you need to unlock and root your device in a few clicks, or flash it back to stock and re-lock it. You can also use this program to backup/restore all your important data, flash zips, set file permissions, push and pull files, install apps, generate logcats/bugreports, and much more! With the included file association options, you can perform tasks like flashing zips, installing apps, restoring android backup files, and flashing/booting img files with just a double click! The program includes a full featured interface for automating tasks in TWRP, enhanced restore features, an in-built auto-updater/notification system, ‘any build’ mode, advanced restore features,’NRT- Live Log’ for viewing the adb/fastboot cmds that are run in the background, quick tools utilities, and tools for taking screenshots/screen-recordings. All the latest official Android builds and Nexus devices are supported. The program intelligently and selectively downloads the files it needs for your device and makes sure you are using the latest files available. The program can even auto-detect your device and build. This release brings full Marshmallow root support plus all automated features by utilizing a new system that no longer requires modified boot.imgs. Check out the updated changelog for a more comprehensive breakdown of the feature set and changes in this release.

~ my goal for this project is make the entire process as smooth and simple as possible ~

Please read the FAQs before posting questions: http://www.wugfresh.com/nrt/faqs/

Looking for a walk-through? >> Excellent Instructional/How-To Videos: http://www.wugfresh.com/videos/

More information & Download Links: http://www.wugfresh.com/nrt/

Changelog: http://www.wugfresh.com/nrt/changelog/

Enjoy! ^_^

{{ WugFresh }}
[Nexus 6P Android Development] WugFresh:
Reserved
[Nexus 6P Android Development] opz187:
he's here! great to see you here man
[Nexus 6P Android Development] mouse100:
Some people reported in another thread that they had bootloops with your tool working on the 6p. Have you solved the issues?

Inviato dal mio iPad utilizzando Tapatalk
[Nexus 6P Android Development] puritan007:
Glad to see you here, I have been doing everything manually, yours is the only toolkit Ive ever trusted Thanks for the support on this device!
[Nexus 6P Android Development] schwab16:
I'm going to try the ToolKit tonight. It looks great, thanks!
[Nexus 6P Android Development] Stephen:
Used this for a long time with my Nexus 6. Just tried with my 6p. No problems at all. I used it to restore stock. Didn't use it to lock bootloader etc, but worked perfectly.
[Nexus 6P Android Development] WugFresh:
It's possible they used my tool when the device initially got listed (prematurely) and I had yet to upload all the root kernels I built for it yet (my fault). When rooting a marshmallow build by flashing SuperSU, if the user hasn't flashed a root kernel first they will bootloop. All files are now uploaded and masterlists are also updated, so there should be no issues (toolkit automatically flashes the root kernel).

When a root solution comes out that just uses a newer SuperSU zip and no need for a minimally modified root kernel, I will adopt that method and will be able to extend even more automated features.

Many 6P users have reported success with this recent release.
[Nexus 6P Android Development] micmars:
It's perfect

Sent from my Nexus 6P, #WhiteUIsMustDie, #EndDarkAppOppression
[Nexus 6P Android Development] lovegambler:
Atlast, the Wugs toolkit..

Good to see you buddy, really appreciate your work
[Nexus 6P Android Development] Eastern37:
Worked perfectly! Backed up, unlocked, rooted with recovery and restored without a problem. Cheers!
[Nexus 6P Android Development] freddienuxx:
alawys sucess wit your toolkit! i go back to using my samsung galaxy nexus and never had any issues #godblessthehaters
[Nexus 6P Android Development] Steff08:
I used your toolkit to unlock root and install custom recovery to my nexus 6p as soon as I got it 3 days ago and everything worked fine

Στάλθηκε από το Nexus 6P μου
[Nexus 6P Android Development] bweN diorD:
works perfect as always :)

thanks
[Nexus 6P Android Development] skinnytoo2:
As always, works without issue. Thanks again Wug!!
[Nexus 6P Android Development] treIII:
[MENTION=587264]wug[/MENTION] what method are you using in your tool kit? Chainfires systemless or sytem root? Thanks for your tool kit

Sent from my Nexus 6P using Xparent Blue Tapatalk 2
[Nexus 6P Android Development] WugFresh:
System root. Systemless is still considered experiential, however I may consider adding an option to try rooting that way if the user wants.
[Nexus 6P Android Development] notfaded1:
NRT is the simple tool to use for nexus...

I've been just using system root too so far. So many other things alter /system anyhow it's almost impossible to avoid. Great to see you here now too Wug! Glad to see you got one of the new nexus!
[Nexus 6P Android Development] mouse100:
Thank you very much [MENTION=3110798]WugFresh[/MENTION]! This is my third nexus device and for the third time I used successfully your tool that is a very life saver! I've made you a paypal donation. Confirmation number: 2HA073630G714762N
[Nexus 6P Android Development] FTMDan:
Quick question; Can I use the backup features to backup stuff like home screen configuration and chat history in messenger apps such as LINE and restore them on a new 6P? Trying to find the best way to basically backup things like SMS conversations, chat histories in LINE and such to a new RMA device I will be receiving so I'm doing as minimal setup as possible on the new device besides transferring music and stuff to the phone again from my PC.
[Nexus 6P Android Development] greyhd:
Honestly, I do not know, but you can try and see if it works. I backup everything and then transfer the file to my computer. I use SMS backup for my text messages.
[Nexus 6P Android Development] maxamus007:
Can I use the toolkit to decrypt?

Dont see an option anywhere
[Nexus 6P Android Development] perusmuro:
How this systemless root works? I only chose Root and then it will use systemless way?
[Nexus 6P Android Development] mochamoo:
Delete please.
[Nexus 6P Android Development] tupirujp:
Any plans to update these to the last vendor ?