Manifest for building CyanogenMod 14 (Nougat) for:
-
Galaxy Ace 3 LTE GT-S7275R/B/T (loganreltexx) --> http://goo.gl/ewBmpi
-
Galaxy Express GT-i8730/T (expressltexx) --> http://goo.gl/d1pZmV
-
Galaxy Express 2 SM-G3815 (wilcoxltexx) --> http://goo.gl/w7VgMS
Instructions to build alone:
Before anything follow this excellent guide to prepare building environment. Ubuntu 16.04 is preferred:
http://forum.xda-developers.com/chef-central/android/guide-how-to-setup-ubuntu-16-04-lts-t3363669
Only note to ignore these commands from the tutorial above, we will replace those commands with others:
A. mkdir ~/android
B. cd ~/android
C. repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0
Now that you have done everything else from this guide except the commands above, open a new terminal:
-
mkdir ~/cm14
-
cd ~/cm14
-
repo init -u https://github.com/CyanogenMod/android.git -b staging/cm-14.0
-
mkdir .repo/local_manifests
-
cd .repo/local_manifests
-
wget https://github.com/MSM8930-Samsung/android_manifest/raw/cm-14.0/local_manifest.xml
-
cd ~/cm14
-
repo sync --force-sync
When the process is finished, you will have fetched CyanogenMod source code, under $HOME/cm13 directory
Optinal step is to setup our enabled in ~/.bashrc ccache (for faster build on second time):
-
cd ~/cm14
-
prebuilts/misc/linux-x86/ccache/ccache -MXG, where X = Size in Gigabytes
Now it is compile time ;) :
-
cd ~/cm14
-
repo sync --force-sync -jX, where X = Number of CPU cores on PC + 1
-
. build/envsetup.sh
-
lunch cm_loganreltexx-userdebug or lunch cm_expressltexx-userdebug or lunch cm_wilcoxltexx-userdebug (depending on what device you are building for)
-
time mka bacon -jX, where X = Number of CPU cores on PC + 1
When this very long (especially on low-end PC) finishes, then you will find the flashable zip on ~/cm14/out/target/product/devicename/
Note: This process can be done only on 64bit systems, with 8GB RAM as minimum