yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] Steel01:
Been a while since I've said anything here, but that doesn't mean no work has been done. I've run into a really weird issue on mdarcy that presumably affects sif as well. 'fastboot boot' works, but flashing to SOS/recovery and trying to boot that fails badly. And still can't figure out why. But I'm still going to go ahead and link another experimental build here. This works on all first party Nvidia devices (foster, darcy, mdarcy, sif, jetsons, etc), just note that you have to 'fastboot boot' this on mdarcy and sif. As always with experimental builds, ymmv. Report any issues here.

twrp-20200330-foster-experimental.img
[Shield Android TV Android Development] zecabra:
Hello [MENTION=1416222]Steel01[/MENTION]

Many people were unable to install lineage 15 using the old official twrp and more recent unofficial twrp builds because it's not possible to downgrade to experience 7.1 to be in the right bootloader, can this one solve the problem and let lineage be installed using a newer version of bootloader? I'm interested in install a tablet-style build you posted in Lineage thread because I have bad eyes and many things that I was doing in the phone now I use my shield because of the big screen
[Shield Android TV Android Development] I_did_it_just_tmrrow:
What I can say it that is is easily to install Steel01's new experimental rom with this new twrp. See here.

You say you have bad eyes or problems with small text and icons. Android had a lot of handicap functions for that problem. But you should check first the official rom and the accessibility settings, look at Settings -> Accessibility

Wow! This is the first twrp that is running completely without issues on my Foster shieldtv-pro (500gb hdd edition). With older versions I had booting issues. THX a a lot for this release. Let me know if I can buy you a beer ;)

Here is some feedback and testing results: (+ is a cool | - is a problem | ~ is a wish :cool:)

+ mouse support and kbd support does work on both usb ports

+ I was able to flash the experimental los16 rom

+ System was mountable

+ Erase data partition (format) successfully

+ adb sideload worked

+ adb worked

+ File explorer works (copy, paste, delete tested)

+ Wiping Cache and Dalvik Cache

+ TWRP remembers settings

- No twrp DHCP network support. I remember that some twrp for the firetv bueller from rbox was able to handle network-twrp. Just LAN of course.

- mouse is stuttering on the usb-port near to the hdmi port (same in the os official and lineage-experimental)

~ Would love to see an twrp build with better no-touch support. Awesome would be a function to swipe and select with the power button only (long to swipe or select, short to navigate, twice etc.)

~ Replace the swipe areas with buttons. 'Long-press is a swipe'

~ Disable the initial swipe window and the final "install twrp app" screen

~ A dream would be a shield-tv-remote support. I dont know how compatible twrp sources be to bluetooth but on tv devices this would be a milestone. Alternatively HDMI-CEC would be another very useful function </dream_off>

~ ADB mouse support would be nice for emergency cases. Rbox develop an twrp with mouse-support once.

@Steel01 please don't see my wishes or - points as critic. I am really happy about your work and your release. THX a lot for your work.

In attachment they where some photos. You can use them for the first post of this thread if you want.
[Shield Android TV Android Development] Steel01:
[MENTION=3729682]I_did_it_just_tmrrow[/MENTION] So I'm doing development to support official twrp. Any features not supported by TeamWin (or queued up to hopefully be merged) aren't going to be in my experimental builds. Now... that reference to a fork that supports adb over network. I'm gonna have to look into that for sif, and see how complicated that would be to push upstream.
[Shield Android TV Android Development] automaticfts:
[MENTION=1416222]Steel01[/MENTION] , thanks so much for your early experimental releases! This was the first version of TWRP that I could get to boot on 8.0.2 (2017 Shield 16gb).

I’ve been happily rooted on 7.1.0 (with last stable version of TWRP) for awhile now, but apps have been breaking (ie Netflix, Disney+, etc). I finally decided to make the move to 8.0.2. I made my backup via TWRP before proceeding, which ended up saving me. After doing all the OTA updates to 8.0.2 everything was working perfectly. I moved on to attempting to boot to TWRP and that’s where my issues began. I can’t remember for certain as I rushed through it, but I may have performed the command fastboot “flash” TWRP, instead of “boot.” After doing that, I couldn’t get past nVidia logo. I was able to get back into fastboot and boot to TWRP recovery. However, I couldn’t mount USB OTG; the device I had just backed up to. I tried everything, different ports, different formats, and even other USB devices… couldn’t get TWRP to recognize it. The other thing was that everything was showing up as 0mb. Local, SD, OTG, etc. I couldn’t do anything within TWRP via install or restore because I couldn’t get it to recognize any storage.

