yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] Steel01:
After quite a while, I've got some updates about fosters twrp. Someone in the switch scene figured out why usb storage wasn't working and that has now been fixed. I don't know why sd wouldn't work, though. I would have sworn it did. But since I bricked my foster_e_hdd, I can't actually test that anymore...

I'm not going to be posting test or one off builds, though. Last time I did, the mods went off about me violating the gpl (even though I wasn't and even my personal work-in-progress builds are from public sources on cm-shield). But I'm starting the push to update the official twrp builds to these that work on stock 8.x.x and my lineage 16.0 and newer builds. I can't give any solid timeline (welcome to spare time hobbiest work), but I'm hoping to have them released within the month.

re shield 2019 non-pro unlocking: I think it actually can be unlocked without soldering down the usb. I believe the fastboot menu has an option for that. But I'd have to go look again to be certain. But I have soldered down a usb port to mine. You can access fastboot, but that's it. Usb won't come up in recovery or in android. There's an odm bit or something that controls access to that. I know it can work, I've seen it. But I don't know how to trigger such on the consumer devices. Which annoys me to no end.
[Shield Android TV Android Development] Steel01:
Official builds have been updated. 3.5.1_9-0 is built for the latest bootloaders (anything shield experience 7.2.0 or newer should work). And should have working usb storage.
[Shield Android TV Android Development] dk1keith:
Thanks for the update. I'm on 8.2.2 on my Shield 2017 Pro Foster. When I boot this build of TWRP from fastboot I still can't access the sdcard or the USB thumb drive to mount or for backup/restore. I could be possibly doing something wrong but I am just booting TWRP not installing it. Any idea why it isn't recognizing the SD or usb thumb.

thanks
[Shield Android TV Android Development] Steel01:
Really? Meh. The following commit was reported to work. I don't have a booting foster_e_hdd anymore, went and bricked the thing. Probably ought to find a replacement, and maybe a foster_e while I'm at it. I'll try to reverify on a darcy or mdarcy.

Build in usb storage for recovery · LineageOS/android_kernel_nvidia_linux-4.9_kernel_kernel-4.9@7e114ae

Necessary to support flash drives and external hard drives Change-Id: I5a104806974b2dc8be8b0aeb136781de037abe2f

github.com
[Shield Android TV Android Development] dk1keith:
cool. thanks for the reply
[Shield Android TV Android Development] Steel01:
I just tested usb storage with fat32 and ext4, both work as expected. I would note that exfat probably will not work. Nvidia does not license that and thus the kernel does not have the driver.
[Shield Android TV Android Development] dk1keith:
odd...should I try to reformat the USB storage. It was already formatted as fat32. But in TWRP it does not show up as storage. Neither does the sdcard. Also, does it matter which usb port the usb storage is plugged into? Thanks again for the response
[Shield Android TV Android Development] Steel01:
Did some magic resurrection stuff (that somehow actually worked...) on my foster_e_hdd and got it booting again. Popped in a ext4 formatted sd card and it automounted on boot.

I can't pretend to know what's up with your card and drive. Maybe on a desktop or laptop, check what partition type is used. I've got an old flash drive that has one partition and is formatted fat32. And a sdcard with one partition and is formatted ext4. Both work for me. So yeah, if you don't have anything important on the drives, reformat them. And iiuc, windows doesn't want to let any external storage be formatted with anything other than exfat these days. Though, I don't use windows, so I can't check that myself.

On foster_e and foster_e_hdd (the 2015 models), the usb port does not matter. On darcy (the 2017 model) and mdarcy (the 2019 model), it does matter. One of the host ports gets put in client mode for use with adb.
[Shield Android TV Android Development] dk1keith:
Yeah checked the usb drive format it's fat32. Tried a different usb thumb drive and formated fat32. Same thing. Not showing up as storage in TWRP. Tried both drives in both USB ports on shield and still not showing as storage in TWRP. the SD card in the shield has been attached almost since I got the 2017 shield pro and it isn't seen in TWRP either. Just want to get back to making TWRP backups so I can tinker with shield a little more...lol
[Shield Android TV Android Development] Steel01:
Fwiw, there really is no '2017 shield pro'. The 500 gb sata model from 2015 was re-released as is in 2017, just bundled with the newer controller. Nvidia's marketing made that rather confusing. The emmc model in 2017 was actually new hardware. And now the new 'pro' model is on par with the previous standard model...

