C-RoM-KK / android

1 stars 1 forks source link

C-RoM Source

To get started with C-RoM, you'll need to get familiar with Git and Repo.

Create the Directories

You will need to set up some directories in your build environment.

To create them run:

mkdir -p ~/bin
mkdir -p ~/crom

Install the Repository

Enter the following to download the "repo" binary:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

chmod a+x ~/bin/repo

You may need to reboot for these changes to take effect. Now enter the following to initialize the repository:

cd ~/crom

Repositories:

Before you continue --> run this in the terminal

repo init -u git://github.com/C-RoM-KK/android.git -b kitkat

repo sync

Building the System

Initialize the environment with the envsetup.sh script. Note that replacing "source" with a single dot saves a few characters, and the short form is more commonly used in documentation.

. build/envsetup.sh

lunch

Enter the number of the build you want to start and press enter

Build the Code:

time make crom