android-rpi / device_brcm_rpi3

576 stars 253 forks source link

Android OS for RPI4? #123

Closed titanity closed 4 years ago

titanity commented 4 years ago

Android OS for RPI4? Cant find it anywhere on the net...

ghost commented 4 years ago

@botswanabub Du kannst mit mir Deutsch sprechen.

ghost commented 4 years ago

Ich arbeite am Problem.

ghost commented 4 years ago

@titanity The conection doesn't works

botswanabub commented 4 years ago

@RaspberryPiFan auch gut, aber vielleicht haben ja andere auch das Problem. Leider bin ich auf dem Feld absolut unerfahren, daher kann ich da nicht wirklich mit helfen.

saurabhin25 commented 4 years ago

Waiting for the release

ghost commented 4 years ago

@botswanabub Ich konnte dein Problem nicht reproduzieren. Ich arbeite gemeinsam mit @titanity am Build, dabei ist der Fehler nicht aufgetreten. Warte am besten auf die fertige Version, wahrscheinlich erscheint sie schon morgen.

botswanabub commented 4 years ago

wenn ich dir mit ner Info helfen kann, sage bescheid. Ansonst vielleicht noch:

nach dem SYNC scheitert es bei mir grundsätzlich schon daran, dass er das Verzeichnis gar nicht geladen hat: cd kernel/rpi

ghost commented 4 years ago

envsetup.txt

ghost commented 4 years ago

gralloc_drm.txt

ghost commented 4 years ago

https://gitlab.freedesktop.org/mesa/mesa/-/archive/master/mesa-master.zip?path=src%2Fgallium%2Finclude%2Fpipe

ghost commented 4 years ago

https://github.com/android-rpi/external_mesa3d/commit/095ca32750b64bf607ae900273032886612f4a09.diff

ghost commented 4 years ago

nach dem SYNC scheitert es bei mir grundsätzlich schon daran, dass er das Verzeichnis gar nicht geladen hat: cd kernel/rpi

Das Problem gab es manchmal bei mir auch. Ich update nochmal meine Repos und sag es dir dann.

ghost commented 4 years ago

New lunch-install envsetup.txt

ghost commented 4 years ago

envsetup.txt

ghost commented 4 years ago

mesa.zip

ghost commented 4 years ago

If you need help:

discord_join_blurple https://discord.gg/kf4ZPqP

ghost commented 4 years ago

mesa.zip

ghost commented 4 years ago

https://github.com/bminor/mesa-mesa/blob/master/src/broadcom/cle/v3d_packet_v33.xml

ghost commented 4 years ago

https://raw.githubusercontent.com/bminor/mesa-mesa/master/src/broadcom/compiler/nir_to_vir.c

ghost commented 4 years ago

mesa.zip

ghost commented 4 years ago

https://github.com/android-rpi/device_brcm_rpi3/files/3757152/mesa.zip

ghost commented 4 years ago

You because you were really annoying and not contributing anything.

ghost commented 4 years ago

No, but I'll tell you when it's finished.

saurabhin25 commented 4 years ago

Okay

saurabhin25 commented 4 years ago

Any updates? What abt that boot error and mesa?

ghost commented 4 years ago
sudo apt install gcc-arm-linux-gnueabihf libssl-dev python-mako git bison flex curl
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
mkdir ~/android
cd ~/android
repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r2
git clone https://github.com/RaspberryPiFan/local_manifests .repo/local_manifests -b android-10
repo sync
source device/brcm/rpi3/envsetup.sh
cd kernel/rpi
git clone https://github.com/raspberrypi/tools ~/tools
echo PATH=$PATH:~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin >> ~/.bashrc
source ~/.bashrc
ARCH=arm scripts/kconfig/merge_config.sh arch/arm/configs/bcm2711_defconfig kernel/configs/android-base.config kernel/configs/android-base-arm.config kernel/configs/android-recommended.config
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage dtbs 
cd ../..
lunch rpi3-eng
make ramdisk systemimage vendorimage -j4
saurabhin25 commented 4 years ago

Downloadable image? Or i have to run these cmds in buster?

saurabhin25 commented 4 years ago

Please let me know the abt the progress

ghost commented 4 years ago

Downloadable image? Or i have to run these cmds in buster?

Run the cmds in buster

Progress: Trying to switch from mesa3d to swiftshader

ghost commented 4 years ago

3%

ghost commented 4 years ago

36% now.

ghost commented 4 years ago

@saurabhin25 I unbanned saurabhgupta25 now, but you'll be read-only. https://discord.gg/DQr3aU

ghost commented 4 years ago

https://raw.githubusercontent.com/android-rpi/device_brcm_rpi3/50782b36870178074d7c800deddb91e32d466c5f/AndroidProducts.mk

rp4k commented 4 years ago

Hi is there any update for this thread about the burnable image for rasberry pi 4b 4gb version

karnatinagesh commented 4 years ago

This sources i am able to build. but when i flashed into SD-card and try to boot the device 3B+ i get a black screen and i see the RED LED light always on. i don't see the Green one on not even once. SO ONLY RPI4 is supported. if you how to modify the changes for 3b+ please let know the steps or any document is available.

regards, Nageswara

titanity commented 4 years ago

This sources i am able to build. but when i flashed into SD-card and try to boot the device 3B+ i get a black screen and i see the RED LED light always on. i don't see the Green one on not even once. SO ONLY RPI4 is supported. if you how to modify the changes for 3b+ please let know the steps or any document is available.

regards, Nageswara

Nageswara where can i DL the suported image file for RPI4 so i can test it? Join the discord and write me if you got the llink... im eager to see if you get it to work

karnatinagesh commented 4 years ago

This sources i am able to build. but when i flashed into SD-card and try to boot the device 3B+ i get a black screen and i see the RED LED light always on. i don't see the Green one on not even once. SO ONLY RPI4 is supported. if you how to modify the changes for 3b+ please let know the steps or any document is available. regards, Nageswara

Nageswara where can i DL the suported image file for RPI4 so i can test it? Join the discord and write me if you got the llink... im eager to see if you get it to work

i downloaded the sources from the steps mentioned in https://github.com/android-rpi/local_manifests/tree/android10 as well as https://github.com/android-rpi/device_brcm_rpi3/tree/android10 then i built the sources to get all the necesssary bianries. i flashed the build into the SD card. Latest updates: i am able to boot the raspberry pi 3b+ with the build from above sources. but the display is not up. from the shell i can see the Kernel and Android are up and running but not display.

regards, Nageswara

titanity commented 4 years ago

I havent learn to compile or edit yet. Thats why i follow what you guys are talking about to see if i can learn a bit. Started 1 year ago with my first board RPI3b and didnt know anything about arm, computing, linux or anything. And didnt have anyone at all to ask or talk to about the new world with the small computers and the new OS called linux. So after 4 months of 100% fail missions in linux then i had my very first victory. compiling a u-boot for a armbian OS... which was a automated script (.sh) haha. but then again i learned how to start the script (sudo ./learnlinuxffsnow.sh) all i experienced with small board computing i have learned from forums and youtube and still doing it the day today. So i search for android OS for RPI4 4gb in a compiled and ready to burn image file. Enough of my boring non knowledge history. I have been searching for it every day since i bought the RPI4. Asked on many youtubers comment section for the iso file.... Nothing yet. So thats why i cant wait until the day where i can drop a iso file onto micro sd and start up a android OS. IF android 10 is the version then we make history which isnt completed yet at all in the world. So my father just died and left me a computer which i installed linux on and told raspberrypifan he can use it as he likes, do what he wants to get closer to a final build. So i hope we get there in time before everyone else :)

endline: its friken a huge step for me that i get to know RPIfan in this thread. He is the very first i ever could ask question to and got the help i needed. So cant thank him enough. and i hope this new community here dont walk away even after the goal is reached!

ghost commented 4 years ago

@karnatinagesh I think you should not post that in this issue. This repo is for Raspberry Pi 3B and 3B+. Do you want a compiled build for 3B+?

ghost commented 4 years ago

And what sources did you build?

karnatinagesh commented 4 years ago

Yes I am building for raspberry pi 3b+.

On Sat, Nov 23, 2019, 19:32 RaspberryPiFan notifications@github.com wrote:

@karnatinagesh https://github.com/karnatinagesh I think you should not post that in this issue. This repo is for Raspberry Pi 3B and 3B+. Do you want a compiled build for 3B+?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/android-rpi/device_brcm_rpi3/issues/123?email_source=notifications&email_token=AASCJ626JKI6S3ZGDG33D2DQVEZWDA5CNFSM4IKC6GAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE7VXBI#issuecomment-557800325, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASCJ64WTX3MP3VDJLHSHHLQVEZWDANCNFSM4IKC6GAA .

ghost commented 4 years ago

@karnatinagesh Use device_brcm_rpi3, it's working on pi 3b+

vonneucode commented 4 years ago

Hello @RaspberryPiFan, i have got the swiftshader display up on a raspberry pi 4, very early stage, android10 with the basic ui for android TV, it is barely usable, but I'll see how far I can get with it

ghost commented 4 years ago

@vonneucode great work! is the build/code available online?

peyo-hd commented 4 years ago

Go to https://github.com/android-rpi/device_arpi_rpi4