yashsingh1/xdaforums huggingface dataset:
[Shield Android TV General] AndroidUser00110001:
Nice. I need to fix my 2015 Pro somehow :)
[Shield Android TV General] darkuni:
I've never seen a Shield TV totally bricked that wasn't defective (and I've seen some weird stuff).

Refresh my fading memory ... You essentially tried to flash 2017 on your 2015? You can't even get to the Bootloader now? I mean, if you could you SHOULD be able to reflash the 2015 Marshmallow image.
[Shield Android TV General] AndroidUser00110001:
No bootloader or anything. I think the blob file killed it. During the time I was playing with it something funky happened with the video output too so I guessed it was dead. Tried it on monitor but still wasn't working. When I plugged 2017 Shield into TV where 2015 Shield was, the same happened, no video signal. Had to reset TV and the video came back on for the 2017 Shield. By that time I had the 2015 ripped apart and trying the process if you were to replace hard drive but doing that I broke the hard drive cable in the Pro :)
[Shield Android TV General] darkuni:
Ah ... I've managed to get some hard luck cases into bootloader using the hardware method (which they looooove to change every other day). Sounds like you tried that already. That sucks ...

Are you sharing your findings with TWRP with that other thread/Steel01? Might save him some time.
[Shield Android TV General] brand0n9:
Im new to rooting am going to follow your tutorial closely and have done a lot of reading, but whats the point of finding and stressing about buying a usb-usb cable. Cant you just hardware bootload it and be on your way? Curious before i pay and wait for a cable
[Shield Android TV General] darkuni:
Yes, you can BOOT to Fastboot/Bootloader with the controller - but you cannot issues commands to the Shield via PC without the USB cable; like executing TWRP, etc.

It is very unfortunate that the cable necessary to do this on 2017 version is so unusual. They could have at least thrown in a "gender bender" dongle to help us out.

Don't feel bad my friend - I had to overnight a cable from Amazon to get this done :)
[Shield Android TV General] brand0n9:
Had some locally, thanks for the fast reply
[Shield Android TV General] brand0n9:
I cant get twrp to load. I unlocked the bootloader, got the warnings, and I seen the twrp logo show up twice out of about 20 tries but then it reboots right away and loads the shield interface. Doesnt give me the option to load anything
[Shield Android TV General] brandonb21:
you need to unplug your usb cable from your pc after it downloads the image. OR you can "fastboot flash recovery twrp.img" and then reboot into android os then type "adb reboot bootloader" then unplug your usb cable and boot into "recovery kernel"
[Shield Android TV General] loki495:
After unlocking boor loader, rebooting and going back to bootloader, you did "fastboot boot Hacked-twrp.img" and it didn't go into twrp? Also, make sure you have a usb mouse to use twrp once it does load.
[Shield Android TV General] brand0n9:
so i got twrp to load now by unplugging usb cable, but i cannot install supersu now because when i do the adb sideload nothing is connected to launch the supersu.zip. When i connect the usb cable after it reboots the device in andriod
[Shield Android TV General] brandonb21:
copy the latest supersu.zip to the download folder on your device and flash it in twrp.
[Shield Android TV General] brand0n9:
sorry im still a noob. download it where? its in my adb and fastboot folder on my pc. I cannot select it in twrp because i unplugged the USB cable to get it to load. If i plug it back in it reboots. Sorry, trying to get this going tonight and its driving me nuts

EDIT: i copy/pasting the supersu directly on the shield download folder. MUCH EASIER lol
[Shield Android TV General] brandonb21:
just make sure it was the latest version you are going to flash i think 2.79 is the latest.
[Shield Android TV General] brand0n9:
I'M NOW ROOTED! For all the noobs like me following darkuni's tutorial a few places i got stuck

1. When trying to install drivers when the fastboot shows the !, when selecting where u need to click all drivers all the top

2. Need to unplug USB when fastboot boot recovery.img when trying to load twrp

3. Load up supersu.zip onto the shield before loading because the sideload option will not work with the usb unplugged.

thanks for everyones quick help
[Shield Android TV General] brandonb21:
i have a stupid question whats the advantage to sideloading supersu vs flashing it?
[Shield Android TV General] darkuni:
I need to update the FASTBOOT for sure.

Can you explain more the rest of it? I'm not sure how you can issue a fastboot command with the USB cable unplugged. I've never heard of ever unplugging the USB cable during the entire tutorial (and I've worked with a LOT of people). Any info I can pass on to users would be GREAT.

Thanks!

---------- Post added at 04:07 AM ---------- Previous post was at 04:05 AM ----------

Because it should work the exact same for everyone. The problem with "loading it on the Shield TV" is that everyone doesn't share the same configuration. The user could have Adoptive Storage. They could have AS on a microSD, a flash drive, a Pro hard drive ...

It is far easier to just sideload it than try to guess someone's configuration or settings.

If you're comfortable with your configuration and such, there is no advantage one way or the other.
[Shield Android TV General] brand0n9:
i just copy/pasted the supersu.zip directly into to the shield download folder (as if it was an external drive) because it shows up as an external when its on the nvidia interface. Once twrp was loaded i just clicked install, download folder and clicked on the supersu.zip and twrp prompted me to flash it
[Shield Android TV General] darkuni:
Strange. I've just updated and rooted each model of Shield TV (2015 x2, 2017, Pro) and I have not once had to unplug the USB cable.

Wonder what the difference is here...
[Shield Android TV General] AndroidUser00110001:
I never needed to remove my cable either. I have USB storage enabled so I wonder if that's a factor....
[Shield Android TV General] yojoe600:
I have USB storage on and still had to unplug the USB cable.

Sent from my only One.
[Shield Android TV General] AndroidUser00110001:
Do you have external drive formatted as adaptable storage?
[Shield Android TV General] yojoe600:
No I do not. I wonder what else it could be. Windows 10?

Sent from my only One.
[Shield Android TV General] AndroidUser00110001:
I have external drive formatted as adaptable storage

USB storage enabled

Ubuntu

I have not tried with Windows 10 yet.

Edit

Seems to work with Windows10 for me. Did you install the Nvidia drivers found HERE

When in recovery did you enable MTP and the Shield pops up as a drive in Windows 10?
[Shield Android TV General] brandonb21:
this might be off topic but my new shield got shipped to calgary........ rip was suppose to have it today.
[Shield Android TV General] n2outlaw:
I'm trying to unlock bootloader on the 2017 (I've done it on the 2015 model) but I'm having problems with USB to USB working in fastboot mode.

What's crazy is, it's works when the shield is booted up. It's been enabled in the developer menu and I'm able use ADB commands. So my USB to USB 3.0 is working. Its the same one used with other people. I've done these commands:

adb install ________.apk (any app)

adb devices (working)

adb reboot bootloader (reboots to fastboot mode and now missing drivers)

[IMG="device manager adb working driver"]http://jaxonjolley.com/jjj-stuff/shield_portable.PNG[/IMG]

Now when I reboot into fastboot mode. I'm missing drivers on Win10. I've tried using SHIELD Family Windows USB drivers and they do not recognize it. I also uninstalled them and tried reinstalling again and nothing.

In Device Manager, it comes up as

[IMG="device manager missing driver of fastboot"]http://jaxonjolley.com/jjj-stuff/fastboot.PNG[/IMG]

Questions:

1. Is there a fastboot driver I'm missing?

2. If so, can I get the link to it?

3. If I'm not missing a driver. Can soomeone help me out with this?
[Shield Android TV General] brandonb21:
I had the same problem with mine i fixed it by doing the following

1. Locate the device in the hardware list. Typically it will have a yellow triangle with

an explanation point on it indicating that it is not fully recognized.

Note: The device's name may appear different between standard

Android Debugging Interface mode and Boot Loader Interface or fastboot mode. The device

will not appear as fastboot, unless it has been specially booted into this mode.

1. Right-click on the device and select to "Update the drivers".

2. Select Browse my computer for driver software.

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

4. *VERY IMPORTANT** You MUST select the "Have Disk..." button (do NOT rely on the

presented auto selection)

5. In the file dialog that appears after pressing "Have Disk...", select Browse.

6. Navigate to the driver folder you downloaded and extracted

7. Select the "android_winusb.inf" file.

8. select Android Bootloader Interface

and it should be fix
[Shield Android TV General] brand0n9:
I had the same problem, right click on fastboot and go to update. Click pick from list, and then chose the very top option to show all devices and nothing will pop up but u have click have disc. chose the file as stated above and itll load. The part people miss (I did it too) is you are not looking for an Nividia loader, you need to click on show all devices

if your like me, the next two problems youll arive at is make sure went u launch recovery.img you unplug your USB right after it loads, but before that copy your supersu.zip to your download folder on your actual shield (it will show up as external storage under my computer)
[Shield Android TV General] n2outlaw:
AWESOME...!!! It works now. Thanks!! :good:

---------- Post added at 11:01 AM ---------- Previous post was at 10:52 AM ----------

Thanks for the tip :good:
[Shield Android TV General] yojoe600:
It shows up fine under windows when plugged in. And the drivers are installed. Others are still saying they need to unplug so could it be having adoptable storage helping you. That's the only difference between us so far.

Sent from my only One.
[Shield Android TV General] grodri19721:
OK once I unlock bootloader flash trwp copy superuser to download folder how do I boot back to trwp to flash SuperSU? Thanks for the help
[Shield Android TV General] grodri19721:
OK guys kind of stuck got bootloader unlock but can't boot trwp getting error
[Shield Android TV General] nickld:
I didn't want to have to buy a new usb 3 A to A cable or wait around for delivery so I spliced together two old usb 2 cables. I was able to root and flash TWRP with no problems.

(note: I am using Ubuntu MATE 16.04. I had to fastboot as superuser (sudo fastboot ....) but everything else worked well!)

Thank you developers for all of the hard work. :good:
[Shield Android TV General] adam_ky:
OK so help me out here because I don't see it in your instructions. I left my a to a USB cable out of town... So I'm using the controller. So I get into fast boot. What now to do an OEM unlock at this point? Where do u go? Have a keyboard and my mouse with me but missing my a to a. But would like to go ahead and unlock the bootloader so I can tinker with things while I'm here for the weekend. Would be pointless otherwise since the unlock wipes everything.

So yea if someone could guide me where to go on the menus to unlock it with controller it would be awesome.
[Shield Android TV General] brandonb21:
you need a computer in order to unlock your bootloader.
[Shield Android TV General] adam_ky:
Thanks. Well I got that but I left my a to a cable out of town.

Read the instructions and seen two options but nothing further really. Anyways thanks for your response. Would I be able to do it without the a to a cable?

Can u network connect adb and unlock bootloader?
[Shield Android TV General] brandonb21:
No you need to do it with the cable through adb shell
[Shield Android TV General] adam_ky:
Thank u. I'll just have to wait till I get back near my cable then.

I will be fine for now just booting the image and gaining root. That will hold me out till an official twrp releases. Thanks for your patience. I'm a new nvidia shield user. I came over from firetv. I know my way around that pretty well but I'm a Noob on the shield. It Seems to be more simple really.. No need for an exploit and all that.

If I have any issues Im sure I'll be back. Thanks again
[Shield Android TV General] brand0n9:
After you copy supersu.zip to your shield download folder and unlock your bootloader to fastboot boot recover.img and pull out usb cable. Once twrp loads swipe past the first screen hit click install, choose the download folder and click on supersu and it will install
[Shield Android TV General] grodri19721:
Thank you for your time
[Shield Android TV General] demdream:
with the shield rooted, what will happens with the futur ota update ? it will be possible ? or it ll failed ?
[Shield Android TV General] darkuni:
I'm not sure anyone knows yet. I should recover back to 5.0.0, root, then try the OTA. If anyone has tried this already, let me know and save me the trouble.

Marshmallow didn't allow it - I don't see Nougat being more forgiving.

BUT, on the other hand, OTA from 3.x to 5.x worked regardless of root, so ...

---------- Post added at 05:45 PM ---------- Previous post was at 05:41 PM ----------

For those that copied SuperSU to internal storage ... how did you get it there? Where is it when you bring up Internal Storage from TWRP?

When you access the Shield TV from the PC running normally, you don't get access to a spot to copy SuperSU that is accessible from TWRP Internal Storage, right? Especially if you are migrated to Adoptive Storage (which has to be unplugged because you only have ONE working USB port with TWRP - and that is taken up by the mouse (unless you use a hub as I mentioned before). How do you get to adoptive storage if the mouse is in the USB port, and the Male to Male is in the other? Even if you unplug the male to male, no storage (adoptive or otherwise) is usable.

If Enable MTP causes a reboot (which it does me), then how are you all getting SuperSU to internal storage?
[Shield Android TV General] AndroidUser00110001:
On my setup I do not have to remove cable and have adaptive storage enabled. I boot into TWRP, the device is mounted as MTP, a drive pops up on my PC and storage shows as SDCard in TWRP. I copied SU there, and then installed it from there. When in Android. I cannot see the TWRP storage area for some reason even if I use Root Explorer to try to find it.

Not sure why some have to remove cable...Your setup sounds like mine too. Do you have USB Storage enabled in the Android Settings?
[Shield Android TV General] darkuni:
AH ... So it looks like we're down to a handful of methods:

1) No cable removal needed:

1.a) Use ADB Sideload

1.b) Use MTP, copy from PC
​

2) Removal of cable required:

2.a) Use MTP (if it doesn't reboot; ADB sideload may work that way too)

2.b) Use a USB hub with mouse+usb drive​

Like I said - mine worked GREAT the first time - no cable removal. Now I have to pull the cable each time. Yes, I'm adopted storage as well (maybe that has something to do with it?)

Do you get the Google warning screen? Did you BOOT or FLASH TWRP? Maybe there is something there. How did you enter bootloader? adb reboot or via hardware?

Maybe it is a Windows 10 thing - what are you using?

I'm sure I'll be doing it a dozen more times before it's over. :) Hopefully we'll find the trick.
[Shield Android TV General] AndroidUser00110001:
I flashed TWRP

Using adb reboot bootloader

No issues in Windows 10 or Ubuntu
[Shield Android TV General] darkuni:
Man. I love a good mystery, but this is perplexing.

You know .. have you tried to restore to stock and re-root again?

I'm wondering if it works - THE FIRST TIME - because Google's little notice hasn't been tripped. So you unlock the bootloader and if you immediately TWRP/root - you're good. Once the Google notice comes out, jerking the cable is the only way.

Be curious if you return to stock and tried again, if you would continue to work.

First one is free .. like the good drug dealers they are.
[Shield Android TV General] ntlord:
For those of you having trouble with TWRP rebooting when you plug back in the cable. The solution is simple. No need for a USB hub.

