Coder Social home page Coder Social logo

android_manifest's Introduction

Installing required packages:

$ sudo apt-get install git gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5 lib32ncurses-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig ccache u-boot-tools

Download source:

$ mkdir ~/mydroid
$ cd ~/mydroid
$ repo init -u https://github.com/odroid-dev/android_manifest.git -b android-9.0
$ repo sync -j$(nproc) --no-tags --no-clone-bundle

Set up toolchains path:

$ export PATH=$PATH:/PATH/TO/mydroid/vendor/toolchains/gcc-10.x-aarch64-linux-gnu/bin
$ export PATH=$PATH:/PATH/TO/mydroid/vendor/toolchains/gcc-linaro-aarch64-none-elf-4.9-2014.09_linux/bin
$ export PATH=$PATH:/PATH/TO/mydroid/vendor/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux/bin
  • Replace /PATH/TO/ with your current correct path.

Set up ccache:

  • Only needed if you compile sources more than one time.
$ export USE_CCACHE=1
$ export CCACHE_DIR=/path/to/.ccache
$ /usr/bin/ccache -M 50G

To build the Android TV variant:

$ export TARGET_BUILD_GOOGLE_ATV=true

Select the target device:

$ source build/envsetup.sh
$ lunch odroid[c4|n2]-[userdebug|eng]

Compile Android:

$ make -j$(nproc)

Build selfinstall image:

$ make -j$(nproc) selfinstall

Build updatepackage:

$ make -j$(nproc) updatepackage

For support refer to:

android_manifest's People

Contributors

bdcgoogle avatar bsimonnet avatar cco3 avatar cferris1000 avatar codewalkerster avatar colincross avatar danalbert avatar danw avatar delphij avatar deymo avatar enh-google avatar freeinfra avatar gauravsh-google avatar ghartman17022 avatar iam avatar jayxon avatar keybuk avatar kruton avatar liutikas avatar mkayyash avatar nfuller avatar nickkral avatar paulduffin avatar pirama-arumuga-nainar avatar secuflag avatar stephenhines avatar tornewuff avatar vapier avatar wileyatgoogle avatar xiane avatar

Watchers

 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.