yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] I_did_it_just_tmrrow:
So sad. This is the last puzzle for me.

I really want a almost google-les live and the shieldtv with your great LOS could be a chance to do that also on my couch.

But I need netflix in 4k :D

Did you see this:

Broadcom Inc. | Connecting Everything

www.broadcom.com

Is there a chance for a non-rom builder like me to test the rom with h265 secure decoding enabled? What was your hdmi standard you used with the pixel artifacts?
[Shield Android TV Android Development] Steel01:
If you're comfortable with modifying files on device, you could add this section back to the codecs xml on /vendor.

https://review.lineageos.org/c/LineageOS/android_device_nvidia_foster/+/330589/1/media/media_codecs.xml

Not sure hdmi standard makes any difference. But I've got a hdmi 2.0 setup from my shield to an avr then to my tv.

Not sure what netflix will do with that lawsuit. If they start sending 4k content using h264, then it'd 'just work' on Lineage. Kinda suspect that they're not going to revamp their entire library, though, which probably means everyone in that region loses 4k content.
[Shield Android TV Android Development] I_did_it_just_tmrrow:
Yes, optical artifacts in the picture can sometimes be due to hdmi. At least that's my experience.

I've just browsed through @KonstaT 's thread. He has built a very nice unofficial LOS20 for the raspberry-pi 4.

So things look even worse for them. I was hoping that he/she fixed this problem.

For me, the following always applies when operating from the couch: DPAD is king

I really don't want to go back to the mouse. :D
[Shield Android TV Android Development] the_weather_woman:
Hi. I am trying to install LineageOS on a 2017 Shield. I am following the instructions from the wiki: https://wiki.lineageos.org/devices/foster/install/variant1/

Everything proceeds as per normal up to

fastboot flash recovery recovery.img

The terminal informs me

Sending 'recovery' (20686 KB) OKAY [ 0.713s]

Writing 'recovery' OKAY [ 0.943s]

Finished. Total time: 1.725s

