yashsingh1/xdaforums huggingface dataset:
[Shield Android TV General] elliwigy:
good to know! this is my only device i can use magisk lol.. so im not too familiar with it.. most my devices r bl locked and/or use system root
[Shield Android TV General] mLgz0rn:
Yeah, I guess it's a way to make apps less likely to detect if you have root or not :p So it makes sense.

I'm just gonna leave MagiskHide disabled since I don't use any apps anyways on my shield that has issues with root.
[Shield Android TV General] bonisaw:
Hmm I don't want to everytime that there's an update to take the box out and connect to my PC.

I see the filename of the OTA contains a hash to itself, as in:

u0_a105@unknown:/data/data/com.nvidia.ota/app_download # md5sum PUBLICe8f469c5f07f62ef251dc997871e963b.zip
e8f469c5f07f62ef251dc997871e963b PUBLICe8f469c5f07f62ef251dc997871e963b.zip
u0_a105@unknown:/data/data/com.nvidia.ota/app_download #

What if I take the OTA to my PC, grab the boot, upload to the Shield, patch it using magisk, grab it to my PC, replace the original boot.img in the zip file and change the filename with the new hash, so I can just flash it directly without using adb on PC and fastboot?

Has anyone tried that? If not, I will.
[Shield Android TV General] sash11:
Do try and let us know.
[Shield Android TV General] bonisaw:
No dice.

It downloads and checks file integrity (probably just a md5sum comparing with the hash on filename), but when you try to install, it does it again.

So 2 things can happen:

1. If you change the filename, it will not find the file it downloaded as OTA and will try to download it again.

2. If you create a symlink to fake the filename, since it will be pointing to the changed file, the md5sum result will fail.

My guess is that the shield checks for updates on an external server and gets the filename from there, so if you upload your own to the OTA dir it will just ignore it as it is not what it expects as an update.

If it gets this data from an external server and it has the filename, the hash is in the filename, so anything different from that for that version will not pass the md5sum.

I haven't installed TWRP so I cannot do it via recovery, only the built-in upgrade tool.

Here I go grabbing my shield with power adapter again...
[Shield Android TV General] arifnihat:
Thank you. It worked!
[Shield Android TV General] mLgz0rn:
I also found out that you could just disable magiskhide in magisk, reboot and then adb root would work :p
[Shield Android TV General] mytunes:
Nevermind, I figured it out :)

Thank you OP!
[Shield Android TV General] Ghisy:
Hi,

I just ordered a Shield TV 2017 and I read the whole thread.

Just making sure: the OP guide is still valid to root 7.2.3 dev? Right [MENTION=3373302]ACiDxCHRiST[/MENTION]?

Thanks.
[Shield Android TV General] ACiDxCHRiST:
I am on v7.2.3 using the methods in the OP. Be aware though, as has been mentioned in this thread, this is only good enough for Magisk root and Magisk Modules. There are certain things that you may want/need to do that will require an additional step of flashing a modified DTBO. As my needs do not include any of those things, I didn't provide links or instructions.
[Shield Android TV General] Ghisy:
I'm not sure what a modified DTBO is? Do you have a link or guide to flash the additional file please?
[Shield Android TV General] elliwigy:
i personal disable dm verity with adb as well as disable forve encrypt and havent had any issues..

dtb = device tree blob

has to do with mounts and verity n other stuff.. i believe the dtbo is in its own partition on the shield so when you patch the boot.img with magisk it doesnt patch the dtbo? i could be wrong lol

long story short i didnt use any special dtbo and can remove system apps, modify build prop etc etc just fine.. ull b alright unless u plan to do some crazy modding lol
[Shield Android TV General] unsatgoua:
2015 16gb Nvidia Shield 7.2.3 Upgrade and Root Walkthrough:

https://xdaforums.com/shield-tv/general/2015-16gb-nvidia-shield-7-2-3-upgrade-t3921138
[Shield Android TV General] Ghisy:
Thanks for your reply!

Oh but I thought Magisk took care of that through Magisk Manager?
[Shield Android TV General] elliwigy:
it can lol.. i do things my way sometimes.. when u start off ull have adb root on eng firmware so just habit of mine to adb root then adb disable-verity right off the bat
[Shield Android TV General] cHECKjAM:
Hi,

Sorry Im a bit newb..

I have just bought a totally new shield 2017 device today and I want to root it and put it on its own VLAN to avoid internet access.

But to root it I need to enable developer settings but to get to them I have to login to the device - and to login it seems I need to login with a google account.

Does anyone know a way to avoid linking it to any google account and just root it directly..?
[Shield Android TV General] cHECKjAM:
Hi,

