Skip to content
Philippe12 edited this page Dec 3, 2014 · 7 revisions

Build your Android for "A20-OLinuXino-MICRO-4GB"

This wiki explaine how to comply Android for "A20-OLinuXino-MICRO-4GB"

Prepare your host

Google pass

Used the google howto at Initializing a Build Environment

Tool repo

Look at Installing Repo

Create your working directory:

mkdir olimex
cd olimex

Download source

kernel, u-Boot and tool

All this sources are in on git project with tow submodules.

clone the project :

git clone --recursive https://github.com/Philippe12/lichee.git

Android sources

I create a custom manifeste for add some path like ethernet.

Android

It could be take some long time

mkdir android
cd android
repo init -u https://github.com/Philippe12/Android_A20_manifests.git -b kitkat
repo sync

Build sources

kernel, u-Boot and tool

Go back to kernel directiry and build:

cd ../lichee
./build.sh -p sun7i_android -b wing-nck70 -k 3.4

Android

Go to android directory and build (the compilation time it depend that your hardware)

  • To do just on time at each new session
cd ../android
source build/envsetup.sh
lunch _(select the board wing-nck70-eng)_
  • Specifique to Allwinner (if kernel has modify)
extract-bsp
  • make (-j for the jobs number)
make -j4

Distribute

After all are compled without error, we must to make a phoenixsuite image

pack