Saturday, May 25, 2013

Here I will outline the basic steps, from installing packages to the actual compilation, based on my REPOS for the Galaxy Wonder, My-Touch 4G, and Exhibit 4G. This is only for ROMs that I support, and their is no guarantee that it will work correctly for you.

Prerequisites: 

  1. A computer with a 64 bit processor
  2. 4 GBs of RAM or more
  3. A Linux, preferably Debian based OS. I like Xbuntu and Linux Mint. 
  4. Time, it takes me about an 1.5 hours, although ccache will drop that to 50 min



Step One: Installing Java
  1. Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html and download the latest Java 6, right now it is Java SE 6u45  select the linux .bin one
  2. Open a terminal and navigate to where the file was downloaded, then run the following one at a time:

chmod +x  jdk-6u45-linux-x64.bin

./jdk-6u45-linux-x64.bin

sudo mkdir /usr/lib/jvm

sudo mv jdk1.6.0_45 /usr/lib/jvm

wget http://webupd8.googlecode.com/files/update-java-0.5b

chmod +x update-java-0.5b

sudo ./update-java-0.5b

  • Select jdk-6u45 and hit OK


Step Two: Installing Packages

  1. Open the link and copy and paste this into the terminal:
Packages
Step Three: Initializing the Repo

$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo

No comments:

Post a Comment