But hang on. When you say the sd has been 'attached', are you using it as adopted storage? That is a case I haven't done any testing of.

For the usb, I really have no idea. I'm testing with 3.5.1_9-0. The sha256 sum as posted on twrp.me and verified for my copy is:

583f4ec3e679c647d71125712009918c0bed9efe184eaff185971e0baed4a60b twrp-3.5.1_9-0-foster.img

I'm pretty much out of ideas, so just verifying all the things. I can go to 'mount', poke usb and my fat32 drive mounts just fine.
[Shield Android TV Android Development] dk1keith:
Yeah the sd is just used for storage of mostly Backups and such...not used as adopted storage since there is the 500 gig drive in the shield. I have replaced internal shield drive with a 500 gig ssd. Not sure that should make a difference tho. I will check the TWRP version I downloaded just to rule that out. May try another USB. TWRP used to work flawlessly for backup and restore. I'll have to keep digging to see what's going on. Thanks again for the help.
[Shield Android TV Android Development] Gtxr23:
Thank you so much for this detailed guide today was my first attempt at rooting anything so i thought i'd give it a go on my Shield 2019 pro and hey presto, your guide was down to the tee on detail so great work on that. I Also thought id push my luck and try your method on 8.2.2 and to my disbelief it worked so i just thought id give some of people that were unaware of this the heads up.

i used this image -

NVIDIA SHIELD ANDROID TV 2019 Pro Recovery OS Image 8.2.2

with the vbmeta_skip.img file from - nv-recovery-image-shield-atv-pro-2019-8.1.0-dev-rooted.zip

and used "fastboot BOOT" method with this version of- twrp-3.5.1_9-0-20210320-UNOFFICIAL-mdarcy-avb2.img

and installed magisk 22 through twrp as a custom recovery option and followed everything else by the guide given

anyway i hope this helps some people as it did me.

1 last question as i am a first time rooter here. i read, and saw for myself that an unlocked bootloader limits some features on the shield. then read that if you lock it again you get those features back, anyway if i locked the bootloader after rooting would i lose the root? or is it possible to lock the bootloader with root still intact.

Thanks In Advance
[Shield Android TV Android Development] Steel01:
Don't use any twrp builds off afh anymore. Am I going to have to delete those to get people to use the official release now? ><

That one labelled mdarcy-avb2 was never linked anywhere except as part of a bug report to Nvidia bootloader engineers. It's not meant to actually be used anywhere...
[Shield Android TV Android Development] Steel01:
The OP has been updated with separate links for foster (2015/2017 models) and mdarcy (2019 models). The issue causing mdarcy and sif to fail to boot recovery when flashed has been fixed, but it unfortunately required splitting the builds away from foster. Official builds have been run and are now available.
[Shield Android TV Android Development] KokkoM:
Yes. Working fine installed on Shield Pro 2019.
[Shield Android TV Android Development] danieloox:
okay there is twrp for 2019 it requires root to install. Can someone explain to me how I can root 2019 today?

or should i install it via fastboot and then root?
[Shield Android TV Android Development] Hitti2:
This work for you ppl?

Download TWRP for mdarcy

Download TWRP Open Recovery for mdarcy

dl.twrp.me

It doesnt load the webpage
[Shield Android TV Android Development] KokkoM:
NVidia Shield Android TV 2019

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me
[Shield Android TV Android Development] Hitti2:
Yup and inside this link is darcy download link which is down.

Download TWRP for mdarcy

Download TWRP Open Recovery for mdarcy

dl.twrp.me
[Shield Android TV Android Development] Adromir:
Works now at least for me
[Shield Android TV Android Development] dk1keith:
Still can't get TWRP to recognize a usb thumb or sdcard. Tried formatting ext4 fat32 exfat for both usb and sdcard but neither is seen by TWRP. I am booting TWRP from fastboot not installing it. Might this be why no external device is seen in the recovery? Tried different usb and sdcard but no luck.
[Shield Android TV Android Development] Neuken6969:
I do not have an A+B buttons on my remote. I am not even sure what device I have. Shield tv (tube) 8gb. I want root but am currently lost where to go.
[Shield Android TV Android Development] zionad:
This is the one Shield that I have: https://www.nvidia.com/en-us/shield/specs/

