Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 1.69 KB

README.md

File metadata and controls

41 lines (36 loc) · 1.69 KB

#crDroid tree for Moto X Play

##Dependencies:

sudo apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev
sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev schedtool libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 zlib1g lib32z1 lib32bz2-1.0

You also need the repo tool for cloning Android source trees.

##Set up and get the repo:

repo init -u https://github.com/crdroidandroid/android -b 5.1.1
mkdir -p .repo/local_manifests

Create a file .repo/local_manifests/lux.xml and paste this in:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
    <project name="MotoG3/android_device_motorola_osprey" path="device/motorola/osprey" remote="github" revision="cm-12.1" />
    <project name="MotoG3/android_vendor_motorola_osprey" path="vendor/motorola/osprey" remote="github" revision="cm-12.1" />
    <project name="MotoG3/android_kernel_motorola_msm8916" path="kernel/motorola/msm8916" remote="github" revision="cm-12.1" />
    <project name="CyanogenMod/android_external_mm-dash" path="external/mm-dash" remote="github" />
    <project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" />
    <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
</manifest>

Then fetch the repositories

repo sync

##Building:

source build/envsetup.sh
breakfast osprey
make clean
brunch osprey