yashsingh1/xdaforums huggingface dataset:
[Shield Android TV General] cubandanger05:
I'm sorry dude, I could've told you that lol. I updated to 7.2.2 with patched boot img and root without issues. I did flash the entire thing, not just the boot img.
[Shield Android TV General] Free4ever2:
Could you tell me what guide/steps you followed. I'm on 7.1 rooted with Magisk and also wanted to upgrade to 7.2.2 without losing my data or potentially bricking my Shield.
[Shield Android TV General] cubandanger05:
I understand you didn't ask me per se. Follow the instructions on the OP but use dev img 7.2.2 instead.
[Shield Android TV General] Largewoodenspoon:
Just pm'd you Free4ever2
[Shield Android TV General] Free4ever2:
Thanks, will try it out this weekend.
[Shield Android TV General] mattnz:
Could I get the root instructions as well please? I'm on a 16gb 2015, already on 7.2.2
[Shield Android TV General] mLgz0rn:
Just follow the first post... and download developer image 7.2.2 instead of 7.2.1
[Shield Android TV General] DumbKing@letthemeatspam:
Do we have to do this every time nvidia releases a developer image or does it auto update?

---------- Post added at 02:34 AM ---------- Previous post was at 02:34 AM ----------

Great thanks, do we need to do this every time nvidia releases a new developer image?

---------- Post added at 02:35 AM ---------- Previous post was at 02:34 AM ----------

Great thanks, do we need to do this every time nvidia releases a new developer image or does it auto update?
[Shield Android TV General] cubandanger05:
Everytime
[Shield Android TV General] Largewoodenspoon:
Pm'd you.
[Shield Android TV General] DumbKing@letthemeatspam:
Hmm what about the whole "download full system image on upgrade"

We have to reroot the image even though this is checked?
[Shield Android TV General] cubandanger05:
I'd never take the update/let the shield update by itself automatically. Always, if available, patch the boot img with magisk, and flash the full dev img.
[Shield Android TV General] Free4ever2:
I followed the steps to upgrade to 7.2.2 dev image patched with Magisk. I get a message on boot after the Nvidia logo, that the device is corrupted and cannot be trusted. But everything seems to be working, including Magisk and AdAway with systemless host. Is it okay to ignore the message about the device being corrupted?
[Shield Android TV General] jeffshead:
You obviously followed the instructions since you stated that everything seems to be working. I can't help myself... How did you miss that sentence in step D-4 :D
[Shield Android TV General] Free4ever2:
I didn't miss it. This is a different message from the one in D-4, which says "Your device software can't be checked for corruption. Please lock the bootloader." I know that one is normal and appears after unlocking the bootloader. I'm seeing an additional warning, one that appears after the Nvidia logo and says "Your device is corrupt. It can't be trusted and may not work properly". I didn't have this warning when I was on 7.1 dev image patched with Magisk.
[Shield Android TV General] jeffshead:
Gotcha. Over my head, then. Maybe someone else has encountered that particular error and can chime in.

I will say I am thankful for threads like this and others but I am really not a fan of the Android TV OS. I much prefer my "crappy Chinese" (as per Shield fanboys) boxes with the "hacked" pure Android OS. I don't play games so all I do is stream video. I am not at all happy with my new Shield. I've spent hours with this thing and still can't get many of my apps to function properly. I wish I would have bought another "crappy Chinese" box and saved a $100.
[Shield Android TV General] trohn_javolta:
I'm gonna get a shield and am currently doing some research.

I want to ask the age old question: Why would I want to root my shield?

I rooted phones before, I know what it is and why I do it (on phones).

But are there any specific reasons to root the shield?

Like better performance, ui experience somehow? Maybe ability to overclock it?

Or other benefits?

Magisk version is nice so it passes safetynet check, which netflix app runs, if I recall right.

What I found so far is:

One could add dual boot using an app called flashify (which requires root I guess).

Also I found this hack for people with avr that cannot pass HDR content to their 4k HDR TV: https://xdaforums.com/shield-tv/ori...rc-optical-t3894442/post78804072#post78804072

Do you guys have some more suggestions what I can do after root?

