Disclaimer:Unlocking your device's bootloader voids your warranty! Not following such procedures carefully and failing to complete it might brick your device. AndroidJunkie will not be held responsible for your actions.
- Be sure to have the USB Drivers installed for the Nexus 5 in order to be able to transfer files between the phone and computer.
- Create a backup of all your valuable saved messages, app data, contacts and everything else you want to keep
- Enable USB debugging on the phone by going to Settings -> Developer options. If you don't have Developer options enabled, head into Settings -> About phone - now begin tapping continuously on where it says Build number and it should say "You are now a developer".
- Make sure you have some battery juice because if the device shuts off before the procedure is completed, you may corrupt your rom and end up with a bricked device.
How to unlock Nexus 5 bootloader:
- It's finally time to begin the procedure. So download the Android SDK and set it up with downloading platform-tools in SDK. If you're not sure how, you can check out this guide by TeamAndroid - Click here.
- Download Fastboot and extract it in the directory android-sdk/platform-tools.
- Once the file is on your phone, power it off. Now hold the Volume up + Volume down + Power buttons simultaneously to boot into Fastboot/Bootloader Mode until you see it appear on your phone.
- Connect your Nexus 5 to your computer with your USB cable.
- Now head into the platform-tools directory, hold Shift and right-click with your mouse on a blank spot inside that folder and click on Open command prompt.
- Type in the command fastboot oem unlock and press Enter.
- The process should begin. Follow the on-screen instructions on your phone to unlock the bootloader and erase all data.
- Once finished, your Nexus 5 should reboot. Incase it doesn't type in the command fastboot reboot in the Command prompt and the device will reboot.
- Your bootloader should now be unlocked.