Android/Building: Difference between revisions
< Android
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
How to build an Android image for XO-4. |
How to build an Android image for XO-4. |
||
We provide in [http://build.laptop.org/android/2013-12-20 this directory] changes to the Android 4.3.1 source so that Android can be built for the XO-4 laptop. |
We provide in [http://build.laptop.org/android/2013-12-20 this directory] changes to the Android 4.3.1 source so that Android can be built for the XO-4 laptop, and then merged with an OLPC OS build to create a dual-boot image. |
||
== Ingredients == |
== Ingredients == |
||
Line 19: | Line 19: | ||
$ lunch 13 |
$ lunch 13 |
||
$ make -j8 |
$ make -j8 |
||
* ensure you have a copy of the Linux build, |
* ensure you have a copy of the OLPC OS Linux, Sugar and Gnome build file, e.g. 32013o4.zd, |
||
* prepare a .zd file for the XO-4: |
* prepare a .zd file for the XO-4: |
||
$ cd vendor/olpc/xo4/mkzd |
$ cd vendor/olpc/xo4/mkzd |
Revision as of 01:20, 18 April 2014
How to build an Android image for XO-4.
We provide in this directory changes to the Android 4.3.1 source so that Android can be built for the XO-4 laptop, and then merged with an OLPC OS build to create a dual-boot image.
Ingredients
- a well connected development system,
- about 20 GB of download capability,
Method
- follow the "Downloading the Source" guide to install Repo,
- use Repo to download the Android source,
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.3.1_r1 $ repo sync
- in the same working directory, expand our file xo4-android-source-release-20131220.tar.gz and merge the changes,
- start the build:
$ . build/envsetup.sh $ lunch 13 $ make -j8
- ensure you have a copy of the OLPC OS Linux, Sugar and Gnome build file, e.g. 32013o4.zd,
- prepare a .zd file for the XO-4:
$ cd vendor/olpc/xo4/mkzd $ ./mkzd.sh