[HOW-TO] The Nexus 6 All-In-One Beginner's Guide

Search This thread

ktmom

Retired Forum Moderator
Apr 22, 2015
5,176
3,385
Deep Space Station K7
Ok thank you, I'll sift through and see what I can find. Basically if I can get TWRP back on it I'll be home free. As it stands now I can't boot to recovery or use the TWRP app to flash anything.

Edit: tried it at work on Windows with no success. Downloaded the stand alone ADB and Fastboot. Tried other options when the USB cord is plugged in (file transfer, PTP, etc). The command "adb devices" still shows nothing is plugged in.

Could it be my cord? I've tried 7 different ones lol
Cord could be a problem. Getting drivers correct on Windows could be a problem. I'm under the impression it's easier on a Mac. I use Linux and the trick there is to set-up permissions.

But also the newest versions of fastboot and ADB have been problematic for the N6. Remember this device is no longer supported and the commands for the pixel devices are different from the N6. I think it should still return results for "adb devices" though.

There are also standalone versions which are older, and are available here on xda. I seem to remember this was discussed within the last several pages of this thread.

Are you having the same problem for fastboot? If flashing TWRP is your goal, it is fastboot you need over ADB.


"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
 
  • Like
Reactions: phr0zen

phr0zen

Senior Member
May 24, 2009
527
109
OnePlus 7 Pro
Cord could be a problem. Getting drivers correct on Windows could be a problem. I'm under the impression it's easier on a Mac. I use Linux and the trick there is to set-up permissions.

But also the newest versions of fastboot and ADB have been problematic for the N6. Remember this device is no longer supported and the commands for the pixel devices are different from the N6. I think it should still return results for "adb devices" though.

There are also standalone versions which are older, and are available here on xda. I seem to remember this was discussed within the last several pages of this thread.

Are you having the same problem for fastboot? If flashing TWRP is your goal, it is fastboot you need over ADB.


"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

First off, thanks for taking the time to address my situation. I know the device is older and unsupported, which was to be expected and wasn't too bothersome when I could only find information with the latest date of 2016 :p. I was able to use the Lx Multitool, which is, i believe what was suggested to look for. With this, I was able to wipe everything and install TWRP (granted an older version but I didn't care at this point).

My next issue is - I cannot figure out a way to flash a ROM with this tool. In ADB, I cannot transfer files and in Fastboot, the program does not allow flashing of ROM's. It keeps wanting to open the .zip file instead. It's also saying that I need to turn on "file transfer" or "MTP"... but how can I do that if the only thing installed is TWRP?

I apologize if some of this seems trivial - again this is totally new to me despite being in the android rooting game since the Galaxy S2 days haha
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,176
3,385
Deep Space Station K7
First off, thanks for taking the time to address my situation. I know the device is older and unsupported, which was to be expected and wasn't too bothersome when I could only find information with the latest date of 2016 :p. I was able to use the Lx Multitool, which is, i believe what was suggested to look for. With this, I was able to wipe everything and install TWRP (granted an older version but I didn't care at this point).

My next issue is - I cannot figure out a way to flash a ROM with this tool. In ADB, I cannot transfer files and in Fastboot, the program does not allow flashing of ROM's. It keeps wanting to open the .zip file instead. It's also saying that I need to turn on "file transfer" or "MTP"... but how can I do that if the only thing installed is TWRP?

I apologize if some of this seems trivial - again this is totally new to me despite being in the android rooting game since the Galaxy S2 days haha

Use TWRP to flash a custom (non-stock) ROM.

If you do want to flash a stock ROM, those will be image files (*.img) which is the only thing flashed through fastboot.

The only thing you'll "flash" through ADB, is a stock full OTA, but I've only ever bothered installing stock with fastboot.

Some additional comments;

You really want to install the latest TWRP (twrp-3.2.1-0-shamu.img). If you have a sufficiently older version, you may have trouble installing a custom ROM. No matter what you do, don't let TWRP install root!

You should be able to upgrade to the newest TWRP from within TWRP by downloading the latest TWRP image file (.img) from the download link and put it on internal storage. Boot TWRP then go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.

You should be able to plug you phone in to the computer while in TWRP and drop the file in to internal storage through the PC's. If you can not do this, this is why you're having trouble with fastboot and ADB.

