[Nexus Player Original Android Development] npjohnson:
Hello All,

Root

If on stock, uprooted (ever), go to method 1. If not, keep reading.

Now, in the latest Molly CF-AutoRoot, it flashes a modified kernel to gain root that causes OTA updates (i.e. impending 5.0.1) to fail, this was due to the fact that until a couple days ago, the modified kernel was necessary. Chainfire found a way to fix it without modifying the kernel and implemented it in SuperSU 2.37. If you are rooted, used CF-Auto Root, and wish to retain root, but regain the stock kernel for OTA's, simply follow root method 2.

Method 1

To Root from stock LPX13D, Download the following attached files and place them on your desktop (important):

- CWR_MOLLY_LPDX13D.img

- UPDATE-SuperSU-v2.37.zip

1. Install ADB on your system using: http://xdaforums.com/showthread.php?t=2588979

2. Plug in your USB Keyboard to the back of your ADT-1

3. Enter the settings app on your ADT-1, go to "About" ==> "Build Number", and tap multiple times until it says "No need, you are already a developer. Exit this menu and you should now see a "Developer Options" menu, select it and check "Enable USB Debugging" and confirm your choice.

4. Go to Settings ==> Security, and check allow apps from unknown sources, confirm your choice.

5. (On PC) Plug in your ADT-1 and open a PowerShell (or CMD Prompt) and issue the command "Adb devices, and verify that your ADT-1 shows up as "device" and not "offline", if offline, reinstall ADB/Check your USB connection, then run "cd desktop"

6. Now run the command "adb reboot bootloader"

7. Run "Fastboot devices" to verify your ADT-1 is connected.

8. Here you have an option... if you want to be able to unroot and take OTA's, Run "Fastboot boot cwm_molly_recovery_lpx13d.img", as this will just boot CWM once, leaving the stock recovery in place or if you want a permanent custom recovery, run "fastboot flash recovery cwm_molly_recovery_lpx13d.img", but beware, no OTA's without stock recovery!

9. (On the ADT-1) Using your USB keyboard, use the down arrow key to select "install zips"

10. Select "Install Zip from sideload"

11. (On PC) run "adb sideload UPDATE-SuperSU-v2.37.zip"

12. (On ADT-1) Select "**Go Back**"

13. Select "Reboot to system"

14. Select "No" when asked to restore Root, as this's feature does not work yet.

15. Profit!

Method 2

To Root from CF-auto rooted LPX13D and regain stock kernel (This will not restore Build.prop and other system changes!), Download the following attached files and place them on your desktop (important):

- CWR_MOLLY_LPDX13D.img

- UPDATE-SuperSU-v2.37.zip

- stockbootlpx13d.img

1. Install ADB on your system using: http://xdaforums.com/showthread.php?t=2588979

2. Plug in your USB Keyboard to the back of your ADT-1

3. Enter the settings app on your ADT-1, go to "About" ==> "Build Number", and tap multiple times until it says "No need, you are already a developer. Exit this menu and you should now see a "Developer Options" menu, select it and check "Enable USB Debugging" and confirm your choice.

4. Go to Settings ==> Security, and check allow apps from unknown sources, confirm your choice.

5. (On PC) Plug in your ADT-1 and open a PowerShell (or CMD Prompt) and issue the command "Adb devices", and verify that your ADT-1 shows up as "device" and not "offline", if offline, reinstall ADB/Check your USB connection, then run "cd desktop"

6. Now run the command "adb reboot bootloader"

7. Run "Fastboot devices" to verify your ADT-1 is connected

8. Run "fastboot flash boot stockbootlpx13d.img"

9. Here you have an option... if you want to be able to unroot and take OTA's, Run "Fastboot boot cwm_molly_recovery_lpx13d.img", as this will just boot CWM once, leaving the stock recovery in place or if you want a permanent custom recovery, run "fastboot flash recovery cwm_molly_recovery_lpx13d.img", but beware, no OTA's without stock recovery! Then you must run "fastboot reboot recovery"

10. (On the ADT-1) Using your USB keyboard, use the down arrow key to select "install zips"

11. Select "Install Zip from sideload"

12. (On PC) run "adb sideload UPDATE-SuperSU-v2.37.zip"

13. (On ADT-1) Select "**Go Back**"

14. Select "Reboot to system"

15. Select "No" when asked to restore Root, as this's feature doe snot work yet.

16. Profit!

Unroot

Requirements:

- stockbootlpx13d.img

- recovery.img

1. Enter the SuperSU app, and go to Settings ==> Full Uproot, and verify your choice. (Stop here if you didn't use CF-auto root)

2. Plug your ADT-1 into your PC and run the command "cd desktop", then "adb reboot bootloader", then "fastboot flash boot stockbootlpx13d.img"

3. Run "fastboot flash recovery recovery.img"

4. Then "fastboot reboot"

5. Un-Profit!

To take an OTA Update

If you followed this guide correctly, just unroot from within SuperSU as shown in Step 1. Of the unroot section. It will leave you 100% stock. Then take the OTA.

Downloads

Stock Boot Image LPX13D (stockbootlpx13d.img): https://www.dropbox.com/s/vayt67s513v9z8u/stockbootlpx13d.img?dl=0

Stock Recovery Image LPX13D (recovery.img): https://www.dropbox.com/s/yqu6lhuvzcz2rsu/recovery.img?dl=0

CWM Recovery Img (cwm_molly_recovery_lpx13d.img): https://www.dropbox.com/s/8evaum04mv843dp/cwm_molly_recovery_lpx13d.img?dl=0

SuperSU 2.37.zip: http://download.chainfire.eu/636/SuperSU/UPDATE-SuperSU-v2.37.zip

Optional: Install Leanback Launcher from here to allow launching sideloaded apps: https://play.google.com/store/apps/details?id=eu.chainfire.tv.sideloadlauncher&hl=en

Happy Modding!

Credits:

Chainfire: The super amazing SuperSU, and the awesome CF-Auto Root, thank him!

GTAVHacker: Used CWM Recovery Image as a base, thank him!

Myself: Stock Images, and the guide.