Changes

How to get the Android distribution

1,071 bytes added, 10:46, 15 February 2011
no edit summary
$ chmod a+x ~/bin/repo
$ export PATH=$PATH:~/bin
$ mkdir android
$ cd android
</pre>
 
==== Eclair 2.1 ====
 
Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest:
<pre>
$ mkdir android
$ cd android
$ repo init -u git://gitorious.org/rowboat/manifest.git -m < manifest name >
</pre>
</pre>
Now, you're ready to install and run your new android image.
 
==== Froyo 2.2 ====
 
Work in progress, please contribute
 
===== Using TI Android DevKit =====
Download latest version from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/02_02_00/index_FDS.html
 
...
 
===== From sources =====
Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest:
<pre>
$ mkdir froyo
$ cd froyo
$ repo init -u git://gitorious.org/rowboat/manifest.git -m rowboat-froyo-dsp.xml
</pre>
 
To pull down files to your working directory from the repositories as specified in the default manifest, run
<pre>
$ repo sync
</pre>
 
Now build for your target product, do
<pre>
. build/envsetup.sh
lunch igepv2-eng
m -j8
</pre>
Next step is create a tarball containing the rootfs
<pre>
$ cd out/target/product/igepv2
$ mkdir froyo-rootfs
$ cp -r root/* froyo-rootfs
$ cp -r system froyo-rootfs
$ sudo ../../../../build/tools/mktarball.sh ../../../host/linux-x86/bin/fs_get_stats android-rootfs . rootfs rootfs.tar.bz2
$ cd ../../../../
</pre>
=== Installing and Using the Result on a NFS-mounted root filesystem ===
0
edits