yashsingh1/xdaforums huggingface dataset:
[Raspberry Pi Original Development] Jean.Dean:
Thank you very much for taking care of the matter, I appreciate that!

Kodi is quite nice for streaming VODs with another add-on.

I used to have Netflix and Co running on it, on the FireTV stick, but the menu navigation under Kodi is terrible, no matter which skin I tried. In the end, that would really be the last solution for me.

Apps I use are Prime Video, Netflix, Plex, Tivimate (would rather take myONLINE TV 3 if it existed) and some German media library apps like ARD and ZDF.

Unfortunately, none of them run on Lineage OS 20 Android TV, if I take them from the Google Play Store (But I will also try your help, which you mentioned above)

In addition, my question to you, where could I get the Apps, if not from the Play Store?

You mentioned sideload. Does this mean to load the corresponding APK file from, e.g.: apkmirror?
[Raspberry Pi Original Development] ethical_haquer:
Yeah, I mean I got the normal Prime Video app working, but then I had to use the mouse to navigate. The ideal solution would be to have all your apps running with just the remote.

You could do that, but it's not ideal. I would just install Aurora Store and download them from there. If you look here you can see that someone got Netflix working. And that comment just reminded me, you can run Kodi on Android: link. So try to get as many apps working as you can on ATV, and the rest you could run on Kodi, as a last-ditch solution.
[Raspberry Pi Original Development] amxcs:
Hello,

unable to pair bluetooth remote bpr3s. The remote is visible, but it just says Pairing and that's it.
[Raspberry Pi Original Development] amxcs:
Tried with another bluetooth remote - same thing.
[Raspberry Pi Original Development] KonstaT:
Already discussed previously. There's known issue connecting BLE devices on Android 13 builds. You can use Android 12 based releases or see below for a "fix":
[Raspberry Pi Original Development] amxcs:
Thanks a lot, I'll try.
[Raspberry Pi Original Development] evolutionviii:
Hi, the software is very good, thanks a lot. However, I have a problem. I want to use Disney+ on Linageos 20 Android TV 13, but it doesn't exist on Play Store. I couldn't find a solution even if I have seen some entries related to the issue apps like Disney+. Is there a solution for this? Also, if I install Linageos 20 Android 13, not Android TV, might it work? Is the problem related to the Android TV?
[Raspberry Pi Original Development] Meitei:
Couple of questions:

1.) I wanted to ask if Lygisk as a Magisk fork (could solve the OTA issue) would work here? And how would I go about installing it? Simply boot into recovery and adb sideload from the SD card/USB drive?

2.) Will a bluetooth remote with a keyboard work just fine or should I go with the LOS19 version, since I really need that one to work.

3.) Would using the HidePropsConf module and picking the nvidia android tv help with getting Netflix and Prime to work with 4K/UHD?
[Raspberry Pi Original Development] Meitei:
Have you tried the aurora store or from sites like apkpure or apkmirror?
[Raspberry Pi Original Development] evolutionviii:
I have tried to install via apk which I downloaded from apkmirror, but it didn't work. However, I have not spend much time on it, yet. Maybe it would work, I will try again. Also, I have seen some people who cannot make that happen by using apk. Thus, I want to ask here.
[Raspberry Pi Original Development] Brettus83:
Hi, I am trying to get a 3.5" LCD touch LCD screen working with this build of android it connects to the GPIO header and has the XPT2046 chip set. How do I go about getting it to work if it is compatible? Thanks
[Raspberry Pi Original Development] Meitei:
Seriously no screen is working with this! I got a FO48U shipped, arriving in a couple of days and I need this to work on there!

I tried it on my U28R552UQR to no avail. Befrore I tried it on an old Medion TV.

But for all displays all I get is either a black screen or the RGB screen. And yes, I already deleted the resolution.txt and I edited the config.txt and added

# HDMI
hdmi_force_hotplug=1
config_hdmi_boost=4
hdmi_drive=2
hdmi_ignore_edid=0xa5000080
config_hdmi_boost=7
# 4K Res
hdmi_enable_4kp60

But nothing is working.

Edit: Would buying a HDMI-emulator-adapter help with this?
[Raspberry Pi Original Development] Meitei:
Ok, just tried this, did make no difference whatsoever.
[Raspberry Pi Original Development] Meitei:
At first I wanted to get a Nvidia Shield Pro and degoogle that one. But then I researched some more and found this built a couple of days ago and got really excited. And I thought well with the shield I would lose my warranty immediately and is pretty much only a one-trick pony.

But when this build can't even run on a monitor that's about two years old, it's really disappointing. I would totally get it, if this only wouldn't work on my old Medion display...

If this can't be fixed soon I may try raspberry Pi OS or LibreELEC for my streaming setup with my new monitor instead.
[Raspberry Pi Original Development] Meitei:
I tried it with th the LOS19 version to no avail.
[Raspberry Pi Original Development] amxcs:
I tried Android 12 first, but youtube could not be watched normally, almost all the videos stuck. The menu was also very slow.

Then I tried the fix and it worked. The BT remote is paired. YouTube can be watched as almost no lag - I'm fine with it.

There is only one more problem - the IPTV application, which is why I installed Android, does not work correctly. After I install it, it says that it registers the MAC address (which I have to tell my IPTV provider for 7 days), the TV starts for 1 minute and then a message appears (We can not provide service now...). After factor reset I install it again, it starts for 1 minute and again the same message.

I also got this same message on one of my attempts to run an android on NOX emulator, then I tried on BlissOS and the IPTV program has been working fine for a few months now.

I uploaded a log. The program is called Rimex (rimex.tv), if you could help me find the problem I would be very grateful!
[Raspberry Pi Original Development] Meitei:
Ok, I tried installing libreelec and works just fine. Although I have to add

video=HDMI-A-2:1920x1080M@60D

to get it to run on my Medion monitor. Worked fine on my Samsung even in 4K/UHD@60.

This rules out that there is any issue with the power supply or HDMI cable, if another OS works just fine.

I tried running the config and cmdline settings again on LOS20, which didn't make a difference.

Again would an adapter like the "EVanlak HDMI-Emulator-Adapter (3. Generation)" do the trick? Found it on amazon.
[Raspberry Pi Original Development] KonstaT:
As discussed e.g. on the previous page, apps that play DRM protected content can have some limitations due to various reasons (Widevine, SafetyNet, server side whitelists, etc). Android TV versions tend to have more restrictions (SafetyNet API, etc. IIRC Netflix even requires Android TV device to be specifically whitelisted for their servers). You would need to use regular mobile version of the app instead of the Android TV version. It shouldn't matter whether you use the regular tablet UI or Android TV version of OS (you run mobile versions of the apps on both).

If it uses SPI for display interface, it's not supported. HDMI displays that use SPI for the touch interface on the other hand are (uncomment 'dtoverlay=ads7846...' line in /boot/config.txt to enable the touchscreen driver for XPT2046).
[Raspberry Pi Original Development] KonstaT:
No point in asking the same questions in various places. Already asked and answered on my site before you even posted here (http://disq.us/p/2v4zf4z). It's probably not alarming if no one replies to your post in two hours on a summer weekend.

3. No, because apps the play DRM protected content are capped to standard definition due to Widevine L3 in any case. Not to even mention that Pi hardware is only capable of decoding H.265 in 4K which is not generally used by streaming services.

Please read the relevant FAQ section. You need to use a HDMI display that reports resolutions it supports via EDID. Adding some random lines to config.txt is of course no help (you specifically need to have the EDID from the display, not ignore it). Setting a custom EDID firmware (if your display doesn't provide one) was just discussed on the previous page.

Just a kind reminder that no one here owes you any support or fixes. You're of course most welcome to use whatever on OS on your device that suits your needs. :) Rather it would seem that you have the wrong hardware for what you had in mind.
[Raspberry Pi Original Development] Meitei:
Yes, sorry didn't see it at that time. I got the notifcation much later.

Did multiple times. So using an adapter like the one I mentioned wouldn't make a difference? And is there any way to check if a monitor supports EDID?

Read that. So making a custom firmware goes beyond simply adding to the cmdline.txt?

Well, I got a 4b 8GB and monitors that came out in recent years
[Raspberry Pi Original Development] KonstaT:
No, using a dummy HDMI plug won't make any difference (as you could also run this completely headless i.e. no display connected). Settings -> System -> Raspberry Pi settings -> Display resolution list the resolutions your display reports as supported. What is listed depends on the connected HDMI display and what it reports. You could do the same on command line ('cat /sys/devices/platform/gpu/drm/card0/card0-HDMI-A-1/modes' for display connected on HDMI0 port).

As mentioned before the kernel includes EDID firmware some specific resolutions. You could append /boot/cmdline.txt with e.g. 'drm_kms_helper.edid_firmware=edid/1920x1080.bin'.
[Raspberry Pi Original Development] Meitei:
Ok thx, then I'll save the money.

If that's all, I already tried that with no success.
[Raspberry Pi Original Development] KonstaT:
More likely something else wrong with your setup. This should work just fine with any 1080p HDMI display even without any additional modifications (works just fine with every display I own). Check your cables and micro-HDMI to HDMI adapters as well.

Also read the relevant FAQ section if you're booting from an USB device, etc.
[Raspberry Pi Original Development] Meitei:
If that helps:

It works fine on Libreelec. Although I have to set a resolution for my older monitor.

The micro-HDMI is capable to output 4K/UHD@60 on my Samsung monitor. Power supply has 5V 3A.

raspberry pi OS worked fine as well, although I think the ratio only was 4:3 and I only checked if the display worked.

And I do boot from a 128GB microSD, although I might add an USB for better removable storage later on, but this shouldn't be an issue right now.
[Raspberry Pi Original Development] amxcs:
My provider fixed the problem with the IPTV app. Action was needed on their part.

Everything is alright now.

I just don't understand why the new applications don't appear in the favorites. There are 5 new ones installed. :(
[Raspberry Pi Original Development] Meitei:
TL;DR I think I got it working, although I haven't tested it on my 4K display and I might have to flash LOS19 or try the bluetooth fix first.

I watched a couple of tutorials and until this point I always added the unziped img as an image in either Imager or Etcher. Even in the official doc of Imager it says "You may need to unzip the downloaded file (.zip) to get the image file (.img) you need to write to the card." so that's what I did until now.

But some video tutorials simply added the .zip as an image. At first I tried that with Imager, but it never produced a valid boot partition, even after the second attempt. After that I gave Etcher a shot, which did it's job.

After that I deleted the resolution.txt, made changes to the config.txt that I knew worked with libreelec to get it working with 4K@60 and tested it with my bluetooth remote on my older Medion screen, and besides not recognizing the remotes' keyboard at the back and not being able to click on any keys with the built in mouse on the screen it worked.

I'll try a wired keyboard next, so that I can finish the setup and try the bluetooth "fix" for LOS20.
[Raspberry Pi Original Development] Meitei:
Ok, working on my UHD as well, still a bit clunky even with a wired keyboard. But that could be just me getting used to it.

Now what I noticed and it's pretty annoying:

Whenever I click on something or return from a setting the screen flashes black for a second, before it returns to normal. That is pretty annoying and makes it pretty much not usable.

Also, I cannot get UHD@60Hz, but this could be because I am on the 2nd HDMI, so very well may not be an issue with LOS, although I think I got it working with libreelec even on the 2nd HDMI. Or maybe it is normal that 3840x2160 isn't shown with the at60Hz?
[Raspberry Pi Original Development] Meitei:
Ok, I tried LOS19 which wasn't much better, maybe by a small amount regarding the bluetooth. But it still had a couple of downsides, like icons being huge from the start, not being able to change that and not able to change the res on my older display. But this might be because of changes I made to config.txt, will look into it.

But the flickering is still there and no 60Hz available on my UHD display.

Also once I boot into recovery, on my UHD I cannot navigate with my remotes' built-in mouse, because it's in slow motion and lagging.

Another thing I noticed: I flashed the partition.zip in recovery to get full storage on my Pi, which worked, but when I insert the microSD into my computer it still tells me that I have to format the partitions that aren't "boot".

And when I flash the zip as an image on balenaEtcher I am getting three partitions, instead of only two.

And I cannot see the terminal, even though I enabled debugging and rooted debugging inside the developer settings, as well as something with terminal in it's name.
[Raspberry Pi Original Development] KonstaT:
I guess that would depend on the launcher. Actually I have no idea what launcher that even is as it seems you've installed GApps but at least I got an update for more recent Google Android TV launcher that looks similar to Google TV. Google's Android TV launcher only displays app icons for native Android TV apps (i.e. Leanback UI).

So, it wasn't a display issue at all. E.g. with Etcher it doesn't matter if you unzip the file first. Flashing the .zip or the uncompressed .img will work just the same.

I'm not entirely sure what you're trying to achieve using 4K display resolution. GPU on the Pi is not that powerful and there's four times the pixels to render than with 1080p that is used by default. This will naturally affect overall graphics performance. 1080p is forced by default to provide more consistent user experience (as display density also needs to be adjusted with different display resolutions).

To use 4k@60Hz you would need to add 'hdmi_enable_4kp60=1' to /boot/config.txt and '3840x2160@60' to /boot/resolution.txt. Refresh options don't show up for 4k in Settings -> System -> Raspberry Pi settings -> Display resolution.

There are four partitions in this Android image (boot, system, vendor, userdata). Only boot partition is formatted to FAT that Windows manages to mount. The other three are Linux EXT partitions (so you would need to run proper operating system on your computer to mount them).
[Raspberry Pi Original Development] Meitei:
Interesting that I still had issues with just the .img then.

Well first, because I am getting a display that supports it and in theory the Pi does so as well and second I am planning on overclocking as well. Some tutorials suggest upgrading the firmware before doing so, although they are not using android as an OS, is it still required? I'll install termux so I should have a shell soon.

I also noticed that the black flickering is because of the 4K res, is there anything I can do about that? Maybe overclocking?

Also the big text and icons are because of that as well, but only on LOS19.

I already did that, although I deleted the resolution.txt.

Interestingly this for now makes it unusable on my older display, which shouldn't be an issue in the long run. But for now it would be more comfortable to set everything up on there. Is it possible on android to set a specific resolution only on the 2nd HDMI? On libreelec I added "video=HDMI-A-1:1280x720M@60D " to cmdline, which is different than your ' drm_kms_helper.edid_firmware=edid'

Edit: Strike that, already tried it, it's OS independent apparently, wasn't sure at first.

Edit2: Ok, at least on the other HDMI, it boots into 480p, without a way to change it in the settings on my older monitor. But it worked with 1080p before.

Edit3: Ok weird, once I tried to boot into recovery from my old monitor I had to use the first HDMI0 (nearest to the power supply USB-C). And after being done with the recovery it stopped working on my older display. I had to switch to my 4K/UHD monitor.

Great thanks for explaining that.
[Raspberry Pi Original Development] Meitei:
Regarding the bluetooth "fix":

At first I tried to the simple file manager with root access but that didn't work. With root explorer I was able to move the files to the root location. (I had to restart once after giving permission.)

The setup still feels kinda clunky. No idea if it is because of my remote, keyboard and/or my not being used to the android tv interface.

But lots of times it's hard to navigate between files inside the file manager. When I am inside an app or setting and I want to get out of their I have to spam F2 or the home button on my remote or worst case reboot by turning the Pi off.

Am I missing something that could make this easier?

Also currently the Aurora Store isn't working properly, because I can't log in anonymously. It simply stops and doesn't progress to the store.

So far I have installed the safetynet fix, enabled zygisk, enabled deny list and conf'd it (added crunchyroll and disney+). I still cannot pass safetynet. As a matter of fact, microG won't even let me enable that.

Crunchyroll let's me login but crashes once I try to play a video.

(before installing safetynet fix and adding to deny list, still gotta try that.)

Still have to try disney+ and install & try netflix and prime.
[Raspberry Pi Original Development] ethical_haquer:
What version? From where?

The SafteynetFix by @kdrag0n or @Displax? What do you mean MicroG won't let you enable it?
[Raspberry Pi Original Development] Meitei:
Most recent from their website

I think the one you quoted a couple of posts ago, I think it was from @Displax, but I'll check later.

In the MicroG safetynet setting there is the toggle the enable/disable it. ANd it's disabled and no way for me to turn it on.

Btw, already installed netflix and prime (regular version), added them to the deny list, cleared data/cache from all streaming apps. And will try if they work later.

Oh and duh... NewPipe works.

Still haven't found a good browser. Brave failed, but will try it again later. I tried two for android tv but one wanted me to login and the other one, looks weird and doesn't let me customize my search engine.
[Raspberry Pi Original Development] ethical_haquer:
Yeah, I would try using @Displax's, if you aren't already.

Hmm... I'll look into this. When I tried, with BiTGApps, I used the BiTGApps-arm64-13.0.0-v2.3-CORE.zip from here. Simply because I wanted the absolute bare minimum required for Google Play Services, and therefore SafteyNet. (That one's 70MB)

Sounds good.

I had installed Firefox, but there's no ATV version. It was pretty hard to use (with mouse + keyboard), and was a little slow on my 8GB Pi booting off USB3. I reallyhad it just to download .apks though.
[Raspberry Pi Original Development] Meitei:
I just removed microG.

Before I downloaded the apks from their site.

Simply adding the repo to fdroid did nothing, even after refreshing... Maybe I am missing something?

I tried adb in termux trying to sideload it that way, after enabling debugging/root debugging but it is not working. Did I miss a step?

Just checked my magisk modules, it's:

v2.4.0 MOD 2.0 modded by Displax

Brave doesn't have on either, my idea was to run the desktop mode, but I never came that far. Stopped working during the setup.
[Raspberry Pi Original Development] Displax:
There is separate version of my mod for microG users

Release v2.4.0-MOD_1.3 · Displax/safetynet-fix

Changelog: v2.4.0-MOD_1.3 Fix "stat /sys/fs/selinux" access time reading. Also removed archaic MIUI cross-region shenanigans. Thanks to PR by aviraxp! Ignore props changing on Xiaomi.eu. This fixe...

github.com
[Raspberry Pi Original Development] Meitei:
Great thanks :)! Will try it out.

Should microG have safetynet enabled, or is that a sign that something went wrong with the microG installation?

Edit: I tried f-droid again, this time I could install microg with it. But still, wasn't able to enable safetynet... I'll try the magisk module version next and flash the fix after a reboot.

Edit2: Nope even installing it over magisk made no difference, I cannot enable safetynet in microG settings, even after installing the specific safetynet-fix mentioned above and checking for it by YASNAC fails as well.

Edit3: Just tried crunchyroll again, and I came a little further than before, now it crashes/throws an error when I want to change the language. (log attached) (attaching worked after ziping the txt)
[Raspberry Pi Original Development] ethical_haquer:
Are you logged into Google currently, through MicroG?
[Raspberry Pi Original Development] Meitei:
No, am not planning to either. I mean I could create a dummy account, if need be.

Was thinking of trying that mentioned on reddit:

https://www.reddit.com/r/Magisk/comments/14p854e/_/jqpwvbl

Also Magisk asks me to update to v26, should I do it?

Haven't added microG to deny list either yet, will give that a shot. But it's strange that I cannot enable safetynet in microG. I remember this working on LOS18 on my phone, maybe an issue of LOS19/20, because I am neither able to on there, but all streaming apps are working fine on their. And yes I know, my phone isn't a Pi 4B.

Edit: Wanted to try this on my phone as well. Got into a bootloop, even with the bootloop module... What irony... And no, don't have TWRP, but regular lineage recovery btw.
[Raspberry Pi Original Development] ethical_haquer:
I was just wondering because if you're not (like me), then maybe try using some form of GAPPS instead of MicroG. Like I said, if you're just using them to pass SafteyNet, you want the bare minimum needed. When I was able to pass SafteyNet, I used GAPPS, so I'm not sure if it will work with MicroG.

Yeah, but see how they use Magisk Alpha. This build uses a file called rpi-magisk.sh to help install Magisk. When I tried flashing Magisk v26 something in TWRP, it failed. It might work, but I'm not sure. Maybe @KonstaT knows. The first comment there also linked to this: link.

I'm not sure, you'd have to ask @KonstaT.

Hmm... Well, If you really can't get it working with MicroG, try GAPPS.

Try what? Do you need help fixing it?
[Raspberry Pi Original Development] Meitei:
What the person said in the reddit comment. I flashed Shamiko, which worked then it asked me to update and then on reboot I got stuck in a bootloop. I tried a couple of things, but in the end I decided to factory reset and install LOS20 w/ MicroG again. I only lost up to 10 days worth of data, mostly chats. I make frequent backups so it isn't the end of the world either.

But thanks :)!

Anyways... back to the topic...

I would have to look into what bare minimum really is. But I want to avoid google at the system/root level as much as possible.

I'll try Netflix, Prime and Disney+. Those three together with Crunchyroll are my main streaming services that I use and really have to work on the Pi.

I might try Kodi for android next and install the addons as a backup or for those services that aren't working.

If all fails, I'll go with raspberry pi OS + Kodi.
[Raspberry Pi Original Development] ethical_haquer:
Same here. Even on Kodi, I had to install Google Widevine due to DRM. :(

Alright. I'm trying to get Prime Video and Hulu.

(y)

That's what I'm currently using. Prime Video and Hulu add-ons are working, but the Hulu one is much faster at scrapping then Prime.