Do you know what version of stock is currently (last installed) on the phone? If you want to install a recent nougat or any oreo custom ROM, you med the most recent bootloader. The way to do that is to fastboot flash the last stock release ( fastboot factory images).





"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,176
3,385
Deep Space Station K7
I was thinking about this, did I miss the fact that you have no OS installed at all?

In that case, if USB Debugging in Developer Options wasn't enabled before whatever wipe was done on the phone, ADB won't work.

It does sound like fastboot is working for you. Double check by connecting the phone and typing "fastboot devices" in the command line on whichever computer you are using. If fastboot is working, I suggest you get back to a known state and use the link (above) for the factory image. Use the last one and fastboot flash the stock ROM back onto your device. The instructions on the linked page are accurate. When they refer to "older devices" that includes the N6.

Once you are back to stock, boot, go to developer options and enable usb debugging. Then see if ADB works for you. You must be booted into either Android or TWRP for ADB to work. While you are booted into the OS, download and save on internal storage what ever custom ROM you want to use.

Once you get to a known condition, go back to the bootloader which is the only place fastboot works and re-flash TWRP. Use the command fastboot reboot recovery to go straight into TWRP and now you can flash the custom ROM from within recovery.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
 
  • Like
Reactions: barnettejd

phr0zen

Senior Member
May 24, 2009
527
109
OnePlus 7 Pro
Use TWRP to flash a custom (non-stock) ROM.

If you do want to flash a stock ROM, those will be image files (*.img) which is the only thing flashed through fastboot.

The only thing you'll "flash" through ADB, is a stock full OTA, but I've only ever bothered installing stock with fastboot.

Some additional comments;

You really want to install the latest TWRP (twrp-3.2.1-0-shamu.img). If you have a sufficiently older version, you may have trouble installing a custom ROM. No matter what you do, don't let TWRP install root!

You should be able to upgrade to the newest TWRP from within TWRP by downloading the latest TWRP image file (.img) from the download link and put it on internal storage. Boot TWRP then go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.

You should be able to plug you phone in to the computer while in TWRP and drop the file in to internal storage through the PC's. If you can not do this, this is why you're having trouble with fastboot and ADB.

Do you know what version of stock is currently (last installed) on the phone? If you want to install a recent nougat or any oreo custom ROM, you med the most recent bootloader. The way to do that is to fastboot flash the last stock release ( fastboot factory images).





"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Update: I was able to get the phone up and running again through a fit of rage. Lete try to answer a couple of your questions.

The TWRP that came with the software was out of date but I was able to find the current .img, which I placed in the appropriate folder within the program. So that's installed :good:

When I plugged the phone into the computer, it would not let me transfer files because it couldn't mount /data. I couldn't find which file system it should be so I attempted ext4 which threw an error. Ended up going with Fat even though you my understanding Fat does not support root. This can be fixed later after work.

My last ROM was Screw'd, which interestingly enough managed to stay on the phone, along with the Gapps package. I'm not entirely sure how that happened since I wiped everything.

So as of now everything's working except root, which I more than likely need to change the file system to accommodate root. Hopefully this will be my last PITA post about this issue and again, I thank you for your time and input.
 

Galliardox

Member
May 2, 2016
6
0
Ok, like a year ago I unlocked the bootloader, installed SuperSU, and TWRP, however the TWRP did not replace the stock recovery, because instructions on TWRP website were ****. I did not really care about it back then. Later on I gave this phone to my brother and he broke the charging port (hate Micro-USB, btw). The phone later updated to 7.1.1, and the root disappeared. Now, I want to install root on this Nexus again, but USB-port is broken, but I have unlocked bootloader and Android 7.1.1. What can I do?
 

zapjb

Senior Member
Jun 19, 2011
391
39
Late to the Nexus 6 party. Got one with 7.11 & bootloader unlocked.
Afaik this used Nexus isn't rooted. I've read a bunch here at XDA. But I haven't rooted a phone in ~3+ yrs. All this is way confusing to me. Is there a 1 2 3 guide? Afaik it's unlock bootloader [done], turn on USB debugging [done].

But I can't find clear instructions on how to root this sucker. Help appreciated.
 

Strephon Alkhalikoi

Senior Member
Aug 3, 2010
7,351
3,393
Vulcan
Samsung Galaxy S4
Nexus 6
But I can't find clear instructions on how to root this sucker. Help appreciated.

In a nutshell...

  1. Download Minimal ADB and Fastboot and install it. As an alternative, ADB and Fastboot are available direct from Google, in which case you will have to manually create a directory to store them in on the root of your C: drive.
  2. Download TWRP recovery for the N6 and place it in the same directory ADB and Fastboot are located in.
  3. Download the latest version of Magisk to the PC and copy it to the N6 internal storage.
  4. Enable developer options if not already enabled and enable USB debugging.
  5. Shut down the N6.
  6. Press and hold "Volume Down" and the Power button to enter Bootloader mode.
  7. Connect the N6 to your PC using a known working USB cable.
  8. Open Minimal ADB and Fastboot. If ADB and Fastboot were manually installed, open a command prompt and navigate to the folder where ADB and Fastboot were stored.
  9. Type "adb devices".
  10. Type "fastboot oem unlock" to unlock the bootloader (skip this step if already done). WARNING: This command will completely wipe the phone.
  11. Type "fastboot flash recovery twrp-xxx.img", replacing "twrp-xxx.img" with the actual file name.
  12. Type "adb reboot recovery" to enter the fresh copy of TWRP on the device.
  13. On the screen that appears, select the checkbox and then swipe to allow modifications to system.
  14. Tap "Install".
  15. Navigate to where the Magisk zip was stored and tap on it. If the bootloader unlock wiped the zip out of internal storage, copy the zip from the PC to internal storage and try again.
  16. When the Magisk installer completes, tap "Reboot System" to start up the device.
Rejoice, for you are rooted.
 

zapjb

Senior Member
Jun 19, 2011
391
39
In a nutshell...

  1. Download Minimal ADB and Fastboot and install it. As an alternative, ADB and Fastboot are available direct from Google, in which case you will have to manually create a directory to store them in on the root of your C: drive.
  2. Download TWRP recovery for the N6 and place it in the same directory ADB and Fastboot are located in.
  3. Download the latest version of Magisk to the PC and copy it to the N6 internal storage.
  4. Enable developer options if not already enabled and enable USB debugging.
  5. Shut down the N6.
  6. Press and hold "Volume Down" and the Power button to enter Bootloader mode.
  7. Connect the N6 to your PC using a known working USB cable.
  8. Open Minimal ADB and Fastboot. If ADB and Fastboot were manually installed, open a command prompt and navigate to the folder where ADB and Fastboot were stored.
  9. Type "adb devices".
  10. Type "fastboot oem unlock" to unlock the bootloader (skip this step if already done). WARNING: This command will completely wipe the phone.
  11. Type "fastboot flash recovery twrp-xxx.img", replacing "twrp-xxx.img" with the actual file name.
  12. Type "adb reboot recovery" to enter the fresh copy of TWRP on the device.
  13. On the screen that appears, select the checkbox and then swipe to allow modifications to system.
  14. Tap "Install".
  15. Navigate to where the Magisk zip was stored and tap on it. If the bootloader unlock wiped the zip out of internal storage, copy the zip from the PC to internal storage and try again.
  16. When the Magisk installer completes, tap "Reboot System" to start up the device.
Rejoice, for you are rooted.

Awesome you are my Nexus 6 hero. I will try later after I rest up from tweek reading & dl every YT vid I could find on Rooting - TWRP - Magisk on the N6.
 

zapjb

Senior Member
Jun 19, 2011
391
39
I've run into a problem. The N6 is detected by my W7 pc when the N6 is in regular phone mode. But the N6 doesn't say it's connected when in Bootloader mode. I tried in safe mode as well. Excellent directions I just can't figure past instruction #7. It's a known good cable except in Bootloader mode.
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,176
3,385
Deep Space Station K7
I've run into a problem. The N6 is detected by my W7 pc when the N6 is in regular phone mode. But the N6 doesn't say it's connected when in Bootloader mode. I tried in safe mode as well. Excellent directions I just can't figure past instruction #7. It's a known good cable except in Bootloader mode.
I'm not experienced in Windows so I can't help you there, but in bootloader you need fastboot. In recovery or booted up you need ADB.

The phone presents different device identifiers to the computer in these modes, and different drivers are needed, so it is possible to have proper drivers installed for one mode, but not the other.

