Mediatek X20 Board code source


#1

The code source of Mediatek X20 Board is divided into 3 parts,AOSP, Linux Kernel, SLA.

  1. Downloading the AOSP
    $ mkdir ~/develop/x20
    $ cd ~/develop/x20
    $ repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.0_r1
    $ epo sync –j8

  2. Downloading Linux Kernel
    $ cd ~/develop
    $ git clone https://github.com/helio-x20/linux.git
    $ git checkout helio-x20

  3. Downloading MediaTek SLA
    $ cd ~/develop
    $ curl https://builds.96boards.org/releases/helio-x20/mediatek/aosp/16.07/sla.tar.gz

  4. Merge the Source
    $ cd ~/develop
    $ mv linux ~/develop/x20/kernel-3.18
    $ tar vxfz sla.tar.gz
    $ cp –rf sla/* ~/develop/x20/


#2

About the SLA tarball, i suggest you’d better to get the latest one form https://builds.96boards.org/releases/helio-x20/mediatek/aosp/latest/, download the whole tarball mediatek-x20-aosp-16.10.tar.xz, and split the sla.tar.gz out, then merge it into the whole code source.