I finally did a full Factory Data Reset via fastboot and was able to flash 7.1.0. This allowed me to boot to last stable TWRP (v3.2.3-0). My jumpdrive was easily recognized and I was able to mount and restore from it. Thankfully I was able then go in and do the OTA’s to get me back to 8.0.2. Now that I’m up to date, I want to be able to make a new backup with TWRP, but I’m scared I’m going to do something to screw everything up again. I also obviously need it to see my jumpdrive to be able to save to it. I’m not going to attempt anything with Magisk until I can rely on TWRP. Any thoughts, guidance, or advice would be much appreciated!
[Shield Android TV Android Development] Steel01:
I have an idea what's going on, but I don't know that I can do anything to fix it. Darcy, the 2017 emmc model, uses verity on stock. If anything modifies the system or vendor partitions, it'll fail to boot. Did you swipe to allow system modifications when twrp first booted? If you do, twrp will modify system to preserve itself and then the system won't boot.

This is particularly annoying because I don't think it used to be this strict. Iirc, it would only throw the unlock warning during boot and maybe throw a popup after booting, but it would still boot.
[Shield Android TV Android Development] elliwigy:
technically on 2019 model it will too but its easy to disable/bypass on 2019 model

im usin the 8.1.1 devos images currently.. runnin pretty good compared to wat i was on before
[Shield Android TV Android Development] Steel01:
Eh, technically the 2019 models use AVB (android verified boot), not verity. Somewhat of a different approach to the same concept. And requires a bit more handwaving on my part to support stock (with avb) and lineage (without avb) from the same recovery. Whee...
[Shield Android TV Android Development] elliwigy:
true.. i use the vbmeta_skip.img and disable verity when flashing in fastboot..

samsung is a whole other beast lol
[Shield Android TV Android Development] automaticfts:
[MENTION=1416222]Steel01[/MENTION] I did perform the swipe to allow system modifications; are you saying it should work properly if I don't do that? I'm totally okay with having to perform "fastboot boot twrp.img" whenever I need to get to it... I just want to be able to mount my USB jumpdrive so that I can back up/restore while on 8.0.2.
[Shield Android TV Android Development] Steel01:
I believe that's true, yes. I personally use stock very little. Like, the only device I've got on stock right now is sif (the 2019 tube) and that's only because it'd be a pain to recover right now if I botched something. So, this isn't something I've actually tested.
[Shield Android TV Android Development] automaticfts:
[MENTION=1416222]Steel01[/MENTION] I'll give it a try as soon as I can. Do you think this will also resolve the OBG USB (my jumpdrive) not being seen? It's very odd because it is seen and is mountable in 7.1.0.
[Shield Android TV Android Development] Steel01:
https://gitlab.incom.co/CM-Shield/a...er/blob/lineage-16.0/twrp/twrp.fstab.emmc#L14

I don't see why it wouldn't show up. What is it formatted as?
[Shield Android TV Android Development] automaticfts:
exFAT
[Shield Android TV Android Development] automaticfts:
[MENTION=1416222]Steel01[/MENTION] My end game was to be rooted on 8.0.2 with a TWRP backup (retaining my setup and all my data). I took another go at it last night. This time I made sure that I didn't flash the twrp.img and just booted to it. It will not see my jumpdrive or allow me to mount it. I don't get it, it works perfect in 7.1.0. Since my local disk wasn't jacked this time, I was able to get to my download folder and install magisk. I'm halfway happy because I'm rooted on 8.0.2... but I really like having the peace of mind of a full TWRP backup!
[Shield Android TV Android Development] Oliversus:
Hey,

I have a problem.

After uploading and running twrp.img, the console locks on the Nvidia logo. Nothing can be done. What could be wrong?

The twrp.img file uploads correctly.

Shield TV 2017 16gb.