Does anyone know which year/model that is considered, for the purpose of flashing the rom?
[Shield Android TV Android Development] elliwigy:
i dont think a method exists for the 2019 nstv (tube) since theres no way to plug in a usb to pc without hardware modifications..
[Shield Android TV Android Development] Neuken6969:
@elliwigy amazing to see you all over xda. Thank you for the reply, much appreciated. Going to have to buy what I should have the first time.
[Shield Android TV Android Development] Rey3000:
hi, I rooted the NVS Pro 2019. I used image 8.2.2 and vbmeta_skip from 8.1.0.

Worked fine, Magsikhide showed up under settings and it passed the safetynet test.

However, I let it upgrade to 8.2.3 and now there is no more Magiskhide under settings and it's not passing the safetynet test.

What can I do? thank you!!
[Shield Android TV Android Development] justwantrootonce:
ok i have followed these steps but a few things are not happening quite the way you say they will:

1) adb install -g magisk.apk--- i get no directory found, so i have to take out the individual apk file out of the zip file and put it directly on my cmd folder, then it works, is this right?

2) after telling magisk to continue set up, you say it gets stuck on the android logo,,,,, mine didn't get stuck, it just loaded like normal.... why?

The thing is, adb shell, su seems to work, shell gets granted, so is this good enough am i rooted? whats a way to be sure that i am rooted once i am at the home screen?

Yes i am noob
[Shield Android TV Android Development] justwantrootonce:
ok just found out that some of this stuff doesn't seem to be needed

that resetprop stuff i didn't do at all, i downloaded droidmote(root acces required, opened it and pop asked to grant su and i did so i don't understand why because i'll restart shield, let it just boot, at homescreen, do adb shell, su.... thats it
[Shield Android TV Android Development] MuadDib6:
I believe this is why

Magisk is dropping support for hiding root access from apps

Magisk, the popular Android rooting tool, will continue to be developed by topjohnwu, but without its root hiding feature called MagiskHide.

www.xda-developers.com
[Shield Android TV Android Development] C-Rooted:
Question:

https://www.reddit.com/r/nvidiashield/comments/ptpd7n/install_twrp_by_modifying_the_developer/

Would it be possible to modify the nv-recovery-image-sheild-2019-atv-x.x.x.zip from the nvidia devs website to install TWRP on the Nvidia Shield 2019 (Tube) to get around not having a usb port for fastboot.

Also if it works control TWRP using remote that came with my samsung tv using CEC or plug in a keyboard/mouse to the tv.

Asked this question on reddit got no reply.

Has anything like this method been attempted?
[Shield Android TV Android Development] Adromir:
I am trying to install the latest TWRP on my shield but I cant make it work. I can boot to it but when I install it with

fastboot flash recovery twrp-3.5.2_9-0-foster.img

it doesnt install. When I boot to recovery, i always shows the nvidia recovery
[Shield Android TV Android Development] Adromir:
Somehow I am not able to install TWRP on my Shield 2017 when I boot into it with

fastboot boot twrp-3.5.2_9-0-foster.img

it boots into it, but the screen flickers. When i try to flash it via

fastboot flash recovery twrp-3.5.2_9-0-foster.img

and reboot to recovery it always shows the nvidia recovery

The LineageOS Recovery seems to work though
[Shield Android TV Android Development] Zer0_rulz:
this guide will work on nvidia shield tv pro 2017?

sorry for a newbie question but i cant find answer to my question, ty
[Shield Android TV Android Development] Shamoth:
What is wrong with twrp-3.6.0_9-0-foster.img ?

twrp-3.5.2_9-0-foster.img works fine, can access and format memory/data while twrp-3.6.0_9-0-foster.img have no access to it.
[Shield Android TV Android Development] masset12:
Hi,

I have mdarcy running 9.0.0 (android 11)

I debloated the rom and have set it up with no google account.

Twrp, Magisk, Afwall, MicroG, Adaway and Vpn fully working

I made a Twrp Backup as usual (with no error) but I can't have the shield booting after restoring it.

I have tried with several backups, I can restore them fine on 8.2.3 but on 9.0.0, the shield bootloop after the nvidia logo.

I also tried different ways of restoring : after just a factory reset, after a full wipe, after format data and even dirty restore without wiping anything.

I tried to fastboot flash mdarcy.dtb + vbmeta_skip after resrtoring but didn't help.

Does someone know what I should do to make my shield booting after restoring my Twrp backup ?

(I'm using twrp-3.6.0_9-0-mdarcy)

Many thanks for help :)

Edit : I figured out I have to restore everything but Sytem and System Image in Twrp, then reboot bootloader, fastboot flash system.img + mdarcydtb.img + vbmeta_skip.img then reboot

