We're no longer updating This wiki!!

This is an old revision of the document!


Introduction

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
en/odroid4412.1403142564.txt.gz · Last modified: 2014/06/19 10:49 by codewalker
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0