[Complete Guide] SHIELD Tablet K1 Root, Custom Rom and Xposed Framework

Search This thread

Elemah

New member
Apr 4, 2017
2
0
Try another usb port, if you have a pc, try a port which is directly at the back connected to the Mainboard, on a Laptop try a usb 2.0 port if available. Otherwise try restarting your PC, logging out and back in also works, the important part is restating the adb daemon and the reinitialization of the windows usb driver. Also try to install the shield driver again from the Device Manager.

Already try that. about the drivers, everytime when I try to install them it gives me that better drivers had been installed...
 

dervali

Member
Oct 24, 2008
23
0
Hi all

i bought the shield Tablet K1 a few weeks ago.

I´ve got:

Andorid Version 7.0
Shield Tablet Sofwtware Version: 5.4

Is this manual working for me?
 

redpoint73

Inactive Recognized Contributor
Oct 24, 2007
15,259
6,959
i bought the shield Tablet K1 a few weeks ago.

I´ve got:

Andorid Version 7.0
Shield Tablet Sofwtware Version: 5.4

Is this manual working for me?

The guide should work fine, with some comments:

1) Guide now links the official TWRP webpage, so use the latest TWRP version (currently 3.2.3-0)
2) SuperSU should be okay. But you should consider Magisk for root. It has some very cool and useful features, and seems more reliable: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
3) I don't use xposed, so no comment from me on whether it works or not.
4) After flashing TWRP, make a backup of the stock ROM before trying to root or install custom ROM (in case anything goes wrong, you can revert to stock). I don't know why so many guides (and folks) skip this step. Yes stock recovery images are available. But TWRP backups are easy and handy to have available. In short, always have an escape plan (know how to revert to stock).
 
Last edited:

amanguver

Member
Mar 14, 2015
14
1
Hey there, I'm having some issues with the tablet after doing this guide. I unlocked the bootloader, flashed twrp 3.2.3, backed up and full wipe. When I try to flash lineage-14.1-20190102-nightly-shieldtablet-signed.zip i get ERROR 7 in TWRP and also "/data could not be mounted" or something like that. When I saw that I rebooted into the system and tried to go back to TWRP to flash lineage again. I pressed the power and volume down buttons, chose Recovery and it shows No command. Why doesn't the tablet go into TWRP recovery?

EDIT: Nevermind, I got it working thanks to this thread https://forum.xda-developers.com/shield-tablet/help/broke-twrp-t3697344
 
Last edited:

Digital DJ

Senior Member
Nov 16, 2012
664
106
Google Pixel 2 XL
Google Pixel 4
Hey guys, I'm just now trying to root my nvidia shield tablets using the instructions in this thread. I can't update my driver on my tablet because it isn't showing up the way OP has shown in the how to pics for device manager.

Steps I've completed so far:
1. install Minimal ADB and Fastboot on your PC
2. downloaded and installed Nvidia Family Drivers
3. downloaded the latest TWRP 3.2.3-0 shield tablet
4. connect my tablet to my PC
5. Opened Device Manager to update drivers manually but i'm not getting the option to choose the file where I extracted the family drivers.
I have the USB Debugging selected when my tablet is connected to my PC. Not sure if I need to ot not. I haven't rooted a device in quite a few years, so I'm a bit rusty at this.

This is where I'm stuck... Any help would be appreciated.

I'm running Android 7.0 with the Jan 5 2018 security patch.
build number NRD90M.1928188_1065.2559
shield tablet software version 5.4(24.29.404.195)
 

redpoint73

Inactive Recognized Contributor
Oct 24, 2007
15,259
6,959
5. Opened Device Manager to update drivers manually but i'm not getting the option to choose the file where I extracted the family drivers.

Try the step-by-step instructions provided here:

https://developer.nvidia.com/gameworksdownload#?search=SHIELD Family Windows USB

But to be honest, I'm not sure you need the drivers installed to use adb/fastboot. I think the PC will just read it as a generic Android device, which is good enough.

I have the USB Debugging selected when my tablet is connected to my PC. Not sure if I need to ot not.

USB Debugging is needed (toggled "on") in order to use adb, but is not needed in order to use fastboot.

Understand that adb and fastboot are related, but with important differences:
-You need to be booted to OS to use adb.
-You can only use fastboot when in bootloader-fastboot mode.

Fastboot is what you really need to root or flash custom ROM (specifically, to install custom recovery TWRP). You should be able to boot to bootloader, select fastboot, and issue the command: fastboot devices
And the cmd prompt should respond with the tablet's serial number (don't post it, just say whether it does or not).
If it hangs, or some error message, then something is wrong. So let us know.
 

Digital DJ

Senior Member
Nov 16, 2012
664
106
Google Pixel 2 XL
Google Pixel 4
Try the step-by-step instructions provided here:

https://developer.nvidia.com/gameworksdownload#?search=SHIELD Family Windows USB

But to be honest, I'm not sure you need the drivers installed to use adb/fastboot. I think the PC will just read it as a generic Android device, which is good enough.



USB Debugging is needed (toggled "on") in order to use adb, but is not needed in order to use fastboot.

Understand that adb and fastboot are related, but with important differences:
-You need to be booted to OS to use adb.
-You can only use fastboot when in bootloader-fastboot mode.

Fastboot is what you really need to root or flash custom ROM (specifically, to install custom recovery TWRP). You should be able to boot to bootloader, select fastboot, and issue the command: fastboot devices
And the cmd prompt should respond with the tablet's serial number (don't post it, just say whether it does or not).
If it hangs, or some error message, then something is wrong. So let us know.

Sorry had to take a hiatus to root my Pixel 2XL. Back on to rooting my Nvidia's now...
 

Digital DJ

Senior Member
Nov 16, 2012
664
106
Google Pixel 2 XL
Google Pixel 4
I'm back on to try to root my Nvidia Shield K1 Tablet. In the OP I have followed all the steps but on this step:

'EDIT: 4.1 To enable the fastboot protocol, you must select "Fastboot mode" on the Tablet. After that type
Code:
fastboot devices
in order to check if fastboot is enabled.'


I am not seeing an option to select Fastboot Mode. I thought just by entering adb reboot bootloader I was in Fastboot Mode.
 

Attachments

  • IMG_20190207_154336.jpg
    IMG_20190207_154336.jpg
    251.7 KB · Views: 222

Digital DJ

