User Tools

Site Tools


devices:mediatek_x20:aosp

How to compile AOSP

  • Install repo 1) tool.
  • Get the AOSP sources from:
mkdir aosp-x20; cd aosp-x20
repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.0_r1
repo sync
  • Download sla.tar.gz from the latest Mediatek X20 release and untar the content in the AOSP local directory:
tar xvf sla.tar.gz
cp -r sla/* aosp-x20/

Note: device/, prebuilts/ and vendor/ folders will be appended into your aosp-x20/ directory.

  • Compile the sources:
cd aosp-x20
source build/envsetup.sh
lunch
  • Select any option which includes full_amt6797_64_open-
  • Compile the sources:
make -j<number-of-cores>
Resources
1)
Section: Build Environment Setup: Installing Repo Tool
devices/mediatek_x20/aosp.txt · Last modified: 2018/09/26 00:15 by dagmcr