I did everything correct so far I belivie.

When on the step when first logged in to the bootloader to unlock the bootloader, I dont see this option, just the reboot and continue etc.. no unlock bootloader.

"
[Shield Android TV General] Sinykk:
Question, I want to mount one of my NFS folders on my NAS into the Nvidia Shield filesystem so I can move some apps over to that folder.

I found a guide on the Nvidia forums on how to mount a network share into the filesystem, though it's from 2015. It requires rooting, supersu, and busybox, and cifsmanager. I'm wondering if rooting using the method mentioned in this thread will allow me to accomplish this goal.
[Shield Android TV General] vanzan:
I unlocked the bootloader of my 2015 500GB Pro a few years back. I think I re-locked it because it was interfering with system updates (my memory is hazy). Anyway is it possible to unlock the bootloader again and if so would it still wipe all my data? Losing my data after all this time would make me cry.
[Shield Android TV General] mLgz0rn:
Yes, unlocking the bootloader will factory restore the device.
[Shield Android TV General] vanzan:
Damn.. looks like I'm staying unrooted then.
[Shield Android TV General] Sinykk:
No way for you to back up your data?
[Shield Android TV General] vanzan:
Yeah I was just googling that....if you can recommend something it'd save me an hour of my life.
[Shield Android TV General] Sinykk:
What kind of data are we talking about? login info? apps? or more like pictures and videos?
[Shield Android TV General] vanzan:
apps...Kodi, RetroArch, Android games and lots of emulators and their configurations. No pictures, videos or media files. All my ROMs are on external storage
[Shield Android TV General] Sinykk:
You'll have to back up manually.

I know for kodi, the folders in

Android/data/org.xbmc.kodi/files/.kodi/

As for retroarch, im sure you want to save your cores and stuff, but unfortunately I don't know how to back that up
[Shield Android TV General] vanzan:
Well I unlocked the bootloader on a new 2017 Shield. I installed the latest Magisk Manager but when I open it I see nothing about "preserve dm verify". I selected "install" and "patch boot image" but again I didn't see anything about preserve avb2.0 so I hope I can proceed to flashing the patched boot.img.
[Shield Android TV General] textbook:
Is it possible to install xposed on a rooted nvidia shield?
[Shield Android TV General] vanzan:
Never mind.
[Shield Android TV General] vanzan:
Never mind this too (wish I had the option to delete posts).
[Shield Android TV General] sebby64:
after root with this method and updated magisk to v19 on start, i can't patch android os with lucky patcher (8.5.1) to get InAppPurchase emulation etc... after click apply patch the shield is resetted and nothing is changed. i try off magisk core but don't help me with mi issue :/ any ideas ?
[Shield Android TV General] elliwigy:
yea, pay for ur apps.

also not good to talk about lp to get around purchasing apps

as u are basically trying to steal from hard working devs.
[Shield Android TV General] sebby64:
You're right. It's only one from much more funcionality of LP... (used not signed apss etc...), Your reply don't resolve my issue... maybe You have any ideas to fix that...
[Shield Android TV General] elliwigy:
no, i wont help you pirate your way through life lol i can say however that i know it works using 19.4 magisk on a n960u
[Shield Android TV General] ldeveraux:
Bottom line is users aren't allowed to discuss that app on XDA. Edit it out and you might get some help.
[Shield Android TV General] cohomology:
Tried to root the 2015 16GB but failed. I am on experience 7.2.3. Followed the guide with no issue. The shield would boot fine but freezes just 2 seconds after full boot. In a few minutes it would reboot itself but this time it would never boot up fully and I would have to unplug the power cord. Has anyone rooted 7.2.3 yet?
[Shield Android TV General] elliwigy:
i find it easier to use the dev builds as they have adb root out the box.. but yes, ive been rooted since the version released..

i find it easiest just to patch the boot.img with magisk then flash it using fastboot.. it was that simple for me
[Shield Android TV General] elliwigy:
been gettin kinda bored lately so i might mess with shield this weekend.. maybe build a pre rooted rom.. i have built aosp in the past but i hate it on shield lol.. regular ui on a tv box sucks imo lol
[Shield Android TV General] pop4xda:
Pre rooted rom would be great. Please share it in here.

I'm still on v.7.2 with twrp. I don't know if there is twrp working yet on the latest rom. Since I do not have Windows pc around anymore so normal update is not an option for me.
[Shield Android TV General] elliwigy:
i havent made anything yet so wont b too quick lol.. and i assume that means u dont have a linux pc either lol.. twrp just seems more of a pain to deal with than usb for me.. my stv doesnt leave my room nor does my laptop
[Shield Android TV General] Laney88:
additional steps required for me

while i was rooted, and adb root worked, adb remount did not worked so I had to do this: "adb disable-verity" and then "adb reboot" and then I had to do adb remount and it worked

(i think i did adb root and then adb disable-verity and then adb reboot (and then adb root and adb remount which worked) or adb devices adb disable-verity and then adb reboot and then the rest which worked) - don't remember which

does anyone know now that I did what i needed with adb remount i should re-nable verity?
[Shield Android TV General] md1032:
Hey there! First of all thank you for this guide! I can use the 7.2.3 Developer Only OS Image with this guide to root my shield tv 2017, right?

Also i don't have a "Male-to-Male USB Type A cable", can i use a male usb-A to usb-C to connect it to my laptop (it has usb-c)?
[Shield Android TV General] Laney88:
Most likely that won't work I already tried that way of connecting.

Yes I believe you can - at least I used that myself - I also downloaded the updated magisk as well
[Shield Android TV General] vanzan:
I got a notification for Shield Experience 8.0. So how do I update without losing root? Just do the same steps as in the first post again?
[Shield Android TV General] sash11:
Just upgrade then root again.

Here is full OTA image I pulled from my 2017 Shield

PUBLICcfe24ceb1a4cea131094d6423817049b.zip

Here is patched boot.img with Magisk 19.3

patched_boot_42.img

UPD. Apparently patched boot.img does not work as expected. After flashing from fastboot with command:

fastboot flash boot patched_boot.img and rebooting, system is stuck at NVIDIA logo. So there must be something else that needs to be done...
[Shield Android TV General] DumbKing@letthemeatspam:
Oh no. Does rooting not work on Shield v8?
[Shield Android TV General] xabier-bo:
It seems it doesn't.

And we don't have a TWRP for Pie in SATV yet
[Shield Android TV General] jeffshead:
SON OF A B....

I had power outage last night and my Shield updated itself to v8 when I powered it on! I did not select "YES" or "OK" or whatever. It just started updating and Auto-Update is disabled!!! Has anyone else ever had their rooted Shield update itself?

So now I don't have root and the stupid Android TV Home app is the default launcher, again :( My thrid-party launcher is no longer the default for Home and clearing "default" from the stock Android TV Home app doesn't do anything.
[Shield Android TV General] Derimagia:
The file for the 8.0.0 developer image was uploaded: https://developer.nvidia.com/rdp/assets/nv-recovery-image-shield-atv-8.0.0-2017-dev_rooted: (For SHIELD TV 2017, Still need the login)

I found this by just changing the URL to 8.0.0. They'll probably post it on the list soon but this could be useful to people.

Like others though, I was unable to install a magisk-patched boot img on it and was stuck on the NVIDIA logo.
[Shield Android TV General] elliwigy:
yea, im waiting for the full firmware images.. the files they provide are patches in the ota except the boot.img.. i tried for a few hours as well with no luck
[Shield Android TV General] mLgz0rn:
That is not the developer image, but the recovery image for the ota one :)

This is the dev image for 7.2.3

https://developer.nvidia.com/rdp/assets/nv-recovery-image-shield-atv-7.2.3-2017-dev_rooted

So this would be the one for 8.0.0

https://developer.nvidia.com/rdp/assets/nv-recovery-image-shield-atv-8.0.0-2017-dev_rooted
[Shield Android TV General] Derimagia:
Whoops - thanks! I went back to get the link and I copied the wrong one.
[Shield Android TV General] sash11:
Who wants to get the latest hotfix update needs to sign up for it here:

https://forums.geforce.com/default/...v/shield-experience-upgrade-8-0-hotfix-image/
[Shield Android TV General] jeffshead:
My box updated itself from 7.2.2 to 8.0.0 when it powered up after a power outage. I had auto-update disabled but it did it anyway so I lost root.