Senior Member
Nov 16, 2012
664
106
Google Pixel 2 XL
Google Pixel 4
Ok, I am attaching photos to show my progress so far.
1. I've installed Minimal ADB and Fastboot
2. I've connected to my PC (I haven't done this part because I'm not seeing the yellow triangle: Open your Device Manager
If there Is a device with a yellow ! klick on it and update the Drivers Manually(select the Folder where you extracted the Family Divers

3. I've opened Min ADB and FB and typed cmd adb devices
4. I've entered cmd adb reboot bootloader
5. I don't see the area where I can enable fastboot mode. This is where I'm stuck.

I'm running Android vrs 7.0 I know it's a late version and I'm late to the rooting game on this device, but I'm hopeful, and I have a little cash to spare if someone can help me achieve root on this puppy.
 

Attachments

  • nvidiaroot1.jpg
    nvidiaroot1.jpg
    49 KB · Views: 206
  • Nvidiaroot2.jpg
    Nvidiaroot2.jpg
    55.7 KB · Views: 206
  • IMG_20190207_154336.jpg
    IMG_20190207_154336.jpg
    251.7 KB · Views: 206

Maatje

Senior Member
Mar 1, 2007
81
7
I'm still using the shield tablet, but haven't changed anything for quite some time now. Don't have the rooting sequence sharp anymore. Sorry.
 

NinjaCoool

Senior Member
Sep 23, 2013
155
35
32
Zenfone 2 Laser
Google Pixel 3a
Ok, I am attaching photos to show my progress so far.
1. I've installed Minimal ADB and Fastboot
2. I've connected to my PC (I haven't done this part because I'm not seeing the yellow triangle: Open your Device Manager
If there Is a device with a yellow ! klick on it and update the Drivers Manually(select the Folder where you extracted the Family Divers

3. I've opened Min ADB and FB and typed cmd adb devices
4. I've entered cmd adb reboot bootloader
5. I don't see the area where I can enable fastboot mode. This is where I'm stuck.

I'm running Android vrs 7.0 I know it's a late version and I'm late to the rooting game on this device, but I'm hopeful, and I have a little cash to spare if someone can help me achieve root on this puppy.

You are already on fastboot mode. Just type fastboot devices and it will show your device.

Now proceed with the oem unlock then flash the recovery.
 
  • Like
Reactions: Digital DJ

NinjaCoool

Senior Member
Sep 23, 2013
155
35
32
Zenfone 2 Laser
Google Pixel 3a
I'm unable to proceed at all. AfterI reach the fastboot screen I can't do anything else. If I hit continue it just reboots if I hit fastboot protocol it stays in that menu.

1. While in the fastboot screen, go to CMD, type fastboot devices. It should show your device (similar to how adb devices shows your device).
2. Once it shows your device, in CMD type fastboot oem unlock
 
  • Like
Reactions: Digital DJ

Digital DJ

Senior Member
Nov 16, 2012
664
106
Google Pixel 2 XL
Google Pixel 4
1. While in the fastboot screen, go to CMD, type fastboot devices. It should show your device (similar to how adb devices shows your device).
2. Once it shows your device, in CMD type fastboot oem unlock

So I actually have 2 of these devices. I can't get the first one (I put in a photo with the blue rubber case on it) to unlock, but I got my second one to unlock. Now onto TWRP image install.
 

Digital DJ

Senior Member
Nov 16, 2012
664
106
Google Pixel 2 XL
Google Pixel 4
Ok, I've managed to unlock the BL on one of my tablets. but I'm having trouble with flashing twrp image. OP says to take the latest stable version of twrp image and put it into the ADB+Fastboot folder. When I installed ADB+Fastboot, I didn't get a folder so I'm unsure of what folder to put twrp image in...
 

Attachments

  • nvidia_twrp_flash.jpg
    nvidia_twrp_flash.jpg
    135.9 KB · Views: 44

Digital DJ

Senior Member
Nov 16, 2012
664
106
Google Pixel 2 XL
Google Pixel 4
Still trying to figure this out, I've put the twrp-3.2.3-0-shieldtablet.img file into the Minimal ADB+Fastboot folder here: C:\Program Files (x86)\Minimal ADB and Fastboot

I did this because I kept getting an error reading No such file directory found when I tried to flash twrp. So I thought if I put it there it would find it, but instead, I'm getting this error in the pic I've attached.

EDIT: I think I just fixed it. I forgot to add the word recovery. (facepalm)

SUCCESS! I have unlocked the bootloader, flashed recovery, and have just finished flashing SuperSU. Rebooting as we speak and all looks good so far.
 

Attachments

  • nvidia_twrp_flash2.jpg
    nvidia_twrp_flash2.jpg
    132 KB · Views: 66
Last edited:
  • Like
Reactions: Maatje

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    Hello Guys,

    At first a little background story:
    I bought the Tablet 3 Month ago. I have got the Update to Android 6.0 in January and unfortunately, I applied it.
    So If you don't want to apply a custom rom do not update to 6.0, because 5.1.1 is much better.

    I am not responsible if anything goes wrong.
    Ok, so let's get started:
    At first you must install Minimal ADB and Fastboot on your PC/Laptop/Mac.
    Windows: https://forum.xda-developers.com/showthread.php?t=2588979
    Linux/Mac: http://rootmygalaxy.net/install-adb-and-fastboot-on-mac-or-linux/
    Here is the link for all OSs: http://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378
    Before you can Root or flash a Custom Rom you must flash the recovery:
    You will need:
    -Nvidia Family Drivers(Extract it in a folder of your choice): http://nvidiashieldzone.com/files/shieldtv/shieldfamilydriver.zip not working anymore, official link:
    http://developer.download.nvidia.com/mobile/shield/SHIELD_Family_WHQL_USB_driver_201801.zip
    -As many of you are experiencing problems with my previously mentioned TWRP 2.8.7.3 version I am replacing the link with the official TWRP Shield Tablet Download Site. Just take the newest stable version: https://dl.twrp.me/shieldtablet/ (Put the file into the ADB+Fastboot Folder)
    -TWRP 2.8.7.3 Recovery(Put the file into the ADB+Fastboot Folder): Download URL: https://www.androidfilehost.com/?fid=24269982087009777
    Developer Post: http://forum.xda-developers.com/shi...recovery-twrp-2-8-7-0-touch-recovery-t3257172

    Install the Drivers

    Connect your Tablet to your PC

    Windows:
    Open your Device Manager
    If there Is a device with a yellow ! klick on it and update the Drivers Manually(select the Folder where you extracted the Family Divers)
    Linux:
    You don't need any drivers
    (For every fastboot command in ADB+Fastboot you will need a "sudo" in front of it...)
    Mac:
    You also don't need any drivers
    (For every fastboot command in ADB+Fastboot you will need a "./" in front of it...)

    Flash Recovery
    1. Open Minimal ADB and Fastboot
    2. Type in
    Code:
    adb devices
    if you get a long term of numbers and letters your drivers are correctly installed, If this command does not bring up a device, check your cable connection and/or update your drivers again.
    3. Now you must enable developer options on your SHIELD Tablet K1
    3.1 Go to your Setting, scroll all the way down and choose Info(or similar)
    3.2 Tap seven times on the Build Number
    3.3 Now go back and now there is a new menu point Developer Options
    3.4 Open them and Enable USB Debugging
    4. Now type
    Code:
    adb reboot bootloader
    EDIT: 4.1 To enable the fastboot protocol, you must select "Fastboot mode" on the Tablet. After that type
    Code:
    fastboot devices
    in order to check if fastboot is enabled.
    5. Before you can do anything you must unlock the Bootloader
    5.1 Type in
    Code:
    fastboot oem unlock
    5.2 Follow the Instructions on the Terminal(On your tablet: press the volume down button and then the power button)
    6. Now you are ready to flash the recovery
    6.1 Type in
    Code:
    fastboot flash recovery twrp-x.x.x-x-shieldtablet.img
    6.2 Wait until it is finished then navigate with the volume buttons through the Menu on your Tablet and choose the option recovery mod with you power button
    7. You are now in a custom Recovery on this point you must decide what you want to do:
    -Do you only want to root your Device
    -Or do you want to install a custom rom

    Custom Rom
    If you want to be on the safe side you should consider wiping the /data partition (Troubleshoot section at the end of the Post)
    1. You can access your tablet from your PC
    2. Now move your Custom rom to your internal or SD Card Storage
    2.1 Download your custom rom of your choice.
    2.1.1 Cyanogenmod 12.1 (Android 5.1.1) and BlissPop v4.0.3 https://www.androidfilehost.com/?w=files&flid=150249
    2.1.2 Cyanogenmod 13.0 (Android 6.0) https://androidfilehost.com/?w=files&flid=27600&sort_by=date&sort_dir=DESC
    2.1.3 Nvidia Shield Tablet Resurrection ROM (Android 6.x) https://androidfilehost.com/?w=files&flid=60681&sort_by=date&sort_dir=DESC
    2.1.4 BlissPop
    2.2 Download Google Apps (Gapps) (ARM Device)
    2.2.1 Android 5.1 http://opengapps.org/?api=5.1&variant=stock
    2.2.2 Android 6.0 http://opengapps.org/?api=6.0&variant=nano
    2.3 Download Nvidia Apps (You still need to install Nvidia Shield HUB from the Play Store)http://forum.xda-developers.com/shield-tablet/development/shield-apps-cyanogenmod-12-t3070116
    3. In TWRP click on Backup and Swipe to Back Up
    3.1 Now go to Wipe. For a dirty flash you will only need to wipe the Dalvik and Cache for a full wipe select Dalvik, System, Data, Cache
    4. After it has finished Click on Install and choose the .zip of your Custom Rom
    4.1 To install the Google Apps click on Add More Zips and select the GApps zip
    4.2 And again click on Add More Zips and select nvsystemservices.zip
    4.3 now you can Swipe to Confirm Flash

    Root
    Download the Latest Stabel SuperSU file: http://download.chainfire.eu/supersu-stable and copy it to the internal or SD Card Storage
    For Android 7.0 (Nougat) the SuperSU r4 2.78 version is confirmed working.
    1. Open Minimal ADB and Fastboot
    2. Type in
    Code:
    adb reboot recovery
    to enter the recovery mode
    3. In TWRP click on Backup and Swipe to Back Up
    4. After it has finished Click on Install and choose the UPDATE-SuperSU-v2.65-20151226141550.zip (or similar) and Swipe to Confirm Flash
    5. Restart you Tablet and now a new App SuperSU is Installed

    Xposed Framework
    Download the Xposed Framework Zip file, take the newest version:
    (The Shield Quad Core has a 32 bit arm architecture, so you need the framework for arm)
    SDK21 for Android 5.0: http://dl-xda.xposed.info/framework/sdk21/arm/
    SDK22 for Android 5.1: http://dl-xda.xposed.info/framework/sdk22/arm/
    SDK23 for Android 6.0: http://dl-xda.xposed.info/framework/sdk23/arm/
    and the apk: https://forum.xda-developers.com/attachment.php?attachmentid=3921508&d=1477916609
    and move them to you Tablet.
    Developer Thread (for the uninstaller): https://forum.xda-developers.com/showthread.php?t=3034811
    Go to Recovery with Root
    1. Now that you have root you don't need you PC anymore. Go to the Play store and download Quick Boot
    2. Open Quick Boot and klick on Recovery
    3. Allow Root rights and the Tablet should boot into recovery
    Go to Recovery without Root
    1. Shut down your Tablet
    2. Press and hold the Vol down button and the Power button until the Bootloader screen appears
    3. Navigate with the volume buttons through the Menu on your Tablet and choose the option recovery mod with you power button
    Install Xposed Framework
    1. In the TWRP Recovery (Optionally you can make a Backup) select Install and choose the xposed-v80-sdk22-arm.zip file
    2. When you get an Error let me know
    3. Now Restart you Tablet and install the .apk file normally
    4. In the App Press Framework and now there should be a green writing saying: Xposed Framework version 80 is active
    5. Here is a list of very useful programs for the Xposed Framework: http://forum.xda-developers.com/android/general/best-xposed-modules-android-t3103027

    Please Leave a post if you are getting errors or something isn't clearly explained! And if I could help you, consider giving me a Thanks ;)

    Troubleshoot
    If you are stuck in a Bootloop:
    Without data loss(e.g. when you installed Xposed framework zip and its stuck in a bootloop)
    1. flash the stock rom boot image BUT ONLY IF YOU DONT USE A CUSTOM ROM (it will probably loose root). go to https://developer.nvidia.com/gameworksdownload#?search=SHIELD Tablet K1&tx=$additional,shield and download the latest NVIDIA SHIELD Tablet K1 Recovery OS Image
    2. Unpack the zip file and flash it to your Tablet
    Code:
    fastboot flash boot boot.img
    If something went wrong while flashing a custom rom (after that you will need to flash the custom/stock rom again)
    wipe the /data partition. It could be encrypted from the previous rom. Be aware that you need to reinstall the rom, therefore loose all your data. Troubleshot guide by agentbob123


    -Toby

    Credits:
    @xsquid mac support
    @agentbob123 suggestion to mention to wipe the /data partition as a solution for being stuck in a bootloop
    @champs777 suggested the newest TWRP
    @grävling mentioned importance of waiting until the recovery flash is finished
    5
    Great guide. Thank you so much for putting this together. I just got my tablet within the last week. It came with 6.01 loaded on it. The twrp-2.8.7.3 would not work. It would try to go into recovery. After about 2 minutes it would fail, then it would boot back into the OS. I tried out the newest version twrp-3.0.2.2 and it worked perfect. Figure I would share with others having the same issue.

    https://dl.twrp.me/shieldtablet/twrp-3.0.2-2-shieldtablet.img
    3
    5. Opened Device Manager to update drivers manually but i'm not getting the option to choose the file where I extracted the family drivers.

    Try the step-by-step instructions provided here:

    https://developer.nvidia.com/gameworksdownload#?search=SHIELD Family Windows USB

    But to be honest, I'm not sure you need the drivers installed to use adb/fastboot. I think the PC will just read it as a generic Android device, which is good enough.

    I have the USB Debugging selected when my tablet is connected to my PC. Not sure if I need to ot not.

    USB Debugging is needed (toggled "on") in order to use adb, but is not needed in order to use fastboot.

    Understand that adb and fastboot are related, but with important differences:
    -You need to be booted to OS to use adb.
    -You can only use fastboot when in bootloader-fastboot mode.

    Fastboot is what you really need to root or flash custom ROM (specifically, to install custom recovery TWRP). You should be able to boot to bootloader, select fastboot, and issue the command: fastboot devices
    And the cmd prompt should respond with the tablet's serial number (don't post it, just say whether it does or not).
    If it hangs, or some error message, then something is wrong. So let us know.
    2
    do step by step has always and works perfect thanks a lot !
    glad I could help ;)
    Soon I will add Instructions to install a Linux desktop environment like posted here 2 days ago, after I tested it thoroughly, because I think it's a good thing to have in a Complete Guide
    2
    Tablet won't boot?

    I bought a Shield K1. Before doing any customization, I updated it to nVidia's 1.4 software for Marshmallow so it is completely up to date.

    I followed this guide, unlocking the bootloader and installing TWRP 3.0.2-2. Once installed, I flashed SuperSU 2.78, then used the TWRP interface to shut it down. I booted it up, and it restarted a few times. One of the instructions said it might do that, so I allowed it to keep going. It never booted passed the bootloader though, so I held the power button.

    During this boot loop, I noticed various mount points were failing to mount.

    Now it won't turn on at all. No backlight, no indication it's receiving power at all. What can I do to get it going again?

    I was able to get the tablet to turn back on. I found in this thread something about the Shield occasionally having screen problems, so I kept trying. I plugged the tablet into my computer to see if I could get to fastboot without being able to see anything, and the battery logo came on the screen! Tapped power, and it came on. I'd tried plugging it into the wall, but not my computer before.

    I let it go through its cycle, and when I saw the error messages, I searched online and found that I should have formatted /data because with it having been encrypted, the bootloader couldn't access it after my modifications.

    I re-flashed EVERYTHING back to stock, then TWRP again, formatting /data and the caches, and finally it worked. Booted back to TWRP, flashed SuperSU, and it's working perfectly.

    Flash Recovery
    . . .
    6. No you are ready to flash the recovery
    6.1 Type in
    Code:
    fastboot flash recovery twrp-2.8.7.3-shieldtablet.img
    6.2 Wait until it is finished then navigate with the volume buttons through the Menu on your Tablet an choose the option recovery mod with you power button
    7. You are now in a custom Recovery on this point you must decide what you want to do:
    -Do you only want to root your Device
    -Or do you want to install a cutom rom

    Toby, you may want to update your guide to include instructions for formatting /data, perhaps as steps 7.[x-x] to avoid others experiencing the same problems I had.