yashsingh1/xdaforums huggingface dataset:
[Shield Android TV General] d0ubl3_d1zzl3:
So I'm assuming, we download that, edit the .bat file to remove or comment out the 'flash userdata' line, save it, run it, and reinstall TWRP and SuperSU (re-root)...?

Or is it easier / different if we flash it using TWRP? Anyone try it yet?

Otherwise, I guess I'll give it try later tonight.
[Shield Android TV General] 7urpinator:
Just curious if anyone has the recovery.img file from 2.0 readily available. I only have the 1.3 and 1.4, but after flashing it back (had TWRP), the 2.1 update errors, and i believe it is due to having flashed the 1.4 recovery, and not the 2.0 as it was expecting.

(yes, i could download the entire recovery image and get it from there, but my internet is slow and the current eta is ~2hrs)

Edit: And its done. Took shorter than expected thankfully.
[Shield Android TV General] kyrusdemnati:
ive managed to put an android rom however i want to go back to stock, but i cant back into the bootloader, it says device not found via command prompt... etc

any tips of getting the original OS back on please
[Shield Android TV General] garz:
Sorry, I asked this earlier in the other part of the forum without a response, figured this was more active.

Can this method be used and confirmed working for newly received shield with 2.1 firmware pre-installed? Can anyone confirm if it works on 2.1 firmware?
[Shield Android TV General] darkuni:
Yep, and here is my video to help out and show it:

[YOUTUBE]p_qQJMuOAQQ[/YOUTUBE]
[Shield Android TV General] baileyjr:
Yes just edit out the recovery and userdata lines. (assuming you don't want to flash the stock recovery)

Then just boot into TWRP and flash SuperSU as normal. Works on 2.1 I've done it. :good:
[Shield Android TV General] chrootz:
Tested first time unlocked and rooted on Shield TV Pro with 500gb worked as charm! Thanks
[Shield Android TV General] d0ubl3_d1zzl3:
Forgot to update my own post, but I actually did what you posted above a few days ago, and it seems like TWRP gets overwritten or modified somehow even if you edit out the recovery.img line (unless I didn't edit the .bat file properly, but I do remember removing the entire line)... I wasn't able to boot into TWRP successfully until I reinstalled it. Fortunately, reinstalling it is a cinch and takes no time at all... :good:
[Shield Android TV General] baileyjr:
As an extra precaution you could delete the recovery and userdata image files from the folder. That's what I do just to be extra safe I don't overwrite my userdata
[Shield Android TV General] aznmode:
It's my understanding that the developer OS version from Nvidia is already rooted. Can we just flash that using fastboot instead of going through all the trouble of downgrading Recovery, reroot, etc? I still currently have stock recovery and 1.3 stock rom rooted.

https://developer.nvidia.com/shield-developer-os-images
[Shield Android TV General] drmcatchr:
Stock-Rooted from nVidia itself, Awesome! Are you able to get OTA updates with this?
[Shield Android TV General] Schrotty35:
I have install the developer OS version from Nvidia and i have install super su from the play store but i get the info there is no su installed. And now?
[Shield Android TV General] brotbuexe:
As I understand you still have to install SuperSU Binaries into /system. What happens when you start SuperSU? Is there any option in Settings to install the SuperSU binaries directly into system?

Excerpt from Play Store description:

So it have to replace the su binary (and at least 2 other files) in /system. I don't know how the Playstore Version will do that. I guess it only can do that through a recovery.zip it brings within.
[Shield Android TV General] Schrotty35:
I have found this but not working. Whene i type adb push ./su /system/xbin/ i get only this message: cannot stat './su': No such file or directory.

What is the problem???

For 2.1 Shield TV stock firmware you can root manually in this way

Install the stock 2.1 developer firmware.

https://developer.nvidia.com/shield-developer-os-images

( only the boot.img is different from normal firmware, nothing change )

I assume that you have in a folder on your PC the arm64 files su, supolicy and libsupol.so and the supersu apk that you can find in the supersu.zip

adb root

adb shell

mount -o remount,rw /system

adb push ./su /system/xbin/

adb push ./su /system/xbin/daemonsu

adb push ./supolicy /system/xbin/

adb push ./libsupol.so /system/lib64/

adb shell

chmod 0755 /system/xbin/su

chmod 0755 /system/xbin/daemonsu

chmod 0755 /system/xbin/supolicy

chmod 644 /system/lib64/libsupol.so

/system/xbin/daemonsu --auto-daemon &

adb install eu.chainfire.supersu.apk

Go in Android, start SuperSu app and accept to update the binary

Go in SuperSu settings and click on Install on system folder.
[Shield Android TV General] chrootz:
I have a question, When I installed the full android ROM which was that I had lackluster of keyboard/mouse controller, I had to go back stock Nvidia OS, When I restored Nvidia OS for my Shield PRO 500gb and After complete restored Nvidia OS and found out that it only give me 11gb storage. I confused, It should have 500gb and Please help me how restore 500gb storage.

I downloaded NVIDIA SHIELD ANDROID TV Pro Recovery OS Image 2.1.0 2015/10/13, This one gave me 11gb and where is 500gb?! PLEASE HELP!!

Give me a pointers where correct download Nvidia Shield Pro 500gb Recovery OS image for 2.1 version. Thanks
[Shield Android TV General] howieumd:
Hi..did you end up rooting with the developer OS image? If so, did you get SuperSu working? Is that what the directions above are for? Or is that what you did and it's still not working for you? I'm at the point now where I'm rooted with the developer OS image after following NVidia's directions on how to root with their developer image and once that was done I similarly installed SuperSu from the Playstore as you did a few posts up and it's telling me the binaries aren't there, just like it told you. Is this what you did to fix, or still not working for you? If so, did you do it from your PC with the Minimal ADB and Fastboot program for Windows, or on a Linux OS? Thanks!
[Shield Android TV General] drmcatchr:
Could you kindly mention these directions from Nvidia on how to root? Eh, Isn't the Developer OS supposed to be rooted by itself?
[Shield Android TV General] howieumd:
NVidia's directions say to:

unlock the bootloader with fastboot oem unlock

Once that's all set, use the following commands:

fastboot flash recovery recovery.img

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash userdata userdata.img

fastboot flash staging blob

fastboot flash dtb tegra210-foster-e-hdd-p2530-0932-e02-00.dtb

Everything booted up fine after doing this. It's on 2.1 and seems to be a full official build, but with rooted access (since it's the developer build). However, it doesn't install SuperSu. I find SuperSu in the Google PlayStore, but it won't run because the binaries were never installed. I'm thinking somewhere in the steps above I need to add in a step for adding SuperSu myself from the fastboot menu? I just don't know when/where and the commands to use from the Windows version of Minimal ADB and Fastboot?
[Shield Android TV General] brotbuexe:
You can't. At least not through fastboot. There is no way to inject something in the system partition directly from fastboot. You have to run a recovery like TWRP (which you currently can't boot directly), or you have to do it in the running system itself.
[Shield Android TV General] howieumd:
With the Minimal ADB and Fastboot program, can I inject it while the Shield is loaded through the Android Composite ADB Interface? I just don't know the commands if that's the case.
[Shield Android TV General] baileyjr:
I'm a bit lost guys, why is everyone trying to root the developer version when its straightforward to root the regular 2.1 firmware?
[Shield Android TV General] muschiu35bv:
Hello Guys!Why to root Nvidia Shield Tv?What are the advantage for doing this?On phone and tablet have root but on android tv i want to know why.Thank You!
[Shield Android TV General] JohnHenryIron:
Xposed (YouTube adaway, xtoast) droidmote, sixaxis conroller, sd card write access, helium backup
[Shield Android TV General] medseven:
Hi

Sorry if the question has been asked I have checked through most the thread but it is large.

I have followed the instructions only I flashed twrp and not just booted.

When I booted I couldn't find SuperSU it was on my external card which wouldn't mount so I went to reboot into the os to move it onto internal

However now after the nvidia logo all I get is those red and blue spinning circles endlessly.

I know it was my own fault problem is I can't get back into boot loader or recovery for adb or fastboot to recognise it to try flashing a ROM see if that fixes it.

Was hoping if someone had this problem or could point me to a thread with advice.

Thanks.
[Shield Android TV General] baileyjr:
You will need to use the hardware buttons to get back into fastboot buddy. It's not the easiest thing to do unfortunately but don't panic it can be done with some perseverance. There is a thread about it here.

