yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] shartware:
Hello! I was able to flash LineageOS to my 2019 NVIDIA Shield. Now, I only see the Nvidia app installed. How can I for example install Netflix or other apps? Do I need to sideload them?

And do I need to install Fdroid/Aurora store?
[Shield Android TV Android Development] Jim in CA:
I would guess you didn't install Mindthegapps. That should give you the Google Play Store to add the usual apps. If you don't want the Play Store, then yes, you need to sideload the apps you want from wherever you want to get them.
[Shield Android TV Android Development] shartware:
Thanks! And what is the easiest way to do that? And how can I enable SSH to be able to admin the box remotely?
[Shield Android TV Android Development] Jim in CA:
After you flash Lineage, flash the mindthegapps zip file. Before you boot to the system for the first time. I don't know about SSH.
[Shield Android TV Android Development] shartware:
Sorry, I was not clear, my apologies. I meant, how do i sideload apps. Is that through the fastbootmenu or is there an easier way?
[Shield Android TV Android Development] Jim in CA:
I can't help you with that. I always sideload using a file manager app that I get from the Play Store.
[Shield Android TV Android Development] dd0bb:
27.05 build for Shield 2015 loses LAN for the first few minutes. Not a big problem but to let you know
[Shield Android TV Android Development] Steel01:
I am looking for people willing to do in depth testing of unreleased versions, currently Lineage 21. I'm not able to keep up with testing all variants I support to the level I'd like. And I don't like releasing half-baked broken garbage. Looking for people with a little bit of technical knowledge, enough to pull logs and describe problems in issue tickets. The coordination for this is being done on the Lineage discord server. If you are interested, please send me a DM and I'll get things set up.
[Shield Android TV Android Development] Not_Rich:
Google Earth is working fine on the 31st May version, whether it was an error my end or what I don't know.

It's promising that Android 14 is in development.
[Shield Android TV Android Development] Zacharybinx34:
How is the Android 14 version coming along?
[Shield Android TV Android Development] Steel01:
Slowly. I've been busy with other stuff and I've only had one volunteer for testing across any of the variants, and none here.

There is a big platform level blocker, that causes adb to be completely unusable on all atv devices. I won't ship anything until that's fixed. The couple of us that looked at the issue haven't found a fix yet.

And then I still haven't been able to test stuff like a variety of remotes/controllers or keyboards/mice or bt headets. There's some issues I've seen with usb audio. Etc, etc.

The core work is done. Like, I could do the stereotypical xda meme and 'ship it' tomorrow. It's usable for a narrow window of use cases like pure media without fancy audio. Been there for months. But the polish that makes it a good and generally usable release takes more time and manpower than I've had available alone.
[Shield Android TV Android Development] Not_Rich:
I would like to help test the tablet version if there is one, but am a bit of a noob. I come from Samsung / TWRP background.

I have no idea how you create a nandroid backup with Lineage Recovery, Maybe I should get a second Shield for testing. The last thing I want to do is reinstalling STOCK when things go wrong, which I had to do on my Galaxy S7 a few times.
[Shield Android TV Android Development] Steel01:
It'd be pretty rare where a full out return to stock would be necessary. Like, don't think I can even name a situation for that, beyond 'user wants to go back to stock'.

But not wanting to take your daily driver offline is certainly understood. That has kept me from doing much on my phones, since I need to keep 'something' online at any given time. Not so much of an issue for my tegra devices, where I've got like 30 of them floating around.

Edit: Oh, and yes, I am making _tab variants available to testers.
[Shield Android TV Android Development] Minth:
Would love to help with my foster device, but I really don't do anything complicated.

I don't use any BT devices except for the remote, and I don't use HDR, Dolby or whatever else.

I have a setup with just KODI sourcing medias from a 2Tb USB SSD, S0undTV and Newpipe/Tubular.

I could tryout a few BT audio devices (earbuds, Fiio BTR5 and BTR7), and one usb audio device (Fiio K13).

Only controller I have is an Xbox Series controller.

If that is "enough"/could help you in debugging, I can help, I don't really mind if something breaks, it's just an entertainment device!
[Shield Android TV Android Development] Steel01:
I don't have any xbox controllers, so that would cover something I can't do. And various audio devices would help too, I've only got a couple myself and not those. So yeah, that would help. Please send me a pm here with your discord username and I'll get you added.
[Shield Android TV Android Development] Not_Rich:
Ordered a second Shield, should be coming Thursday and would like to try this version at the weekend, however I only use a Bluetooth mouse and keyboard, but some of the apps I use were described as slightly odd so hopefully I can contribute something.

Hopefully, there is a version of Gapps that's recommended.

PM sent with Discord username.
[Shield Android TV Android Development] wnbgs:
Does Vulkan support work? What version? I was thinking about using mpv with some gpu-next (video renderer) features but a newer version of Vulkan is required than supported by the official OS: https://github.com/mpv-android/mpv-android/pull/596

Hmm... Maybe FSRCNNX could to some extent replace Nvida AI upscaling (at least in mpv): https://artoriuz.github.io/blog/mpv_upscaling.html

I would also love to see the remote's mic support at some point.

Keep up the great work!
[Shield Android TV Android Development] Steel01:
Vulkan does work, it matches what stock has. Still using the same drivers as stock, so not going to get anything better here.

The mic in the 2019 remote works. All the older remotes and controller mics require modifications to the core os that nvidia did not make public. They're not likely to ever be supported.
[Shield Android TV Android Development] krkhaha:
Hi. What's the difference between foster and foster tab
[Shield Android TV Android Development] Not_Rich:
Foster is a Google TV type experience AFAIK Tab is a tablet style interface that I use a lot.
[Shield Android TV Android Development] Not_Rich:
So if I had a working Lineage recovery, Lineage ROM and gapps and I flash an update that goes wrong, I can get back to Fastboot > Lineage recovery and flash ROM again.

With Samsung download mode, you could only flash stock afaik.
[Shield Android TV Android Development] Steel01:
As long as you can still get to the bootloader on an nvidia device, you can flash whatever you want. Stock, Lineage, some other theoretical custom rom, etc etc. Because from the bootloader, you can at least flash recovery.
[Shield Android TV Android Development] uhuru628:
My nvidia shield tv pro 2019 won't register adb or fastboot. I have tried 3 cables across 3 operating systems. Once im in the bootloader using wireless adb fastboot doesnt work either.
[Shield Android TV Android Development] mr.wrinw:
After install Lineage rom my shield 2017 has similar issue. In bootloader mode and cable connected it seems my pc can't connect to fastboot mode with shield anymore.

But since I can still boot to Lineage recovery so I can install and update Lineage rom. Though I can't go back to install stock rom via fastboot mode anymore.
[Shield Android TV Android Development] _Fetus_:
You can sideload with ADB while the Shield is running. Enable USB Debugging in the Developer Options menu. If you haven't enabled Developer options, go to About and repeatedly click on Build until Developer Options unlock.

I usually sideload via network because it's a bit more convenient for me. If you want to do the same, after enabling USB debugging you can enable ADB over network.

I have only sideloaded from a Windows PC, so the following is centred around that.

Have the .apk you want to install in your dev tools folder on your PC, open a command prompt or powershell window in that folder. Make sure ADB over network is enabled.

In Cmd / Powershell, type: adb connect (IP address of your Shield):5555

You may need to check on your Shield for a prompt to allow access.

Once you are connected, type adb install ApkName.apk

It should be as easy as that, hopefully! The only probelems I've had doing it this way were related to me trying to connect without checking the TV screen to see that I needed to enable access for the ADB via network.
[Shield Android TV Android Development] Dc0de:
First , let me say thanks for your time and effort in bringing LineageOS to the Nvidia Shield. Your time is very much appreciated.

I think i've found 1 bug in the latest LineageOS build (July 8th Nighly). Easy to replicate at will, and I can provide logs if you need them. Im just not sure if its down to lineageOS source or a device side issue. It appears that if you plug in a usb storage device, go into settings>system>storage>and then select the external usb disk, it crashes back to launcher. I found this bug when trying to safely eject my external ssd. It happens every time.

Not sure if the below will help you . But looks like the Nintendo Switch has a crdroid A14 version. Not sure if these are any help to your development...but i think they are based on same soc

GitHub - crdroidandroid/android_device_nvidia_t210-common

Contribute to crdroidandroid/android_device_nvidia_t210-common development by creating an account on GitHub.

