yashsingh1/xdaforums huggingface dataset:
[Shield Android TV General] mikie00mike:
Shield TV Not The Same After Root

Hi guys. I just wanted to get some feedback.

I have two Nvidia Shield TV boxes, and have rooted one of them successfully. The box I have rooted, has never worked the same since then. It crashes a bunch, I get Google Play Services errors, it Freezes in apps a lot too and I have to force quit and restart.

My other box which I have left stock, works and runs perfectly without any of these issues.

Has anyone else experienced this? What would be my first steps to work out some of these issues? I have already performed a factory restore, and that does not make a difference.

One time, all the recommendations would not show and Netflix and the GE Now and Shield Hub were disappeared completely. I had to perform factory restore to get them back.

Any information would be much appreciated. Thanks.
[Shield Android TV General] darkuni:
I have a rooted 16gb and a standard 500gb.

I have zero problems with the rooted unit. I have heard of others in your situation though. I don't know the difference.

Why did you root? What did you install after? Custom rom?
[Shield Android TV General] mikie00mike:
Hello. Thanks for the quick reply.

My main reason for rooting was to try and remap a button on the shield remote, so I could long press for context menu in Kodi. Its called Xposed. I attempted it from this tutorial, but was unsuccessful. Everything went perfectly until in app, I was to select the paid or premium version, and it was not available.

https://forums.geforce.com/default/...mote-buttons-using-xposed-additions-updated-/

No custom Roms or anything. I am however interested to see if it would be possible to install Full Android, but side by side with the stock Android TV OS. I would like to switch back and forth from Full Android to the factory version.

Would you know if this is even possible? I have the 500GB Pro version. Thanks.
[Shield Android TV General] mikie00mike:
New kodi jarvis beta has long press ok button/context menu!!!

Actually just a note if anyone is interested. I just installed the new Kodi Jarvis Beta build, and now the Shield Remote ok button long presses for context/menu!!! This is AWESOME!

I was able to keep all my settings, and just sideload the Jarvis APK. Installed perfectly, and so far I have not run into any bugs. It actually seems to work just as good, if not better than Helix.
[Shield Android TV General] JohnHenryIron:
I just upgraded to latest FW so I lost root and reading the forums, it seems best to wait to the next update when the bootloader issues are ironed out. Anyway, some reasons to root:

I'm realizing how incapable the Shield TV is without root! I use servers pro to access the Shield TV from my PC using SMB. Also, without sixaxis controller I'm down to only 1 controller. Not to mention, without adaway, xposed & youtube adaway I now am subject to you tube ads.
[Shield Android TV General] oppressed11:
can I install any app directly from google play if I root my device ?!
[Shield Android TV General] liz.beth:
With the Shield still booted, run "adb push supersu.zip /sdcard" (change supersu.zip to appropriate file name). This will upload the SuperSU update zip to your device, which you'll install from TWRP.

after i did this i got

adb push UPDATE-SuperSU-v2.46.zip /sdcard

failed to copy 'UPDATE-SuperSU-v2.46.zip' to '/sdcard': Is a directory
[Shield Android TV General] D-an-W:
Try "adb push supersu.zip /sdcard/" instead, worked for me.
[Shield Android TV General] andersh:
I received a new Shield Android TV Pro yesterday and tried this procedure to root it.

The 'fastboot oem unlock' took about 90 minutes and seemed to work ok.

Then I pushed the recovery with

This also seemed to work ok.

Then I rebooted and tried to enter recovery with

Unfortunately this only result in a screen with a broken android icon.

Apart from this the device is still working fine, but I'm unable to enter recovery.

Did I do something wrong here, or have something changed in the latest Shield updates?
[Shield Android TV General] D-an-W:
This is the best guide I found for all things SHIELD, hope it helps...

http://nvidiashieldzone.com/index.php/shield-android-tv/root-shield-android-tv/
[Shield Android TV General] andersh:
Reflashed the recovery once more and booted the recovery kernel. Suddenly TWRP was working and I could flash SuperSU.
[Shield Android TV General] gizmos41:
Hi,

Did you resolve your problem ? I just root my device and i got similar problem. The Shield become tooo slow and app crash easily ..
[Shield Android TV General] Shadicbypass:
Will there be any custom kernels for the nvidia shield android tv. I would love a overclock enabled kernel. P.s. i dont have any of the issues woth apps crashing pr stucf after rooting my nvidia shield tv 16gb version but did you try flashing a stock version and then rerooting.
[Shield Android TV General] Turbotri:
I had a similar issue after rooting with Google Store and other apps crashing and missing apps etc.