I have this information. After a while, the Nvidia logo appears and nothing further.
[Shield Android TV Android Development] iLLNiSS:
Is this even needed anymore? I just followed the steps outlined in https://xdaforums.com/showpost.php?p=81218101&postcount=2 for 8.1.0 and expected I'd have to run the commands in the 'After every reboot' step but to my surprise it booted right into the launcher.
[Shield Android TV Android Development] elliwigy:
that was an old post so no lol. magisk was updsted while back
[Shield Android TV Android Development] TheUndertaker21:
any progress on that crazy shield 2019 root ?
[Shield Android TV Android Development] mrhamed:
Do you have to do After every reboot below steps ?

a) adb shell

b) su

c) resetprop ro.boot.verifiedbootstate orange

d) after device boots run: resetprop ro.boot.verifiedbootstate green

Because it's very annoying!

---------- Post added at 12:54 AM ---------- Previous post was at 12:39 AM ----------

only vbmeta_skip.img file extracted from nv-recovery-image-shield-atv-pro-2019-8.1.0-dev-rooted.zip:

vbmeta_skip.img - 256 B
[Shield Android TV Android Development] nathanmuccino:
https://xdaforums.com/showpost.php?p=82211653&postcount=54

Look at that post then thank the poster by pressing the thumbs up button ?
[Shield Android TV Android Development] mrhamed:
Thank you for your advise, but the solution is not easy (I can do it but I'm lazy).
[Shield Android TV Android Development] dafresh:
I'am looking for a way for full-backup the 500gb hdd(ssd-mod).

Every major shield update (and new bugs) i have to dissasembly and detach the ssd to perform raw-backup on pc.

Is there any actual twrp version that i can boot via

fastboot boot twrp.img

and support 8.0.2 (maybe new 8.2) and USB-OTG?

Tried twrp-3.3.1-0-shieldtv-pie, it boots but USB-OTG ist missing

twrp-20200330-foster-experimental.img i can not boot, shield boots two times and second time direct into os

device is forster 500GB (2015 Pro Version)
[Shield Android TV Android Development] koaebk:
I successfully rooted my Nvidia Shield Pro 2019 with this guide ( https://xdaforums.com/showpost.php?p=81200005&postcount=380) , I only had to follow until step 3 h) I had none of the shenanigans regarding the ro.boot.verifiedbootstate value. I simply had nothing, my Shield is rebooting flawelessly and root is permanent.

Before I rooted I was using the most recent 8.2 version, to root I used the "nv-recovery-image-shield-atv-pro-2019-8.1.0-dev-rooted" and for TWRP "twrp-20191102-foster-experimental"
[Shield Android TV Android Development] elliwigy:
yes.. thats because newer magisk doesnt automatically hide so it doesnt change verified boot state and what not like older versions do..

as i stated before should just b able to flash latest magisk now.. the mount points are still janky tho so still need to rm system then mkdir system then bind mount system_root/system to system then flash
[Shield Android TV Android Development] TheUndertaker21:
So we can upgrade and root 8.2?

About to upgrade and flash it
[Shield Android TV Android Development] root@android:
Hey Guys,

i have the biggest trouble with TWRP on the Shield 2017 -Version on Android 9 pie.

I can t choose a backupspace USB-OTG. i can only use internal memory.

I can t work like this becouse my internal memory is to small. Its only 16gb and there is also the o.s itself and the crap apps it comes with wich you can t install.

So you have very less space on internal.

At the moment my i can t make backups with TWRP at all, becouse i have not enough internal space left.

Thats so deeplay goeing on my nerves..

Please make it that i can mount my attached usb-drives for backup, otherwise TWRP is complet useless for me on the shield.

If you can, please: HELP; HELP, HELP!

regards
[Shield Android TV Android Development] root@android:
*removed double post. Sorry
[Shield Android TV Android Development] peestandingup:
I have the same Shield model & you'll just have to delete/free up as much internal space as you can so it can hold the backup. Afterwards you can always move the twrp folder off the Shield then delete it internally.
[Shield Android TV Android Development] root@android:
I know, but that can serously be the solution. Not really.

I have downgraded to an earlier firmware and there everything is working like it should.

Maybe anyone who has the abilities to do that comes to the brilliant idea idea to fix it in the pie-twrp for android pie.

Only a thought, hope we the best;)
[Shield Android TV Android Development] Mogster2K:
Dumb question perhaps, but did you try both USB ports?
[Shield Android TV Android Development] root@android:
Yes of course:)

My experiences:

Shield 2017 with the newest firmware (nv-recovery-image-shield-atv-2017-8.2.0)(Android.9.pie) and the only working TWRP for that version, wich seems to be: twrp-3.3.1-0-shieldtv-pie:

You can as many click as you want on "usb-otg", you can t choose it as backup or recovery space.

Shield 2017 with the firmware nv-recovery-image-shield-atv-7.0.2(Android.8) and twrp-3.2.3-0-foster: Everything is working. You can choose with click on usb-otg an attached usb-drive.

I am no expert, but i think the problem is the newer -pie-twrp. With this it seems not possible to mount an attaced usb-drive.
[Shield Android TV Android Development] Steel01:
Finally decided to get around to another build. This one is somewhat less hacky than the last upload. It should work on all shield android tv variants. But same as before, flashing to mdarcy and sif (the 2019 models) does not work. You have to 'fastboot boot' the image, then it works fine.

twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img
[Shield Android TV Android Development] mprudic0404:
Thank you for your work.

i managed to fix 2 shield tv's so far . ( bought off auction site cheap ) the 2017 was a re-flow on dc jack, and the 2015 was software issues. i tried the TWRP's listed on there homepage, and none worked ( running 8.2 ) might you know if this would work for a 2015, and allow backups to the microSD card? (I understand the USB ports dont work)

may i also ask question?-my 2015 shield TV only would show up as APTX in windows 7, until i kept trying with KALI and got it to take a successful boot.img. ( device would flash momentary then the light bar would go out ) anyways, after it took the boot flash, i was able to do more with ADB in windows. (still stuck in the past with win7) after i pushed a few more img's to it, it would boot right into a menu that i have never seen before. black background, blue and red lettering. it had choices that i haven't seen since my NOTE 1. ( apply update from USB, APPLY UPDATE FROM ADB, FACTORY RESET, COPY LOGS TO USB.) this was the ONLY menu that would show up, until i got it to flash the stock NON-DEV 8.2 firmware. what is that boot up screen called ? (it didn't say recovery anywhere on the screen and didn't resemble the boot loader screen)
[Shield Android TV Android Development] root@android:
Also thanks from me for you effort, but i see no improvment in point of attached usb drives from the version bevor.

Its seems unfornatly still not possible to use attached usb drives in twrp. USB-OTG its still not selectable.

Like i mentioned: With nv-recovery-image-shield-atv-7.0.2(Android.8) and twrp-3.2.3-0-foster USB-OTG is working!