Then, when I follow the next step, and using a USB keyboard (don't have a controller), I hold the keys A+B while plugging the shield into the power.

I then get a very low resolution menu and I navigate with the keyboard to select "Boot recovery kernel"

and all I get is an nvidia logo for about five minutes and then eventually the Shield boots into the stock OS.

The second time it was stuck on the nvidia logo for a very long time until I manually reset the device.

Any ideas what I should try?

I haven't updated the NVIDIA Shield experiene to version 9.1, right now I am on version 9 - could that be an issue?

fyi when I type:

adb -d shell getprop ro.hardware

the response is

darcy

Thanks in advance and Happy New Year!
[Shield Android TV Android Development] Not_Rich:
You should see the Lineage Recovery, I got stuck at exactly the same point, but that was back in February last year so don't remember exactly.

From the instructions, I don't think I had to press the A button I think it booted Lineage Recovery without doing that.

This was the first and last time I used fastboot and adb, I am a Samsung, TWRP user and I managed it, so you should too.

Happy new year.
[Shield Android TV Android Development] the_weather_woman:
Thanks @Not_Rich.

In the end, I updated my Nvidia Shield to Shield Experience 9.1.1, then the instructions in the Lineage OS wiki worked (after one attempt where LineageOS recovery froze).

Now I am watching Mubi on LineageOS. So cool. Thanks @Steel01

One more thought - shouldn't the LineageOS wiki mention that you can install with a keyboard as well as the controller?
[Shield Android TV Android Development] Steel01:
I'm a little surprised that installing from shield experience 9.0.x doesn't work. Afaik, not much has changed in the bootloader since then. I would have expected 8.x.x to work too. I may try to look at that sometime, see if I can make the install requirements less restrictive. But officially speaking, Lineage only supports installing from the firmware version a build is based on, which for foster is currently shield experience 9.1.1.

The wiki can probably be written better, yes. That's not my strong suit, someone else normally handles that. The shield android tv page was originally written to only reference things shipped with the devices. And the 2015 and 2017 devices all shipped with a controller. The 2019 devices threw a wrench in that by only shipping with the remotes. I can drop a note about it, though.
[Shield Android TV Android Development] the_weather_woman:
I think its reasonable to not support older firmwares. Maybe I would also add this to the wiki as a first step?

I'm happy to help update the text in the wiki.
[Shield Android TV Android Development] slutexpress:
Okay so I finally figured out a workaround for the Recents / Recent Apps that was lost due to the recent Lineage updates.

I used this app: https://play.google.com/store/apps/details?id=dev.vodik7.tvquickactions (you can pay for it, or look on Mobilism)

Anyways, download the app, grant it all the settings that it requests including WRITE_SECURE_SETTINGS

However the above didn't work for me by default had to grant it via adb using the following command: adb shell pm grant dev.vodik7.tvquickactions android.permission.WRITE_SECURE_SETTINGS

With all permissions granted and possibly restarting your shield once, go back into tvquickactions>settings>adb - then select Use ADB for emulating buttons, and Use ADB for killing apps and Use ADB for some actions.

Now back to the main settings of tvquickactions go to Buttons and actions then Add Button, press current button, then press your Home Button. Now change button action type to usual action, then on single press, select the feature that is Go to home. Then on Double press select the feature that is Recent Apps. Then if you want add Long press and select the feature Dock with applications, adds a nice quick dock for your apps.

After this, double check pressing the home button opens the recent apps (tvquickactions recent apps menu) and also confirm that the apps are actually force closing via recent apps and from the home screen as well.

Playing around with tvquickactions can also lead to some more powerful button combinations, so good luck!
[Shield Android TV Android Development] ShiMa51:
Hello everyone,

I tried to install LineageOS on my Shield TV 2017 with the MTG package, i followed the instructions from the documentation, and my Shield is totally stuck on a loading screen "A moment..." after adding the google account during first boot...

I flashed from 9.0.0 with TWRP, the LineageOS 18 with latest MTG package.

I don't have the Shied controller and i'm unable to boot on recovery mode using shield button, it don't work and i tried so many times... And i'm also unable to use fastboot, because i can't enable the usb debugging, as I'm unable quit this loading screen

Can someone help me ?

Have a good day
[Shield Android TV Android Development] GrabbenD:
Are there any major downsides with using LineageOS on NVIDIA SHIELD TV Pro (2019)?

I'm really interested but I fear losing:

HDR10+ / Dolby Vision?

Audio codecs (Dolby Atmos- & Dolby DTX:X pass-through)?

App switcher?
[Shield Android TV Android Development] Not_Rich:
No experience of the first two, but the app switcher or recents works fine on AOSP tablet version. I must admit I don't like swiping left right on recents on a phone, but on a television it works really well and fits the screen.
[Shield Android TV Android Development] Steel01:
That's correct. I don't have the old remote to test, unfortunately. But it's Bluetooth, so should work fine. So, the list is basically:

Blake (old controller): not supported. However, work is in progress to support it. Fighting with framework patches atm.

Jarvis (old remote): Should work, but not confirmed

Thunderstrike (new controller): Confirmed working

Pepper (new remote): Confirmed working
[Shield Android TV Android Development] ClintE1956:
Just ordered sata version yesterday - was torn between emmc and sata (for a while). Won't have to shell out too much more for another harmony 650 this way (instead of more $$ for harmony hub-based product -- maybe in future). Lots more options for multi-boot this way also, with microsd. I enjoy tinkering, but need a solid stb for wifey when I'm not around (stock rooted probably). Is flashify the way to go when multi-booting? Also what's a decent 64gb or more microsd card to buy? Probably need to grab a usb dual-drive dock for more boot options. Too many choices with this thing...
[Shield Android TV Android Development] ulyses3:
I am very happy with Lineage OS on my Shield TV 2015, but I cannot connect to Nvidia server from Nvidia Games. It gets stuck on "logging in" , and it doesn't matter which email or password I enter. Is anyone else having this problem?
[Shield Android TV Android Development] ThrillerAtPlay:
With Android TV gapps? Yeah, I ran into this as well. If you try with the "tablet or smart phone" set up option it failed immediately and tell you to set up the account manually. The Google setup wizard must be skipping the network setup portion of the setup process as I never received a security notification on my Google account of a new device trying to login.

I had to wipe system and reinstall without gapps.
[Shield Android TV Android Development] Steel01:
Known issue, happens on all shield devices running lineage. I'm in contact with an Nvidia engineer over this, but dunno what will come of that. There is a hacky workaround, though. Uninstall nvidia games, download and sideload version 5.6, log in, then upgrade to the latest version. That should work as expected.
[Shield Android TV Android Development] jmacdon101:
Scale

How do I scale the image for the screen on the stock rom it was possible to reduce the size the output is a bit larger and i need to reduce the scan or whatever you call it .... So it can fit on my TV
[Shield Android TV Android Development] tillaz:
Does google cast work? (AndroidMediaShell)
[Shield Android TV Android Development] Steel01:
There isn't such a tool in aosp AFAIK. If the TV doesn't support just scan, I dunno what to tell you right now.

Last I checked, yes. Cast receiver works just fine. Been a bit since I last tested that specifically, though.
[Shield Android TV Android Development] fr500:
Hey just wanted to say thanks! all my games are working in my testing device now :p

Need to get around to upgrading the one I actually use
[Shield Android TV Android Development] tillaz:
Thanks, did you have to add anything extra to get it it working?

reason i ask is because its the only thing that never works when i build ATV for other devices.
[Shield Android TV Android Development] Steel01:
It requires a specific encryption key and only approved devices have them. Like, it works here on foster because stock supports it and the keys are provisioned. But building atv for roth or shieldtablet, it won't work. If your stock supports it, it should just work as long as the keystore and widevine and all initializes correctly.
[Shield Android TV Android Development] tillaz:
Thanks for clearing that up for me. much appreciated
[Shield Android TV Android Development] fr500:
hey [MENTION=1416222]Steel01[/MENTION], haven't seen you on IRC for a while. This build rocks as I said before, I moved my main device to it and it's all been great.

Just found one weird bug that only happens on Lineage, not Stock, the GLES2 mupen core in RetroArch crashes on load with lineage but not with the stock firmware. Weird thing is that I'm not even launching a game, just loading to core (that makes it peek the core name but doesn't actually init it)

