Coder Social home page Coder Social logo

android's Introduction

Quick steps to sync and build Evervolv

Getting Started

Install the Android SDK.

Not strictly required to build, but if you want adb / fastboot / monitor, you'll want it see googles instructions

Install the Build Packages

See initializing the environment for googles detailed instructions

Required Packages
Ubuntu 14.04+ (64-bit)
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

If you have dependency issues, try installing only a couple of packages at a time.

Install Java (OpenJDK is recommended)
For Ubuntu 15.04+
sudo apt-get update
sudo apt-get install openjdk-8-jdk
For Ubuntu 14.04

See Initializing the environment for detailed instructions

Create the Directories
mkdir ~/bin
mkdir -p ~/android/system
Install Repo
Enter the following to download and make executable the "repo" binary:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

Add export PATH=~/bin:$PATH to your bashrc You may need to logout/login for path changes to take effect.

Download Source
Now enter the following to initialize the repository:
cd ~/android/system/
repo init -u git://github.com/Evervolv/android.git -b q-10.0
# Then to start the Sync. (This is gonna take awhile)
repo sync -f

All proprietary files are kept in the repo, no need to pull them from your device (unless adding devices).

Configure Build
Now, your environment must be configured to build specifically for your device. To set up your build environment:
. build/envsetup.sh
lunch

And choose your device. The first time you run lunch the device, vendor, and any dependencies will be automatically downloaded.

Building
Next, we will build the actual ROM.

We will specify the amount of jobs you want to run (replace # with number of cpu cores, or be adventurous and max it out!) 'otapackage' creates the zip file that can be flashed through recovery

make -j# otapackage
Completed!

Your compiled Evervolv rom will be located at:

~/android/system/out/target/product/<product>/ev_<product>-<release>.zip

android's People

Contributors

bgcngm avatar bsimonnet avatar cco3 avatar colincross avatar danalbert avatar danw avatar delphij avatar deymo avatar elginsk8r avatar enh-google avatar freeinfra avatar hyperb1iss avatar iam avatar kruton avatar liutikas avatar luk1337 avatar mikeng avatar mkayyash avatar nfuller avatar nickkral avatar paulduffin avatar pipipig233666 avatar pirama-arumuga-nainar avatar preludedrew avatar rashed97 avatar ryzenforce990 avatar stephenhines avatar tornewuff avatar vapier avatar wileyatgoogle 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.