Maybe, is there some super duper custom rom that works better than the default android tv firmware from nvidia? (of what I could gather so far they seem to do an awesome job with that despite some bugs introduced with Oreo).
[Shield Android TV General] Slayerkodi:
OK I have an issue, my shield controller dropped down the toilet and is now useless, doesn't even hold charge anymore lol. I am currently using the xbox one controller and the main issue I'm having is be able to use right stick as analog - to do this I can install droidmote which is perfect and then I could have that function, but droidmote requires root and I don't have a PC anymore to do any adb stuff. Is there a way I can install magisk without a PC? I have magiskmanager installed and have already patched the boot IMG, I just need a way to install. Is this possible?
[Shield Android TV General] Slayerkodi:
Or anyway I can use adb over WiFi from android to android tv to execute the adb commands?
[Shield Android TV General] mLgz0rn:
Did you try and flash twrp? Because that makes that warning turn up.

It doesn't mean anything tbh, so no need to be worried.

If I remember correctly, its because it is detecting that an "non default" recovery has been flashed.

And the new versions of shield experience doesn't like that, which is why twrp is not working at the moment.

I do however know that Steel01 is working on getting it to work again.
[Shield Android TV General] Free4ever2:
No, I didn't flash TWRP. My Shield has been running normally since upgrading to 7.2.2 so I don't see a reason to worry about the warning. Going from 7.1 to 7.2.2 fixed two annoying issues, Netflix's constant HDCP error timeouts and my Shield game controller rapid battery drain, so I'm satisfied so far with this update, although I had to switch to systemless AdAway due to the new restrictions.
[Shield Android TV General] psxfan:
Help, please...No devices found

Hello...I am trying to update my 2017 Shield pro to 7.2.2 It is currently running rooted 7.1 and I am following the guide in OP, but after I enter the flash-all.bat command, I get what is shown in the attached picture, (error: No devices/emulators found) then it reboots, shows the Nvidia logo for a minute, then goes to a black screen forever. I'm using "nv-recovery-image-shield-atv-pro-7.2.2-dev_rooted.zip" from the nvidia site. Now I can only boot to the fastboot menu and I'm just not sure what to do??? I am using a micro-usb to regular usb cable, using the micro-usb port on the back of the shield. Do I need to use the regular USB port instead?

Any help would be appreciated!!!
[Shield Android TV General] mLgz0rn:
You are properly getting bootloop because the system and vendor images are not flashed.

Have you installed the correct driver?

Or even better, did you follow step C correctly?

What do you get when you type "fastboot devices" in cmd when your shield is hooked up to the pc and is inside the bootloader?
[Shield Android TV General] psxfan:
When I type fastboot devices, I get a serial number and the word fastboot

---------- Post added at 08:27 PM ---------- Previous post was at 07:53 PM ----------

So after I go through that process, the shield is "stuck" on, but just showing a black screen. If I reboot it by disconnecting the power, it shows the Nvidia logo for about 20 seconds, then goes to a black screen and I have no way of shutting the shield off except disconnecting the power supply. I remember reading something about starting Win10 with "Disable Driver Signature Enforcement" could help...any thoughts on that?

Thanks!
[Shield Android TV General] mLgz0rn:
Try and go through the flashing process manually instead of using the .bat.

Boot into the bootloader.

Type

fastboot devices

To make sure that the pc is connected to the shield.

Should return alot of numbers.

Make sure your cmd is in the folder where you shield images is locates.

Then type each of these lines, wait for one to finish continue with the next

fastboot flash staging blob
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot reboot
[Shield Android TV General] psxfan:
[SOLVED]

Thank you for your reply and those simple, concise instructions...I followed your steps and it worked perfectly! I can finally stop pulling my hair out, I am now up & running on rooted 7.2.2 :good:
[Shield Android TV General] martian21:
I'd been putting off updating (was still on 7.0) but finally bit the bullet last night. Had a little difficulty with flash-all.sh (MacBook) where it hung when flashing boot.img. Had to dig out my controller and hold A+B when plugging in power to get back into fastboot mode but was able to individually flash each .img as outlined above. For some odd reason my Shield did NOT like having my 4k TV connected to the HDMI port when flashing via fastboot so if you are having issues with fastboot commands hanging try unplugging from HDMI. I know it sounds crazy but seemed to work for me.

