This is an old revision of the document!


Android platform build guide for Exynos-4412

How to download and build the Android source code

android-4.1.2
$ repo init -u https://github.com/hardkernel/android.git -b 4412_4.1.2_master
$ repo sync
$ repo start 4412_4.1.2_master --all
$ ./build_android.sh odroidu[x,x2,q,q2]
$ repo forall -c git reset --hard 4412_v2.x
android-4.4.3
$ repo init -u https://github.com/hardkernel/android.git -b 4412_4.4.3_master
$ repo sync
$ repo start 4412_4.4.3_master --all
$ ./build.sh odroidxu platform

* Visit this link to install the repo. http://source.android.com/source/downloading.html

* To get the same version source of this Alpha 2.0 in the future, try below command of tag.

$ repo forall -c git reset --hard 4412_v3.x

How to download the Kernel source code and build

anroid-4.1.2
$ git clone https://github.com/hardkernel/linux.git -b odroid-3.0.y-android
$ cd linux
$ make odroidu[x,x2,q,q2]_android_defconfig
$ make -j8
anroid-4.4.3
$ git clone https://github.com/hardkernel/linux.git -b odroid-3.0.y-android
$ cd linux
$ make odroidu[x,x2]_android_442_defconfig
$ make -j8

Write kernel

In the host PC.

#fastboot flash kernel arch/arm/boot/zIamge

Reboot system

In the host PC.

#fastboot reboot