The GLES3 core works fine though...
[Shield Android TV Android Development] Steel01:
Dolphin with the ogl video plugin blows up too. I'm not certain what's going on with those. Going on vacation for a couple weeks starting in a couple hours. Will hop on irc and see what can be figured out later.
[Shield Android TV Android Development] fr500:
Sure there is no hurry, just thought it would be worth reporting :)

Have fun on your vacations!
[Shield Android TV Android Development] ColinMacLaren:
I have the 2015 Pro Model (500GB).

Unlcoked Bootloader.

Flashed TWRP.

Wiped System/Cache/Data.

Flashed Lineage + GApps + Root.

NVIDIA logo and then black screen. Device is recognized by the computer it is connected to but no hdmi output.
[Shield Android TV Android Development] ulyses3:
Thank you, that workaround has worked until I upgraded to the latest version of Lineage. Now the message of "connected" appears with Nvidia games 5.6, but it doesn't stay logged in.
[Shield Android TV Android Development] jmacdon101:
Is it possible to get full nougat 7.1 instead of just the tv os. On lineage i know there already exists one but that is not 7.1 and lineage =P
[Shield Android TV Android Development] fr500:
I guess you would flash normal gapps instead of tvstock
[Shield Android TV Android Development] Steel01:
It's a completely different build type. I have made a 'tablet mode' build before, just been a while. Using the tablet build + 'normal' gapps would run just like a tablet. Just much less useful due to lack of a touchscreen.

I've got Lineage 15.1 booting. Looking fairly good so far. Lineage is far from ready, but as it looks right now, foster should be ready to ship official as soon as Lineage is.
[Shield Android TV Android Development] .kaputnik.:
Had the same problem at some point, but can't remember what I did to fix it. I have some very faint memory of it having to do with mistakenly installing the wrong version of OpenGapps, but I'm absolutely not sure.

Assuming you've tested the simple stuff already, like using wired network instead of wifi, etc?

Also, you might want to try a factory reset from recovery or fastboot to rule out incompatibilities with old settings files etc.
[Shield Android TV Android Development] npjohnson:
you flashed mobile gapps my dude. Use ATV gapps.

Also, use lineage recovery like the wiki says. If you don't follow the wiki you're gonna have a bad time.
[Shield Android TV Android Development] CZ Eddie:
Does this image contain the "Dolby audio processing" option in settings?
[Shield Android TV Android Development] CZ Eddie:
Do you lose the Shield's up-conversion/AI video quality enhancer?
[Shield Android TV Android Development] Not_Rich:
AOSP Lineage January 2024 update does not have Dolby in settings.
[Shield Android TV Android Development] Not_Rich:
I think that's proprietary to Nvidia stock ROM
[Shield Android TV Android Development] CZ Eddie:
Just flashed for the first time on my 2019 Pro.

