Local manifests to build AOSP for Xiaomi Mi2.
Initialize repo:
repo init -u git://codeaurora.org/quic/la/platform/manifest -b release -m LA.AF.1.1-02710-8064.0.xml
curl --create-dirs -L -o .repo/local_manifests/local_manifest.xml -O -L https://raw.githubusercontent.com/mitwo-dev/android_local_manifest/android-5.1.1/local_manifest.xml
repo sync
Compile:
. build/envsetup.sh
lunch aries-userdebug
make -jX otapackage