Klozz / Manifest-old

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About