Getting this error when connected directly to my 4K AVR:

"This device is not optimized for netflix (-14)"

And I'm not getting any 4K or ATMOS options in Netflix when looking at titles that offer both.

An Amazon FireHD stick connected the same way has no issues.

Any suggestions?
[Shield Android TV Android Development] CZ Eddie:
Am getting 4K output in Amazon & Netflix Haven't checked for UHD.

And not sure if it's 4K from the video or just the Shield itself outputting 4K.

Not able to get ATMOS in either one though. That's a deal breaker and my first priority to fix.

ATMOS and all the other good codecs are showing up toggled-on in the Settings | Advanced Sound Settings menu.

EDIT:

Looks like Amazon's "Prime Video" has suddenly dropped ATMOS for anyone not paying for the add-free tier of Prime Video. So, that particular issue isn't related to Shield or this ROM.

Wish I could figure out why Netflix ATMOS isn't working though.
[Shield Android TV Android Development] Steel01:
A quick update about the status of foster on Lineage. This week, Lineage end of life'd Lineage 18.1, and a final round of builds are running. I am in the process of finishing what polish I can on Lineage 20 and plan to ship that by the end of the week. Unfortunately, there are known issues, which is why I haven't voluntarily shipped the newer versions so far. None of the issues are charter breaking stop-ship type problems, but they're enough to cause experience detriments. But now that the choice is shipping 'nothing at all' or 'something missing some polish', I still want to have something. When those builds start shipping, I will update the opening post with the known issues and post back here.
[Shield Android TV Android Development] Steel01:
Netflix doesn't support passthrough audio, only locally decoded. And dolby required nvidia to encrypt the local decode libraries and make them only work on the 2019 devices when the bootloader is locked. So unless netflix decides to support passthrough, it's never going to work on a custom rom. It also wouldn't work on stock on the 2015 or 2017 devices.

On the 4k part, that also doesn't work in Netflix. For some reason, secure h265 playback in Netflix causes horrible artifacts, so I had to disable that codec (specifically the secure one, not h265 entirely). And all netflix 4k content is in h265. 1080p content that plays is better than 4k content that's broken. h265 content in other apps is just fine though, like kodi.
[Shield Android TV Android Development] PlutoDelic:
forgive my ignorance, im asking from pure curiosity, but why not go straight for LineageOS 21?
[Shield Android TV Android Development] Steel01:
ATV is broken at a platform level on Android 14 right now. The latest quarterly release has more official support, but that hasn't been integrated into Lineage yet, as that was released only a couple days ago. So yeah, while 21 is usable for mobile, it's not ready for atv yet. Once that's ready all atv targets, likely including foster, will move to 21.
[Shield Android TV Android Development] Not_Rich:
Hopefully those builds will be AOSP and ATV, I love AOSP..
[Shield Android TV Android Development] Steel01:
It'll be the same paradigm as the current 18.1 builds. Lineage is aosp derived, but it's not pure aosp. There will still be atv and table/mobile variant builds. Also, the recommended atv gapps package has a couple options: Full, which contains the ad launcher; and minimal, which does not. The default launcher on 20 is still a no-gms (and no ads) variant of googles tvlauncher, the same thing used on 18.1.
[Shield Android TV Android Development] Not_Rich:
Forgive my ignorance, I am a Samsung user, and I am familiar with TWRP. Last time I used adb was over a year ago.

Should I need to update Lineage recovery, I presume it's just "fastboot flash recovery recovery.img"
[Shield Android TV Android Development] Steel01:
The Lineage wiki has an upgrade guide, that has the officially supported procedure.
[Shield Android TV Android Development] GuyInDogSuit:
To be honest I'd be okay with either. Not that I'd install L20 just yet but I'm glad to see you're going the distance for us Shield TV owners.
[Shield Android TV Android Development] Steel01:
20 has officially shipped. The main foster target should build with cycle that starts tonight at 12 AM UTC. The known issues are now listed in the opening post.

Also of potential interest: Sif now has a build target, which is the non-pro 2019 variant. Installing to that device requires a hardware modification, however. This is detailed on the Lineage wiki.
[Shield Android TV Android Development] dd0bb:
People like you are heros! Thank you so much!

Few month ago I switch to Apple TV. I just use it for streaming (Netflix, Disney, etc.)

I plan to flash Lineage OS on my Shield 2015 and use it for stuff like Tivimate, VLC, Kodi, etc.

"With the device off, press the FRC REC button, then tap power" do I need remote control to do that?
[Shield Android TV Android Development] Steel01:
Those instructions are for the Jetson TX1, so that section doesn't apply to your device. Just skip that entire step.
[Shield Android TV Android Development] mchipser:
When attempting to download the nightly I get service unavailable.

LineageOS Downloads

download.lineageos.org
[Shield Android TV Android Development] mchipser:
Of course as soon as i posted it, it allowed me to download it.. smh
[Shield Android TV Android Development] mcharpentier:
Downloaded, installed, and flashed along with mindthegapps minimal. So far everything is working great and I can't thank the team enough for the continued support and builds! It's buttery for being an old device, especially if animations are off. Love the look & feel, wish the system UI was a tad darker but not a deal breaker.

My questions / recommendations:

- Still no recents menu when double tapping the home button (bummer but not a deal breaker). The build has been solid enough to overlook it. I like the recents menu to quickly move from one app to the next, not to kill the application per say.

-AI Upscaling not available and probably never will be due to it being proprietary. However, everything looks sharp and clear on my 70" display so I don't mind the feature being unavailable.

- This update had to be flashed via twrp. Was that because I went from ver.18 - > 20? Will the updater app in settings flash updates going forward?

Again, thank you so much! Everything is running great.
[Shield Android TV Android Development] Steel01:
There used to be a tv specific recents in sysui, but that was removed in 2017 in favor of just using the mobile version in sysui. Then the mobile version was moved to launcher3 quickstep and tv was just hung out to dry with no alternative. See:

https://github.com/LineageOS/android_frameworks_base/commit/56c7531ce7a981932821a406457a6ca63bdcc65a

Nvidia reverted back in the old tv specific recents screen and that's what is available on stock. I looked at trying that for Lineage 20 and it's just not happening. That feature is just gone unless someone wants to put a lot of work into re-implementing it.

Major version upgrades must be flashed through recovery, then addons such as gapps re-applied. This is explained in the upgrade section of the Lineage wiki. Within a major version, inline updates through the update app work as expected.
[Shield Android TV Android Development] Not_Rich:
Does the Lineage team know the ratio of ATV vs tablet users?.
[Shield Android TV Android Development] Steel01:
There are loose stats. Since they're known to be known to not be entirely exact, they're only displayed at one significant digit. So foster versus foster_tab, for example. Note that the foster_tab 17.1 reports are mostly from the nintendo switch. So ~20 mobile versus ~300 atv installs. The ratio seems about right.

LineageOS Statistics

stats.lineageos.org

LineageOS Statistics

stats.lineageos.org

If you wanted to know for the entire project, you'd have to go look up all the atv targets and add them up. Last we looked, iirc there were roughly 2000 atv installs, compared to the about 2 million total installs.
[Shield Android TV Android Development] mcharpentier:
Figured this thread could use some images of how the OS & Applications look and feel with my current configurations.

(The black bars on each side are from my photo editing, The system does not have black bars on each side. Everything is full screen.)

**** These screenshots are from my current configuration. I am NOT using the built in TVLauncher. I am using a custom launcher with Launcher Manager. Your home screen will look different than mine. If you have any questions regarding the launcher and/or applications I'm using, please let me know.

Home Screen:

Settings Menu:

More Settings:

Reboot Menu:

RetroArch Home:

RetroArch Game Lib:
[Shield Android TV Android Development] Steel01:
This home screen does not look like anything I am familiar with. That's not the default tvlauncher used in no-gms and the recommended minimal gms package, nor is it the current google ad launcher in the recommended full gms package. Is that a custom launcher?
[Shield Android TV Android Development] mcharpentier:
Sorry maybe I should have mentioned that. Yes, I am running a custom launcher:

(Wolf Launcher + Launcher Manager)

I also switched from Leanback Keyboard -> Gboard

Weather widget is Chronus

Anything else you want to know just ask.