For this you tutorial you need to be running Ubuntu 13.10 64-Bit (32-Bit Will Not Work).
Does Not Matter if you are running this in a virtual machine or not. (Will work on Both)
Also I will also be showing a Guide to Syncing CM11 Repo and TamsuiCM11 Repo.
Instructions (Read Carefully):
First, let's set up the correct JDK.
Many of you probably have some kind of wrong Java installed unless you're starting with a fresh Ubuntu base, and even then maybe.
Let's get rid of that. Copy and paste this into a Terminal window:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
Now copy and paste the following into the Terminal:
sudo add-apt-repository ppa:webupd8team/java
Next, we actually need to install the package. More copy-paste:
sudo apt-get update && sudo apt-get install oracle-java6-installer
sudo apt-get install git-core lzop ccache gnupg 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 gcc g++ cpp gcc-4.8 g++-4.8
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
You guessed it, time for more Terminal. This really is the easiest way, seriously. And it's totally worth it when you're basking in the glory of a bunch of people on XDA.
The binary for a program called "repo" will let you talk to git servers and download all that precious source code. That second part after the && allows it to be executable:
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
I like nano:
sudo nano ~/.bashrc
mkdir ~/cm11 cd ~/cm11
git config --global user.name your name git config --global user.email your email
repo init -u git://github.com/CyanogenMod/android.git -b stable/cm-11.0
After that is done its time to Sync TamsuiCM11 Repo:
Go into your file browser and to your username then your cm11 folder, once there press Ctrl+H on your keyboard. Go into the folder .repo and make a folder called:
Now its time you configure the local manifest, this will download all necessary files for the devices in this forum.
Type this in terminal:
. build/envsetup.sh breakfast jlo (For Xperia J) tapioca (For Xperia Tipo) mesona (For Xperia Miro) nanhu_ds (For Xperia E) gedit ~/cm11/.repo/local_manifests/local_manifest.xml
Copy everything in the file into the open window of gedit hit save and close.
Go back to Terminal and type:
cd ~/cm11/vendor/cm . get-prebuilts croot
brunch jlo (For Xperia J) tapioca (For Xperia Tipo) mesona (For Xperia Miro) nanhu_ds (For Xperia E
THANK ME IF I HELPED!