This tutorial is for advanced Linux users,
follow it step-by-step, please!
Tested on Linux Mint 16 Cinnamon x64
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update && sudo apt-get install
oracle-java6-installer
sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev
zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev
libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib
mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6
lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev
libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev
libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
mkdir ~/aicp
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
sudo gedit ~/.bashrc
export PATH=~/bin:$PATH
sudo apt-get install zenity
wget http://webupd8.googlecode.com/files/update-java > ~/bin/update-java
chmod a+x ~/bin/update-java
sudo update-java
cd ~/aicp
Initializing Repository
repo init -u https://github.com/AICP/platform_manifest.git -b n7.1
repo sync
After the sync is finished, please read the instructions from the Android site on how to build.
. build/envsetup.sh
brunch
. build/envsetup.sh
time brunch m7
Remember to make clobber
every now and then!