Android Marshmallow for RaspberryPi 2

19,733 views
Skip to first unread message

Peter Yoon

unread,
Oct 22, 2015, 7:13:11 PM10/22/15
to Android-rpi
I managed to create patch-set upon AOSP Marshmallow source.

and find device_brcm_rpi2.

No gpu acceleration yet. 

andro.h...@gmail.com

unread,
Oct 23, 2015, 4:04:49 AM10/23/15
to Android-rpi
is there a command?
I mean ... the linux terminal.
 

Eric Anholt

unread,
Oct 23, 2015, 7:51:02 AM10/23/15
to Peter Yoon, Android-rpi
Peter Yoon <pey...@gmail.com> writes:

> I managed to create patch-set upon AOSP Marshmallow source.
>
> Follow this link :
> https://github.com/peyo-hd/local_manifests/tree/marshmallow
> and find device_brcm_rpi2.

Just in case I have time to look into Android graphics again:

Does this bring up serial console by default?

Does it bring up ethernet (DHCP) by default?

If it did dhcp at boot time, that would make things more accessible for
me.
signature.asc

ric96

unread,
Oct 23, 2015, 7:55:43 AM10/23/15
to Android-rpi
Network (Lan) works pretty well at the moment and so does adb.

Peter Yoon

unread,
Oct 23, 2015, 8:52:34 AM10/23/15
to Android-rpi
Does this bring up serial console by default? 
==> Yes
Does it bring up ethernet (DHCP) by default? 
==> Yes

ric96

unread,
Oct 23, 2015, 6:26:17 PM10/23/15
to Android-rpi

robi....@gmail.com

unread,
Oct 24, 2015, 1:00:09 PM10/24/15
to Android-rpi
How can I set it to use the display port instead of HDMI? I'm using the official raspberry pi display and it didn't work. 

jsch...@redhat.com

unread,
Nov 4, 2015, 4:46:48 AM11/4/15
to Android-rpi
Peter, is it possible to provide a ready-to-go image for an SD card?

ric96

unread,
Nov 4, 2015, 4:49:33 AM11/4/15
to Android-rpi
The video has a link in its description for a ready to flash image.

jsch...@redhat.com

unread,
Nov 4, 2015, 4:55:25 AM11/4/15
to Android-rpi
oh, you're right - clicking "More" indeed shows more links... :-)
Thanks a lot!

jsch...@redhat.com

unread,
Nov 4, 2015, 10:11:13 AM11/4/15
to Android-rpi
Anyone successful in starting the browser? Mine crashes immediately...

Also, did anyone successfully install Google Play Store (e.g. http://www.apkmirror.com/apk/google-inc/google-play-store/google-play-store-android-tv-5-10-30-leanback-android-apk-download/ )?

ric96

unread,
Nov 4, 2015, 10:37:56 AM11/4/15
to Android-rpi, jsch...@redhat.com

Did it on 5.1 lollipop

should be the same but the gapps zip would be different
Message has been deleted

Peter Yoon

unread,
Dec 24, 2015, 11:12:27 PM12/24/15
to Android-rpi
Added support for Audio output through HDMI port.

On Thursday, December 17, 2015 at 11:40:03 PM UTC+9, Peter Yoon wrote:
There are some improvements on VC4 build.
 
On Friday, October 23, 2015 at 9:52:34 PM UTC+9, Peter Yoon wrote:
Does this bring up serial console by default? 
=> Yes
Does it bring up ethernet (DHCP) by default? 
=> Yes

On Friday, October 23, 2015 at 8:13:11 AM UTC+9, Peter Yoon wrote:
I managed to create patch-set upon AOSP Marshmallow source.

and find device_brcm_rpi2.
 

larrieuo...@gmail.com

unread,
Dec 25, 2015, 4:30:01 PM12/25/15
to Android-rpi
Hello
I m looking for informations about android on rpi2.
I m confused with all this i could read and finally i think your repo git would be a good starting point.
Could you explain me more precisely how to build the img please ?

To clarify for what i m going to work in this way is that i would like to work a system which would have the hability to launch apk made with cordova/crosswalk.
Do i go on the good direction ?

Regards

alexp...@gmail.com

unread,
Dec 27, 2015, 9:08:26 AM12/27/15
to Android-rpi
Good time of the day.

My English is not very good, exscuse me if I said something wrong.

Just built marshmallow for rpi2.

Is there a way to add software power button and navigation bar (back, properties), and screen keyboard in this system? Now I can return back to desktop only using 'escape' button on hardware keyboard. Or, it is possible to work with this system using mouse only?

Maybe need to add/edit some before build?

Thanks in advance

aljosh...@gmail.com

unread,
Jan 1, 2016, 11:58:53 AM1/1/16
to Android-rpi, alexp...@gmail.com
if it has root access im still downloading add
qemu.hw.mainkeys=0
to the last line of /system/build.prop
this will add navigationbar

Thomas M

unread,
Jan 1, 2016, 1:47:10 PM1/1/16
to Android-rpi
Do you need root access for this or could you just put the SD card in your PC and add the line?

ric96

unread,
Jan 1, 2016, 1:51:06 PM1/1/16
to Android-rpi
you can do it on a linux system

ric96

unread,
Jan 1, 2016, 1:56:17 PM1/1/16
to Android-rpi
no, it doesn't work

alexp...@gmail.com

unread,
Jan 2, 2016, 10:01:36 AM1/2/16
to Android-rpi, alexp...@gmail.com, aljosh...@gmail.com


пятница, 1 января 2016 г., 18:58:53 UTC+2 пользователь aljosh...@gmail.com написал:
if it has root access im still downloading add
qemu.hw.mainkeys=0
to the last line of /system/build.prop
this will add navigationbar

Thanks for answer.

I tried this. Doesn't work.
Now experimenting with change 'config_showNavigationBar' to true in source, but with no luck so far...

alexp...@gmail.com

unread,
Jan 3, 2016, 8:56:41 AM1/3/16
to Android-rpi, alexp...@gmail.com, aljosh...@gmail.com

Now experimenting with change 'config_showNavigationBar' to true in source, but with no luck so far...

With above parameter I got empty navigation bar, no navigation buttons. Perhaps it related to screen layout, but I absolutely new in android development, and can't be sure. On video by ric96 I saw another screen layout, where navigation bar works, and applications button placed at bottom instead of right, as it does with current build, but I can't understand how change layout.

Peter Yoon

unread,
Jan 12, 2016, 9:37:57 AM1/12/16
to Android-rpi
A work-around for OpenGL ES failure with Java GLSurfaceView :
https://github.com/peyo-hd/device_brcm_rpi2/wiki#enable-glsurfaceview

Peter Yoon

unread,
Jan 13, 2016, 6:30:57 PM1/13/16
to Android-rpi

Peter Yoon

unread,
Jan 14, 2016, 7:54:30 AM1/14/16
to Android-rpi
When TV Launcher is applied, Shortcut to Tablet mode app could be made.

ric96

unread,
Jan 14, 2016, 8:20:36 AM1/14/16
to Android-rpi
this works well, but in you github wiki the following line:
After that do Android build and write target filesystem. Check Launcher2 is replaced by LeanbackLauncher on target SD card's /system/priv-app filder.

should be:
After that do Android build and write target filesystem. Check Launcher2 is replaced by LeanbackLauncher on target SD card's /system/app folder.

thnx.

Thomas M

unread,
Jan 15, 2016, 3:49:27 AM1/15/16
to Android-rpi
Again thanks for the good work.
 
The Generic.kl maps the POWER-Button to 116. Maybe you should change this to 68 (F10), so you can use the power Button with nearly every Keyboard. 

Peter Yoon

unread,
Feb 6, 2016, 2:20:51 AM2/6/16
to Android-rpi
After getting this build working, I started studying Android Java OpenGL ES2.0 API.
Below, sharing simple exercise code which could run on the rpi2 target.


ric96

unread,
Feb 7, 2016, 3:03:25 PM2/7/16
to andro...@googlegroups.com

Thomas M

unread,
Feb 14, 2016, 4:24:08 AM2/14/16
to Android-rpi
Have you considered publishing your work at xda Forums? There are some capable Android developers, who would probably join you.

Peter Yoon

unread,
Feb 15, 2016, 6:53:01 AM2/15/16
to Android-rpi
Hi Thomas,

It seems there are more discussions between developers at XDA forum.
Then it could be good for accelerate development progress.

But still I would like to stay in this uncrowded group and sharing on github,
because I am doing it loosely for my leisure time.

samu...@gmail.com

unread,
Mar 10, 2016, 4:33:14 AM3/10/16
to Android-rpi
Had anyone tried AnTuTu benchmark.If someone had tried plz post me scores

Cheera

rubendar...@gmail.com

unread,
Mar 10, 2016, 12:20:18 PM3/10/16
to Android-rpi, samu...@gmail.com


On Thursday, March 10, 2016 at 10:33:14 AM UTC+1, samu...@gmail.com wrote:
Had anyone tried AnTuTu benchmark.If someone had tried plz post me scores

Cheera


even if we post here the scores, they will not be complete because theres no 3d yet

go to the geek till it hertz channel, i think he tests antutu in a 2d demonstration video or something

anyway, im pretty sure that if there were drivers and whatever, the score of the pi 2 would be something like 10k points

wich is really decent 

leon...@gmail.com

unread,
Mar 11, 2016, 6:01:10 AM3/11/16
to Android-rpi
Amazing work. Just a quick question, have you had any luck getting the browser / webview to work? Browser crashes on startup, and in an app I am attempting to run with a webview, it crashes with the abort message:

'[FATAL:gl_surface_android.cc(58)] Check failed: kGLImplementationNone != GetGLImplementation() (0 vs. 0)'

Is this a graphics issue? Did you get better performance on any of your previous builds in this regard?


On Friday, October 23, 2015 at 12:13:11 AM UTC+1, Peter Yoon wrote:
I managed to create patch-set upon AOSP Marshmallow source.

and find device_brcm_rpi2.

No gpu acceleration yet. 

jithu...@gmail.com

unread,
Mar 17, 2016, 6:58:36 AM3/17/16
to Android-rpi
hi.. i recently ported android lollipop on rpi2. eventhough i connected my lan(ethernet), internet is not working on it. do i have to change any settings for that? please help.i have been trying for a while. 
 thanks in advance :)

jithu...@gmail.com

unread,
Mar 17, 2016, 7:01:25 AM3/17/16
to Android-rpi
one more doubt. many of the apks are not working on it. im very new to it. so i need help ..please.. 

ric96

unread,
Mar 17, 2016, 7:05:40 AM3/17/16
to Android-rpi
Name of the apps?

thang bui

unread,
Mar 25, 2016, 3:00:20 AM3/25/16
to Android-rpi
Hi ric96, tell me how to install android on rpi2 when my PC using windowns XP, thanks


Vào 18:05:40 UTC+7 Thứ Năm, ngày 17 tháng 3 năm 2016, ric96 đã viết:
Name of the apps?

Thomas M

unread,
Mar 25, 2016, 4:00:59 AM3/25/16
to Android-rpi
You can't do it using Windows, because the AndroidbBuild process only works on Linux. You could use VirtualBox to run a Linux vm in Windows, but this would probebly take more time then running Linux directly.

farro...@gmail.com

unread,
Jun 27, 2016, 1:46:37 AM6/27/16
to Android-rpi, samu...@gmail.com
it crashes on the pi3

usama....@gmail.com

unread,
Jan 1, 2020, 3:04:54 AM1/1/20
to Android-rpi
is this image still work for rpi 2b  ?? I am trying to install it but everytime it keeps stucking at multi color screen. Not going any further in booting process.
Reply all
Reply to author
Forward
0 new messages