With my limited knowledge of Windows, with the phone connected via USB and booted to fastboot (bootloader), is there a yellow warning icon in the device manager? That would be a clear indication that the drivers needed are not installed properly. Typically people have to delete any currently installed drivers and reinstall. There should also be a stand alone fastboot available for W7, but that still requires the drivers are installed correctly.

There is always using a live boot USB drive with Ubuntu or Mint [emoji6]



"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,176
3,385
Deep Space Station K7
The thing is, all of the information in the OP is still valid with the exception of the need for one click root. Rooting is as simple as flashing a modern root zip in TWRP.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
 
  • Like
Reactions: zapjb

zapjb

Senior Member
Jun 19, 2011
391
39
Ok kind XDA'ers. After 7. Connect the N6 to your PC using a known working USB cable. I scroll to Restart Bootloader on the N6 Bootloader menu.

So now I THINK I'm stuck at 11?. Type "fastboot flash recovery twrp-xxx.img",replacing "twrp-xxx.img" with the actualfile name.

I copied the CMD prompt verbage. Again help is appreciated.


Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully


C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.2
.1-0-shamu.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (12027 KB)...
OKAY [ 0.468s]
writing 'recovery'...
OKAY [ 0.781s]
finished. total time: 1.249s

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot recovery
error: no devices/emulators found

C:\Program Files (x86)\Minimal ADB and Fastboot>

---------- Post added at 11:49 AM ---------- Previous post was at 11:45 AM ----------

The thing is, all of the information in the OP is still valid with the exception of the need for one click root. Rooting is as simple as flashing a modern root zip in TWRP....
Is this possible? I don't have Root. If so how? Thanks.
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,176
3,385
Deep Space Station K7
...

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot recovery
error: no devices/emulators found

...
Notice that you used ADB? You must use fastboot in the bootloader (fastboot mode).



...

Is this possible? I don't have Root. If so how? Thanks.

Download Magisk (search xda for the Magisk forum) and flash it in recovery.


"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
 
  • Like
Reactions: zapjb

zapjb

Senior Member
Jun 19, 2011
391
39
....Download Magisk (search xda for the Magisk forum) and flash it in recovery....
Ok I toggled to Recovery Mode & TWRP showed on my N6. I flashed Magisk & selected what I believe were proper options.

N6 notifies me:
TRWP App Update Required
Please update the TWRP App!

When setting up my N6. Not this XDA root stuff just Google regular stuff I skipped ALL the Google options.

Can I Factory Reset my N6 getting all the beginning Google setup prompts & still KEEP the Magisk Flash? Or do I have to reflash Magisk?

Or should I enter my Google ID accept the PlayStore EULA, & update the TWRP App? Then scrounge around for all the Google choices I skipped?

Thanks.
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,176
3,385
Deep Space Station K7
Ok I toggled to Recovery Mode & TWRP showed on my N6. I flashed Magisk & selected what I believe were proper options.

N6 notifies me:
TRWP App Update Required
Please update the TWRP App!

When setting up my N6. Not this XDA root stuff just Google regular stuff I skipped ALL the Google options.

Can I Factory Reset my N6 getting all the beginning Google setup prompts & still KEEP the Magisk Flash? Or do I have to reflash Magisk?

Or should I enter my Google ID accept the PlayStore EULA, & update the TWRP App? Then scrounge around for all the Google choices I skipped?

Thanks.

If you factory reset stock, you'll need to do everything you just did, over again. How about you skip using stock and use a custom Oreo ROM instead. The problem with stock is that the security updates are no longer released and the last release was before a couple of rather serious flaws.

I suggest you download AOSiP 8.1. That is one of a couple dozen available Oreo ROMs for this device. It's stable, had nice features and is actively developed. Once you get the hang of the flashing thing, you can try other ROMs is you want.

Download Open Gapps stock package. Make sure to also download the md5 file from that same page.

Look through the list of apps that are included in the stock package and if there are any you don't want installed, post here and I'll help you create a config file to exclude them from install.

Don't do any other steps until you've got the custom ROM file, Gapps and the optional Gapps config file all in internal storage. You probably want them in the same place you put the Magisk file.

To flash a custom ROM:

You'll need to reboot into TWRP
Usually you would make a backup (called a nandroid) but in your case it's easy enough to just restore a stock image if necessary.