Question: Is it no longer possible to edit the /etc/hosts file? I'm not finding any way to mount /system/ writable to copy my modified hosts file back to /etc/. I can su and get a # prompt in adb shell but that hasn't done me any good. I knew Nvidia really locked down 7.2 but didn't realize it was this bad or am I missing something?
[Shield Android TV General] trohn_javolta:
Could I just unlock the bootloader for now and keep auto updates on and receive them normally? I want to check out stock rom first and decide later whether I need root or not. It would suck if after all the setup I realize I need root and have to unlock bl which wipes all my data.

Btw: Any news on a working twrp version for the latest rom version?
[Shield Android TV General] ldeveraux:
1) You could unlock and leave it unrooted. No guarantee that later versions will be rootable though.

2) Keep following the TWRP thread, but nothing conclusive yet.
[Shield Android TV General] MajinChibi:
Thanks for the tutorial :)

I did everything and it worked.

I just wanted to apply this "hack" :

https://xdaforums.com/shield-tv/orig-development/netflix-amazon-5-1-hdmi-arc-optical-t3894442

But after i typed "adb root" . nothing happend

What do i have to do now? (read something about dtb? is there another tutorial for me? +.+)

Thanks in advance :)
[Shield Android TV General] Turbojugend:
Thanks for this, but you should update the main post on the first page and say it actually doesn't provide root. I just spent an hour trying to edit my host files wondering why it was saying I couldn't and didn't have write access to the folder I needed.

What's the point of root if you can't actually make changes to your root file system :P
[Shield Android TV General] ldeveraux:
Don't be daft, this absolutely provides root, hence the successful installation of Magisk. Just because you can't navigate the Linux environment doesn't mean the procedure isn't completely functional/useful.
[Shield Android TV General] Turbojugend:
Lol, you dolt, he even said on one of the pages you can't write to the system dir. So I don't have full SU root access. If I can't edit my host file then I don't have proper root. Has nothing to do with navigation at all, I know where to find the files I want to edit and before the update the rooted procedure I was able to edit them, I can't with this method.
[Shield Android TV General] ldeveraux:
Cool! I'm sure OP will apologize for helping literally everyone else but you. Good luck on your quest!
[Shield Android TV General] Turbojugend:
Just out of curiosity, can you edit any files in the root of your shield using this method. Can you edit or write a new host file in ETC? If you can't it isn't proper root. I am not arguing with the OP, I am just simply saying rooting should allow you to access and edit all areas of your file system in Android. That's the whole point of it. This method does not allow you to change or write to / so it's not really a proper root plain and simple. It isn't about needing help at all and I am not looking for help, I just simply stated that there could be others that are looking to root their shield TV for the sole purpose of editing files in the root of the file system and this method does not allow you to do it, and could save others a massive amount of time if OP simply states that in the beginning of the thread.
[Shield Android TV General] ldeveraux:
Dude, who cares? Forget I mentioned anything, jeez...:rolleyes:
[Shield Android TV General] mLgz0rn:
I can, it's because dm-verity is enabled.

Do adb disable-verity

Patch the boot through magisk without ticking "preserve dm-verity" and flash it.
[Shield Android TV General] arifnihat:
adr root command doesnt work

Thank you for the detailed description. I applied the things in the first message without any problems. But I didn't get root.

I just wanted to apply this :

https://xdaforums.com/shield-tv/orig-development/netflix-amazon-5-1-hdmi-arc-optical-t3894442

adb root

adb remount

Not running as root. Try "adb root" first.
[Shield Android TV General] Turbojugend:
Sent it into a boot loop.
[Shield Android TV General] mLgz0rn:
What version of adb are you using?

You are sure you patched the boot without ticking preserve dm-verity in magisk?
[Shield Android TV General] TylerDurdenK:
I can't get my shield connected to my laptop. Can this be done with network debugging instead?
[Shield Android TV General] DN38416:
OK so for some reason, I can't get Magisk installed on my Shield 16Gb 2015 (on 7.2.2)

I've tried flashing the patched_boot.img multiple times but Magisk Manager doesn't show up in my apps.

If I install the manager manually, it just tells me that Magisk is not installed..

Also tried installing Magisk directly from the experimental twrp in another thread, but no luck with that either.

