yashsingh1/xdaforums huggingface dataset:
[Raspberry Pi Development] masterchop:
Can you share your fdisk steps? i can manage to get it working the adb stop always give me this error:

* Removing old package installer...
* Pushing system files...
adb: error: failed to copy 'gapps/sys/priv-app/PrebuiltGmsCorePano/PrebuiltGmsCorePano.apk' to '/system/sys/priv-app/PrebuiltGmsCorePano/PrebuiltGmsCorePano.apk': remote write failed: No space left on device
* Enforcing a reboot, please be patient...
* daemon not running; starting now at tcp:5037
* daemon started successfully

The device never comes back it remains on the android screen. Adb never connects again.

I am using 32GB SDcard, using ethernet cable

GAPPS still not working after 1st restart i never comes back.

This is what happen with GAPPS now

the original script is missing the those procedures, i found another on the internet and that one went fine, the android TV remain on boot image like before:
[Raspberry Pi Development] TodorSRB:
I had the same problem, tried installing gapps with Linux Mint first, didn't work. Installed Linux Subsystem on Windows 10, Ubuntu from windows store (very simple to do, tons of tutorials). Do a sudo apt-get update and sudo apt-get install android-tools-adb after initial setup of Ubuntu bash.

Deleted the folder where I extracted the gapps originally because it changes some files when you try to install.

Re-extract gapps into a new folder, started Ubuntu Bash in Windows 10 and changed directory to gapps folder.

Change the IP in gapps.sh to the IP of your RPI and save gapps.sh

Type in the command and start it.

It is very important you use a fresh extract of gapps on each try, also you have to reinstall Android on SD Card and use this image for easier flashing (No need for linux and creating partitions yourself)

https://mega.nz/#!jsY1XA4C!8z7fT__I_YxQU1_Xet_FtNpOK6yzsls3MQVFUiURrng
[Raspberry Pi Development] masterchop:
Thanks for your reply the problem persisted. I guess ill wait for it when its actually an image to install.

If anyone manage to create the image please share it with GAPPS in it so we can test it.
[Raspberry Pi Development] aneeskamuhammed:
What about screen cast? Is it working?
[Raspberry Pi Development] belrik:
Yes, that's an Android-TV specific app but it'd be neat to use elsewhere....
[Raspberry Pi Development] imeneo:
Hi. I have two doubts.

1. IP gapps.sh A field named IP does not appear.

2. Flash GAPPS. In a Linux computer or in Raspberry PI with Andorid? If it is in RP, how do I open the terminal?

Thank you.
[Raspberry Pi Development] Wolfillete:
UP!
[Raspberry Pi Development] paralight:
hi

thank for this release

It works like a charm but the playstore is stuck on "Waiting update" for all app, so i cant install new app from internet, any ideas ?

Another issue, when i install via sh script an apk "freeflixHq" everything is fine, but when i launched a movie, it crashs instantly

thanks
[Raspberry Pi Development] Joseph033:
Raspberry pi Android tv os

Nice to meet you on my raspberry pi 3 want to load android-aosp tv I was wondering can you ever expect to see a more stable version of the android tv for raspberry pi 2 and 3 that will work without a stammer when playing 1080 p video as well as works on Android os tv box. If you might be able to get some information about this whole thing.
[Raspberry Pi Development] jpq:
Hi All

Is there a way to make this ROM (and any other) to work in RPI3 B+ ?
[Raspberry Pi Development] jjakajonas:
Okay i may or may not have something new to put on the table..

I got an linage OS 14.1 on my Pi 3 B+

It's kinda working but it delevers some new stuff.

The install i downloaded gave me twrp 3.1.1-0 and therefor the ability to flash to the system.

The problem is that it runs a sony elf32 file system...

But if Theres a way to get around that, then i believe Theres a way to get this to work.
[Raspberry Pi Development] jpq:
Hi jjakajonas

did u manage to boot RPI3 rom on RPI3 b+ ?

if yes ... how did u do it ?
[Raspberry Pi Development] jjakajonas:
Not quite.

But I have been doing some digging in it and I don't think this will work on the b+.

But I have discovered that the boot partition in this build I have contains:

boot.scr.uimg

ramdisk.uimg

recovery.uimg

zimage

I would love to open them and mod on the boot file to gain root.

With the root access do I have an idea on how to trick parts of android to think its a google device.
[Raspberry Pi Development] jjakajonas:
Hey [MENTION=5471195]tabp0le[/MENTION].

Is this ROM still in develupment or is it stone dead?

The reason for the question is that I was thinking of get me yet another pi now that it won't work on my new 3 B+.

My goal is to integrat root so that I can make a firmware mod in the OS that tricks the the device to see it self as a google nexus device (I think to remember that its that device type I found the mod to) and also the full Android TV app collection

And also.

I want to integrate TWRP so that I there will be more functionality.

I have most of the files needed but I have no clue to where I start.
[Raspberry Pi Development] jpq:
ATM this ROM doesn(t boot on PI3 B+
[Raspberry Pi Development] jjakajonas:
I also points that in my previous post and in that I also points out that I was thinking of getting my hands on a 3 B (not +) and try to help in the development of this system.

And maybe try to see if I later can learn how to bring it op to work on 3 B+..

The one I stated that I kinda got to work was another ROM that I was trying to take parts fro to port to this version...
[Raspberry Pi Development] herrneiss:
remote control?

Hi, I successfully installed OS and gapps, but I cannot connect with Android TV remote control. I paired device, but then it crashes. Any suggestions?
[Raspberry Pi Development] jjakajonas:
Mine is doing the same.

But my biggest concern is how to get the device certified so that we can run Netflix and viaplay on it.
[Raspberry Pi Development] jjakajonas:
Maybe.

But as a side note then if you root a device Netflix disappears in Google play.

My old fix for that was magisk manager with root.

The problem is just that I can't patch the boot part of this build...

I don't say it will work on the pi.

But I'm trying to find a way.

Edit:

Also from my testing with another ROM on my 3 B+ I discovered that the DRM is possible on regular android.

So my plan is to try port it to the TV ROM on the 3B I only got my hands on for this project.

And if this gets to work and gets stable then I was thinking to port it to my 3B+ that I also only got my hands on for this project.

Minor update.

The YouTube app on my device do show a image if I skip in the video.

And just totally random it starts play "pitbull - I know you want me" and that video is shown in kinda pic skips ?

So there is some possibilitys in this build.
[Raspberry Pi Development] jjakajonas:
Progress...

But still not use able...
[Raspberry Pi Development] Nypan sr:
Use LibreELEC (Kodi) instead and install the Netflixaddon (and for a alot of others, use the Retrospectaddon), and CEC works so just use your tv-remote.

LibreELEC (Kodi 17.6):

https://libreelec.tv/downloads/

LibrELEC (testbuilds Kodi 18):

https://forum.kodi.tv/showthread.php?tid=298461

Netflix:

https://github.com/kodinerds/repo/tree/master/repository.netflix

https://github.com/asciidisco/plugin.video.netflix

Viaplay:

https://forum.kodi.tv/showthread.php?tid=286387

Retrospect:

https://www.rieter.net/content/

https://bitbucket.org/basrieter/xbmc-online-tv/
[Raspberry Pi Development] jjakajonas:
Thanks for the advice.

I am at the moment getting files ready to build a new kernel and system image that I can work whit and maybe take parts from other projects and cross repo files and such because I have seen drm work on the pi.

I just need to found out how.
[Raspberry Pi Development] Nypan sr:
If you have to use android (and i dont understand why) try https://raspis.eu/pub/downloads/android-x86/exton/
[Raspberry Pi Development] KonstaT:
Most definitely don't use that! RaspAnd is nothing but a build from my free and open source work (https://github.com/lineage-rpi) with some apps bundled in. Don't purchase that - ask for a refund if you have! There's GPLv2 licensing issues as well.

Issues with Arne Exton have been raised before (https://www.reddit.com/r/Android/comments/4q40gj/androidrpi_extons_9_build/).
[Raspberry Pi Development] ninjazin:
Thank u for posting.

Do you have links to your builds or perhaps guides. Been wanting to run some Android on one of my pi's but refuse to use his builds

Skickat från min G8441 via Tapatalk
[Raspberry Pi Development] KonstaT:
They're available here on this forum (LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 B & LineageOS 15.1 (Android 8.1.0) for Raspberry Pi 3 B and B+) and on my site (https://konstakang.com/devices/rpi3/). Source code with build instructions is available on my github project (https://github.com/lineage-rpi/android_local_manifest).
[Raspberry Pi Development] Nypan sr:
If you check the page that i linked, it says:

"Paid Android x86 and Android for Raspberry Pi builds from Exton (he's selling them for 9 $).

I've actually paid for these builds and uploaded them here, so you can get them for free.

Consider donating to Android x86 and other open source projects instead ! "

"
[Raspberry Pi Development] KonstaT:
So? Someone leaked them because he/she didn't like Arne Exton stealing other people's work. Why would you recommend something that was stolen and then stolen again for anyone to use? LineageOS is available for free, it's newer and more up to date, and far superior in any way. Why would you use some old outdated build if there's one with all the latest fixes and recent Android security patches available?

Arne Exton has not released the source code he is legally obligated to provide by GPLv2 (https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html). I have asked! This includes e.g. Linux kernel. I feel that I've done some significant work there merging together Raspberry kernel and AOSP kernel and configuring it for Android and this device. Only thing Arne Exton has done is put his own name in other people's work (e.g. kernel name 4.4.104-exton-v7+) and sold it for his personal profit. Any RaspAnd build since 15th of December 2017, when he start using my lineage-rpi sources, actually violates my GPLv2 copyright (even if it was leaked and/or available for free).

Sorry, didn't meant to hijack this thread. I've been meaning to write about this to android-rpi mailing list for a while but just couldn't shut up when I saw this recommended. ;)
[Raspberry Pi Development] jjakajonas:
The reason for the use of android is to learn som more of it.

So why not build a system that I can use?

I have tryed your ROM and I do actually have some questions that I want to ask you about how you manage to get specific parts of it to work if it okay?
[Raspberry Pi Development] KonstaT:
Of course you can ask but this thread is not the right place to do that.
[Raspberry Pi Development] jjakajonas:
Of course not ?
[Raspberry Pi Development] jjakajonas:
Don't count on a fixed link.

This project looks abonned..

No updates to download image in tread and no updates on git source for a long time.

You will be better of ether build it yourself (i'm working on bringing the build from 7.1.2 r19 to 7.1.2 r39 and make it more stabel myself) or look at another project.
[Raspberry Pi Development] tabp0le:
My apologies: https://clik.rip/raspi-android
[Raspberry Pi Development] tabp0le:
I haven't had time to actually update the project, but I will continue to keep the images available. I accidentally broke the link, by moving the location of the file in my cloud. Please keep letting me know if the link ever breaks.
[Raspberry Pi Development] jjakajonas:
My apologys.

But after followinging this project in 2+ months where I also have tryed reaching out to you and no words from you did I assume it was abandoned.....

So I was trying to follow up your work and try working on fixing some bugs.

For now I have tryed to mod on BT, DRM and are thinking on looking in to more hardware related bugs and on r39 (I think it is) and that's for a start.

And if I make some stable fix will I share it to you..
[Raspberry Pi Development] tabp0le:
No apology needed. Please feel free to work on it and share. I haven't been working on the project, but I don't want the links to die. :)
[Raspberry Pi Development] jjakajonas:
I'm actually in the middle of the build project as we speak that I will test on.

I don't know if this build will now that I took your r19 source and combined it with AOSP 7.1.2 r39...

But it will be fun to try.

But for now I got the Gapps working and stopped BT from crashing and made it passable to pair a device to it.

But it still needs some more work to be use able...
[Raspberry Pi Development] 1nikolas:
Hello everyone. Thanks for making Android TV for Raspberry Pi (I'm currently downloading it). I have a question. Is there any way you can make this work with BerryBoot? I've seen some Android Images for BerryBoot but they are abandoned and they don't work on my 3 B+. It's convenient to have Android TV for making your TV smart and Raspbian for server stuff at the same Pi without switching SDs. Thanks is advance!
[Raspberry Pi Development] jjakajonas:
Okay..

My first build failed..

So I build a new one just like in description and made it bare metal, made the display flicker fix and tested a 3. party launcher and it work smoothly..

Then I threw Google play services and play on (both in TV edition) and the the flicker returned and there was much lag and much hang time.

I think there maybe is some problems between the OS and a part in the Google apps..
[Raspberry Pi Development] LinuxL0ver:
Help

Hey! I need help. The link is broken! plz fix
[Raspberry Pi Development] Mikeyb2k:
Think it's better to just forget about the play store and use Aptoide. All GP does is throw up problems and glitches etc.
[Raspberry Pi Development] jjakajonas:
If you like it that way then do it that way.

I will still look ind to my little project.

I have seen it work and I want to find out how.
[Raspberry Pi Development] Mikeyb2k:
Yeah just makes life easier but I totally get needing the gapps for obvious reasons. Do you have a working build image atm or is it still in development. I had a look at older posts but didn't see a link or anything. :good:
[Raspberry Pi Development] jjakajonas:
It's more to get the remote part to work.

Not really because everytime I try build it it gives me a stack of errors over missing stuff.

And I don't know how to fix the errors.

I have even tried to make a new build based on lineage whiteout success...
[Raspberry Pi Development] Mikeyb2k:
Yeah it seems a tricky bugga. Not seen many stable builds and have tried most of the out there. I tweaked a konstaKANG one which worked ok. Think the same you have been working on but not on a coding level, I missed that boat!

https://xdaforums.com/raspberry-pi/general/android-build-t3771424
[Raspberry Pi Development] tabp0le:
Fixed broken link
[Raspberry Pi Development] hawkbraz:
Any Lucky on DRM?

Hi everybody,

Does anyone knows if someone had any lucky with DRM issue?

In my researches in this and other projects the problems stills the same... I've tried to find someway to fix it but no success. :crying:

I really would like to have an Android TV in my RP3 running Netflix and Amazon Prime Video...
[Raspberry Pi Development] legolass73:
hello, when installing the gapps, there were problems: when launching the script it displays errors, so I decided to reinstall adb, then after all went well until the restart, it restarts well on the bootloader but remains on the loading screen
[Raspberry Pi Development] salembream:
this is how I fixed the play store script .. it's a silly bug.. :/

change this ..

to

to allow some time for adb before checking .. actually 1 second is enough but I put 3 ..

good luck..
[Raspberry Pi Development] billgufran:
Hello. Would you please share how you managed to fixed display flickering issue?
[Raspberry Pi Development] jjakajonas:
As stated in previous post..

I went to the githup, made my own local build from there and made the guided flick fix from the got hub and used a 3. party luncher and no gapps.
[Raspberry Pi Development] billgufran:
Do you have the .img file or any instructions? I would love to build it myself, but I really don't know how to do it.
[Raspberry Pi Development] jjakajonas:
I don't have the image file any more.

I don't have the instructions on hand but there's some step by step instructions in the GitHub repo...
[Raspberry Pi Development] velis74:
Did anyone successfully change resolution on this ROM? The instructions say to modify config.txt on boot partition - and I did, but it seems to only work for the bootloader. When the kernel starts, the android logo is again in the "standard" resolution, as is the booted Android.

Tried quite a few modes, all with the same effect. But the bootloader's rainbow square DOES look different depending on the mode entered in the file.

Edit: got the kernel's boot logo centered correctly by specifying my mode in system partition/build.prop. However, a booted Android still sets 1280x720.
[Raspberry Pi Development] lonely_angel_86:
Hello. Please help me. I can't find a working way to install Android TV on a Raspberry Pi 3 model B+. I have searched many places, but there is no result. Android was installed without problems, but as soon as I install gapps via twrp, I get a perpetual download. Can there be at least some way to install a normal Android TV? On the Raspberry Pi 3 model B because there is a distribution of Android TV.
[Raspberry Pi Development] sathyesh:
Its showing error on download link , Please help.

File not found

The document could not be found on the server. Maybe the share was deleted or has expired?
[Raspberry Pi Development] BlockArchitech:
Will this work with pi 4? Ive had no luck with android 9.0 and tvstock gapps, endless booting.
[Raspberry Pi Development] Cicada_3301:
Need download link

Anybody have link to the files?
[Raspberry Pi Development] _fuusio:
Does anyone know if there is Android TV available for the latest Rasberry Pi 4?
[Raspberry Pi Development] tabp0le:
Thanks, I'll update OP.
[Raspberry Pi Development] ad_on_is:
After flashing gapps, I'm stuck at android boot-logo

Here's my log-output of gapps.sh: https://pastebin.com/TTpnVBxq
[Raspberry Pi Development] tabp0le:
Try erasing everything in your /data partition
[Raspberry Pi Development] cdnron:
Thanks! All works great now, other than not being able to install any apps from the Play Store.
[Raspberry Pi Development] tabp0le:
You should be able to install a couple apps from the play store. For example, Kodi installed from the play store for me.
[Raspberry Pi Development] ad_on_is:
Did it, still stuck for 5 minutes. Could it be that it just takes a while?
[Raspberry Pi Development] cdnron:
Hmm, did it take a long time? I tried installing Kodi and I let it sit for about five minutes after clicking Install and it never installed.
[Raspberry Pi Development] tabp0le:
Honestly, it shouldn't take that long. Maybe like 3 minutes at the most. I'd start over if I were you.

Not too long no. Is your Google account all set up? Try rebooting and try again.
[Raspberry Pi Development] ad_on_is:
It already did it 3 times. The first boot is fine, except the bluetooth-sharing FC, but that's ok. As soon as I install gapps it stops booting. Is there a way to log the booting process and look for errors, something like logcat?

Is it normal, that when I run adb root, at first it's stuck at "restarting adbd as root".

Then I had to CTRL+C to abort it, and then" adb connect" and "adb root" again which finally gives me "adbd is already running as root"?
[Raspberry Pi Development] tabp0le:
Hmm, try doing adb kill-server then go again. Is your pi hardwired to the router or is it wifi?
[Raspberry Pi Development] ad_on_is:
Its wifi
[Raspberry Pi Development] cdnron:
Yeah, I set up my Google account and have already rebooted countless times. I've tried both hardwired and wireless. I'm now trying it on a completely different network altogether and will report back.
[Raspberry Pi Development] kanttii:
Nice! Is there anything else different from android-rpi which you forked (& copied commits) from, than these below:

- using TV gapps

- Open DNS

- 1GB system partition vs 512MB

I'm wondering if I can just put this oon top of android-rpi source and start a clean build haha..
[Raspberry Pi Development] tabp0le:
Try hardwired to the router.

Yeah, in a addition, I patched the framework to fix some bugs. (settings crash, etc) They reference these patches in android-rpi wiki, but they don't include them in their source. I also created a platform_manifest which did not exist in android-rpi's repos. This way you can just sync with one command rather than several.
[Raspberry Pi Development] kanttii:
Awesome, thank you so much! Can't wait to try it out hopefully this weekend. Great stuff...
[Raspberry Pi Development] dying4004:
is it raspberry 3 only or compatible to 2?
[Raspberry Pi Development] cdnron:
Still no go. It sat at "Install pending" for over an hour. I've also tried clearing cache and data for Google Play Store and Google Play Services to no avail.
[Raspberry Pi Development] tabp0le:
You can do 2, yes. You'll need to swap the dtb in your boot partition for the rpi2 one. https://github.com/android-rpi/device_brcm_rpi3/wiki/Running-on-Raspberry-Pi-2

Hmm.. What about other apps?
[Raspberry Pi Development] cdnron:
Unfortunately any app I try to install just sits at the "Pending Install" screen. I've tried Vevo, Spotify...a couple of games even.
[Raspberry Pi Development] R_McNeely:
been thinking about attempting to build this locally, but I had a question... is this build rooted? I'm thinking about using it for PS Vue but I can't get it working (even with Magisk) on rooted device.
[Raspberry Pi Development] tabp0le:
Maybe try double checking the permissions.

It is rooted yes, you can try to build it as a user build instead of eng. I haven't tried but it might work.
[Raspberry Pi Development] Valkiry:
So after the Installing. Why on earth does it go into a bootloop for me after the first package of stuff from the Gapps.sh is installed....

Hardwired, Ubuntu(17 &16) Virtual Machine and adb installed with (apt-get install adb). 32GB SD-Card.

Boots fine the first time, after installing the first part of the script where it forces reboot i get stuck in a boot loop. even left it for 30min just to make sure.
[Raspberry Pi Development] tabp0le:
Wow, seems very unpredictable and everyone seems to have a different experience. I will try to come up with a better solution for gapps.
[Raspberry Pi Development] :
My question is about if I can set up my pi on a Windows machine.
[Raspberry Pi Development] ad_on_is:
I tried the pico-version of gapps and the Pi booted fine after install. But the system became very unstable and unresponsive, so I rebooted again, and now again stuck on bootlogo.

To speed up testing process it's enought to do a

dd if=system.img of=/dev/sdc2 bs=1M

no need to write boot.img again.
[Raspberry Pi Development] Valkiry:
Okay so i got Gapps pack to install fully and got it to boot. Turns out using a VM is not a wise idea, and also using android-tools-adb package is the best option for adb.

Installation Method:

Ubuntu on a computer (Dont Use a Vm)

-install Android-tools-adb

-install default-jdk

-Hardwire Ethernet (Make sure you assign the IP so it doesnt change after reboot if you have a dumb modem)

Continue with the installation as normal and make sure you chmod +X the gapps.sh script.

Its not a bad way of installing. Its just complicated if you dont work it out.

If you need a hand let me know i might be able to help. Other than that its not bad, ive had better Android TV's running before maybe you can get their sources. ill try find them again. just went through a 4tb file clean out. Also can you change status to alpha build. Just to reduce confusion i thought this was a stable usable build. Its far from it

---------- Post added at 10:06 AM ---------- Previous post was at 10:01 AM ----------

Just make sure youre not using a VM and hard wire it, i finally got it to work. been trying for the last 9 hours