http://xdaforums.com/shield-tv/help/hardware-boot-fastboot-t3201121
[Shield Android TV General] BillTheCat:
I'm also having a hard time getting TWRP installed after taking the 2.1 OTA. I'd BE perfectly content with a rooted stock machine for now. If anyone can help, I'd be grateful.
[Shield Android TV General] guhaishusheng:
install superSU fail

I have followed your steps to root shield tv, but when install seperSu, there is a error.

TV shows:

E:Find_file:ERROR Opening 'sys/class/leds/lcd-backlight'

E:Unable to find partition size for 'bmps'

TV version is 2.1 , then I flash 1.2 ,then root, But find this error, can you help me?
[Shield Android TV General] BillTheCat:
I'm pretty sure you can disregard those errors. Remember that most utilities are written with phones or tablets in mind. The SATV does not have a backlight, and I'm going to guess the other message is related to partitions or files that don't exist for Android TV. I've seen them myself, but it doesn't seem to make any difference in operation.
[Shield Android TV General] guhaishusheng:
Thank u for your answer.

I also want to ingore this error. but when I finish install superSU, It only show this error, and can't go into SuperSu Interface, What can i do to get root from SuperSU?

except TWRP+SuperSU, the other method to get root ?
[Shield Android TV General] BillTheCat:
The SU interface is on the desktop,not in recovery. Boot to the main screen and you'll see it in your app list.
[Shield Android TV General] guhaishusheng:
yes， I reboot system， and find SU in app list， and enter it.

I find several Tabs:'SuperSU Free', 'APPs' ,'LOGS',‘Setting’.

In Apps tab, there show“no APP configured”

In setting tab, I find Enable Superuser is “Superuser is enabled”？

But I adb shell/ ls dev, this show"opendir failed,permission denied ", so It mean I have not root?
[Shield Android TV General] Amd4life:
I just picked one of these up, and I am trying to #1 unlock the bootloader #2 root the device and #3 install TWRP.

the device came with V2.1 and I out of luck? I am trying to connect to adb (adb devices), and while I can see the device, I am getting the following error;

serial number ..... unauthorized.

I have enabled USB debugging on the device.

If I try to send the command adb reboot bootloader, I get the following error;

"this adbd's $ADB_VENDOR_KEYS is not set; try ad kill-server if that seems wrong, otherwise check for a confirmation dialog on your device."

I am connected to a PC, do I need a video output on my PC from the Nvidia TV?

thanks
[Shield Android TV General] guhaishusheng:
Do you Download shield TV usb driver from https://developer.nvidia.com/shield-open-source？
[Shield Android TV General] Amd4life:
Figured it out, I needed to connect the device to a TV while ALSO connected to a laptop and accept the RSA Key notification. Everything worked perfect after that. Perfect. Thanks
[Shield Android TV General] flashmp3:
Hi guys,

Not a newbie at all in rooting i've been a member of the community for a while. But as time goes by i've become less and less geek. I'm dreaming of a tool where i just would have to click "root". Does that exist ? Even with paying as i prefer paying than geeking now
[Shield Android TV General] JohnHenryIron:
Imtiajmeah plans to add that feature to his utility

http://xdaforums.com/showthread.php?t=3131937
[Shield Android TV General] retroben:
How can I enable the wireless ADB mentioned for 2.0 while I am on 2.1 and the option is not in preferences along with USB Debugging? (enabled developer options menu)

I have a terminal emulator installed,can I use this as localhost to enable wireless ADB via a command,and if so,what is that command and what are the instructions to establish the localhost connection properly to enter that command?

(I used wireless ADB on FireTV briefly before finding a superior method for sideloading along with having root access to enable the unknown sources)

I don't have a laptop,so I would have to bring my whole television and the Shield TV from my bedroom into the living room to the PC and plug it all up,and even then,I can't remember where I left a USB wire that I used to root a quickly obsolete x86 tablet (F*** you Acer) so many months ago.

I'd really like to have an easier method to root without unlocking bootloader,like one touch on an app you install on it like in the Towelroot days.

My guess is that Lollipop is to blame for the lack of that particular method.
[Shield Android TV General] Neo3D:
I'm on Windows 10 Pro and I can't get "fastboot devices" to show my NSTV? My NSTV is on the Fastboot screen.

In Device Manager, the NSTV is showing up as:

I've tried rebooting both my laptop and the NSTV.

I have no idea what to do?

Oh yea, "adb devices" works just fine and the Google USB drivers can see the NSTV.

SOLUTION

