As of this weekend (27 Nov 2016) we have merged our sources with ubports repo.
Build Ubuntu Touch For Fairphone 2
Install required packages
sudo apt-get install git gnupg flex bison gperf build-essential
zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386
libgl1-mesa-dev g+±multilib tofrodos
python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool
g+±4.8-multilib phablet-tools
Initialize the repo
mkdir phablet && cd phablet
repo init -u GitHub - ubports/android -b ubp-5.1
Create local manifest
mkdir .repo/local_manifests
touch .repo/local_manifests/fp2.xml
Copy the following text with your favourite text editor in the file .repo/local_manifests/fp2.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="smoose"
fetch="http://github.com/smoose-nils"
revision="refs/heads/ubp-5.1" />
<project path="kernel/fairphone/FP2" name="android_kernel_fairphone_fp2" remote="ubp" />
<project path="device/fairphone/FP2" name="android_device_fairphone_fp2" remote="ubp" />
<project path="device/qcom/common" name="android_device_qcom_common" remote="cm" />
<project path="vendor/fairphone" name="proprietary_vendor_fairphone" remote="smoose"/>
</manifest>
repository sync
repo sync -j10
take a coffee break this will take awhile (~20GB need to be downloaded)
Setting up the buildenvironment
. build/envsetup.sh
lunch cm_FP2-eng
Start the build
make -j8
[details=old build guide]Build Ubuntu Touch For Fairphone 2
Install required packages
sudo apt-get install git gnupg flex bison gperf build-essential
zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386
libgl1-mesa-dev g+±multilib tofrodos
python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool
g+±4.8-multilib phablet-tools
Initialize the repo
mkdir phablet && cd phablet
repo init -u https://github.com/smoose-nils/fp2_android
repo sync -j10
Setting up the buildenvironment
. build/envsetup.sh
lunch
https://docs.nigle.nl/img/fp2_lunch.png
Choose cm_FP2-eng
Start the build
make -j8[/details]