Select “Wipe” from TWRP main menu and choose Advanced. Check boxes next to system, data, cache and dalvik. Then do the wipe. This will clean the device from stock, ready to flash a custom ROM. It's also referred to as a "clean flash".

Use the back button to return to the main menu

Choose "Install" and on the next screen add the custom ROM. Now choose add more zips and choose the Gapps file. Again add more zips and choose Magisk. Now flash these files. Watch the screen so if there is an error you'll see it.

Once every thing is done installing, reboot and setup like you would stock.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
 

zapjb

Senior Member
Jun 19, 2011
391
39
@ktmom You continue to be of great help.

I have dl AOSiP-8.1-Official-shamu-20180617.zip & AOSiP-8.1-Official-shamu-20180617.md5sum. It verified.
https://forum.xda-developers.com/nexus-6/development/aosip-8-1-official-t3801408
camcory the developer says, "These are local builds I do prior to official releases to test commits and or features."
So Do I have official release or no?

Another page hosting camcory
https://androidfilehost.com/?w=files&flid=224503&sort_by=date&sort_dir=DESC
says AOSiP-8.1-Official-shamu-20180614.zip is the latest official release.

Are both 20180617 & 20180614 official releases?

As far as Open GAPPS. I'm not sure what platform I'm on. So I downloaded ARM 8.1 stock & micro. The micro seems more to my liking. Can I add apps not in micro, I'd think so?

Any harm in making a Nandroid anyways & having it in Internal storage for convenience sake? And what are the steps through TWRP? Or I just put shamu-n6f27m-factory-bf5cce08.zip in internal for CYA purposes?