Has anyone verified if this 8.0.0 Dev image can be rooted with Magisk or does the magisk-patched boot image also cause this version to hang at the NVIDIA logo?
[Shield Android TV General] devynel:
Nope. Hangs on BOTH my 2017 Shields with the Dev image 8.0.0. :(
[Shield Android TV General] simonk206:
Still bootloop with dev image.

And topjohnwu wants to tell me that it's caused by a incompatible module. But I flashed 8.0.0 Dev image clean...
[Shield Android TV General] DJRamse:
hello everyone..

Did i read it right? root not works on Experiments 8,0?

I have the Nvidia shild TV 2015
[Shield Android TV General] simonk206:
Yes don't work for now with pie
[Shield Android TV General] DJRamse:
Thanks for answer... ;)
[Shield Android TV General] elliwigy:
Hmm... I'll mess with it tonight some.. now that the dev omg is there.. maybe I can install root via other means since magisk patched isn't booting
[Shield Android TV General] Roamin64:
I'm in the same boat! They forced updated my shield and now I lost root , and boot loop when trying patched boot.img. Hopefully we won't have to wait to regain root. Once I do I'm going to look into blocking updates at a higher level because I really don't like to be forced to update.
[Shield Android TV General] devynel:
My 15yo thought he'd be helpful and update my shield. I could cry as I'd had Plex linking to my GDrive for all my films.
[Shield Android TV General] garnmeister:
Just a quick note for people who have problems with fastboot USB connection.

I was running fine and suddenly getting this problem. It turns out the Shield was running HOT!

I popped it in the fridge for 5 minutes and tried again and it worked perfectly ;)
[Shield Android TV General] allidea:
Well I'm stuck at NVIDA boot logo too ...

Going to follow https://nvidia.custhelp.com/app/answers/detail/a_id/4052/related/1 ...
[Shield Android TV General] Roamin64:
It would be wise that before you flash a boot.img , that you have tested it first. You can use the "boot" command instead of "flash" to try and boot with the modification, and if successful, then you flash it. I've actually never bothered flashing the modded boot.img , always just booted it, let magisk get root and reboot to stock boot.img. Next time type this instead :

fastboot boot boot.img
[Shield Android TV General] allidea:
Thanks. But I've just followed instructions on first page ... As I've said I'm NVIDIA n00b and need time to get it know better ... Anyway thanks for your advice will definitely do that next time.

But what actually bothers me if to go with instructions at https://nvidia.custhelp.com/app/answers/detail/a_id/4052/related/1 since I have flashed patched boot.img or simply flash-all.bat with original boot.img?

Really don't want to soft brick it.
[Shield Android TV General] xabier-bo:
Have you just tried to flash again only stock boot.img?

PS. Don't see the need for a factory reset
[Shield Android TV General] allidea:
No, haven't tried anything yet ... but factory reset seems unnecessary to me too ...

Will try flashing only stock/unmodded boot.img.

Another thing ... is it possible to revert from Oreo to Nougat or not? I'd really like to have ShieldTV (2017) rooted ...
[Shield Android TV General] xabier-bo:
I would try flashing stock boot.

I've never had a problem with that on Nvidia.

If not, flash all (but checking that the script doesn't include flashing userdata, or update '-u").

Not sure about downgrading from Oreo to Nougat, but at least from Pie, it must be done carefully.

I wouldn't encourage you to downgrade, but maybe you have a good reason to do so...
[Shield Android TV General] sash11:
You can flash latest 7.2.3 recovery image in order to downgrade to Nougat. No issues there.
[Shield Android TV General] allidea:
Flashing original/stock boot.img helped. Thanks everyone for tips.

Just to make sure I'll do it properly - I need to flash over https://developer.nvidia.com/rdp/assets/nv-recovery-image-shield-atv-7.2.3.zip or can just flash nv-recovery-image-shield-atv-7.2.3-dev_rooted and then repeat steps from 1st post? Thanks.
[Shield Android TV General] sash11:
You just need to flash non developer recovery image from the first url. If you need root, you can patch stock boot.img with Magisk manager and flash it through fastboot.
[Shield Android TV General] allidea:
Thanks for your help.

Just out of curiosity, if you don't mind and perhaps know the answer (even you're not the author of initial post) - why is then developer/rooted image mentioned in the first post?

Maybe it wouldn't be a bad idea to make an updated tutorial with few things mentioned I've learned so far from you all (for n00bs like me or people with not that much experience but who still know what they want/need):

fastboot boot boot.img instead of fastboot flash boot boot.img

Fixing boot problems by flashing stock boot.img

Downgrading Oreo to Nougat is still possible

Maybe even I'll do it when I get my ShieldTV rooted with 7.2.3. ...
[Shield Android TV General] allidea:
Unfortunately, flashing nv-recovery-image-shield-atv-7.2.3.zip brings Shield TV into boot-loop so it doesn't work ...

I'll try with nv-recovery-image-shield-atv-7.2.3-dev_rooted.zip and see if it can boot up ...

1st update:

It booted but when I got to Developer options I get message "Developer options are not available for this user".

At the same time Shield TV is not recognized on PC when attached to it...

I guess this is to prevent downgrading or I messed something up ...

