GithubHelp home page GithubHelp logo

android_manifest's Introduction

Manifest for building CyanogenMod 14 (Nougat) for:

  1. Galaxy Ace 3 LTE GT-S7275R/B/T (loganreltexx) --> http://goo.gl/ewBmpi

  2. Galaxy Express GT-i8730/T (expressltexx) --> http://goo.gl/d1pZmV

  3. Galaxy Express 2 SM-G3815 (wilcoxltexx) --> http://goo.gl/w7VgMS

Instructions to build alone:

Before anything follow this excellent guide to prepare building environment. Ubuntu 16.04 is preferred:

http://forum.xda-developers.com/chef-central/android/guide-how-to-setup-ubuntu-16-04-lts-t3363669

Only note to ignore these commands from the tutorial above, we will replace those commands with others:

A. mkdir ~/android

B. cd ~/android

C. repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0

Now that you have done everything else from this guide except the commands above, open a new terminal:

  1. mkdir ~/cm14

  2. cd ~/cm14

  3. repo init -u https://github.com/CyanogenMod/android.git -b staging/cm-14.0

  4. mkdir .repo/local_manifests

  5. cd .repo/local_manifests

  6. wget https://github.com/MSM8930-Samsung/android_manifest/raw/cm-14.0/local_manifest.xml

  7. cd ~/cm14

  8. repo sync --force-sync

When the process is finished, you will have fetched CyanogenMod source code, under $HOME/cm13 directory

Optinal step is to setup our enabled in ~/.bashrc ccache (for faster build on second time):

  1. cd ~/cm14

  2. prebuilts/misc/linux-x86/ccache/ccache -MXG, where X = Size in Gigabytes

Now it is compile time ;) :

  1. cd ~/cm14

  2. repo sync --force-sync -jX, where X = Number of CPU cores on PC + 1

  3. . build/envsetup.sh

  4. lunch cm_loganreltexx-userdebug or lunch cm_expressltexx-userdebug or lunch cm_wilcoxltexx-userdebug (depending on what device you are building for)

  5. time mka bacon -jX, where X = Number of CPU cores on PC + 1

When this very long (especially on low-end PC) finishes, then you will find the flashable zip on ~/cm14/out/target/product/devicename/

Note: This process can be done only on 64bit systems, with 8GB RAM as minimum

android_manifest's People

Contributors

kotzir avatar

Watchers

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