How to build Lineage OS for your device

Follow this video to begin building custom ROMs for your own device instead of demanding developers to make different ROMs for you.

Below are the commands used in the video:

1.Linux System
2.Understanding Capability
3.Good Internet Connection

Commands to Build Lineage OS 14(Nougat)

#Some Facts
SUDO-SuperUser DO
JDK- Java Development Kit
mkdir- make directory
brunch- combination of lunch and breakfast :P

sudo apt-get update

#Installs JAVA:
sudo apt-get install openjdk-8-jdk

#Installs Required Packages
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

sudo apt install bc bison build-essential curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev

#Makes Directory called bin
mkdir ~/bin

#Sets PATH

#Install REPO
curl > ~/bin/repo

chmod a+x ~/bin/repo

#Git Profile Configuration
git config --global "Abhishek"

git config --global "[email protected]"

#Make Directory For Downloading Lineage OS 7.12 Source
mkdir los14
cd los14

#Initiating Lineage OS REPO for synchronize 
repo init -u -b cm-14.1

repo sync

#Sets up build environment 

brunch x500

Visit Here For More Info and To Learn: