-
Notifications
You must be signed in to change notification settings - Fork 9
How to download and build LineageOS 15.1 for A3 2016
l-0-w edited this page Feb 16, 2018
·
2 revisions
Follow there's commands :
# Update APT sources
sudo apt-get update
# Installing JDK
sudo apt-get install openjdk-8-jdk
# Installing most of dependencies for AOSP
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip
# Installing 'repo'
mkdir ~/bin
echo "PATH=~/bin:$PATH" >> ~/.bashrc
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
. ~/.bashrc
# Establish working environment
mkdir LineageOS
cd LineageOS/
# Configure git
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
# Syncing LineageOS repositories/sources (~25 to 30GB)
repo init -u git://github.com/LineageOS/android.git -b lineage-15.1
# Launch the sync
repo sync
# Add our manifest
# put our manifest (find it in sidebar) into a file at ~/LineageOS/.repo/local_manifests/a3xeltexx.xml
# Then you can relaunch "repo sync" to add changes
# Build OS
source build/envsetup.sh
brunch lineage_a3xeltexx-eng
# ^ for engineer builds (debugging preferred) ^
brunch lineage_a3xeltexx-userdebug
# ^ for production and smaller debug mode ^