



Welcome to the Nexus 6 All-In-One Guide. If you are a new user that is looking for the opportunity to take advantage of your device and do it right the first time, this guide is here to point the way. This thread exists to keep all the necessary methods and material in one common place just for you. As always: Do your homework first.



If followed correctly, this guide can be a useful tool. These steps are listed in the order in which they should be completed. The intent is to seamlessly unlock, root, backup and/or flash, leaving as little room for error as possible. This process will erase and/or reset everything on your device. All steps are assuming you have backed up your contacts, texts, pictures, videos, etc. I do not take credit for any of this material or information.

This guide is a compilation of work from across XDA, most specifically users like @Chainfire and @Chromium, that I have simply brought together.

Step 1: Read. Read. Succeed.

Be sure to checkout Post #2 below for additional information regarding your Nexus 6

Step 2: Installing The Necessary Desktop Tools

ADB and Fastboot Installation

Download the full Android SDK here (scroll to the bottom of the page>DOWNLOAD FOR OTHER PLATFORMS>SDK Tools Only). Extract the zip and place the android-sdk-windows folder on your desktop.

**If you chose to download the slimmed sdk skip to step 5** Only if you downloaded the full sdk: Go into the android-sdk-windows folder and run SDK Manager.exe. Install the following packages (there are a total of 4 packages):

- Tools > Android SDK Tools, Android SDK Platform-tools

- Extras > Android Support Library, Google USB Driver



Only if you downloaded the full sdk: Go back into the android-sdk-windows directory, and you should see a new folder named platform-tools. If you don't see this new folder, repeat the step above. To confirm that it is indeed working, open a command prompt window and enter the following commands:

Code: cd Desktop/android-sdk-windows/platform-tools adb version

Step 3: Unlock, Root & Custom Recovery

>>>>>>Before you begin, make sure your N6 has USB Debugging Mode switched on<<<<<<

Before continuing, users must enable Developer Options in the devices settings and select the OEM Unlock option. To do so:

Unlock The Bootloader

Turn the phone off. Then boot it into the bootloader/fastboot mode by holding volume down + power.





Plug the phone into your PC, then open a command prompt window window and type:

Code: cd Desktop/android-sdk-windows/platform-tools Code: fastboot devices





If the phone has been recognized by the command above, proceed to unlocking the bootloader with the following command:

Remember that this step will wipe EVERYTHING off the phone

Code: fastboot oem unlock





After the above command has finished executing, run the following ( DO NOT skip this step , it is more important than you think):

Code: fastboot reboot





, it is more important than you think): Close the command prompt window.

Obtain Root

** If you want to have root access only you can stop here .**

but just install and/or update your recovery

Installing A Custom Recovery

Turn the phone off. Then boot it into the bootloader/fastboot mode by holding volume down + power.





Rename the recovery file that you downloaded above to recovery.img. *Make sure that you rename it to recovery.img NOT recovery.img.img* Remember that you should place the file in the platform-tools folder inside of the android-sdk-windows folder on your desktop.





Open command prompt and run the following commands:

Code: cd Desktop/android-sdk-windows/platform-tools Code: fastboot flash recovery recovery.img

On the phone, use the volume buttons to scroll onto "Restart Bootloader" and hit power to select it. After the bootloader reloads, use the volume buttons to scroll onto "Recovery Mode" and power to select it. You should then be greeted with your newly installed custom recovery.



Close the command prompt window.

STEP 4: Making A Backup

CWM

TWRP

TWRP

Step 5A: Wiping Your Device

Step 5B: Flashing a Custom ROM