(just have to debloat/remove google crap once again)
[Shield Android TV Android Development] Steel01:
The first 3.6.0 build had build system issues. Those have been resolved and foster has been re-built. Should be good now.
[Shield Android TV Android Development] mrhamed:
Thank you for sharing your experience, I have some questions:

- which vbmeta_skip.img file? as I know the v9.0.0 does not contains "vbmeta_skip.img" file, right? can you share file here please?

- how debloat/remove google on v9.0.0? can you explain detail more? can you skip google sign in? ( I tried by modifying build.prop but not success )

- how install Magisk? I install Magisk and device no boot! did you flash "vbmeta_skip.img" file?

- how install microg? I install microg magisk module on LineageOS 17 but I encountered black screen!

- also I install official microG release: https://download.lineage.microg.org/mdarcy/lineage-17.1-20220110-microG-mdarcy.zip but I encountered black screen too!
[Shield Android TV Android Development] madmacc:
HI Guys , I would like to install twrp recovery, I have a 2017 Shield 16gb, with this boot loader currently,

What version twrp should I use: shield model P2897
[Shield Android TV Android Development] rchris494:
i use twrp-3.6.1_9-0-foster.img for experience 9.0. i don't install it. no real reason to. i just fastboot boot twrp-3.6.1_9-0-foster.img then do what i need to do. then reboot my nvidia 2017 16gb. if your looking to root. magisk 24.3.apk works just fine. i boot twrp set it to sideload then adb sideload magisk.zip i renamed the .apk to .zip but you don't really need to. i am using the developer image from nvidia. i use to install twrp on all my devices but you can do everything you need to do just by booting it. so i stopped trying to install it. then getting caught into a bootloop, no boot or twrp just wont stay as recovery.
[Shield Android TV Android Development] madmacc:
Thanks guys, will give it a try
[Shield Android TV Android Development] Hitti2:
hi guys, i am following this guide

https://xdaforums.com/t/root-nvidia-shield-tv-pro-2019-version.4369707/

I cant get twrp to stick, nvidia recovery keeps over writing twrp, nvidia shield tv pro 2019.
[Shield Android TV Android Development] jfromeo:
Any workaround for the 2019 non-pro (tube) version? I cannot fastboot without an usb port. Could a BT remote do the trick?
[Shield Android TV Android Development] ivanovjohn2018:
hi, what is the working recovery on android 11?
[Shield Android TV Android Development] Steel01:
I'm still working on Lineage and haven't got back to this yet. Kinda got bumped to a lower priority since there's something available that works. And the current official twrp works for me after updating my pro. So, the only thing the unofficial one needs used for is the new emmc model. Official should work as is for everything else.
[Shield Android TV Android Development] dontbeweakvato:
can 2017 16gb version be flashed or only booted?
[Shield Android TV Android Development] siriusblack1979:
Hi

Got the shield 16gb 2015 running nougat

i unlocked my bootlocker

wen i try to install twrp saids its done

but reboots to shield instead of twrp

can someone please advice me

Thanks
[Shield Android TV Android Development] dontbeweakvato:
That's because you can't flash the twrp image. It can only be booted. When you try to flash twrp after it boots the partition is repaired because of an A B partition design...... I think.

That's why under all the twrp release threads it'll instruct to boot twrp and doesn't say flash twrp
[Shield Android TV Android Development] Ichijoe:
That would only be true of the '17 Model. If the '17 model had the a/b System. But, those with the '17 Model have already posted that the '17 Models do NOT have the a/b System.

In any case this would NOT be an issue on the '15 Model. As it never had an a/b System. I'm not sure what Ops problem is but, if he wanted to install TRWP as the Recovery, and there are reasons why you might want to. You would do this by

fastboot flash recovery <TWRP.img>

And that will overwrite the recovery with TWRP. Which has caused problems for me down the line, when the Updates land. And, were unable to complete since the original Recovery was removed. So the best option is to only use.

fastboot boot recovery <TWRP.img>

Which only loads the TWRP into RAM, alas the problem I spoke of is when you are stuck on a 2160p Panel, and lapsing TWRP this way cause the Display to go outta range, and give you a Black Screen.