github.com

GitHub - crdroidandroid/android_device_nvidia_tegra-common

Contribute to crdroidandroid/android_device_nvidia_tegra-common development by creating an account on GitHub.

github.com
[Shield Android TV Android Development] Dc0de:
@Steel01 Is the lineage github trees for nvidia shield branch 20 ok to use? Apart from the vendor/common parts on muppets is every other dependency listed in lineage.dependencies?

Im thinking of building crdroid android 13 as I want to test some of the pixelpropsutils fingerprint spoof stuff on the shield..just want to check if there is any risk or anything i need to know before using your lineage trees?

Hows branch 21 going? I know you are testing with a small group of testers at the moment.

Im not a dev as such, but u have built crdoid for miatill and apollo devices without issue.

Thankyou for your time.
[Shield Android TV Android Development] Steel01:
You should be able to base on 20 or 21 just fine.

There's still a few problems preventing ship. The main one is that adb doesn't work at all on atv shipping builds. So I refuse to ship that until the issue is fixed. Any other issues are relatively minor or quickly fixable once the major blocker is resolved.
[Shield Android TV Android Development] znbaboy:
I just installed LineageOS on my 2017 Shield TV. How can I root it with Magisk? I tried patching the recovery img and flashing but that didn't do anything.

EDIT:...nvm it worked..? im not entirely sure how. After flashing magisk patched recovery and selecting "boot recovery kernel" it worked.... I think...

I was also using this BOOTMOD tool but im pretty sure it failed but at this point im not even sure: https://xdaforums.com/t/tool-bootmo...ing-file-pulling-and-more-all-models.4524873/

EDIT 2: I am having a pretty big issue though since switching to Lineage. My Shield TV Remote wont connect via bluetooth. Is stuck on "connecting...". If I back out, it shows in the list of paired devices but never actual connects :(

EDIT 3: I did not install any GApps if that matters

EDIT 4: I was having issues with Magisk because i flashed the recovery.img instead of boot.img. whoops. all good now
[Shield Android TV Android Development] .kaputnik.:
Sounds like you have the 2017 Shield + remote? This is a long standing issue that never got a fix. There's some discussion of it further back in the thread. The Shield game controller, keyboards, etc works just fine though.

Edit: no idea if it works with the recent LOS 20.0 releases though, still on 18.1.
[Shield Android TV Android Development] znbaboy:
I am on the latest LineageOS build 20240715 with Shield TV 2017 + 2017 remote

wow thats very upsetting...
[Shield Android TV Android Development] .kaputnik.:
Can of course not speak for you, but it's at least no biggie to me. Using an old Logitech K400i keyboard, or the Samsung smart remote for my TV through CEC instead. Works well enough, and as a bonus, all those unintentional volume changes with the Shield remote are a thing of the past :)
[Shield Android TV Android Development] znbaboy:
any recommendations for bluetooth remotes with mics chargeable through usb c?
[Shield Android TV Android Development] .kaputnik.:
Nope, sorry, can't help you with that.
[Shield Android TV Android Development] znbaboy:
ffs i installed MindTheGApps to see if it would help with my remote issue (ik far stretch) and now i cant get rid of GApps. I did factory reset in fastboot + LOS recovery then sideloaded the OS again but stupid GApps remain

EDIT: had to manually wipe system partition in LOS recovery
[Shield Android TV Android Development] mrhamed:
First of all, I'd like to say thank you for all your efforts.

I have installed this ROM with Magisk, Is it possible to skip ssl verification check to increase the boot time with some adb commands or apply changes in the system files?
[Shield Android TV Android Development] Steel01:
Use of magisk is not supported by Lineage. Problems with it should be reported to that project. And discussions about it should be in a separate thread.
[Shield Android TV Android Development] znbaboy:
Thank you for all your hardwork on this ROM.

Any updates on Shield TV 2017 + Remote? I looked at older posts in this thread and I see people reporting their remote connects and works after the first pair, but stops working after sleep/reboot/disconnect.

For me, the remote doesn't connect at all.

I am willing to do some testing on my end if you have test updates or anything.

Thanks!
[Shield Android TV Android Development] Steel01:
Unfortunately not. I've tried to get it to work, but have not been able to. It's just gotten more broken on recent versions.
[Shield Android TV Android Development] znbaboy:
I just tried pairing my MX Master 3 Logitech mouse, and I am running into the same issue.

It seems like there is an issue with bluetooth device connectivity in general. Not just limited to the Shield TV 2017 remote

This is occurring on the latest build (July 22nd)

EDIT: tested with my PS4 controller. Same issue

EDIT 2: I have opened an issue on gitlab: https://gitlab.com/LineageOS/issues/android/-/issues/7433
[Shield Android TV Android Development] znbaboy:
Another issue I have encountered is PiP not working correctly.

I use SmartTube: https://github.com/yuliskov/SmartTube

When I enable "Picutre in Picture (Press BACK)" it puts the UI in PiP instead of the video and then I can only interact with the video. This locks me out of my device and I need to force stop the app to regain access.

This was not an issue on stock ROM. Anyone else experiencing this with other apps?

EDIT: I have created a bug submission on SmartTube for this: https://github.com/yuliskov/SmartTube/issues/3782

Still not sure if its LOS or SmartTube.
[Shield Android TV Android Development] znbaboy:
I just experienced a new issue.

Turning on my TV does not wake my Nvidia Shield TV from sleep despite all CEC settings being enabled.

EDIT: New Gitlab issue created here: https://gitlab.com/LineageOS/issues/android/-/issues/7440
[Shield Android TV Android Development] mr.wrinw:
I can confirm this issue too with SmartTube app.
[Shield Android TV Android Development] znbaboy:
I was about to create an issue for this, but I am not sure if its a problem with LineageOS or SmartTube.

Do you know of any other Android TV apps that have PiP so we can test?
[Shield Android TV Android Development] Zacharybinx34:
Android TV 14 update coming for this?
[Shield Android TV Android Development] znbaboy:
Looks like it might be: https://gitlab.com/LineageOS/issues/android/-/issues/7120#note_2000570116

(view last comment)
[Shield Android TV Android Development] Zacharybinx34:
Are they waiting on Nvidia to release an update of Android tv 14 first?
[Shield Android TV Android Development] znbaboy:
Likely waiting for android tv 14 AOSP

Android TV 14 expected release date and features we want to see

Android TV 13 never fully rolled out and yet Android TV 14 is already around the corner. Here's everything we know.

www.androidauthority.com
[Shield Android TV Android Development] michie:
Fyi, I have been using Kodi with frame rate matching on for a few months now already and haven't experienced any lock ups ever. I watch movies every day. I'm using a Marantz A/V receiver.
[Shield Android TV Android Development] znbaboy:
Where is the picture in picture option on Kodi? I just installed it and do not see an option for that to test the lockups we are experiencing with SmartTube.
[Shield Android TV Android Development] znbaboy:
updated this with issue tracker for SmartTube PiP issue
[Shield Android TV Android Development] michie:
Kodi doesnt support pip. I don't think it's related. When you go to the player settings you can switch on refresh rate matching and set it to always or at start/end of the video.
[Shield Android TV Android Development] znbaboy:
Okay I am not sure why you referenced our "lockup" scenario with SmartTube then if it was not related to what we were discussing.

It seems like you may have not been talking about our situation. We just ended up using similar words so I thought you were
[Shield Android TV Android Development] michie:
Nah I was talking about the bug mentioned in the OP, I did not quote any message about SmartTube.

"Frame rate matching in kodi causes the app to hang more often than not. This issue is being looked into slowly by both the Lineage maintainer and some kodi devs, but no solution has been found yet. Other apps that support nvidia's frame rate matching work as expected, such as smarttubenext."

Seems like there was some confusion, no worries 😉
[Shield Android TV Android Development] calj17:
Is it poassible to create a dual boot interface and use nvidia original android tv build and a lineage 15.1 tablet mode build created by you?

Enviado do meu iPhone usando Tapatalk
[Shield Android TV Android Development] ClintE1956:
I have tried this several times:

http://www.videomap.it/forum/viewtopic.php?f=25&t=1580&start=410#p3636

Always get stuck when restarting satv pro (newest model, just purchased a couple weeks ago) at the step where you're supposed to boot the recovery kernel (custom boot image to start from usb). Don't know how many times I followed the instructions exactly. Maybe newer model doesn't like the usb boot image?

Has anyone been able to get this to work on new satv pro?
[Shield Android TV Android Development] jmacdon101:
RE

So which gapps 71 arm64 should we flash since I am not getting any sound on the latest build
[Shield Android TV Android Development] ThatGuy94:
I really appreciate making this and having Lineage OS on an Android TV device is definitely a great idea, but I have trouble with video playback. YouTube works, but the videos are fairly low quality and video playback for Hulu and Netflix is just a black screen. Does anybody know if there's a fix for this issue?

Edit: I decided to check the widevine DRM status and it's reporting back it has L1 support.

Current config:

-Shield TV 2017 16 GB

-6.2 Shield TV firmware

-Lineage OS 14.1 12/19 nightly

-Android TV Gapps
[Shield Android TV Android Development] Steel01:
[MENTION=5659326]ThatGuy94[/MENTION]:

Yeah, I noticed that a couple days ago on my darcy as well. Thought I'd fixed that. But apparently there's some crypto differences between the 2015 and the 2017 emmc models. I'm going to have to do some more digging and hackery to see if I can't make it all happy. So, known issue, I'll try to get to it within a week, but with RL(tm), who knows.

Edit:

To be clear, netflix and other widevine stuff should work as expected on the pro and the 2015 emmc models.
[Shield Android TV Android Development] DJarkIV:
Can anybody confirm Lineage OS working on Darcy?
[Shield Android TV Android Development] Steel01:
[MENTION=4727378]DJarkIV[/MENTION]: Yes, it works fine. There was trouble a while back, but that's been resolved.

A few fixes going into the build this Tuesday:

Fix darcy's oemcrypto. Aka, netflix works now.

Fix botched attempt to disable live display on atv. Aka, netflix works after dark now.

With those, I believe all the major issues have been fixed. Sans wireless controller pairing for the old controllers. One day. One day...
[Shield Android TV Android Development] slutexpress:
Hey mate, thanks again for the amazing work, installed everything, but when it came to Netflix, I am still getting the black screen on Foster. I noticed you said you cleaned up this issue on Darcy, should Foster work as expected on Tuesday's release?

Also, is there anyway to install LineageOS File Manager? I would LOVE to have a Google-less option, but could not for the life of me find a way to 'adb install xxxxxxxxxx.apk' so I had no way of installing the Kodi/Netflix/Anything else apks.

Hopefully you can clear some of these answers up for me.
[Shield Android TV Android Development] Steel01:
Netflix on foster should be better. The live display issue affected foster, so after dark, Netflix would just display black. That's been fixed.

Adb should work fine. Have to enable it in dev settings, but I install retroarch via adb install all the time. The file manager doesn't exist for atv. There are some in the store, but I can't recommend any of them.
[Shield Android TV Android Development] Luca-91:
Today I'll install this on my shield (foster). I delayed till today in the hope that 1st gen controller (wifi direct) would have been supported, but I can't wait anymore :P

I'm sure that at some point Steel01 will be able to complete his works on wifi direct controller ;)
[Shield Android TV Android Development] Luca-91:
[MENTION=1416222]Steel01[/MENTION] I've just ended to configure my Shield. Everything is working perfectly, except that the green led (power) doesn't turn off while in sleep mode. Is this a known issue? (Foster). I've also noticed that I can't enter in TWRP anymore if I keep touched the nvidia logo while powering on my Shield.

EDIT: oh and the 1st gen controller (wifi direct) works perfectly while in usb mode!

EDIT2: Oh, I almost forgot the most important thing: THANK YOU VERY MUCH FOR MAINTAINING THIS LOS ROM.
[Shield Android TV Android Development] slutexpress:
You were right, it was definitely at night as I am retesting in the morning and Netflix is fine, will update to the latest release. Thank you for your hard work, I will also check out retroarch!

To anyone thinking about installing this, just do it! Everything is buttery smooth and it Lineage ships with it's own browser so that's real nice! Less bloatware too.

---------- Post added at 07:41 PM ---------- Previous post was at 06:50 PM ----------

Another question to ask, do you have any way to remove the 'Recommendations' Bar from the top? I usually find it to be just spam, so it would be awesome if there's a way to remove it from the top.