So i still need to be in the downgrade;(
[Shield Android TV Android Development] elliwigy:
is there any kernel source u have uploaded somewhere that you use with twrp? or even twrp trees? link in op are broken (404 error) or simply take you to twrp main github.. assuming anyway u need a modified kernel to use with twrp to build it.. might be easier for others to try n figure it out with you if sources were available..

unless im missing something lol

i dl nvidia source but everytime i try to build kernel it always fails at some drxd.o error or dvb front endsxor something
[Shield Android TV Android Development] Steel01:
Oh wow, I guess twrp redid their website. Awesome. >< I'll try to rebuild the OP soon and get proper links. That was a copy-paste of the standard twrp OP from like five years ago. Didn't even notice that links had broken. The official builds are still available on twrp.me, but they are for Lineage 15.1 and stock 7.1.x or earlier. Nvidia has done several breaking bootloader and kernel changes over the years, so I can't have one build that fits all. And my official releases here track my official Lineage releases. I don't plan to have an official twrp release that works on stock 8.x.x until Lineage 17.1 gets official foster builds.

As for kernel... That gets a bit fun as I'm sure you're aware if you track the nv-tegra repos. There's 3 kernel source repos and close to 30 dt repos. My forks are on cm-shield: https://gitlab.incom.co/CM-Shield, along with everything else. I dunno why it wouldn't compile for you. I can compile the android release branches completely unmodified in a Lineage 16.0 tree. The one thing that comes to mind is that upstream uses Linaro GCC 6.4.1 and I track that for kernel builds. Nv-tegra has a repo for that too. Though fwiw, my kernel is an l4t baseline with cherry-pick picks from android. Nvidia uses the same kernel baseline for l4t and android. And since l4t still has git history and android doesn't... yeah.

For a full build, I have twrp support in my Lineage trees and build from lineage-16.0. I've recently put together a set of local manifests to have a minimal lineage tree for building twrp. See: https://gitlab.incom.co/CM-Shield/scripts/-/tree/lineage-16.0/manifests/twrp. The scripts repo can be used to generate a twrp image for anything from t114 to t194.
[Shield Android TV Android Development] mrhamed:
Does twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img works properly on NVIDIA SHIELD TV Pro 2019? (with fastboot flash)
[Shield Android TV Android Development] Steel01:
The answer to the question in the previous post is in the same post as the link.
[Shield Android TV Android Development] mrhamed:
Thank you for your reply, I saw it but I can't understand what does mean the then it works . . .:

I have unlocked bootloader and fastboot access, so I can run flash command:

fastboot flash recovery twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img

Did you test it on darcy device ?

Can you confirm it works?
[Shield Android TV Android Development] Mogster2K:
"fastboot flash recovery twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img" does not work. You should use

"fastboot boot recovery twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img" instead.
[Shield Android TV Android Development] mrhamed:
Thank you for your reply, Does twrp-3.4.0 works properly on NVIDIA SHIELD TV Pro 2019 (darcy)?
[Shield Android TV Android Development] Mogster2K:
I do not have a darcy device.
[Shield Android TV Android Development] dk1keith:
I've asked this question before I believe, but did not get an answer...is there any version of TWRP for Shield Pro 2017 on latest firmware 8.2 that can do backup and restore? I can boot TWRP from bootloader TWRP not installed. But it does not see my usb thumb drive or sdcard as storage for backup. Any help would be great.
[Shield Android TV Android Development] GollyJer:
I just tried with darcy. I was able to boot into twrp and install magisk v21. But it goes into a boot-loop after install.

---------- Post added at 03:35 PM ---------- Previous post was at 02:51 PM ----------

Just tried the latest Magisk canary build. Still no bootloops. I think we're out of luck for now.
[Shield Android TV Android Development] mrhamed:
Thank you for your reply.

What is your rom? nv-recovery-image-shield-atv-2019-pro-8.2.0 or nv-recovery-image-shield-atv-2019-pro-8.2.0-dev_rooted?

"Still no bootloops" is good news, right? Did you mean boot-up successfully?

Can you provide latest Magisk canary build link which you installed please?

How did you install TWRP ?

fastboot [B]flash[/B] recovery twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img

or

fastboot [B]boot[/B] recovery twrp-3.4.0-0-20200926-UNOFFICIAL-foster.img
[Shield Android TV Android Development] cobyman7035:
can u root the 2017 shield with os 8.2.0? thx , if yes, link please
[Shield Android TV Android Development] George@xda:
Here you go:

https://xdaforums.com/showpost.php?p=83402213&postcount=420
[Shield Android TV Android Development] GollyJer:
I was getting stuck at the android boot animation (not nvidia). I stumbled on this post and followed Step 4. After doing it once I haven't had to do it again.

Now fully rooted and able to run f.lux! ?

Thanks!
[Shield Android TV Android Development] mrhamed:
-What is your rom? dev_rooted?

-Did you unplug power cord and reboot successfully untouched?

-Did you issue fastboot -w command to erase user data?

-Did you bypass google login process? If yes, How did it?!

Please answer our questions to help us root our device and have fun like you.
[Shield Android TV Android Development] dk1keith:
Is there any version of TWRP that works on Shield TV pro 2017 Foster? One that can do backup/restore? I'm on 8.2. no version I've tried can see the sdcard or usb drive as storage for the backup/restore. In fact none of the TWRP versions I have tried recognize the usb or sdcard as storage.
[Shield Android TV Android Development] dk1keith:
No one knows answer

Really?? No one knows the answer to this??? I did do a search for an answer if that is the reason no one responded. I don't want to really try much on my shield if I can't make a backup/restore to get me out of trouble.
[Shield Android TV Android Development] mprudic0404:
i just ordered a 2017 500gb USED model, and when i get it, i will try TWRP if anyone suggests a build?

(note: swaping to SSD, and afterwards, ill gladly try)
[Shield Android TV Android Development] mooop12:
Is there any chance for a fix for Dolby Vision with root enabled?
[Shield Android TV Android Development] mprudic0404:
may i ask, how or where did you find this? ( i have thought about picking up one of the mini shields, but wasn't aware this was possible. soldering is easy, (to me) .