Your journey down the Android path of rooting and modifying can be smooth, fun and educational, based on your attempt at learning everything you can before you begin. This is entirely up to you, the user. There is some excellent material here on XDA that I highly recommend reading over as part of step 1. Even though these 2 informational links were written for the Nexus 5, the knowledge still applies soYep, read it. It's for your own good. Included with some very useful general forum information, it also contains the forum rules which should also be read and understood.This awesome thread by @ abaaaabbbb63 is a *noob friendly* collection of information every user that wants to root their phone should know. Many people blindly follow guides without even knowing what "Rooting" means. Hopefully, this will help new users (and old ones, why not?) understand what is happening with their phone, and what they will put up with. Get on over there and read it.For those of you who want to get most out of your Nexus 6, you will certainly want to root it. Rooting your device provides you as the user many, many benefits. That's why you're here right now reading this. You want it all. Please note that there is always the chance of error during these processes. Bad or faulty USB cables, USB ports, bad/old device drivers on the computer, an active virus scanner. These are a few of the issues that can cause your device to fail to connect or prohibit a successful root/flash. Use good and original OEM USB cables. Uninstall any drivers you may have installed for previous mobile devices and disable your virus scanner.- Go into- Under, you'll be able to locate your- Tapuntil you are notified that you have activated Developer options- Go into, ensure it is enabled and check thebox- While in, ensure thebox is checkedThe instructions below and the zip file are the work of our beloved @ Chainfire . CF-Root is the root for "rooting beginners" and those who want to keep as close to stock as possible. CF-Root is meant to be used in combination with stock firmware and be the quickest and easiest way for your first root.- Extract the ZIP file- Boot your device in bootloader/fastboot mode. Usually this can be done by turning your device off, then holding VolUp+VolDown+Power to turn it on.- Connect your device to your computer using USB- Windows:--- Run root-windows.bat- Linux--- chmod +x root-linux.sh--- Run root-linux.sh- Mac OS X--- chmod +x root-mac.sh--- Run root-mac.shA recovery image is the system level software for your Android that lets you perform several maintenance and recovery tasks. The stock recovery image is quite limited in what it allows you to do and therefore, flashing a custom recovery image is required to gain full control of your device’s administration. A custom recovery image allows you to perform the following tasks:Additionally, you can download the Goo Manager app to install TWRP updates.I do not recommend Rom Manager as a tool to do anythingDo not flash ROMs from this application.Go HERE to download the latest TWRP recovery for the Nexus 6.Making a Nandroid will allow you to try out new ROMs while still keeping a safe backup in the event you experience issues during or after a custom OS or kernel installation. Be sure your device is fully charged before proceeding to the backup and flashing procedures.If you are not already booted into recovery then do so now.Boot into fastboot mode (Volume Down + Power)Browse with the volume keys to Recovery Mode and press the power buttonYou are now in custom recovery.Ingo to Backup and Restore and select Backup. Inselect Backup. Name and select the options you want. Swipe to backup.In, go to Backup and proceed to the next step(s).After backup is finished, select reboot system now or stay in recovery to continue with this guide.When flashing any ROM, it is always important to follow the proper wipe procedures in order for everything to function properly. There are various levels of wiping based on what sort of transition you may be making. In this guide, I will list the procedures for a full wipe, presuming that you are coming from the stock firmware and changing your OS completely. This is all assuming you have made the appropriate backups. ALWAYS perform the appropriate wipe before flashing a new ROM or update!. If you are not already in recovery, boot in now.. Select Wipe data/factory reset. Select Wipe Cache. Select Advanced and Wipe Dalvik Cache. Select Mounts and Storage and format /system. If you are transitioning from Android versions (4.4 to 4.x, etc) you must also format /data. You will lose all personal data so back it up first.. Select Wipe. Select Factory Reset and wipe. Select System and wipe. If you are transitioning from Android versions (5.0 to 5.x, etc) you must also select Wipe Data and wipe. You will lose all personal data so back it up first.Once you have selected a ROM for your Nexus 6:. Download the ROM. Be sure to download the appropriate Gapps as well.. From your PC, place the ROM/Gapps on your internal storage. Remember where they are.. Boot into custom recovery.. Perform the wipe listed above if you have not already.. From the main recovery screen:>>- Choose the "install .zip from SD Card" and confirm.>>- Choose Install and locate the desired ROM on your internal storage.. Repeat step 5 and select the Gapps package.. Reboot system. It will take several minutes to load so be patient and don't worry. Once the phone is booted, let it sit for 5 minutes, reboot and enjoy!