I love XDA!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 213
    2d1of9s.jpg


    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.


    icon-checkmark-small.png
    Step 1: Read. Read. Succeed.


    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 so don't skip this information!

    A message from the moderators - All users please read
    Yep, 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.

    [FAQ][REF]★All you need to know about Android | Read this before you post/root★
    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.

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


    icon-checkmark-small.png
    Step 2: Installing The Necessary Desktop Tools


    ADB and Fastboot Installation
    1. Download the full Android SDK here (scroll to the bottom of the page>DOWNLOAD FOR OTHER PLATFORMS>SDK Tools Only).
    2. 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**
    3. 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

    4. 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.
    5. 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
      If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful. Carefully repeat the steps above if this is the case. Close the command prompt window when you are done.

    icon-checkmark-small.png
    Step 3: Unlock, Root & Custom Recovery


    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.

    >>>>>>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:

    - Go into Settings
    - Under About Phone, you'll be able to locate your Build Number
    - Tap Build Number until you are notified that you have activated Developer options
    - Go into Developer Options, ensure it is enabled and check the Enable OEM Unlock box
    - While in Developer Options, ensure the USB Debugging box is checked

    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
      This command will list the connected devices. If your phones serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly. In order for you to continue you must fix your drivers so that your phone is listed under 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
      On the phone a screen should pop up asking whether or not you would like to unlock the bootloader. Use the volume rockers to highlight "Yes" then press power to confirm the action.

    • 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
      The phone will reboot. Next you will be presented with a screen containing an android logo and a progress bar (this may take up to ten minutes to complete). Wait until the phone has fully booted up into android, then proceed onto the next section of the guide.

    • Close the command prompt window.

    Obtain Root
    The 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.

    - Download the ZIP file
    - 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.sh

    Follow the on-screen instructions - watch both the computer and the device!

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


    A word on custom recoveries: A 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:

    - Wipe your phone’s data (Factory reset) and cache
    - Make, restore and manage backups of your phone’s operating system and software
    - Mount, unmount and format your phone’s internal as well as external storage partitions
    - Install a custom ROM or application from a zip file to your phone
    - Wipe Dalvik cache and battery statistics
    - Make logs for error reporting and debugging


    Additionally, you can download the Goo Manager app to install TWRP updates.
    *NOTE: I do not recommend Rom Manager as a tool to do anything but just install and/or update your recovery Do not flash ROMs from this application.

    Installing A Custom Recovery

    Go HERE to download the latest TWRP recovery for the Nexus 6.

    • 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.


    icon-checkmark-small.png
    STEP 4: Making A Backup

    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.

    1. Boot into fastboot mode (Volume Down + Power)
    2. Browse with the volume keys to Recovery Mode and press the power button
    3. You are now in custom recovery.
    4. In CWM go to Backup and Restore and select Backup. In TWRP select Backup. Name and select the options you want. Swipe to backup.
    5. In TWRP, go to Backup and proceed to the next step(s).
    6. After backup is finished, select reboot system now or stay in recovery to continue with this guide.


    *NOTE: Be sure to save a copy of these backups to your computer and/or micro sd card. Having a recent backup saved to your computer and micro SD card can be useful if something happens to your phones internal memory.


    icon-checkmark-small.png
    Step 5A: Wiping Your Device


    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!

    1. If you are not already in recovery, boot in now.

    In CWM:
    2. Select Wipe data/factory reset
    3. Select Wipe Cache
    4. Select Advanced and Wipe Dalvik Cache
    5. Select Mounts and Storage and format /system
    6. 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.

    In TWRP:
    2. Select Wipe
    3. Select Factory Reset and wipe
    4. Select System and wipe
    5. 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.


    icon-checkmark-small.png
    Step 5B: Flashing a Custom ROM


    Once you have selected a ROM for your Nexus 6:

    1. Download the ROM. Be sure to download the appropriate Gapps as well.
    2. From your PC, place the ROM/Gapps on your internal storage. Remember where they are.
    3. Boot into custom recovery.
    4. Perform the wipe listed above if you have not already.
    5. From the main recovery screen:
    >>CWM - Choose the "install .zip from SD Card" and confirm.
    >>TWRP - Choose Install and locate the desired ROM on your internal storage.
    6. Repeat step 5 and select the Gapps package.
    7. 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!
    40
    >>Additional Information

    Want the performance boost available with disabling forced encryption? Check out @bbedward's guide linked below for more information and instructions.
    [How-To] Disable Forced Encryption

    Running Windows 8.x and having device detection issues? Be sure to grab the Google USB drivers and follow the instructions from the link below.
    Nexus 6 Driver (ADB, Fastboot and MTP) for Windows and MAC

    Need to return your Nexus 6 to stock for resale, OTA or warranty purposes?
    Checkout @Mr hOaX's excellent guide. The procedures require the use of the fastboot tool from the Android SDK. See post #1 above for information on installing this if you have not done so already. In his guide, you have the option of returning completely to stock or select specific portions to flash (radio, recovery, etc).
    [Guide][How To] Flash Factory Images For Nexus 6

    Looking for stock recovery? If you need to revert to stock to receive an OTA, here's the LRX22C Android recovery:
    Unzip the image and flash per the norm in fastboot.
    View attachment recovery.zip
    7
    Great guide for noobs and people who are rusty with adb because they've had Samsung Galaxy devices for the last 4 years. Lol

    Thanks xBeerdroiDx. :highfive:
    5
    No need for toolkit or drivers on Mac/Linux

    Here's Mac/Linux way.

    First create a file on your home folder named something like nexus 6. (This is where your going to save your files.)

    Download su(I'll let op point to zip)

    Download recovery (same as above from op)

    Put them both in that file you created. (Make sure it is in home or you'll have to cd to wherever you put it)

    OK make sure you back up your data(this will wipe everything.)

    Boot into fastboot.
    (Hold power and up/down button)
    (Ensure you have adb and fastboot installed on your comp)

    cd RootNexus (or whatever you named that folder you created)

    *First things first...

    ./fastboot devices

    Should see your device.(if not double check adb and fastboot are installed properly. Follow link. http://forum.xda-developers.com/showthread.php?t=1917237(make sure to click thanks button over there for easy setup.)

    .



    ./fastboot oem unlock

    (Follow on screen instructions, this will wipe data. )

    ./Fastboot restart bootloader.

    (Linux users remove ./ in front of fastboot.)

    Start up phone and sign in and let it completely boot. Then put SuperSU on device.

    On your Mac/Linux
    (Ensure you are still in root nexus folder)

    ./fastboot flash recovery recovery.img where recovery.img is the name of your recovery image file

    Once that is done on your phone press the volume up (twice) until you see "Recovery". Then press the power button.*

    Once inside recovery go to back up and back up your device.

    Flash SuperSU after. Then restart and applaud yourself. Your now rooted. I've been doing it this way since forever
    5
    Added. Thanks for catching that, @Kusanagi Fire :good: