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

Search This thread


Retired Forum Moderator
Apr 22, 2015
Deep Space Station K7
@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.
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
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!
Either of those AOSiP releases are fine. I'm on 06/14. The 06/17 release was a minor bug fix.

ARM is correct for the N6. Micro gapps is fine. Don't use a Gapps package smaller than nano. Nano is ok, but less than that you don't get the framework you need. And yes, you can add apps from the play store that the package doesn't install.

No harm in making a nandroid for fun. When you are in TWRP, choose back up and accept the defaults. It will be stored in the user data partition (internal storage) in a TWRP folder then another folder that is the device ID.

Putting shamu-n6f27m-factory-bf5cce08.zip on your phone won't do any good. That is a file that is flashed through fastboot only.

BTW, when your doing all of this TWRP stuff, it's best to have your device charging. I never start with less than 50% battery and on a charger.

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


Retired Forum Moderator
Apr 22, 2015
Deep Space Station K7
I missed & just saw the 3rd file: optional Gapps config file.
Is this one ok?
If not would you please link.

Or this one?

Should I put the txt or zip extension file?


The only reason to use the config file is to fine tune the apps being installed. You can turn the stock package into a micro package with a single line command. It's really useful if you want some but not all of the apps from a stock package. You can't turn micro into stock (go up in # of apps) but you can always turn stock into something smaller.

I prefer to use the sources directly from Open Gapps wiki. This page will explain everything you need to know.

Or, you can just use the micro you downloaded and add apps from the play store.

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


Senior Member
Jun 19, 2011
Awesome I'm rooted & on Oreo! Thank you ktmom & all of XDA.

Now I got to find some Oreo Tutorials. Any preferred tutorials XDA?
Otherwise I'm at the mercy of the internet & they suck compared to XDA.


Senior Member
Jun 19, 2011
...."Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

@ktmom or other XDA'ers I need help. I updated the AOSiP 8.1 update dated 06.29.2018 through the AOSiP updater.

After success? in TWRP & selecting reboot. My N6 freezes at the b&w Google screen.
I hold the power button till phone reboots. It then loads all the way to the lockscreen. Though it shows a different lockscreen clock. Upon entering my pattern lock I can use the phone.
AOSiP Updater shows the 06.29.2018 update is installed. Tried several reboot cycles & complete power offs. So far same results - freezing at the b&w Google screen.
Am I doing something wrong? Can this be fixed or should I Flash my latest Nandroid?

My thanks.


Retired Forum Moderator
Apr 22, 2015
Deep Space Station K7
@ktmom or other XDA'ers I need help. I updated the AOSiP 8.1 update dated 06.29.2018 through the AOSiP updater.

After success? in TWRP & selecting reboot. My N6 freezes at the b&w Google screen.
I hold the power button till phone reboots. It then loads all the way to the lockscreen. Though it shows a different lockscreen clock. Upon entering my pattern lock I can use the phone.
AOSiP Updater shows the 06.29.2018 update is installed. Tried several reboot cycles & complete power offs. So far same results - freezing at the b&w Google screen.
Am I doing something wrong? Can this be fixed or should I Flash my latest Nandroid?

My thanks.
Others have reported similar problems in the ROM thread. I've have not, so all I can suggest is reverting to your nandroid and manually dirty flash the update. You can find it in /data/aosip_updates

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


Senior Member
Jun 19, 2011
Funny after many reboot cycles & complete power offs. A few times turning it off 10 mins.

Everything now works: reboots, from complete off to on & on to off. I reselected Deadpool lockscreen clock so that's the same again. Went to Google Google Play Store & was offered a Google Carriers Services update, updated & aok.


Sep 9, 2012
It's been a while since I've rooted android. I've taken it slow and was able to take OTA 7.1.1, apply TWRP, and toss Magisk on it. I've rooted before, but it's been many years ago - I'm pretty sure I did everything I was supposed to, but I can't rule out that I've made a mistake.

Everything seems to be working fine, except that the phone refuses to boot normally, instead it will boot into android with CQATest enabled, which I assume is a Motorola diagnostic app. This prevents the cellular from working.

I've done a bit of research and some people have said that it shows up from time to time and it goes away, but this will not, even after a few days. I've tried disabling the app to prevent it loading during boot, but that doesn't fix the issue either.

The only thing that DOES fix the issue, is if I load bootloader, and then reset bootloader, then boot the phone into android. The CQATest app will not launch and the phone's cellular works normally.

Since this is beyond the guide, is anyone kind enough to point me in the right direction to fix this issue?

lord dredd

Senior Member
Apr 4, 2011
Although I have , asked this questions at the ROM thread , Thought people here might be better equipped to help me
I was on a android 9 based Pixel experience ROM till about 15 days back and I had lost root somehow, tried flashing the latest SU zip but that made my phone stuck at the ROM logo .
so A few days back I flashed a Android 10 based ROm ( Cdroid) and flashed the latest SU again after flashing the gapps but still no root.

Can you great folks guide me how I can get the root back , need to edit the build prop
Thanks in advance

I re ran cf autoroot
As the device is unlocked it should flash root
But it gave some error
After downloading image

Any clues how i get get root back
Last edited:

lord dredd

Senior Member
Apr 4, 2011
Are you using Magisk or attempting to use LineageOS SU? If the latter, switch to the former and try again. If I recall correctly LineageOS discontinued their root solution due to Android 10's system partition being set to read-only.
I didn't try magisk as a matter of fact, was flashing the su zip all along.
Another member at cdroid rok thread pointed me to magisk and viola, I have root.

But the things is i am unable to use volte and vowifi, which was the main purpose i wanted root back and edit build prop. But it seems i was pretty late to the party, none Android 9 or 10 roms it seems support These features..

Should i go back to some oreo roms, if yes could you guide which one which work best internationally and would I be ble to use magisk on oreo rom too or i ll need to flash su zip again


Strephon Alkhalikoi

Senior Member
Aug 3, 2010
Samsung Galaxy S4
Nexus 6
Should i go back to some oreo roms?
If it worked on Android 8, yes. If I recall correctly VoLTE doesn't work at all on Android 9 and 10 with the N6, and not even editing the build.prop fixes it. You CAN create a module for Magisk that uses a customized build.prop, but as mentioned, I don't think that will work.
  • Like
Reactions: lord dredd

Top Liked Posts

  • There are no posts matching your filters.
  • 213

    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.

    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

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

    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:
      cd Desktop/android-sdk-windows/platform-tools
      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
      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):
      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:
      cd Desktop/android-sdk-windows/platform-tools
      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

    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.

    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.

    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!
    >>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
    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:
    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
    Added. Thanks for catching that, @Kusanagi Fire :good: