Giter Site home page Giter Site logo

android's Introduction

alt text

1. Grabbing the source

Repo is a tool provided by Google that simplifies using Git in the context of the Android source.

1.1 Installing dependencies and Repo

Several packages are needed in order to build crDroid

sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-gtk3-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev git-lfs

Install Repo tool

# Make a directory where Repo will be stored and add it to the path
$ mkdir ~/bin
$ PATH=~/bin:$PATH

# Download Repo itself
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

# Make Repo executable
$ chmod a+x ~/bin/repo

1.2 Initializing Repo

# Create a directory for the source files
# This can be located anywhere (as long as the fs is case-sensitive)
$ mkdir crDroid
$ cd crDroid

# Install Repo in the created directory
$ repo init -u https://github.com/crDroid-Revived/android.git -b 10.0 --git-lfs

This is what you will run each time you want to pull in upstream changes. Keep in mind that on your first run, it is expected to take a while as it will download all the required Android source files and their change histories.

# Let Repo take care of all the hard work
$ repo sync --force-sync --no-clone-bundle --no-tags
# Go to the root of the source tree...
$ cd crDroid
# ...and run to prepare our devices list
$ . build/envsetup.sh
# ... now run
$ brunch "your device codename"

2. Contributions

To submit changes/patches, please send a pull request on GitHub. We will review and merge.

3. Features, translations, forum template and OTA

3.1 Features

So you got a device build up and wondering where to start?
Well you can see all out ROM features in our features repo.

3.2 Translations

We use Crowdin for translations since is easy and everyone can do it.
To help out click here.

3.3 Forum template

Build ready? Tested all features and translations are smooth?
Why not share your build over your beloved forums?
To do so, we have made a small template to help out. Just edit what you need and let the downlods roll. ๐Ÿ˜Ž

android's People

Contributors

mikeng avatar rmcc avatar neobuddy89 avatar hyperb1iss avatar ryzenforce990 avatar haggertk avatar luca020400 avatar invisiblek avatar bgcngm avatar rashed97 avatar koush avatar sirrgb avatar intervigilium avatar luk1337 avatar sam3000 avatar gwolf2u avatar npjohnson avatar ciwrl avatar zwliew avatar ctso avatar webgeek1234 avatar arco avatar chirayudesai avatar aviraxp avatar xnombre avatar javelinanddart avatar bvlj avatar tdm avatar euclidgeo avatar championswimmer avatar

Stargazers

 avatar

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.