What am I missing?

EDIT: Got it working with the Canary build. Not sure why the regular one didn't work.
[Shield Android TV General] sash11:
Does anybody have 7.2.3 OTA 30.6.131.67 build by any chance? I would like to root my Nvidia Shield TV 2017 16GB model.

I have signed up for a test program and now getting engineering builds. But I would like to root this build if I can.

---------- Post added at 10:25 PM ---------- Previous post was at 10:24 PM ----------

Magisk manager is missing sometimes if you flashed patched boot.img. Just install maganer manually and you should be good.

---------- Post added at 10:26 PM ---------- Previous post was at 10:25 PM ----------

You can use adb over network and push/pull data this way.
[Shield Android TV General] sash11:
As the saying goes, if you want something done, better do it yourself) Downgraded to 7.2.2, rooted it, took full OTA to 7.2.3 30.6.131.70 for 2017 16gb version. Downloaded full OTA from data/data/com.nvidia.ota/app_download. Patched boot.img as well. So I am now rooted on the latest engineering build 7.2.3.

PUBLICe8f469c5f07f62ef251dc997871e963b.zip

patched_boot.7.2.3.img
[Shield Android TV General] el7145:
Hello all, so I successfully went through all these steps...figured I would uninstall a few systems apps now that I have root, and I'm unable to uninstall any (ie, Amazon music)...can someone let me know the secret?

Root access is working well with apps that require it

Something tells me i wouldn't be having these issues if I was using supersu

Edit: so it looks like the holdup is I can't mount system as rw for some reason...i tried the mount option in es file Explorer and root explorer and neither one is mounting system as rw

Edit2:so I think 7.2.2 introduced dmverity enabled which means you can't write to the system partition?
[Shield Android TV General] amaruggio:
Bootlop help please

Ok, I followed this guide and it worked at first, then I tried to disable dm-verity and now it's in bootlop.

I can access the recovery boot, and I tried

Adb sideload name_of_the_firmware.zip and I get error footer is wrong.

Please help, at this point I just want to go back to factory without root because I just realized I can't change the /system to rw
[Shield Android TV General] sash11:
Why would you disable dm-verity? At this point try flashing either stock or patched boot.img from your build. It should get you back into the OS.
[Shield Android TV General] amaruggio:
I disabled dm-verity because I couldn't remount /system as RW. That was the whole point of rooting the shield.

Flashing stock doesn't work, it always says that there's a problem with the signature.

Restore the original boot.img doesn't work either, she problem with the signature.
[Shield Android TV General] sash11:
What happens when you flash patched boot.img with dm-verity?

You might want to flash stock img files as described in this guide. Look at the bottom of the page:

http://developer.download.nvidia.co...ATV_2017/7.2.2/HowTo-Flash-Recovery-Image.txt

Flashing instructions:

Execute these commands on the host PC:

fastboot flash staging blob

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot reboot

When I flashed this way my shield went into reboot after I flashed system.img. I unplugged it and went into fastboot manually to finish flashing vendor.img
[Shield Android TV General] amaruggio:
The patched boot.img with dm-verity enabled worked at first. But once in bootlop I can't restore it anymore.

I can get into the recovery and pick "flash firmware from adb"

From the computer I do "adb devices" and I get

My shield serial number and next to it or says sideload.

From the TV screen it says to flash anything I should do "adb sideload name_of_file.xxx"

Using this command, and trying either the boot.img or the whole firmware.zip I get a signature error

---------- Post added at 10:44 AM ---------- Previous post was at 10:37 AM ----------

I'll try this way and let you know.

I also found this article that describes the same problem of mine

https://www.google.com/amp/s/xdaforums.com/shield-tv/help/one-fastboot-adb-t3674167/amp/.

---------- Post added at 11:00 AM ---------- Previous post was at 10:44 AM ----------

This procedure won't work on me because I don't have adb.

While in recovery I hit "adb devices" and nothing is listed.
[Shield Android TV General] sash11:
You do not need adb for this procedure. You need fastboot mode and fastboot command. If you have unlocked bootloader it should work!

adb works only in recovery mode or when you are booted in the OS.
[Shield Android TV General] amaruggio:
How do you get in fastboot? I'm stuck on this screen

