Android 5.1 Lollipop for BeagleBone Black

At last, here is Android Lollipop for BeagleBone Black!

Screenshot of BeagleBone running 5.1 Lollipop

This is a "work in progress" so don't expect everything to go smoothly. I have tested this build on a BBB rev A (2 GiB internal eMMC) and a LCD4 cape. Here are some issues that I have found up to now (please report any other odd behaviour you find):

1. The graphics are not accelerated and the screen flickers whenever it is updated
2. The initial boot time is long, expect to wait several minutes
3. The buttons on the LCD4 cape do not work
4. The Ethernet interface is not configured
5. The Linux 3.2 kernel is unreliable if built with the gcc 4.8 toolchain that comes with AOSP 5.x

For those of you who want to build from source, the device configuration files and information about building are at https://github.com/csimmonds/bbb-android-device-files/tree/lollipop-5.1

I have also uploaded a pre-built micro SD card image, which you can get from http://2net.co.uk/downloads/bbb-android/BBB-aosp-5.1.0-sd-img-2015-06-29.zip".

To write it to microSD, plug card of at least 2 GiB capacity into your card reader: it will show up as something like /dev/mmcblk0 or /dev/sdc. Make absolutely sure that you know which it is before continuing because hard drives also show up as /dev/sd* and writing this image to your hard drive will make your computer unbootable!. Assuming that the card reader is mmcblk0, write the image using a command like this:

$ sudo sh -c "unzip -p BBB-aosp-4.4.4_r1-sd-img.zip | dd of=/dev/mmcblk0 bs=4M"

Plug it into your BeagleBone Black and boot it up.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hey, just wanted to say

Hey, just wanted to say thanks for your work on this. I've been working with the BBB and Android and your stuff here has been quite helpful. I got this one working as well (works on a 7 inch LCD cape and the buttons do seem to move the screen/select sometimes but not reliably), though the flickering and general slow speed make it not much real use. Still neat to be able to get the latest build on this little board, looking forward to seeing what you can do with later builds.

Your AOSP 4.4 and 5.1 Prebuilt Images for BBB

Hi, I am a first-timer at running Android on BBB. I have now tried both of your pre-built images (4.4 and 5.1) and they generally work on my BBB with one major exception; neither Android OS image will recognize my Logitech USB wireless keyboard and mouse. I have experimented with use of a USB cable-attached mouse and it does work. Also, I previously tried someone else's earlier Android image and both wireless keyboard and mouse functions worked. I would prefer to run your more up-to-date Android 5.1 image; is there anything I can do to enable my wireless keyboard and mouse to work?

If the solution is to build my own image from source code, what adjustments would I need to make to enable this functionality?

I appreciate all of your efforts. I'm not complaining; just looking for your ideas and suggestions about how to move forward from here.... THX

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Youtube and Vimeo video links are automatically converted into embedded videos.
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.