After you put the NSTV into Fastboot mode, manually reinstall the Google USB driver in Device Manager....YES, do it AGAIN!

Done.

---------- Post added at 05:04 PM ---------- Previous post was at 04:35 PM ----------

I'm stuck right here. I did this command but the TV doesn't change or show the TWRP recovery menu?

After I run the command it shows:

But the TV screen doesn't change at all and doesn't show a TWRP recovery menu?

SOLUTION

http://xdaforums.com/showpost.php?p=64091852&postcount=23
[Shield Android TV General] retroben:
I found out when asking on GeForce's Shield TV subforum,that the network debugging support is hidden in the USB debugging menu,and I have to enable USB in order to access that option.

This could be a fatal issue,as i've read that enabling USB Debugging cripples keyboard usage for the duration of enabling it.

Damn security changes,not to mention the controller's mouse input is stupidly disabled with no option to re-enable it.

Also,F*** Google for messing with the controller software and nuking the touchpad support! :mad:

So tired of those paranoid devs at Google always messing things up because of this-and-that insecurity,like removing support for literally every browser component like Java,Unity,and smoother/faster Flash Player from them nuking NPAPI usage.
[Shield Android TV General] daddylonglegs:
Also for removing the ability to write to the microSD card. That still amazes me.

I wanna root but I don't want to have to go through a whole thing every time I want to update. Is it still the case where you can root and update OTA without issue?
[Shield Android TV General] Neo3D:
Doesn't the file get erased after you do FASTBOOT OEM UNLOCK? (step highlighted in red)
[Shield Android TV General] xd4d3v:
I haven't tried this.

do you think this will work to get root, but maintain OTAs?

Install the developer image that has root via ADB.

via adb, mount system as R/W and install supersu.
[Shield Android TV General] seijinzero:
I'm still a little confused after reading through most of this. Has this root been fixed? It still sounds as buggy, if not more so, as it did in the OP 6 months ago. I just got mine today, and I'm SUPER frustrated with it. To the point where I think I want to return it unless I can fix this. All I want is the mobile Play Store on there to download and and install my apps. I can take it from there. I tried installing the APK on there, and the mobile store opens and immediately crashes. No big deal, right? I had the TVplay APK ready to go, but now it won't let me install it. My guess, because the mobile is a newer version.

Do I want to root? Is it still not quite right? Or is there a way to fix this without root? Thanks!
[Shield Android TV General] xd4d3v:
not sure what you're asking for.

but if you're talking about the google play services, just clear the data.

root has nothing to do with crashes.. or needed to fix crashes
[Shield Android TV General] seijinzero:
Forget the Play store thing then, I fixed that. What I'm asking is if the Root is stable. The OP said something about being upside down and certain things not working, and some of the recent posts say something about SD cards and keyboards being disabled. I don't know, I'm not sure if these are isolated issues or common caveats to the current root.
[Shield Android TV General] xd4d3v:
thats for TWRP, the recovery needed to flash supersu to gain root.

once thats done you don't need to use recovery anymore.

I would imagine by now that is fixed anyway.

if you haven't rooted a device before, I'd recommend to do it with caution, or to pick up some more knowledge before you do it.. not that it's difficult, it's just that if something goes bad, you might not have access to the device, and although the xda community is great for questions, it might take a while to help you troubleshoot.

is there any pressing issue you need root to solve?
[Shield Android TV General] seijinzero:
Thanks for the help. While I would still classify myself as a novice, I have rooted about 12 different devices (and Jailbroken 10 iOS devices). This is my first Android TV device, though. For my Shield Tablet, I just had a root go wrong, actually. I had to reflash everything and that luckily fixed it. That was especially scary since I was trying to neuter the kill switch on the recalled model.
[Shield Android TV General] seijinzero:
The issue I need to solve is the suckiness of android TV! LOL! Why did they not require every device to have a gyroscope mouse and retain 99% compatibility with the existing infrastructure?! I was hoping the end goal of rooting was to force mobile play store compatibility so we could use our existing apps with tincore or something. I have not been able to find much in the way of discussions about this, let alone progress. For now, I used app backup on my tablet and installed all the APKs. Only about half of them worked. I would probably have more success if I could manually copy the data files over with root. I was hoping for more of an iphone jailbreak circa 2009 situation than a regular root, where the crippled OS is tweaked into being usable.
[Shield Android TV General] jefffisher:
i'm having troubles when in fastboot the screen is just black.

