Linaro Blog

Installing F-Droid on Linaro builds

In a previous post, I wrote about using app markets with Linaro builds. One app market offering a selection of Free Software for Android is F-Droid[1]. Installation is fairly simple, but does require some configuration changes to get the most out of it, so here’s how to install F-Droid on a Linaro build and some of the tweaks needed to be able to install all the apps available there.

We assume a Linaro image is already installed on the board. Instructions for how to do this are in the Linaro Wiki. Installation of F-Droid is pretty simple:

  1. In the Android browser, go to http://f-droid.org/FDroid.apk to download the F-Droid .apk, or otherwise locate and download the .apk file by browsing http://f-droid.org
  2. Open the Downloads application and select FDroid.apk to install it.

F-Droid will now appear on the applications menu and you should be able to list and install Android apps.

F-Droid installed app list

F-Droid installed app list

Tweaks

  • Augment the set of features the board claims to support. The files declaring supported hardware features are located in the build tree in platform/frameworks/base/data/etc. Simply copy them to the Linaro image to have your board claim it supports this feature. In my case, Ubuntu automatically mounted the /system partition on the memory card as /media/system, so cp platform/frameworks/base/data/etc/*.xml /media/system/etc/permissions/ copied all the files.
  • App markets are sensitive to the date and time. Always make sure it is set (and has not reverted to the default 1/1/2000).
  • Some apps (e.g. trying to install Firefox/Fennec on Snowball) require more memory to install than is available to Dalvik. To work around this, use setprop dalvik.vm.heapsize 64mb to increase the memory available to Dalvik.

[1] F-Droid http://f-droid.org

Related posts:

About Frans Gifford

Frans studied electronics and software engineering at Oxford, Swansea and Nantes. He worked on Microsoft solutions for public bodies in Paris and Ottawa before moving back to the UK where he worked on everything from the application layer right through the middleware to the kernel on J2ME, Linux, Symbian and most recently, Android. He has been involved in various Free Software projects since 2001 and a fellow of the FSFE since 2008, he is excited to be back to the community on a full-time basis.
This entry was posted in Android and tagged , , , , , . Bookmark the permalink.

One Response to Installing F-Droid on Linaro builds

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>