How to Unroot the Nexus 5X (Toolkit Method)

**Required Toolkit and Precautions**

The process described in this video requires a toolkit that just makes things a lot easier, but it only works on Windows. Additionally, this tool will wipe your device, so it's essential to back up everything you need, including photos, contacts, etc.

**Downloading the Toolkit**

Once you're ready, we'll download the toolkit by clicking on the link provided beneath the video and downloading from there. The downloaded file should be saved to your desktop. Next, we'll enable USB debugging on the phone. To do this, pull down the notification, tap the top, tap settings, scroll all the way down to About Phone, and then scroll down to Build Number. Keep tapping it until it tells you "A. The developer." Then, hit back and go to Developer Options. Make sure that USB debugging is checked on.

**Plugging the Phone into the Computer**

Next, we'll plug the phone into the computer via USB. Unfortunately, the phone doesn't come with a USB-C to USB cable, so you may need to purchase one online or have a new computer with USB-C ports. If you don't have a cable, you can search for it on the internet.

**Allowing ADB Access**

Once you've plugged in the phone, if you get a popup that says "Allow this computer," check "Always allow" and click OK to continue. If you experience any issues with ADB, you can click the link provided below to be taken to my video tutorial, which is quick and easy.

**Installing the Toolkit**

Right-click on the toolkit we downloaded and hit Run as Administrator. Click Install, wait for it to install, and then open up the toolkit. You'll choose the device that you have, which in this case is a 5X. Select the build by going to Settings and About, and click "Apply" and "OK." The toolkit will eventually open, and we're ready to begin.

**Flashing Stock and Unrooting**

We'll flash the stock firmware and unroot our device. Click on the "Flash Talk and On Rout" option and then select that automatically for us. Make sure you're choosing that automatically because if your device is in a boot loop or can't turn on well, you should choose the other option instead.

**Rebooting and Locking the Bootloader**

After flashing, we'll reboot our device, which will give us a warning message. Click OK to continue, and then we'll watch as all the text appears on the screen. Once it's done, we can close that window, and the phone will be back in its Factory State.

**Relocking the Bootloader (Optional)**

Now that we have our device back in stock, we may want to relock the bootloader for security reasons or if we plan on selling the phone. To do this, we'll enable USB debugging again and then click OEM Lock. This will erase everything, so be careful.

**Final Steps**

Once you're ready, use the volume buttons to select and power to choose yes. The device should reboot, and no longer have the unlocked logo on the boot screen. You can now go through the setup process quickly or leave it as is if you plan on selling the phone.