is my device faulty or did i go wrong somewhere?

after typing adb reboot bootloader the system restarts and screen goes black.

i can reboot to go back to the default system but without a screen in fastboot mode i have no way of getting to twrp
[Shield Android TV General] Psychteach1:
Run "fastboot oem unlock" and follow the prompts on the screen. Your bootloader is now unlocked.

[*]Now, boot the TWRP image with: "fastboot boot twrp-2.8.6.0-shieldtv-unofficial.img" - Note: I used this instead of "fastboot flash" so I could keep the stock recovery around, to grab an image of it after rooting.

[*]You should now see a TWRP recovery menu (upside down for now).

[*]Connect a keyboard or mouse via OTG cable, and select "Install", navigate to your SuperSU zip, select it, and follow the prompts.

[*]Click "reboot" and you should now be rooted.

[/LIST][/QUOTE]

This is where my problem comes in:

On my monitor, I have oem unlock readty to go and the green "CONFIRM" is highlighted.

I can not get the unit to proceed further. Wheat do I use to click on the green "Confirm button" above?

Nothing...not my keyboard or any of my controllers will activate the next process...and yes, I have tried plugging in both a usb keyboard and mouse.

Charlie
[Shield Android TV General] IronCityMZ3:
This is where my problem comes in:

On my monitor, I have oem unlock readty to go and the green "CONFIRM" is highlighted.

I can not get the unit to proceed further. Wheat do I use to click on the green "Confirm button" above?

Nothing...not my keyboard or any of my controllers will activate the next process...and yes, I have tried plugging in both a usb keyboard and mouse.

Charlie[/QUOTE]

Press the power button on the shield tv, it acts as an enter key. I had the same issue for 10 minutes then when I hit that it worked.
[Shield Android TV General] Lt.Spock:
Is systemless root possible?

Cheers

Manfred
[Shield Android TV General] D-an-W:
I think this might be a good place to ask this...

If I carry out a full (2 hour) factory reset of my 500GB rooted Shield TV do I need to unlock the bootloader again or does that now remain unlocked?
[Shield Android TV General] darkuni:
Once unlocked you never have to do it again. Go see Star Wars .. should be done when you get back :P
[Shield Android TV General] D-an-W:
Thanks darkuni, better not go see it again (This week!) just yet.

Am I right in saying then once the reset completes it will just require TWRP and SuperSU installing again starting from "Step 5: Repeat Preparation Steps 9 and 10" of your guide?

EDIT: Forgot to say, thanks for the guide on your site. It made it really easy to complete.
[Shield Android TV General] darkuni:
Right. That's it.
[Shield Android TV General] Zacharybinx34:
Any advantages of rooting right now? Besides installing a custom android os.
[Shield Android TV General] darkuni:
For me?

Mouse Toggle (let's you make a mouse pointer appear anywhere, anytime for use with sideloaded apps)

SD Fix (removes all write restrictions to external drives)

Ad Blocking
[Shield Android TV General] Zacharybinx34:
Any disadvantages?

Will rooting let me change the home launcher?
[Shield Android TV General] darkuni:
You can change the home launcher without root. HAL Launcher is one example;

https://play.google.com/store/apps/details?id=net.i.akihiro.halauncher

I can't think of any disadvantages, really. I have two units; I keep my 500GB unit stock, the 16GB rooted ...
[Shield Android TV General] Zacharybinx34:
In order to get the launcher switched I had to downlgrade the default launcher in the play store.

However, I'm not confident that this will work once 6.0 comes out. Would rooting allow me a more solid way of permanently switching the default launcher?

Thanks!
[Shield Android TV General] darkuni:
The concept of switching default programs is sorta built into Android. Weird that they seem to have intentionally crippled it. The update to 6.0 is going to nuke root anyway (presumably) so if you don't need root right now, and you have a solution to your needs? You might just want to wait around until 6.0 drops, and we get root established. It's already been done on 6.0 on Shield Tablet; I have a feeling that STV will be the exact same way.
[Shield Android TV General] Zacharybinx34:
Understood. But does rooting the shield solve my problem even? Does root somehow enable me to change the default launcher?
[Shield Android TV General] darkuni:
I would assume so. Worst case? You go in and rename the default launcher to something else, replace it with your own launcher. SHOULD, in theory, work. But you would need root for that.