Maybe following https://nvidia.custhelp.com/app/answers/detail/a_id/4052/related/1 and wiping data/factory reset could help?

2nd update:

Found Magisk Manager was still installed after downgrading from Oreo to Nougat ... therefore it really might help to make wipe data/factory reset.

Since MM was installed I managed to patch boot.img from nv-recovery-image-shield-atv-7.2.3-dev_rooted.zip with it via USB drive. What bothers me is that option "Preserve AVB 2.0/dm-verity" in MM was not checked (I've checked it) but during flashing process MM reported boot.img to be protected with AVB 1.0 ....

Any experiences/ideas how to bypass this? No matter how much I'd like to have rooted Shield TV I'd rather have a functional than bricked one ...
[Shield Android TV General] sash11:
[/COLOR]

Do factory reset first, then flash stock recovery image for 7.2.3 build. If you need root flash patched boot.img.
[Shield Android TV General] allidea:
Did a factory reset from Settings (no need to do this from bootloader / recovery kernel) and this fixed issue with access to developer options.

Afterwards I just installed MM and flashed boot.img (regardless of your advice I took one from nv-recovery-image-shield-atv-7.2.3-dev_rooted.zip not nv-recovery-image-shield-atv-7.2.3.zip)

And it worked - so downgrading from Oreo Pie (Experience Upgrade 8.0.0) to Nougat Oreo (Experience Upgrade 7.2.3) is definitely possible and working.

Also it seems I've mixed things up ...

Experience Upgrade 7.2.3 - Oreo (thought it was Nougat)

Experience Upgrade 8.0.0 - Pie (thought it was Oreo)

Now, next step - Installing Xposed Framework. I've came across someone's experience to be using standard procedure as described in https://xdaforums.com/showthread.php?t=3034811.

For everyone into installing Xposed on ShieldTV this video might be a good thing to start with - https://www.youtube.com/watch?v=5OZ2WJGA4qs Just, keep in mind he is using Experience Upgrade 7.0.2 )in comments you can find 7.1.0 is working as well) and xposed installer v90-beta1 , not latest beta3!
[Shield Android TV General] xabier-bo:
OMG!

Well, I've decided to wait with my now :crying: unrooted Pie SATV, but your thorough post has been very interesting (and useful, as I now know why I had some wifi-controller issues after the previous update).

Do you know if you could fastboot later versions without the system upgrade app?

And another question: would magisk-hide system upgrade (not sure if it is possible) had the same effect?

Thanks

xabier
[Shield Android TV General] mLgz0rn:
You mean if you could upgrade to a newer version using fastboot if you decide to downgrade?

If so, then yes.

Recovery images and developer images can be found here https://developer.nvidia.com/gameworksdownload#?tx=$additional,shield

To your second question, I have no idea what you are talking about :p.
[Shield Android TV General] bccsergio:
I guess it can be done... just grab files direct from NVIDIA...

About Magisk Hide, it can hide root from any system app... I deleted System upgrade because when I decide to upgrade, it'll be a manual process, so no need for it... But I don't know if I understood your question... Magisk Hide won't prevent System Upgrade from upgrading the system...

For now, as Pie still don't have an estimative to when root will be available, Oreo if just perfect here, I already got rid of system junkies and thinks are working good...
[Shield Android TV General] mLgz0rn:
You can just use an app like titanium backup or disable application to disable the system upgrade app, no need to uninstall :p
[Shield Android TV General] xabier-bo:
No, but thanks!

As removing system upgrade app was new to me, I was wondering if I could uninstall/freeze it and still continue upgrading new versions via fastboot images.

I guess the answer should be yes, but not sure about it.

---------- Post added at 09:28 PM ---------- Previous post was at 09:21 PM ----------

Ok!

I had several bad experiences after downgrading, and though I know it can be done, I prefer not to, unless

strictly necessary.

I read root is disabled in Pie because of a problem with wifi, but I hope it won't take too long.

Your post is still useful to me, though I wish not to use it! :p
[Shield Android TV General] allidea:
Thank you for excellent post.

Do you perhaps intend to install TWRP?
[Shield Android TV General] bccsergio:
As for now, I don't see a need for TWRP. I have Full Root on Shield Experience 7.2.3, and root for Pie isn't available yet. So no need for TWRP unless a root for Pie arrives and requires TWRP...
[Shield Android TV General] mLgz0rn:
TWRP also needs to be updated before you can even use it.
[Shield Android TV General] allidea:
Thanks. Maybe any experiences with installing Magisk modules? Seems like I'll be needing BusyBox for accessing my NFS shares.
[Shield Android TV General] cubandanger05:
Sideload busybox