http://pichost.org/images/2019/03/10/IMG_20190310_071501.jpg
[Shield Android TV General] sash11:
That is fastboot you are in. Issue command to check your device:

fastboot devices
[Shield Android TV General] amaruggio:
Thanks a lot!

It did the trick, now it boots normally.

How do I get back to stock? Just flashing the recovery file?

The only reason I wanted to root is to remap the controller triggers that in steam are mapped as Z-axis, but I can't do it because the layout file is read only and there's no way to remount /system as rw.

(That's why I disabled dm-verity)
[Shield Android TV General] sash11:
What did you flash? Flashing all images will get you back to stock!
[Shield Android TV General] amaruggio:
I flashed the developer image with root.

I wanted to go back to stock and relock the bootloader so I don't get those warning messages.

Now on top of the warning message of the unlocked bootloader I'm getting another message that my system is corrupted and it can't be trusted

---------- Post added at 11:49 AM ---------- Previous post was at 11:44 AM ----------

So all I have to do is to download the stock non developer image from Nvidia, extract it and from fastboot I do flash-all.bat correct?

What about the the bootloader? Is it safe to relock it?
[Shield Android TV General] sash11:
Pretty much. No need to relock the bootloader. You gain nothing from it. If ever you run into issues, you can always flash images in fastboot.
[Shield Android TV General] amaruggio:
I should have left it like it was. I did flash-all.bat

It turned off and now it doesn't turn on at all. No green light. It looks like it's bricked.
[Shield Android TV General] sash11:
I flashed each image file individually and never used flash-all.bat

flash-all.bat has the save commands:

fastboot flash staging blob

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot reboot

What version of Shield do you have and what recovery image did you flash?
[Shield Android TV General] amaruggio:
I have the 2017 16gb version and in used the

NVIDIA SHIELD ANDROID TV Recovery OS Image 7.2.2 2019/01/15.

I'm returning it
[Shield Android TV General] hardwarechaos:
Hi there,

update to 7.2.3 still seems to work with the patched boot.

What I did (old Shield 16GB):

(Full) Updated already got downloaded.

Pulled the PUBLIC29f09862bca8068d4f457e6027baf3fe.zip from /data/data/com.nvidia.ota/app_download

extracted the zip and found a boot.img

patched like described in 1st post (updated magisk manager while doing that) and pulled the patched_boot to my laptop

Confirmed dialog to install the update

After succesfull install rebooted into bootloader and lashed the patched_boot.

Regards
[Shield Android TV General] I_did_it_just_tmrrow:
Is there a chance to get access to /data/data/com.nvidia.ota/app_download without root :D ?

At the moment I had a non-rooted dev rom 7.2.2 with unlocked bootloader.

It is a 2015 pro shieldTV with 500GB, the P2571.

Greetings by Idijt
[Shield Android TV General] sash11:
Nope. You have to be rooted in order to have access to /data partition. Hopefully Nvidia will provide recovery images for 7.2.3 build soon. Then you can patch your own boot.img.
[Shield Android TV General] I_did_it_just_tmrrow:
Wuhuuuu!

This was really fast by nvidia, or?

Here you can get the image with an developer acc:

https://developer.nvidia.com/gameworksdownload

Greetings by Idijt
[Shield Android TV General] illalliance:
I'm trying to follow the same steps but magisk keeps telling me "unable to unpack boot image". I have extracted

the zip from "data/data/com.nvidia.ota/app_download" into my downloads folder, yet I'm noticing the boot.img is named "boot.img.p". Why is there a ".p" in there? I guess I'm just waiting for Nvidia to post the new image so I can grab it there, I'm just not sure what I'm doing different. :/
[Shield Android TV General] sash11:
Look at the post above yours. Images are already posted)
[Shield Android TV General] illalliance:
Maybe I'm the only one not seeing 7.2.3 listed, I'm logged in with my developers account but the last shield TV image I see is 7.2.2
[Shield Android TV General] arifnihat:
Is there any full guide to root Nvidia Shield (2017) software 7.2.2 or 7.2.3 ?
[Shield Android TV General] illalliance:
Yes you're in the right spot. Follow the step by step instructions provided in the original post.