yashsingh1/xdaforums huggingface dataset:
[Nexus Player Original Android Development] CADude:
Does anybody see a lot of flickering in menus when flipping through app menus? It seems to work fine but the flickering is annoying.
[Nexus Player Original Android Development] milance01:
I have Kodi 18.3 installed right from the Play Store on my NP running stock non rooted Oreo and there's no flickering or any issue with it whatsoever. Idk if this info is useful to you, but sharing it anyway :)
[Nexus Player Original Android Development] Beauenheim:
Thanks guys. I have to admit, I had a massive brain fart on trying to post something in the bug tracker, I must be getting old! Lol.

As for it not working, it does work on stock 8.0 on the nexus player as well as my Xiaomi Mi Box.

Glad it's being dealt with, because the ROM is otherwise solid.

I have the same issue, especially in the Moonlight app, but once I actually start a game (choose content etc) the flashing disappears. Minor issue for sure.

Thank you npjohnson and XDA!
[Nexus Player Original Android Development] TheLoonyRebel:
This is the custom x86 builds I found. Only goes up to 18.2 but honestly 18.3 doesn't add much so I'm too worried.

https://www.reddit.com/r/kodi/comments/asz0ac/kodi_v181_leia_for_android_x86/
[Nexus Player Original Android Development] TheLoonyRebel:
07/09 build still has the ACTION_OPEN_DOCUMENT_TREE issue which is caused by DocumentsUI needing to be built. Hopefully [MENTION=5848265]npjohnson[/MENTION] will be able to fix this soon-ish.

Edit: Just noticed npjohnson lives in Florida which is in the path of some nasty weather. I hope you and your family/loved ones are safe.
[Nexus Player Original Android Development] airtower:
Any update on L1 for YouTube TV and casting? Still having the same issue.

Also netflix still won't load for me, although I'm not sure that's related to DRM. The app quits at boot with a 116 error which appears to be related to network connectivity. Tried everything short of a factory reset.
[Nexus Player Original Android Development] BladeBear:
Good evening, someone could make a detailed video tutorial of this installation process because there is nothing related to the subject in my language and through video helps a lot.

Thank you very much.
[Nexus Player Original Android Development] BraianV:
Whats your problem? Have you unlocked bootloader or installed twrp recovery beforehand?
[Nexus Player Original Android Development] CADude:
I thought the newest version has working L1? I know casting works for me.
[Nexus Player Original Android Development] Tung_meister:
Yeah I get that, seems like a vsync/ refresh rate issue. Rebooting normally fixes it
[Nexus Player Original Android Development] airtower:
Have you tried casting anything with DRM?
[Nexus Player Original Android Development] CADude:
Oh no. I don't subscribe to any streaming service. I'm just talking about Solid Explorer, VLC and Youtube. Those work fine.
[Nexus Player Original Android Development] BraianV:
Im New to hardware codecs so i would like to ask here as we all use this great rom for our nexus player.

Can the nexus player using this rom do "hardware acceleration"?

I like to watch 60fps videos using mx or vlc but i cant make them play other than 30fps (even if the video can be played at 60fps).

Instead i can play at 60fps with mx player by enabling h/w or h/w+.

Im not sure if vlc can do this too (and im not enabling some option) or mx is doing something more than hardware acceleration.

So, i wanted to ask if nexus player with this rom can use hardware acceleration and how can i use it to watch 60fps videos at 60fps (like mx player).
[Nexus Player Original Android Development] CADude:
Yes. It does 60fps Youtube and 60fps mkvs on VLC.
[Nexus Player Original Android Development] BraianV:
Only mkvs? Do i need to enable something more than "hardware acceleration" on vlc? I dont know, something in developer settings, etc.

I test vlc with 60fps videos and they run only at 30fps while the same video with mx player runs at 60 fps.
[Nexus Player Original Android Development] belrik:
Is there a good opengapps alternative with the leanback launcher or is the download from Google required?

The version in the first post seems an unknown source (no repo shown?) so not entirely sure about that from a security perspective.

I see this topic has been around for several years, has anyone tried to build tvstock? https://github.com/opengapps/aosp_build/pull/158
[Nexus Player Original Android Development] CADude:
Ok you're not making sense at all. How can a 60 fps video play at 30 fps? It will either play at 60 fps, stutter, or not play at all. It will NOT play at 30fps, ever. You just need to enable HW Acceleration in the player and it works. All my 60fps videos play fine on my Nexus Player with 15.1
[Nexus Player Original Android Development] BraianV:
What player do u use? I think Its a problem of my configs. I use both mx and vlc and both have hardware acceleration on but only on mx the video plays at 60fps. In vlc it does run as good as other player. I mean. On mx player with h/w+ enabled it plays better than other players. Of course i always use the same videos to test players
[Nexus Player Original Android Development] BraianV:
If someone can try to download "documentsui" for oreo 8.1 and put it System/Priv-app/DocumentsUI/.

I read this Fix the "cant read/writte" external memories. Of almost all apps on this rom.

Also i found another possible way to Fix "cant read/writte" external memorial. Its on the screenshot i share with this post.

I hope someone can try this 2 options and tell us if they work or not.
[Nexus Player Original Android Development] TheLoonyRebel:
From what [MENTION=5848265]npjohnson[/MENTION] mentioned on the ticket I submitted he'll have DocumentsUI added to a future build. No idea how soon however.
[Nexus Player Original Android Development] Nephilim3883:
Does Hulu work for anyone? I am trying to use the one from Google Play and it doesn’t even open just get a black screen for a few seconds and back to the NP menu.
[Nexus Player Original Android Development] Nephilim3883:
I think this may have something to do with the Webview app. But I am not sure yet.
[Nexus Player Original Android Development] CADude:
It loads fine for me. Make sure you have the latest Gapps from the first post, webview installed from Google Play, and a clean install using the latest TWRP. That fixed all of my issues except for the flickering I get when flicking through menus.
[Nexus Player Original Android Development] Nephilim3883:
Yup that worked. I just installed Webview from Google Play. I had side loaded the apk from the first through ADB and it wasn’t working. Thanks!
[Nexus Player Original Android Development] colino17:
Would you be able to point me in the right direction as to what procedure you make to compile your ROM (zip) from your github source?

I've forked the 15.1 branch of your build and reverted the changes in the commit that removed volume control. I use third party remotes (Mele F10 Deluxe) and prefer to have the built in volume control as that allows me to use a single remote and single remote input just as I do on my Shield TV).

However, I've never compiled a ROM from source before so I'm a bit lost on the proper procedure.

Thanks. :)
[Nexus Player Original Android Development] TheLoonyRebel:
https://wiki.lineageos.org/devices/fugu/build

We do need to also have DocumentsUI added in as well. Hope this helps.
[Nexus Player Original Android Development] MystikPT:
Hello, there is a bug with the chromecast built-in. (I have used the gapps linked on first page of this thread). It doesn't matter which service I try to use, every service has this "glitch" Maybe the CC built-in is defect. Can you please fix that? There is a video:

https://youtu.be/Q-bLixxRnf0

That content visible in that video is a vid from youtube. Or does anyone know how to fix?
[Nexus Player Original Android Development] BraianV:
I havent cast from youtube recently but i casted from other apps like Google photos, plex, Netflix and videos from 3rd party apps and i dont have that issue. Also when i watch videos offline (using pendrive) there are no problems.
[Nexus Player Original Android Development] colino17:
Thanks for this. I'm still working on getting it to compile without various errors (most recently ran out of disk space), but I feel like I'm going in the right direction.
[Nexus Player Original Android Development] ahdoublexl:
Could volume control be added back please please please? Lol. or a version for us that need/use it?

Thank you either way!
[Nexus Player Original Android Development] TheLoonyRebel:
Thank you for your efforts. :highfive:
[Nexus Player Original Android Development] ahdoublexl:
I would like to report that I have this same issue casting.
[Nexus Player Original Android Development] CADude:
I have never seen that. Ever. I always get a clear picture on Youtube, casting or via remote.

I highly suggest you do a clean install from scratch. Grab the latest build, latest Gapps, and just wipe everything on the Nexus Player except the internal data with TWRP. Then install the build and Gapps, then install Webview from Google Play. I did all that and I don't have any issues except flickering when browsing some menus.
[Nexus Player Original Android Development] MystikPT:
I have done that, but I even have that bug. But only on some videos, and if I watch yt using the app, then it is normal. And not only yt, using web video caster, there also some videos that have this flickering. I tried it with stock 8.0.0 to check if it is a hardware problem, but using stock rom it works properly. I really think there is something wrong with LOS.
[Nexus Player Original Android Development] TheLoonyRebel:
I believe Lineage 16.0 might have the dropped frames/video issues fixed. If anyone wants to build it to find out... here you go!
[Nexus Player Original Android Development] CADude:
I'll just wait for the builds to start popping up. The only issue I'm having on 15.1 is that some menus being to flicker when you browse through them and it only goes away when you restart the device.
[Nexus Player Original Android Development] BraianV:
Dont u have the bug that doesnt let NP read external memories (except using es file explorer). For me Its the worst bug because it makes almost all video players and file Browsers useless.
[Nexus Player Original Android Development] MystikPT:
I have reinstalled latest Stock 7.1.2, this works really perfect for me, better than Stock or LOS Android 8. Maybe I try LOS 16, if it becomes available.
[Nexus Player Original Android Development] liorry:
Great ROM. Nice to finally root my nexus player after all these years.

One question though - maybe I missed something but this ROM/kernel doesn't support external HDD formatted to NTFS/exFAT?

It's better than stock that says the drive is unsupported but most apps won't recognize the storage and the apps that can, ask for a permission I can't seem to grant.
[Nexus Player Original Android Development] BraianV:
There is no documentsui.apk on system and that gives permision to all apps to read external memories. Dev alredy knows that and he will Fix it in next build when Its ready.
[Nexus Player Original Android Development] liorry:
Thank you!

Any workaround for now? Flashable zip with this apk or something?
[Nexus Player Original Android Development] liorry:
Edited
[Nexus Player Original Android Development] BraianV:
I dont know. Maybe you can try putting a documentsui apk for android 8.1 by using es file explorer, giving its permisions to the apk and reboot. I will try when I have free time with the nexus player.
[Nexus Player Original Android Development] MystikPT:
Do anyone know how to repart the system partition?
[Nexus Player Original Android Development] liorry:
Tried that, didn't work for me... Maybe I did something wrong. Will wait for next update, hopefully it will solve the issue. Thanks!
[Nexus Player Original Android Development] TheLoonyRebel:
The only thing lately that has been included on the updates is updated foreign language support which stems from updates Lineage is doing themselves.
[Nexus Player Original Android Development] airtower:
Checking back in to see if anyone has working YouTube TV on this ROM. I get widevine key errors when attempting playback or casting. Might wipe and reinstall tomorrow if there's any hope.
[Nexus Player Original Android Development] TheLoonyRebel:
If it wasn't working within a few months ago then it won't work now. The last few months of updates has been pretty bare on the builds so I'm expecting Wildvine stuff won't have any updates/changes done.
[Nexus Player Original Android Development] liorry:
[MENTION=2440946]AngryManMLS[/MENTION] thanks for the details. Seems like there's not much choice but to get a new box :/
[Nexus Player Original Android Development] TheLoonyRebel:
Looks like some audio and bluetooth patches happening for the next build. I nudged our dev to see if the DocumentsUI issue might be fixed as well.
[Nexus Player Original Android Development] colino17:
I forked the 15.1 branch and reverted the changes that removed volume control. I now have it working with a third party remote to allow volume adjustments separately from the TV volume (similar to the ShieldTV).

The only issue I've noticed so far is that while the volume control works, there is no visual overlay when changing it like the ShieldTV has.

UPDATE: I've made an edit to volume_dialog_background.xml that should fix this, although I haven't tested the edit fully yet.

If anyone would like to try it out my forked github is here: https://github.com/colino17/android_device_asus_fugu/tree/lineage-15.1

It can be compiled by following the build instructions and substituting my fork in the repo manifests in place of the default lineage fugu repo: https://wiki.lineageos.org/devices/fugu/build

Hopefully this is helpful to others that use third-party remotes.

PS: Thanks to [MENTION=2440946]AngryManMLS[/MENTION] for pointing me in the right direction with regard to building and compiling, and of course thanks to the devs for all their hard work.
[Nexus Player Original Android Development] MystikPT:
Isn't there anyone who can help me with this?
[Nexus Player Original Android Development] belrik:
You can use parted from within twrp. You need to know what you are doing.

Example from Nexus 7, compare to the fugu partition layout and correct the sizes. You should dd all partitions to backup files on an external SD first.

parted /dev/block/mmcblk0 <<EOF

rm 22

rm 23

rm 24

rm 25

rm 30

mkpart primary 614429696B 2187293695B

name 22 system

mkpart primary 2187293696B 2263875583B

name 23 cache

mkpart primary 2263875584B 2264924159B

name 24 misc

mkpart primary 2264924160B 2281701375B

name 25 recovery

mkpart primary 2348843008B 2610987007B

name 30 vendor

mkpart primary 2610987008B 31272713727B

name 31 userdata

quit

EOF

If this doesn't make perfect sense to you, don't do it.
[Nexus Player Original Android Development] liorry:
Where do you keep track on the commits?
[Nexus Player Original Android Development] colino17:
https://github.com/LineageOS/android_device_asus_fugu/commits/lineage-16.0
[Nexus Player Original Android Development] airtower:
Are 16.0 builds available anywhere?
[Nexus Player Original Android Development] TheLoonyRebel:
And here...

https://download.lineageos.org/fugu/changes/
[Nexus Player Original Android Development] colino17:
No builds for 16.0 have been released yet that I'm aware of. Some people have been compiling from source for themselves to test it out.
[Nexus Player Original Android Development] colino17:
Is anyone else having issues with Google Assistant on 15.1?

I press the microphone button and the Assistant bar pops up at the bottom. I issue my voice command, and it recognizes the text on screen, but then the Assistant seems to just close or crash without issuing a response.

Update:

Seems like webview was missing. Installing it seems to have fixed the issue.
[Nexus Player Original Android Development] Darklightning13:
so I've been having trouble opening the new updated Hulu, I looked around in the thread and saw one other person mention it was an issue and install webview from the play store. I've wiped twice now and followed the instructions to the letter but at the end the app only opens to a black screen for a split second before going back to the menu.

Managed to capture a logcat from start to crash if it helps out.
[Nexus Player Original Android Development] mibtnt:
Ok so I had purenexus 6.0.1 on my NP. I went and updated my recovery to the latest TWRP and I flash the latest lineage 15.1 and mind the gap gapps. Booted up and started installing apps. YouTube works fine, but Netflix doesn't want to load. It gives me an error -116 and I think behind that error is the u300 error. I went and installed google system webview and still, Netflix crashes... What do I do?
[Nexus Player Original Android Development] CADude:
The notes in the first post clearly tell you not to install mind the gapps. Do a clean flash, wiping everything except internal data, and make sure you use the gapps linked in the OP.
[Nexus Player Original Android Development] mibtnt:
Oh crap! I went straight to the website in the "here" link under installation and followed the instructions there. It said to use either. :eek: I shall do it over. I had a feeling it had to do with the small size.

May be a mod on that site could add in that information?

https://wiki.lineageos.org/devices/fugu/install

Thanks you. The ROM is working really well otherwise though.
[Nexus Player Original Android Development] CADude:
When you use a ROM from XDA, you read and follow what the dev posts in the XDA thread for that ROM, not the lineageos wiki. Period.
[Nexus Player Original Android Development] mibtnt:
Oh well. Did everything over and Netflix app still doesn't load, giving the -116 error "sorry we couldn't reach Netflix Service. Please try to restart application". Some other sideloaded apps also crash to drawer like what the other poster described happened to Hulu. I'm at the point where I am thinking to just load stock firmware. I was only updating to 8 for update sake
[Nexus Player Original Android Development] npjohnson:
you did the right thing according to the wiki, I'll try to fix it!
[Nexus Player Original Android Development] npjohnson:
Nope, I really want people to follow the wiki.

I messed up. I'll try to get it fixed.
[Nexus Player Original Android Development] mibtnt:
So. An update. I reinstalled PureNexus 6.0.1 and Netflix is working without a hitch :confused: no errors. It worked right out of the box, latest version and all. It's a bit strange that it isn't working on Lineage...

Sidenote: I miss all of the free time I used to have. I only got a chance now for the entire day to sit and do this lol.

Thanks! Aside from the issue I have, the ROM is working really awesome. Wicked fast!
[Nexus Player Original Android Development] CADude:
Ah I see. May I also ask when you plan to start pushing out LOS 16 builds?
[Nexus Player Original Android Development] colino17:
[MENTION=5848265]npjohnson[/MENTION]

First off, thank you for all your hard work on this.

I forked the 15.1 branch of your Github and patched back in volume control by reverting the commit that removed it (https://github.com/LineageOS/androi...mmit/4d7b8908d152119795c28581e46ccf082fd7cd38), which is working great. I also added specialized kl files for a few third party remotes I have. I'm trying to make a few more tweaks, but am having difficulties. I'm wondering if you could point me in the right direction.

I tried to revert this commit entitled "Make Volume HUD Transparent" (https://github.com/LineageOS/androi...mmit/b9722b806d21c1a15a01cc37c7fc52bb1278c230), but I still can't seem to get any visible indicator of volume level like the one seen on the ShieldTV (from what I've seen the ShieldTV seems to have similar code as this anyway so I'm thinking this just relates to the background of the volume bar rather than the bar itself). The volume control works fine, but there is no volume bar visible when it is being changed. Any idea why this is, and what files I would dig into to add it?

Second, based on what I've read, libhoudini handles emulation of arm apks when a native x86 apk isn't available. It looks like libhoudini is included in the rom, however the Play Store version of Kodi (arm) does not work. I saw a few older comments that Kodi dropped support for x86, but I'm a bit confused as to why it won't work through libhoudini. Did I improperly compile something as to break libhoudini, or is the Play Store version of Kodi missing some element that prevents emulation? Or am I just completely misunderstanding how libhoudini works?

Thanks again.
[Nexus Player Original Android Development] easy_mac:
Hey, any chance you could post the build with volume control? Would love to not need to use my tv remote for that!
[Nexus Player Original Android Development] colino17:
I'm not sure the rules surrounding modified builds, but the source code is here: https://github.com/colino17/android_device_asus_fugu

You can build the rom from that source using these instructions (build from the 15.1 branch): https://wiki.lineageos.org/devices/fugu/build

You have to replace the ~/android/lineage/device/asus/fugu folder with my github source before you build. I also had to pull in a few files from the android source if I remember correctly that were not synced properly: https://android.googlesource.com/device/asus/fugu/+/refs/heads/oreo-r6-release
[Nexus Player Original Android Development] npjohnson:
I have an implementation I'm gonna launch with 16.0 for volume control on fugu -- no ETA rn though, thanks to **surprise** the yearly hurricane headed for my house. Evacuated to Fort Meyers because my house is on the beach in Saint Augustine.
[Nexus Player Original Android Development] TheLoonyRebel:
Glad to hear you are safe. Hope your house will be okay.
[Nexus Player Original Android Development] colino17:
Stay safe!
[Nexus Player Original Android Development] CADude:
Any plans to roll out Lineage 16 builds now that Android 10 is out?
[Nexus Player Original Android Development] TheLoonyRebel:
Lineage 16 is still Android 9 Pie based which has been in the works for awhile. No idea on Android 10.
[Nexus Player Original Android Development] colino17:
[MENTION=5848265]npjohnson[/MENTION]

Do you know what causes something like this or what was done to fix it? I was tinkering with compiling from the vanilla AOSP 8.0.0 source. The compile works fine and OpenGAPPS flash fine, but when I get to the sign-in portion of the setup it just fails and loops back a few screens (does it whether I try the normal setup or the setup with another device).

I feel like some background service must be missing, but I'm not sure what it could be. I noticed you responded to the above quote about looking into that, so maybe you have some idea of a fix since the same issue doesn't seem to exist in your current Lineage build.

Thanks :)
[Nexus Player Original Android Development] BraianV:
I hope oreo builds can be able to read/write external memories [emoji24]
[Nexus Player Original Android Development] TheLoonyRebel:
I'm assuming the DocumentsUI issue will be fixed on Lineage 16 builds when they finally are built. I haven't tried any Lineage 15.1 builds in the last few months so I dunno if the issue has been fixed.
[Nexus Player Original Android Development] BraianV:
No, It isnt. That why I said that I hope this issue can be fixed on oreo builds.
[Nexus Player Original Android Development] TheLoonyRebel:
Thanks for confirming. :highfive: