Before you begin you must unlock your phone’s bootloader. Follow this step-by-step guide.
The bootloader is a piece of software on a computer that loads the operating system. By default it is locked for security reasons. No application or user can access the bootloader and therefore cannot tamper with any of the files in the OS. However, tampering with system fi les is precisely what rooting and hacking involves, so we need to unlock the bootloader before we can do anything else.
Unlocking the bootloader wipes your phone so it’s best to do it before you set the phone up for the fi rst time, even if you don’t intend to root straight away. Unlocking in Marshmallow is slightly different to older devices as you need to enable it in Android first. After it’s done, you’ll also see a brief warning about the unlocked state every time you boot.
STEPS TO UNLOCK:-
1. Enable unlocking
In Android enable the Developer settings by
going to Settings>About, then tapping the Build number seven times. Now hit back and enter the Developer options. Enable OEM unlocking and USB debugging. You can now turn your phone off.
2. Enter the bootloader
Launch the bootloader by holding the power and volume down buttons. Connect your phone to your PC and launch the command line. Change the directory to where fastboot is installed and type oem fastboot unlock.
3. You’re unlocked
Unlocking takes a few seconds, so don’t touch the phone while it completes, then reboot the device. You will see the warning about the device being unlocked and an open padlock icon on the Google boot screen.
Enjoy your Unlocked Boatloaded Nexus