The code source of Mediatek X20 Board is divided into 3 parts,AOSP, Linux Kernel, SLA.
-
Downloading the AOSP
$ mkdir ~/develop/x20
$ cd ~/develop/x20
$ repo init -u platform/manifest - Git at Google -b android-6.0.0_r1
$ epo sync –j8 -
Downloading Linux Kernel
$ cd ~/develop
$ git clone https://github.com/helio-x20/linux.git
$ git checkout helio-x20 -
Downloading MediaTek SLA
$ cd ~/develop
$ curl https://builds.96boards.org/releases/helio-x20/mediatek/aosp/16.07/sla.tar.gz -
Merge the Source
$ cd ~/develop
$ mv linux ~/develop/x20/kernel-3.18
$ tar vxfz sla.tar.gz
$ cp –rf sla/* ~/develop/x20/