<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://arm.mini-box.com/index.php?action=history&amp;feed=atom&amp;title=Compiling_Android_from_sources</id>
	<title>Compiling Android from sources - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://arm.mini-box.com/index.php?action=history&amp;feed=atom&amp;title=Compiling_Android_from_sources"/>
	<link rel="alternate" type="text/html" href="https://arm.mini-box.com/index.php?title=Compiling_Android_from_sources&amp;action=history"/>
	<updated>2026-04-17T10:41:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://arm.mini-box.com/index.php?title=Compiling_Android_from_sources&amp;diff=161&amp;oldid=prev</id>
		<title>Admin: Change the link to tar.gz file on Google Drive</title>
		<link rel="alternate" type="text/html" href="https://arm.mini-box.com/index.php?title=Compiling_Android_from_sources&amp;diff=161&amp;oldid=prev"/>
		<updated>2025-12-18T11:26:01Z</updated>

		<summary type="html">&lt;p&gt;Change the link to tar.gz file on Google Drive&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:26, 18 December 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot; &gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Archive (warning might get outdated use git):'''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Archive (warning might get outdated use git):'''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;font size=&amp;quot;2&amp;quot;&amp;gt;https://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;arm&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mini-box&lt;/del&gt;.com/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;releases&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;android&lt;/del&gt;-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;gingerbread-2.3.4-src.tgz &lt;/del&gt;with the md5sum: 057cc88e1a374f68e3b992ca64fe612f&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;font size=&amp;quot;2&amp;quot;&amp;gt;https://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;drive&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;google&lt;/ins&gt;.com/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;file/d&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1BOcF&lt;/ins&gt;-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;lEKEOq3LkEgE4hGvqZw472P4cy8/view?usp=sharing &lt;/ins&gt;with the md5sum: 057cc88e1a374f68e3b992ca64fe612f&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Warning:&amp;lt;/font&amp;gt; the size of the archive it's 3,264Gb'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Warning:&amp;lt;/font&amp;gt; the size of the archive it's 3,264Gb'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://arm.mini-box.com/index.php?title=Compiling_Android_from_sources&amp;diff=91&amp;oldid=prev</id>
		<title>Admin at 06:33, 20 October 2020</title>
		<link rel="alternate" type="text/html" href="https://arm.mini-box.com/index.php?title=Compiling_Android_from_sources&amp;diff=91&amp;oldid=prev"/>
		<updated>2020-10-20T06:33:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:33, 20 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot; &gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Archive (warning might get outdated use git):'''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Archive (warning might get outdated use git):'''&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;font size=&amp;quot;2&amp;quot;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http&lt;/del&gt;://arm.mini-box.com/releases/android-gingerbread-2.3.4-src.tgz with the md5sum: 057cc88e1a374f68e3b992ca64fe612f&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;font size=&amp;quot;2&amp;quot;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;https&lt;/ins&gt;://arm.mini-box.com/releases/android-gingerbread-2.3.4-src.tgz with the md5sum: 057cc88e1a374f68e3b992ca64fe612f&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Warning:&amp;lt;/font&amp;gt; the size of the archive it's 3,264Gb'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Warning:&amp;lt;/font&amp;gt; the size of the archive it's 3,264Gb'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://arm.mini-box.com/index.php?title=Compiling_Android_from_sources&amp;diff=90&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;=Getting Project Source Code= Our project is hosted at http://gitorious.org/picopc-android-eclair/&lt;br&gt; Follow below steps, it shows how to set up the building environment, how...&quot;</title>
		<link rel="alternate" type="text/html" href="https://arm.mini-box.com/index.php?title=Compiling_Android_from_sources&amp;diff=90&amp;oldid=prev"/>
		<updated>2020-10-20T06:32:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Getting Project Source Code= Our project is hosted at http://gitorious.org/picopc-android-eclair/&amp;lt;br&amp;gt; Follow below steps, it shows how to set up the building environment, how...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Getting Project Source Code=&lt;br /&gt;
Our project is hosted at http://gitorious.org/picopc-android-eclair/&amp;lt;br&amp;gt;&lt;br /&gt;
Follow below steps, it shows how to set up the building environment, how to download android source code and how to build it from scratch.&lt;br /&gt;
&lt;br /&gt;
=Precondition: Sun JDK=&lt;br /&gt;
You would need Sun JDK version 1.5 to build Eclair. However, Sun JDK version 1.5 is known to be EOL (End-Of-Line), and Ubuntu Linux 9.10 no longer ships with sun-java5-jdk.&lt;br /&gt;
&lt;br /&gt;
If you are using Ubuntu Linux 9.10, just add these two line in file /etc/apt/sources.list:&lt;br /&gt;
&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://us.archive.ubuntu.com/ubuntu/&amp;lt;/nowiki&amp;gt; karmic-updates multiverse&lt;br /&gt;
 deb-src &amp;lt;nowiki&amp;gt;http://us.archive.ubuntu.com/ubuntu/&amp;lt;/nowiki&amp;gt; karmic-updates multiverse&lt;br /&gt;
&lt;br /&gt;
If you are using Ubuntu 10.04 LTS (Lucid Lynx), add this line to file /etc/apt/sources.list:&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://ir.archive.ubuntu.com/ubuntu&amp;lt;/nowiki&amp;gt; hardy-updates main multiverse&lt;br /&gt;
and install Sun JDK 1.5:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get update&lt;br /&gt;
 $ sudo apt-get install sun-java5-jdk&lt;br /&gt;
To set the system to use Java 5, you need to update your java alternatives by running&lt;br /&gt;
&lt;br /&gt;
 $ sudo update-alternatives --config java&lt;br /&gt;
Choose java-1.5.0-sun and it should be done.&lt;br /&gt;
&lt;br /&gt;
=Precondition: git and repo=&lt;br /&gt;
Before you download the source, you will need git and repo tools.&lt;br /&gt;
&lt;br /&gt;
On an Ubuntu 9.04 host, you can do the following:&lt;br /&gt;
&lt;br /&gt;
Getting git:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install git-core&lt;br /&gt;
Getting repo:&lt;br /&gt;
&lt;br /&gt;
 $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo &amp;gt; ~/bin/repo&lt;br /&gt;
 $ chmod a+x ~/bin/repo&lt;br /&gt;
For reference details about Repo, see Using Repo and Git.&lt;br /&gt;
&lt;br /&gt;
= Get picoPC-android source =&lt;br /&gt;
==Android Gingerbread==&lt;br /&gt;
&lt;br /&gt;
Download the picopc android gingerbread source code (sources available [http://gitorious.org/picopc-android-gingerbread here]):&lt;br /&gt;
&lt;br /&gt;
 $ mkdir picopc-android-gingerbread&lt;br /&gt;
 $ cd picopc-android-gingerbread&lt;br /&gt;
 $ repo init -u git://gitorious.org/picopc-android-gingerbread/manifest.git &lt;br /&gt;
 $ repo sync&lt;br /&gt;
&lt;br /&gt;
==Android Eclair==&lt;br /&gt;
&lt;br /&gt;
Download the picopc android eclair source code (sources available [http://gitorious.org/picopc-android-eclair here]):&lt;br /&gt;
&lt;br /&gt;
$ mkdir picopc-android-eclair&lt;br /&gt;
 $ cd picopc-android-eclair&lt;br /&gt;
 $ repo init -u git://gitorious.org/picopc-android-eclair/manifest.git &lt;br /&gt;
 $ repo sync&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Archive (warning might get outdated use git):'''&amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;font size=&amp;quot;2&amp;quot;&amp;gt;http://arm.mini-box.com/releases/android-gingerbread-2.3.4-src.tgz with the md5sum: 057cc88e1a374f68e3b992ca64fe612f&amp;lt;/font&amp;gt;&lt;br /&gt;
'''&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Warning:&amp;lt;/font&amp;gt; the size of the archive it's 3,264Gb'''&lt;br /&gt;
&lt;br /&gt;
=Build picoPC-android from source=&lt;br /&gt;
==Android Gingerbread==&lt;br /&gt;
Setup picopc configurations:&lt;br /&gt;
 $ cd picopc-android-gingerbread&lt;br /&gt;
 $ . build/envsetup.sh&lt;br /&gt;
&lt;br /&gt;
Start the building process by executing android build system 'm' command&lt;br /&gt;
&lt;br /&gt;
 $ make update-api (only on first compilation)&lt;br /&gt;
 $ TARGET_PRODUCT=picopc m&lt;br /&gt;
&lt;br /&gt;
==Android Eclair==&lt;br /&gt;
Setup picopc configurations:&lt;br /&gt;
 $ cd picopc-android-eclair&lt;br /&gt;
 $ ln -sf build/buildspec.mk buildspec.mk&lt;br /&gt;
 $ . build/envsetup.sh&lt;br /&gt;
&lt;br /&gt;
Start the building process by executing android build system 'm' command&lt;br /&gt;
&lt;br /&gt;
 $ m&lt;br /&gt;
&lt;br /&gt;
=Installing picoPC-android files=&lt;br /&gt;
==Android Gingerbread==&lt;br /&gt;
Once successfully built you can use the picopc-tools to extract the rootfs and system images by running the script in:&amp;lt;br&amp;gt;&lt;br /&gt;
 $ picopc-tools/android-tools/rootfs-creator/android-2.3/rootfs-generator.sh&lt;br /&gt;
&lt;br /&gt;
The resulting files from the latest/ folder can be copied in the rootfs partition on microSD&lt;br /&gt;
&lt;br /&gt;
==Android Eclair==&lt;br /&gt;
Once successfully built you can use the picopc-tools to extract the rootfs and system images by running the script in:&amp;lt;br&amp;gt;&lt;br /&gt;
 $ picopc-tools/android-tools/rootfs-creator/android-2.1/rootfs-generator.sh&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>