Giter Club home page Giter Club logo

android_manifest's Introduction

RevengeOS

Setting up your machine

Manual Way

-- Grab Java 8:

$ sudo apt-get update
$ sudo apt-get install openjdk-8-jdk
$ sudo apt-get install openjdk-8-jre

-- Install build tools

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl \
zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev \
x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils \
xsltproc unzip

NOTE: Arch Linux users, use the Arch wiki page to install your packages then come back here: Link to wiki

Step Two: Configure Repo and Git

NOTE: If you have any problems with the below commands, try running as root: $ sudo -s

Git is an open source version control system which is incredibly robust for tracking changes across repositories. Repo is Google's tool for working with Git in the context of Android. More reading if you are interested: Here

Run these commands to get repo all working (only needed if you did the manual method of setup above): $ curl https://storage.googleapis.com/git-repo-downloads/repo > repo $ chmod a+x repo $ sudo install repo /usr/local/bin $ rm repo

Then run these commands to get git all working:

$ git config --global user.name "Your Name"
$ git config --global user.email "[email protected]"

Automatic Way (recommended!)

-- Grab a repo with some useful scripts, and run the needed one

$ sudo apt-get install git-core
$ git clone https://github.com/akhilnarang/scripts
$ cd scripts
$ ls$ bash setup/<script-name>

Run the script corresponding to your Linux Distribution: arch-manjaro-apricity-build-environment-setup.sh - Arch based distros ubuntu1604linuxmint18.sh - Ubuntu 16.04 or higher based distros ubuntu1404.sh - Ubuntu 14.04 linuxmint17x.sh - Linux Mint 17.x

Initializing Repo

# Create a directory for the source files
# You can name this directory however you want, just remember to replace
# WORKSPACE with your directory for the rest of this guide.
# This can be located anywhere (as long as the fs is case-sensitive)
$ mkdir WORKSPACE
$ cd WORKSPACE

# Install Repo in the created directory
# Use a real name/email combination, if you intend to submit patches
$ repo init -u https://github.com/RevengeOS/android_manifest -b r9.0

Downloading the source tree

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
#
# Tthe x on jx it's the amount of cores you have.
# 4 threads is a good number for most internet connections.
# You may need to adjust this value if you have a particularly slow connection.
$ repo sync -f --force-sync --no-clone-bundle -jx

Building

# Go to the root of the source tree...
$ cd WORKSPACE
# ...and run the build commands.
$ . build/envsetup.sh
$ lunch
$ choose your device From the list
$ brunch device 
# For Eg Leeco Le max2 code name is x2 so brunch x2

Thanks list

Getting Help

Please refer this guide from xda

More Help

Ask in Telegram Group

android_manifest's People

Contributors

bdcgoogle avatar bsimonnet avatar cco3 avatar cferris1000 avatar colincross avatar danalbert avatar danw avatar delphij avatar deymo avatar enh-google avatar freeinfra avatar gauravsh-google avatar ghartman17022 avatar iam avatar ishubhamsingh avatar kruton avatar lhchavez avatar liutikas avatar lucchetto avatar miaowang14 avatar mkayyash avatar mnissler avatar nfuller avatar nickkral avatar paulduffin avatar pirama-arumuga-nainar avatar stephenhines avatar tornewuff avatar vapier avatar wileyatgoogle avatar

Watchers

 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.