Skip to content

TeamHorizon/platform_manifest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

XenonHD

Blazing fast, Rock-Hard stability.

Getting Started

To get started with the Xenon sources, you'll need to get familiar with Git and Repo.

Create the Directories

You will need to set up some directories in your build environment.

To create them run:

mkdir -p ~/bin
mkdir -p ~/xenon

Install the Repository

Enter the following to download the "repo" binary and make it executable:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo

You may need to reboot for these changes to take effect. Now enter the following to initialize the repository:

cd ~/xenon

Initializing the XenonHD Source:

For initializing repo use:

repo init -u https://github.com/TeamHorizon/platform_manifest.git -b p

Syncing repo:

repo sync -j2 | -j4 |-j8 | -j32 (# of CPUs x2)

Compiling XenonHD

Set up environment:

. build/envsetup.sh

If your device is officially supported by TeamHorizon, you can do now:

breakfast <device_codename>

...to automatically pull all missing repositories. Then:

brunch <device_codename>

...to start compilation process.

Adding support for new device

If you want to be official maintainer and add XenonHD support for a new device you have to create these two files in device tree:

xenonhd.mk sample

# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) -- only for 64bit phones
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)

# Inherit from device
$(call inherit-product, device/<path>/device.mk) -- path to main device makefile

# Inherit common product files.
$(call inherit-product, vendor/xenonhd/config/common_full_phone.mk)

# Set those variables here to overwrite the inherited values.
BOARD_VENDOR := 
PRODUCT_BRAND := 
PRODUCT_DEVICE := 
PRODUCT_NAME := xenonhd_device
PRODUCT_MANUFACTURER := 
PRODUCT_MODEL := 
TARGET_VENDOR := 

xenonhd.dependencies sample

[
  {
    "repository": "android_kernel_<name>",
    "target_path": "kernel/path"
  },
  {
    "repository": "proprietary_vendor_<name>",
    "target_path": "vendor/path"
  },
  {
    "repository": "android_device_<name>-common"
    "target_path": "device/path"
  }
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published