I flashed back to 1.3 and then flashed to 2.1 and ended up with a brick. So yeah I am not happy.

I get the feeling going from 1.3 straight to 2.1 is what did it cuz the box was trying to go to 1.4 first OTA

when I forced it back to 2.1

I am not gonna root any more of these again until somebody can figure out why some people have app issues after rooting

*UPDATE*

So today my new unrooted clean Shield TV froze on Netflix and I had to pull the power and replug

Much to my horror Google would not load and it started behaving the way the old box did after the rooting

Well long story short after a half hour of troubleshooting I noticed the time was wrong and when I checked the date and tiem it was set to 1/1/1999 so derp no wonder nothing would work. Google and most sites reject connections from devices with incorrect dates.

I hope this helps somebody out there
[Shield Android TV General] mikie00mike:
Need Help With Unroot

Were you ever able to find out how to Unroot this device? I have unsuccessfully searched relentlessly for Nvidia Shield TV unroot instructions. Thanks.
[Shield Android TV General] Luxferro:
Download the factory images for you model, and fastboot flash system system.img.
[Shield Android TV General] pack21:
Panic here. :(

How much minutes for fastboot oem unlock on 16GB version?
[Shield Android TV General] darkuni:
It's been awhile since I did mine, but I'm pretty sure it was measured in seconds, not minutes.

---------- Post added at 06:13 PM ---------- Previous post was at 06:12 PM ----------

I have a tutorial for full restore to stock (which of course will remove root):

http://nvidiashieldzone.com/index.php/shield-android-tv/root-shield-android-tv/

(scroll to the bottom)
[Shield Android TV General] lartomar2002:
I f you do a search I belive you will find that it could take up to 90 minutes and not to panic.
[Shield Android TV General] darkuni:
I've been involved with a lot of OEM unlocks on 16GB, and no one has reported it taking more than a couple of minutes.

The 500GB unit? Yes ... 90 minutes+

Basic algebra tells me that if 500GB takes 90 minutes, 16GB should take about 3 minutes. I'm not an expert, but the time taken is in direct relation to the size of storage that has to touched during the process.
[Shield Android TV General] lartomar2002:
hups, sorry wrong NSATV, my bad. ?
[Shield Android TV General] NeutralTerritory:
Updated Root For 6.0?

Unless the previous root method still works for Shield TV Update 3.0 (aka Android 6.0) is there any plans for updating the root? (I know the update just came out. I'm just wondering if anyone has plans to do so. I don't want to brick by accident. )
[Shield Android TV General] visitor29:
root already exist for marshmallow http://xdaforums.com/showthread.php?t=1538053

problem is with twrp.... http://xdaforums.com/shield-tv/general/recovery-twrp-2-8-6-0-shield-tv-variants-t3140926
[Shield Android TV General] darkuni:
I'll have an updated tutorial later tonight.
[Shield Android TV General] duanim:
For the pro version fantastically
[Shield Android TV General] JohnHenryIron:
I'm guessing a full wipe for a major version change?
[Shield Android TV General] darkuni:
Should be able to upgrade in place. Working on finding the right TWRP to get me far enough to root ....
[Shield Android TV General] lartomar2002:
Please update when you find the right one.
[Shield Android TV General] darkuni:
Working on the video now. Going to start with a fresh machine, fully updated to latest OTA ... then go step by step to root.
[Shield Android TV General] duanim:
Did you get it done
[Shield Android TV General] jerflash:
I would just wait for the prerooted image from nvidia dev guys... Can't be more then a few days out
[Shield Android TV General] darkuni:
Video is encoding now.
[Shield Android TV General] JohnHenryIron:
What's with these pre root images I always hear about? Does it have superuser pre installed?
[Shield Android TV General] jerflash:
Here you go. It would be prerooted but I'm pretty sure all you need to do is install the supersu app from the store to get it up and running

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

The one there is still 5.1 but like I said give it a few days and they should release it.
[Shield Android TV General] duanim:
Yes you need to install supersu binary
[Shield Android TV General] darkuni:
Okay, here we go...

http://nvidiashieldzone.com/shield-android-tv/root-shield-android-tv-2/

The video is still uploading but I'll update the tutorial with the video once it is one.

Happy rooting.
[Shield Android TV General] JohnHenryIron:
Thanks for the explanation & link. So basically avoids the need for twrp. The current 3.0 image with root is on that page.

edit: Sorry, false alarm. I saw Vulkan support is included in OS images with versions >= 3.0.0. and just assumed.
[Shield Android TV General] duanim:
So thetering boot recovery like we used for the amazon fire 7" tab thats what i mention before good job Shane
[Shield Android TV General] Nixin Victis:
I was only successful in rooting after Marshmallow by booting into the newest TWRP, not flashing, then installing the systemless root SuperSuBeta a la http://nvidiashieldzone.com/shield-android-tv/root-shield-android-tv-2/ . Any system installed root and/ or custom recovery resulted in ether hanging on Nvidia Logo splash screen, Marshmallow loading sequence, or stuck in Forced Recovery for me.
[Shield Android TV General] mattkilla420:
You have to have a sd card to push supersu to the shield?

Edit- i figured out what i asked. Had to use an sd card, and the above method worked, i used the most recent recovery from 02_22. Now if my understanding is correct, the only ROM out, full android, can not be flashed on 3.0? Is that correct?

Sent from my Sammy S6 using Revolution 1.0
[Shield Android TV General] Deeco7:
Will OTA updates work with systemless root?
[Shield Android TV General] milko002:
I seen the following on the SHIELD Developer OS Images page. So are all of use just running around chasung our tail ?

Currently Shipping Rooted SHIELD Android TV Image

Instructions & Downloads

NVIDIA provides a rooted OS image for SHIELD ANDROID TV that matches the currently shipping public OTA. To flash the rooted image to the SHIELD Android TV, download the image for your specific device and follow the instructions listed on the Download Center entry.

Vulkan support is included in OS images with versions >= 3.0.0.

https://developer.nvidia.com/shield-developer-os-images
[Shield Android TV General] PhunkyBob:
I've tested the "NVidia developer os image", I've followed the procedure: it installs the last version, but it's not rooted.

Do I have missed a point?
[Shield Android TV General] lartomar2002:
I was confused by this also.
[Shield Android TV General] gffmac:
It's rooted to aid developers not in a way that's useful to the rest of us.
[Shield Android TV General] runswithascript:
adb backup also not working for me, disabled and re-enabled USB debugging, tried doing so with and without reboot, no change. Same issue as previously posted by someone else, the Shield does not ask for confirmation on screen to backup. Someone posted a solution somewhere to try enabling and disabling some developer desktop password, but the shield does not seem to have that option. A backup of stock would have been nice, but I am not overly concerned.

After following all the rooting steps and entering sudo fastboot oem unlock run for a few hours, and coming back to see no longer did my TV display a message 'please wait...', I entered the command fastboot boot twrp-2.8.6.0-shieldtv-unofficial.img but terminal just output: < waiting for device >, which it hangs on, and nothing changes on the TV screen. I tried to select continue or reboot from the Fastboot menu, in case that is necessary but missing from the guide, but something else was selected and a picture of an Android laying on his back with a hazard sign in its stomach appeared! Thankfully after cold rebooting the Shield did boot, although I had to run through the set up again.

I then followed the steps from this guide again, although this time when I enter sudo fastboot oem unlock it outputs:

I then entered the command fastboot boot twrp-2.8.6.0-shieldtv-unofficial.img and it again hangs on '< waiting for device >', with nothing changing on the screen, I just see the Cboot version, instructions on how to navigate, and the Fastboot menu: continue, boot recovery kernel, reboot, poweroff, forced recovery - am I supposed to select one of these before entering the command to boot the image?

If I kill the attempt with ctrl-c (Ubuntu 15.10) and enter adb devices it shows none are detected, although there were not long ago as I was able to boot into Fastboot in the first place with adb reboot. If I try the boot twrp command with a sudo before it the output is different:

What can I do to boot the image please?
[Shield Android TV General] runswithascript:
I have made some progress on this. I switched from Ubuntu 15.10 to Windows 10, and after seeing Fastboot had an unrecognised warning in device manager I installed a driver. I have now been able to boot into twrp, but I cannot navigate the menu to select install, it is not recognising the two mice and keyboards I have connected, although those same devices work fine if I boot normally into Android. The lights do not even turn on the mice and keyboards.

Any ideas?
[Shield Android TV General] TylerDurdenK:
I've followed the guide but get stuck here:

After typing "fastboot boot twrp-2.8.6.0-shieldtv-unofficial.img" I am showed the nvidia logo for about 30 seconds then the shield just boots normally.

This is copied from my CMD window.

But it doesn't work. What am I doing wrong?
[Shield Android TV General] Miamijerry:
Depending on what image or version you currently have installed, I would try one of these TWRP;

http://xdaforums.com/shield-tv/general/recovery-twrp-2-8-6-0-shield-tv-variants-t3140926
[Shield Android TV General] TylerDurdenK:
Thanks for the input, however I managed to get it working. Originally the shield was attached to my 4K TV, I tried on a 1080p TV and TWRP showed up just fine.
[Shield Android TV General] lartomar2002:
Why would resolution make a difference. I no longer have a 1080p tv, I only have a Sony XBR55X850C 4k UHD tv?
[Shield Android TV General] TylerDurdenK:
I don't know, but it's what worked for me.
[Shield Android TV General] Lucky6909:
Hi,

I follow the procedure and arrive till> Connect a keyboard or mouse via OTG cable, and select "Install", navigate to your SuperSU zip, select it, and follow the prompts.

At this point the mouse or mouse doesn't respond.

Any ideas?

Thanks.
[Shield Android TV General] darkuni:
Have you tried my tutorial?
[Shield Android TV General] runswithascript:
My rooted Nvidia Shield Android TV is prompting me to install an OTA updated related to Shield accessories.

Can somebody please either edit this guide, or create a new one, that details step by step how to backup, install update, re-root (an already rooted shield), and then restore?
[Shield Android TV General] JohnHenryIron:
Did you read the last post? You can find it over at nvidiashieldzone.com
[Shield Android TV General] runswithascript:
Thanks, going to try this:

http://nvidiashieldzone.com/shield-android-tv/tutorial-manual-update-10-2-2/
[Shield Android TV General] anttaz:
How to connect shield to pc do you just use the controller charger that came with it and insert it where the power charger connects?

Or is it usb to usb or what?
[Shield Android TV General] psxfan:
I have a 2015 version of Shield TV pro that was rooted, but the new 5.0 update removed the root...My question is: Do i have to unlock the bootloader again, or just go right to loading the TWRP and booting the recovery image? I'm asking because I want to restore the Root, but don't want to have to re-install all the apk's. Thanks!
[Shield Android TV General] darkuni:
Unlocking the bootloader is a one time thing (at least so far).

Rooted Android 6 -> OTA to Android 7 just fine (normally OTAs won't install if rooted - this one does)

Root is removed by the OTA but nothing else is touched

Re-Root using tutorial (following the "skip unlocking bootloader")

Profit :)
[Shield Android TV General] psxfan:
Thanks, that's exactly what I needed to know....
[Shield Android TV General] g1dtf:
Trying to re-root my 2015 after updating to 5.02 however when I type "Fastboot boot twrp.img" I am getting "data transfer failure" error and the shield reboots. I have tried pulling the USB after issuing the command but cant get it to boot into TWRP to install SuperSU.
[Shield Android TV General] darkuni:
Your fastboot driver is either out of date, or the wrong driver is probably being used.

Go to FASTBOOT, then open Device Manager and find the fastboot driver. If it doesn't say "FASTBOOT" or "BOOTLOADER" in the name and says something like "ADB COMPOSITE", then change driver, choose from the list, find NVIDIA, and select ADB BOOTLOADER.

I saw this first hand when writing my tutorials.
[Shield Android TV General] g1dtf:
Thanks I will give that a try later. The driver worked ok on my K1 tablet but thats still on Marshmallow.
[Shield Android TV General] tman777:
Would you happen to know WHAT is changed when you run "fastboot oem unlock"? Is it the "blob" file or the "boot.img" that contains the bootloader?

Also why does the bootloader remains unlocked when you get OTA or flash a retail recovery? You would think that updating would overwrite whatever contains the unlocked bootloader.

:
[Shield Android TV General] darkuni:
I will not profess to understanding what it does exactly. I do know that it is not something that is altered from an OS perspective - meaning nothing will ever lock it or unlock it; that HAS to be done consciously by a user.

Someone else might be able to give a more technical definition.
[Shield Android TV General] edjanx:
Shield won't recognize Windows 10 PC

According to nvidiasshieldzone (nvidiashieldzone.com/shield-android-tv/android-7-nougat/tutorial-root-shield-android-tv-pro-nougat/), "TWRP doesn’t currently work on 4k displays! Use a 1080p display to complete this tutorial." I simply set the Shield back to 1080p since I have a new LG OLED 4K HDR.

I followed everything from the guide link above exactly, and even purchased the USB 3 cable they tested with, but my new Shield 500G simply doesn't recognize the PC. I tried every port between the Shield and PC, enabled, then disabled, then re-enabled USB debugging, rebooted the Shield and PCs several times. I even setup a different Windows 10 PC without success, and both PCs can detect my Nexus 6p fine with ADB, so any suggestions would be appreciated.

I also had one question on the Shield USB ports. They are supposed to be USB 3.0, but they don't have the usual blue coloring. Anyway to confirm I've actually got USB 3 on my Shield?

Thanks,

Janx
[Shield Android TV General] darkuni:
Hmmm.... There shouldn't be any reference to USB 3 cables for the Pro tutorial.

You use the microUSB port for the Pro unit - old and new.
[Shield Android TV General] jionny:
I also have the 2017 500gb model just went through the same problem and finaly rooted, you need to use the micro usb in the controller slot and plug the other end into your pc and navigate with the shield power button while in the bootloader
[Shield Android TV General] darkuni:
I changed the wording on the guide to be a bit more clear :)