"WEBVTTKind: captionsLanguage: enhey guys today I am going to show you how you can unroot your Nexus 5x and get it back completely to stock using a toolkit okay so before we begin this will only work on Windows uh because it requires a toolkit that just makes things a lot easier that only works on Windows also this will wipe your device so make sure that you back up everything that you need photos contacts Etc once you're ready though we're going to download the toolkit by clicking on this link here beneath the video and clicking download from here and saving that to your desktop then you're going to need to enable USB debugging on the phone so pull down the notification tap the top tap settings scroll all the way down to about phone scroll the way down to build number and keep tapping it until it tells you a the developer hit back developer options and just make sure that USB debugging is checked on next you're going to plug the phone into the computer via USB it doesn't come with a USBC to USB mail plug uh USB 2.0 or usba a uh so you're going to have to probably buy one of those on the internet unless you just have a really new computer that has USBC plorts you lucky person you um so if you do need one of those uh cables that allows you to connect this to your computer you can click the link below to be taken to one that I found otherwise you could search the internet for it and once you have it we're going to plug the phone in to the computer now if you get a popup that says allow this computer check always allow and click okay and then we can continue if you have any issues uh with ADB you can click this link here to be taken to my video tutorial do that it's really quick and then come back here to continue okay then we can right click our toolkit that we downloaded and hit run as administrator click install wait for it to install then open up the toolkit and you're going to choose the device that you have so we have the 5x and then the build which you can find in uh settings and about so I have this one I'm going to click that click apply click okay and eventually your toolkit will open so what I'm going to do is click this here flash stock and unroot I'm going to say the device is on because it is but if your device is for some reason in a boot loop or can't turn on very well uh you can do that option instead so I'm going to do this though flash talk and on rout click okay going to choose that automatically for me automatically download don't really change any of these click okay and wait for it to download that once it's done rebooting your device it's going to give you a warning you're going to click okay and then you can watch all the text appear as it does its thing when it's done you'll eventually get this message which you can click okay to and you can close that and the phone will be back to uh its Factory State here so you can go through the setup process really quick so that we can do the next step of actually relocking the boot loader so now we need to re enable USB debugging so that we can finish and relock the boot l so we're going to tap uh on settings scroll the way down to about phone scroll it down to build number keep tapping it till it says your developer hit back scroll down tap on developer options tap USB debugging back on click okay when this pops up hit always allow and okay and back on the computer we can now relock the boot loader now this is optional right now you are stock uh you have stock recovery stop stock system everything is stock um but your bootloader is still locked so if you try to send in for warranty or anything like that they're going to know uh so what you can do is you can actually relock that and this will be back to completely Factory spec as in the way it was when it first came out of the box so to do that with the phone still plugged in and now USB debugging enabled I'm going to click OEM lock then I'm going to click okay and then on the phone it's going to ask you if you want to relock the boot loader uh this will erase everything just so you know but we're going to use the volume buttons to select and power to actually choose so volume up to hit yes and then power and it should reboot and no longer have the unlocked logo on the boot screen and once that's done it'll reboot another time and you're back to the setup screen you can either go through this and you're now back to completely stock or you can leave it like this if you're planning on selling the phone enjoy there you guys I hope you enjoyed that and if you did please thumbs up it or share it is greatly appreciated and if you want more videos on how to get the most out of your Tech please subscribe to the YouTube channel or follow me on any number of the social networks at deogan or at thee unlocker and as always thanks for watchinghey guys today I am going to show you how you can unroot your Nexus 5x and get it back completely to stock using a toolkit okay so before we begin this will only work on Windows uh because it requires a toolkit that just makes things a lot easier that only works on Windows also this will wipe your device so make sure that you back up everything that you need photos contacts Etc once you're ready though we're going to download the toolkit by clicking on this link here beneath the video and clicking download from here and saving that to your desktop then you're going to need to enable USB debugging on the phone so pull down the notification tap the top tap settings scroll all the way down to about phone scroll the way down to build number and keep tapping it until it tells you a the developer hit back developer options and just make sure that USB debugging is checked on next you're going to plug the phone into the computer via USB it doesn't come with a USBC to USB mail plug uh USB 2.0 or usba a uh so you're going to have to probably buy one of those on the internet unless you just have a really new computer that has USBC plorts you lucky person you um so if you do need one of those uh cables that allows you to connect this to your computer you can click the link below to be taken to one that I found otherwise you could search the internet for it and once you have it we're going to plug the phone in to the computer now if you get a popup that says allow this computer check always allow and click okay and then we can continue if you have any issues uh with ADB you can click this link here to be taken to my video tutorial do that it's really quick and then come back here to continue okay then we can right click our toolkit that we downloaded and hit run as administrator click install wait for it to install then open up the toolkit and you're going to choose the device that you have so we have the 5x and then the build which you can find in uh settings and about so I have this one I'm going to click that click apply click okay and eventually your toolkit will open so what I'm going to do is click this here flash stock and unroot I'm going to say the device is on because it is but if your device is for some reason in a boot loop or can't turn on very well uh you can do that option instead so I'm going to do this though flash talk and on rout click okay going to choose that automatically for me automatically download don't really change any of these click okay and wait for it to download that once it's done rebooting your device it's going to give you a warning you're going to click okay and then you can watch all the text appear as it does its thing when it's done you'll eventually get this message which you can click okay to and you can close that and the phone will be back to uh its Factory State here so you can go through the setup process really quick so that we can do the next step of actually relocking the boot loader so now we need to re enable USB debugging so that we can finish and relock the boot l so we're going to tap uh on settings scroll the way down to about phone scroll it down to build number keep tapping it till it says your developer hit back scroll down tap on developer options tap USB debugging back on click okay when this pops up hit always allow and okay and back on the computer we can now relock the boot loader now this is optional right now you are stock uh you have stock recovery stop stock system everything is stock um but your bootloader is still locked so if you try to send in for warranty or anything like that they're going to know uh so what you can do is you can actually relock that and this will be back to completely Factory spec as in the way it was when it first came out of the box so to do that with the phone still plugged in and now USB debugging enabled I'm going to click OEM lock then I'm going to click okay and then on the phone it's going to ask you if you want to relock the boot loader uh this will erase everything just so you know but we're going to use the volume buttons to select and power to actually choose so volume up to hit yes and then power and it should reboot and no longer have the unlocked logo on the boot screen and once that's done it'll reboot another time and you're back to the setup screen you can either go through this and you're now back to completely stock or you can leave it like this if you're planning on selling the phone enjoy there you guys I hope you enjoyed that and if you did please thumbs up it or share it is greatly appreciated and if you want more videos on how to get the most out of your Tech please subscribe to the YouTube channel or follow me on any number of the social networks at deogan or at thee unlocker and as always thanks for watching\n"