Giter Site home page Giter Site logo

android's Introduction

alt text LiquidSmooth Source

To get started with LiquidSmooth, 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 ~/liquid

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 ~/liquid

Repositories:

Before you continue --> run this in the terminal

repo init -u git://github.com/LiquidSmooth/android.git -b mm6.0

repo sync

Building the System

Build LiquidSmooth with the following command

./build-liquid.sh {options} {device}

Use the following as options...

Options:
-c# Cleanin options before build:
        c1 - make liquid
        c2 - make clean
        c3 - make dirty
        c4 - make magic
        c5 - make kernelclean
-d  Use dex optimizations
-i  Static Initlogo
-j# Set jobs
-s  Sync before build
-p  Build using pipe
-o# Select GCC O Level
        Valid O Levels are
        1 (Os) or 3 (O3)
-z  create build log in 'build-logs'"

Example:

./build-liquid.sh -c3 -p -o3 -j18 hammerhead

Uploading to the LiquidSmooth Gerrit

1st You must have local ssh keys on your computer if you do not here is a [guide] (http://goo.gl/86CfDP) to generate them.

2nd Make an account on [Gerrit] (http://gerrit.liquidsmooth.net)

3rd Add your ssh public key to your account

4th Make your changes and commit them

5th use the following command to push your commit to gerrit

git push ssh://[email protected]:29418/LiquidSmooth-Devices/REPO_NAME HEAD:refs/for/mm6.0

or

git push ssh://[email protected]:29418/LiquidSmooth/REPO_NAME HEAD:refs/for/mm6.0

6th You will get an error about a missing Change-ID in that error it will show you a suggested commit message copy the change id

7th Do the following command and add the change id to the end of the commit message

git commit --amend

Here is an example of what the commit message should look like:

Add how to push to gerrit

Change-Id: I93949d30d732de35222d9d78d1f94e33e4bffc47

8th use the same command to push to gerrit and if you did everything properly it will be up on gerrit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.