====== Building & Install Android ICS(A10) Image ======
//__About this Article__//
* **Author**: james --- james@cubietech.com --- 2013/10/17 11:06
* **Copyrights**: [[http://creativecommons.org/licenses/by-sa/3.0/|CC Attribution-Share Alike 3.0 Unported]]
* **Contributors**: [[http://cubieboard.org/|Cubieboard Community]] : ...
===== Building environment for Android =====
Refer to the linkļ¼[[http://docs.cubieboard.org/tutorials/cb1/development/cubieboard/building_environment_for_android|Building environment for Android]]
===== Download the source code =====
Before all you should make sure that you have more than 23GB space
$mkdir a10-android-ICS && cd a10-android-ICS
$wget http://dl.cubieboard.org/software/a10-cubieboard/android/A10-android-4.04.tar.xz
$tar -xvJf A10-android-4.04.tar.xz
===== Compiling image=====
After get the source code,you could use common to build it as follow:
====Build Linux kernal====
$cd lichee/
$./build.sh -p sun4i_crane -k 3.0
Start building:
{{:tutorials:cb1:installation:selection_041.png|}}
Sucess building:
{{:tutorials:cb1:installation:selection_042.png|}}
====Build Android image====
$cd ../android
$source build/envsetup.sh
$lunch
$11 //note:select apollo_cubieboard-eng
$extract-bsp
$make -j8
Finish building:
{{:tutorials:cb1:installation:selection_043.png|}}
Pack Final image:
$pack
Pack success:
{{:tutorials:cb1:installation:selection_044.png|}}
=====Install image=====
The final image is at lichee/lichee/tools/pack/sun4i_crane_cubieboard.img
=====Setup=====
It is recommended to run this on Ubuntu 12.04 setup. You will need 'make' version 3.81 specifically.
{{tag>Cubieboard Cubietruck}}