It is important to note that there is no 2017 version of Shield TV Pro. The Pro model has not changed; only the underlying OS.
[Shield Android TV General] jionny:
Also the controller, at least I would think because I have been told numerous times that the controller works for booting into bootloader however I have never gotten it to work after numerous attempts, so am I wrong to assume its the 2015 controller that works for that and not the 2017 model?
[Shield Android TV General] darkuni:
You would use the old bootloader access method (should be a video with the guide under IF SOMETHING GOES WRONG).

https://www.youtube.com/watch?v=yivWH4363s8

The controller access is only for the 16gb 2017 edition.

I haven't tested the bootloader access with Pro under NOUGAT, but since that is pre-OS level stuff, I believe it should still work.
[Shield Android TV General] jionny:
My experience is the controller does not work for getting into the bootloader, either method stated
[Shield Android TV General] brie987:
I don't have touchpad abilities anymore. When I first powered on the NVidia Console the game remote had touchpad abilities but since the 1.1 update that is no longer the case. Is touchpad only works with certain applications? Has anyone else have this issue? Thanks for any help. Also can we have a dedicated forum for the NVidia Shield Android TV? PLEASE! Thank you.
[Shield Android TV General] killerskincanoe:
i was wondering about that myself. but perhaps a diff forum would be best suited for this ? (really wish we had our own forum space, not really trying to pollute the Shield Portable forums) i can confirm my touchpad also not working after 1.1 update
[Shield Android TV General] alwaysbless:
Any update on a recovery with working USB and orientation? I know its probably a lot of work so not trying to be pushy just wondering really.
[Shield Android TV General] Steel01:
Haven't had much in the way of volunteers to test my last uploaded build. Or to answer my last question for that matter. If you're on a 16GB model, I'd be interested to see if the partitions mount correctly. Already know they don't on the 500GB model. My development will pick up once I get mine this Friday.
[Shield Android TV General] dongbot:
Not really sure where to put this since there's no Shield TV section but once you root it you can enable hardware mpeg-2 decoding pretty easily

In an adb shell run the following:

su -

mount -oremount,rw /system

download /system/etc/media_codecs.xml

Add the following to the <decoders></decoders> section:

<MediaCodec name="OMX.Nvidia.mpeg2v.decode" type="video/mpeg2">
<Feature name="adaptive-playback" />
</MediaCodec>

Re-upload the file to the device replacing the current one. Reboot the device and mpeg-2 decoding will be enabled. You can also do this for vc1 by adding the following:

<MediaCodec name="OMX.Nvidia.vc1.decode" type="video/vc1">
<Feature name="adaptive-playback" />
</MediaCodec>

Your first version I used adb shell and just manually installed su from twrp so unsure if it worked as I don't have the proper cable for mouse control :(