1. Enable network access for storage.

2. Connect to the network share.

3. Copy over the SuperSU.zip file somewhere

4. adb reboot bootloader

5. fastboot boot twrprecovery.img

6. Unlug usb cable immediately.

7. Once in TWRP click install, find the location you uploaded the zip file to, and swipe flash.

Thank me later.
[Shield Android TV General] darkuni:
I haven't tested this, but I think that is only good if you are NOT using Adoptive Storage. Once you adopt, your "internal storage" is stretched across your adopted device. AndroidUser00110001 even said he couldn't find the SuperSU he copied over.
[Shield Android TV General] AndroidUser00110001:
I believe I restored from the factory images and reset my device a few times.
[Shield Android TV General] darkuni:
Well, THAT is out.
[Shield Android TV General] AndroidUser00110001:
Most likely fail. I didn't add the proper settings in TWRP to allow Shield 2017 to take OTA updates. I have the settings now in the TWRP I built but did not post that version. I am not even sure if it works. I don't think that OTA has worked on my Nexus 6p that has official TWRP and root.

When OTA becomes available you can always remove root and that will restore stock recovery and boot images. From there you can take the OTA, install TWRP and then root after update. Or you can just flash the system.img files from the updated restore images when they get released.

---------- Post added at 07:48 PM ---------- Previous post was at 07:44 PM ----------

Maybe it has to do with the cable? Not all cables are made equally...Someone in this thread spliced together to USB cables and has no issues with needing to remove it...
[Shield Android TV General] darkuni:
I have a high quality male to male.
[Shield Android TV General] darkuni:
I've been dinking around all night with this. Various drivers, etc etc...

If you do NOT adopt storage, the age old "adb push supersu.zip /sdcard/", then boot to TWRP, unplugging the cable - and supersu.zip is waiting for you.

If you DO adopt storage, your adopted storage has to be plugged in (so no mouse) - which means you can't TWRP. Again, back to the hub; so you might as well use a USB flash drive anyway.

Oddly enough, "usb hubs" are everywhere; many newer monitors have hubs built in. Many KEYBOARDS act as usb hubs. Even if you don't have a "usb hub proper", you might still have one around the house.

I hooked my Shield TV to my monitor's USB hub and ZERO problems flashing. Heh.

---------- Post added at 05:05 AM ---------- Previous post was at 04:42 AM ----------

I updated the root tutorials to outline using non-Adoptive Storage methods.

Pretty much everyone should be able to root now as long as they have the Male to Male cable.

Say, this might be worth having ... https://www.monoprice.com/Product?p_id=4812
[Shield Android TV General] jocala:
2015 Pro

Can the 2015 Pro/Nougat be rooted yet?
[Shield Android TV General] darkuni:
Yep. I got a tutorial up.
[Shield Android TV General] jocala:
Great! I don't see an active link on your site for 2015 Pro, I'll check back later
[Shield Android TV General] darkuni:
Strange ... been there since yesterday.

Here is a direct link: http://nvidiashieldzone.com/shield-...t/tutorial-root-shield-android-tv-pro-nougat/
[Shield Android TV General] jocala:
Likely I mis-clicked. Thanks for the direct link!
[Shield Android TV General] brand0n9:
Before unplugging and fastbooting trwp when i connect the shield to pc, the shield pops up in my computer as a external drive. I just copy/paste the supersu.zip to the shield download folder. When i boot twrp i click install and go into the download folder and run the zip. Im running windows 10 and a 2017 stock shield. I bought two and they both were the same
[Shield Android TV General] darkuni:
Yeah, you get away with that because you don't have Adopted Storage - or if you do, you have not performed a MOVE DATA.

Once you "MOVE DATA", the file system you're using to copy the SUPERSU.ZIP to is now on the Adopted Storage device; which isn't plugged in because you need the ports for the cable and the mouse.

Check this out: https://www.youtube.com/watch?v=InujLd2k2Ik&t=143s
[Shield Android TV General] adam_ky:
Got it unlocked and rooted.

I didn't have luck with the recovery.IMG on my shield.

1. I ended up copying it to c:\

2. On computer while shield on and booted to home screen ran this

adb devices

fastboot boot c:\recovery.IMG

3. It will say something like "waiting for device" on the command prompt.

With controller plunged in I REBOOT while holding A and B

It will boot into fastboot and the computer will send recovery IMG for boot. Twrp should load.

I then unplugged controller to plug in keyboard/mouse and proceeded to download folder to install su binary

4. After install I rebooted from twrp. It bootlooped once then it restarted itself and started up fine.

5. Rooted

Just thought I'd share my experience
[Shield Android TV General] jionny:
This cannot be done with a windows pc, running windows 10?
[Shield Android TV General] yojoe600:
Why wouldn't it? It was said it works fine earlier. It worked fine for me.

Sent from my only One.
[Shield Android TV General] jionny:
I downloaded everything plugged in usb cable to pc followed all the initial steps and my pc doesn't recognize the shield
[Shield Android TV General] yojoe600:
Could be your driver's. Could be your cable. Could be that you don't have USB debugging on.

Sent from my only One.
[Shield Android TV General] jionny:
usb debugging is on, drivers installed, cable is brand new although that prob doesn't matter
[Shield Android TV General] yojoe600:
My cable was brand new from a computer store and didn't work. I had to get a new one on Amazon. Make sure it is in the USB port farthest from the HDMI port

Sent from my only One.
[Shield Android TV General] jionny:
farthest from the Hdmi port does that also apply to the 2017 pro version?
[Shield Android TV General] yojoe600:
I'm actually not sure. It should tell you which port to use when you turn on adb. At least on my 2017 regular it did.

Sent from my only One.
[Shield Android TV General] jionny:
ok, appreciate your help
[Shield Android TV General] tman777:
Fairly straight forward guide. But could someone clarify a couple things the guide doesn't specify:

1. Is it possible to fastboot boot the "UNOFFICIAL-twrp-3.0.2-ALL-Shields recovery" and flash ALL versions of SHIELD_ATV_2017/5.0.1 -

OTA, RETAIL and ROOTED Developer versions

with UNOFFICIAL-twrp-3.0.2 ?

2. The Guide does not say but is the latest SuperSU-v2.79-201612051815.zip the needed file to root?

3. Am I right that the OTA and RETAIL version BOTH need to have the bootloader unlocked via the "fastboot oem unlock" command in windows? What about the Developer version is it really already rooted or does it just have an unlocked bootloader?

4. The guide states that its not possible to flash TWRP to the Shield TV. But The thread "[RECOVERY] [UNOFFICIAL] TWRP - Shield Android TV 2017 & 2015 - All Models" states it can be. Any downside to flashing TWRP?

5. IF ota updates are allowed on rooted Shields, would TWRP recovery, root and unlocked bootloader be overwritten and lost - unless flashed through TWRP???

Thanks for helping

:
[Shield Android TV General] Pizzo78:
Hello to all. My shield was with root before upgrading to Android 7, after I reinstalled TWRP and I loaded supersu. At first start everything worked as it should and then lose root permissions on the following day. Now when I try to install supersu seems to work, TWRP does not return errors but when I restart the shield pro (2015) , the permissions are not active. If anyone can help me solve. I'm sorry for my English, I use google translate
[Shield Android TV General] Nguyen221109:
Help

Help

Failed <data transfer failure <Unknown error>>