[Nexus Player General] xDragonZ:
Setup, Preparation and Prerequisites

Open command prompt - Press Window Key + R, type in "cmd" (without the quotes), and hit enter.

USB Debugging - On your nexus player go to Settings > About > Tap on Build number 7 times. This will enable Developer options. Now go back to Settings > Developer options > Enable USB debugging

Enter bootloader mode - Hold the button on the bottom of the device when you plug in the power cable, or enable developer options and "adb reboot bootloader"

Once you are in fastboot mode, the light below nexus player will be blinking constantly. You can verify by using "fastboot devices"

ADB Installation

Download the full Android SDK here (scroll to the bottom of the page>DOWNLOAD FOR OTHER PLATFORMS>SDK Tools Only) or get a slimmed version containing only the essential components here

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:

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.

Show File Extensions - Open a command prompt window and run "Control folders" (without the quotes). Go to the View tab and uncheck the "Hide extensions for known file types" option. This will help avoid confusion when renaming files.

Backup (Optional) - Unlocking the bootloader will completely wipe all data from the device. This includes apps, settings and even the contents of the internal storage (pictures, music, etc.). Copy all important files off the nexus player onto a PC or upload them to a cloud.

Driver Installation

Go to Device Manager, find the Android device, and select Update Driver Software.

Select Browse my computer for driver software

Select Let me pick from a list of device drivers on my computer

Selecting show all devices

Clicking have disk

Finally selecting Desktop\android-sdk-windows\extras\google\usb_driver\android_winusb.inf as the driver

Alternative you can also download and install the Universal ADB Driver.

Downloads

Root:

Android 7.X:

- Coming Soon-

Android 6.X:

http://cord-cutters.wonderhowto.com/how-to/root-nexus-player-0160218/

http://androidflagship.com/16765-root-nexus-player-android-6-0-marshmallow

Android 5.X:

Download the SuperSU zip below. Extract the zip file and you will have (root.img) to platform-tools folder located on your desktop within the android-sdk-windows folder.

SuperSU (Forum Thread) or SuperSU (Direct link)

Information

Rooting this device is actually quite a simple and easy process. Before you begin, it is recommended that you at least try to understand what each part of the process will do. Although this guide will elongate each step in order to show all of the details, the method used can be broken up into 2 main steps: Unlocking the Bootloader and Rooting. Each new step relies on the previous step to have been completed, and a basic summary of each part is:

Unlocking Bootloader: Opens the door to the internal memory of the device to be written on to. This allows you to flash images onto the main partitions of the device in future.

Rooting: You can gain root booting up root.img

1. Unlocking Bootloader

Turn the nexus player off. Then go into bootloader mode by holding the button on the bottom of the device when you plug in the power cable, or enable developer options and "adb reboot bootloader"

Plug nexus player into your PC, then open a command prompt window and type:

cd Desktop/android-sdk-windows/platform-tools

fastboot devices

This command will list the connected devices. If your nexus player serial number shows up you are good to go and may continue. If the nexus player 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 nexus player 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

OEM unlock twice

fastboot oem unlock

fastboot oem unlock

After you have done, please proceed onto the next section of the guide.

2. Installing a Custom Recovery

http://xdaforums.com/nexus-player/orig-development/recovery-twrp-2-8-6-0-touch-recovery-t3114717

https://twrp.me/devices/asusnexusplayer.html

3. Rooting

Now that your nexus player has an unlocked bootloader, now this step is to gain root

Android 7.X

- coming soon -

Android 6.X

Require: TWRP, Custom boot.img and flashable supersu

(Refer to above link)

Android 5.0

Warning: This rooting guide is for Android 5.X only!

Boot (not flash) the root image which will give you root with the stock ROM

Confirm that you have downloaded the SuperSU zip from the downloads section above and you have extracted it and it is located in the platform-tools folder inside of the android-sdk-windows folder on your desktop.

Make sure the nexus player is in bootloader mode

Open a command prompt window and run the following commands:

cd Desktop/android-sdk-windows/platform-tools

fastboot boot root.img

This will install SuperSU on your device, once the command has completed continue.

Open SuperSU and update the binaries.

Keep in mind that the first boot may take longer than usual.

Congrats! Your nexus player now has an unlocked bootloader, and is rooted.

==================================================

How to flash factory image for Nexus Player?

1) Download image file for your nexus player - https://developers.google.com/android/nexus/images

2) Boot your Nexus device into fastboot mode.

3) On your computer, use 7zip to extract the .tgz file you downloaded from the Android Developer website. Use 7zip a second time to extract the .tar file you extracted from the .tgz. When you’re done, you should have a folder with several files in it.

4) Copy all of these files and paste them in the platform-tools folder in the Android SDK on your computer. If you followed the above tutorial, this should be under the C drive, then under Program Files (x86) on Windows. Linux users, you know where you put it.

5) If you have not already done so, connect your Nexus device to your computer. ADB and Fastboot commands should already work at this point if you’ve been following along.

There are two flash-all files. If you’re in Windows, you’ll want to double click the one that has the gear logo and says “Windows Batch File” on the right. If you’re on Linux, you’ll want to double click the flash-all.sh.

At this point a box should pop up and you should see the installation taking place. While this is going on, do not unplug your device for any reason. Let it do its thing.

6) Once the installation process as finished, your device will automatically reboot and you can now safely disconnect your device from your computer.

==================================================

Credits:

- Chainfire (SuperSU and Rooting guide)

- Chromium (Easy to understand and detailed guide format)

- DevinWatson (USB driver guide)

- androidauthority (Flash firmware image guide)