BBB android

Is Android being actively supported on BBB? I found resources online which said Android 4.4 was ported sometime back -

Does it make sense to support the latest Android versions on the BBB? is there an audience for such a project? I know its not straightforward to port android to latest bbb kernels. But i just want to know if there is such a need. Then maybe the effort is worth the pain :slight_smile:


Yes…I am looking for latest version.

The limiting factor in supporting Android on the BBB with newer kernels is support for SGX OpenGL ES. Newer Androids rely heavily on GLES for rendering. You can always fall back to PixelFlinger for software rendering, but a variety of apps will not work (or will work very slowly) when you use software rendering. For post 3.2 kernels, there are additional Android graphics libraries that are missing that you need for accelerated GLES. These libraries are proprietary and must be supplied by TI. Unfortunately, they are not supported any more, as support for the Android Graphics SDK has ended.

For non-GLES builds, I recommend that you look at Android4Beagle:


The later android builds on Android4Beagle dont have i2c tools i presume. How do we make a build with i2c tools?

There are two parts to this: getting the i2c-tools source package into your Android source tree and telling the build process to include that package for your device. Since i2c-tools isn’t in the XML manifest for A4B, you’ll have to manually grab the i2c-tool source and put it in the correct place. You could also fork the XML manifest for A4B, add an entry for i2c-tools in there, and then point the repo tool to your forked manifest. Whichever way you do it, there is a copy of the i2c-tools source package here:

Assuming that you didn’t fork the manifest XML and want to manually add it in, use repo to check out all of the A4B Android code like you normally would. Find the “external” directory in your Android source tree that hosts all of the external source code packages. Git clone the i2c-tools repo into that external directory. rename the “bbbandroid-external-i2c_tools” directory you just checked out to “i2c-tools”.

Once you have the code in place in the “external” directory , you’ll need to make sure that external source package is built for your device. Take a look at:

After running repo and fetching all of the various source packages, this file will be living somewhere in your Android source tree. I forget its exact location where it ends up, but you can grep around and find it. Once you find it, add “i2c-tools” to the “PRODUCT_PACKAGES” list to include it in the build process. Take a look at the bottom of the BBBAndroid file to see an example:

Now build Android as you normally would, and i2c-tools will be in your system. This same process can be used to add in other external source packages into Android.