Git Product home page Git Product logo

manifest-old's Introduction

xperience

Download XPerience Download XPerience

Getting Started The XPerience Project

You must be running a 64-bit Linux distribution and must have installed some packages to build The XPerience Project. Google recommends using Ubuntu for this and provides instructions for setting up the system (with Ubuntu-specific commands) on the Android Open Source Project website.

To initialize your local repository using the XPerience CAF trees, use a command like this:

  $ mkdir XPe
  $ cd XPe
  $ repo init -u https://github.com/TheXPerienceProject/Manifest -b xpe-15.0

Then to sync up:

  repo sync -j<number_of_threads>

OR:

  repo sync --no-tags --no-clone-bundle --force-sync -c

Building The XPerience Project for your device

Build Environment

  • Tested and Working on any version of Ubuntu - 15.10 & 16.04 16.10 (64-bit)
  • Any other distribution based of the Ubuntu Distro such as Lubuntu, Xubuntu and etc.
  • A Terminal window
  • A Good specs of hardware like 16 GB of RAM and an Intel I5 quad core (Minimum)
  • A storage unit of any kind (minimum 300 GB). It would be better to use SSD because is more fast during the compliation process
  • Some dependencies that should be installed

Building The XPerience Project ROM for your device

  • Preparing Required Binaries and Device Drivers
  • Set CCache for Faster Building (Optional)
  • Build phase

Set CCache

  $ sudo apt-get install ccache
  $ export USE_CCACHE=1
  $ export CCACHE_DIR=~/.ccache
  $ ccache -M 50G

Congratulations,the sources are initialized!

To build The XPerience Project ROM

The bundled builder tool ./rom-build.sh handles all the building steps for the specified device automatically. As the device value, you just feed it with the device codename (for example, 'Addison' for the Moto Z Play).

  # Automatic script
  $ ./rom-build.sh codename
  # Example
  $ ./rom-build.sh addison

OR

  # Manually
  $ . build/envsetup.sh
  $ lunch codename-userdebug #only if we support your device if not clone manually and do
  $ lunch xpe_codename-userdebug or breakfast codename
  $ make bacon -j$(nproc --all)

Credits to:

  * Android Open Source Project.
  * Cyanogenmod Team.
  * LineageOS
  * CodeAurora Forum
  * ParanoidAndroid (AOSPA)
  * And too much other's devs They do a lot for the community

  # bibliography:
  * http://tryge.com/2013/06/15/build-android-from-source-macosx/
  * https://source.android.com/source/initializing.html

Copyright (C) 2011-2020 The XPerience Project

manifest-old's People

Contributors

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

Watchers

James Cloos avatar  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.