So the only option outside of finding another 1080p (or lower) Panel to load it up on. Is to install it. And to load it up is to put the Device into Fastboot Mode. And then load the Recovery via the OSD Options.
[Shield Android TV Android Development] donthateme702:
[MENTION=1416222]Steel01[/MENTION] whats the difference between Darcy and Foster. Mine tells me its Darcy so will Twrp still work for me even though the version from your site says Foster?
[Shield Android TV Android Development] Steel01:
Darcy is the new emmc model that was released earlier this year. Foster refers to the old emmc model and both data models (no difference there, really). But yes, it'll work on yours. I built in support for all models. If you run into any trouble, there's an unofficial release here on XDA that will work. I still haven't had time to finish cleaning up and updating everything for the official one yet.
[Shield Android TV Android Development] donthateme702:
this where i sit,so where do i go from here. when i reboot recovery this shows up,and that stupid yellow warning about unlocked bootloader.And i just flashed the unofficial twrp 2.8.6.0
[Shield Android TV Android Development] donthateme702:
[MENTION=1416222]Steel01[/MENTION],so i'm on version 7.0 Shield Android TV SW 5.1. Is it true i can't root with this version? If so now i see why all my problems but just want someone to verify or tell me if there is a work a round?
[Shield Android TV Android Development] edjanx:
5.2 preview won't install - reboots to TWRP screen

Hello. I can't upgrade to the new 5.2 preview, as after clicking the 'Restart & Install', it begins the process, gets to about 18% then the Shield TV (2017 500G) reboots into the TWRP screen. When I restart the device, it's back to 5.1. Will I have to uninstall TWRP, and if so, do I loose root and/or data? Any advice is appreciated.

Janx
[Shield Android TV Android Development] donthateme702:
[MENTION=1416222]Steel01[/MENTION], i can't get my shield rooted for the life of me and it won't flash TWRP. I'm on version 7.0 and i have never had this problem rooting any android device. When i try to flash TWRP it says image not available and i have it in my Adb folder like it should be.
[Shield Android TV Android Development] zulu99:
After the 5.2 update on SATV 16GB 2017, TWRP not work anymore. Instesd on 2015 model 5.2 TWRP work as always.

[MENTION=1416222]Steel01[/MENTION] Can you confirm ?
[Shield Android TV Android Development] darkuni:
Hacked Darby still works. Confirmed it today.

http://nvidiashieldzone.com/shield-...rial-root-shield-android-tv-2017-16gb-nougat/
[Shield Android TV Android Development] zulu99:
yes is just the official twrp that not work on 2017 models.

Also the Unofficial version work on 2017 models https://xdaforums.com/shield-tv/development/recovery-twrp-shield-android-tv-2017-t3545544

i'm testing full android based on 5.2 update now.

thanks for the answer.
[Shield Android TV Android Development] Ichijoe:
Any word on if the 4k (3840x2160p), at 4k (3480x2160p), Black Screen Bug has been fixed yet?! So far the 'Fix' has been to use a 1920x1080p Panel. Alas in a One Television Home (Which is a nice 4k'er). This fix is in a word unhelpful.
[Shield Android TV Android Development] Steel01:
It's still on list of thing to do to get official twrp back on par. Roth was also broke, and I ended up using my free time last weekend to work on that. Still trying to get lineage 14.1 for the tablet pushed official, etc, etc. And no where near enough spare time to keep up with all of it. I'll get to it sometime, just can't make any guarantees to when.

I picked up a couple 4k monitors to look into that problem. Unfortunately they work fine as is, so I still can't reproduce that problem to work on it. :( I dunno what I can do now.
[Shield Android TV Android Development] darkuni:
Hey man, we appreciate the hard work!
[Shield Android TV Android Development] Ichijoe:
Just out of interest do those Monitors default to 3480x2160p, and do they both have full HDMI 2.0 / HDCP 2.2 compliance? I could only suspect that they're dropping back to 1080p. Which makes me now wonder if some of these Chips inside these 4k Sets have even have a working EDID to switch back modes? As my TV always defaults to 3480x2160 unless the Source (e.g TV, or the PS3) is outputting a lower Picture. AFAIK the Shield also wants to default to 4k. So perhaps it's not an EDID issue after all.

What is stranger though is that TWRP will boot up just fine over 4k, if you replace it as the Recovery. Which is the way I have been using it in the recent past. Although I quickly returned back to the Stock Recovery after I was done rooting it. Of course this didn't help me when it came time to update again. So I'm not going to bother rooting the Shield TV again for a while, as it doesn't seem to be worthwhile. Outside of a few extra, and non-working Plex Channels.

But, I am glad that we haven't been forgotten.