Skip to content

Multirom-G2/cm_device_lge_g2-common

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#README

Welcome to blastagator's tweaked LG G2 device git.

This git is based on the CM device tree. I tweaked it to build TWRP recovery.

To Build TWRP:

Determine which version you want to build and find the tag in the git. e.g. to build v3.0.2-1, look in tags and you will find tag v3.0.2-1-cm13.0

The additional -cm13.0 indicates I build the version using the
cm-13.0 source tree
  1. Initialize the source tree that corresponds to the tag you found (e.g. cm-13.0) See cyanogenmod documentation for how to do this.

  2. Sync the repo. (Takes a long time)

  3. Copy the blastagator_[device].xml and blastagator_g2-common.xml to your [SOURCE_TREE]/.repo/local_manifests folder.

  4. EDIT the manifest files. Change the "revision" from whatever it is listed as to the name of the tag for the version you want to build. If you don't edit the revision, you will build the newest version. Be sure to change ONLY g2-common, vendor, kernel, twrp, and specific device. (Five things in total)

  5. Sync the repo again.

  6. Change directory to the root of your source tree, and run the following commands:

    . build/envsetup.sh LANG=C breakfast cm_$1-eng lunch cm_$1-eng croot export USE_CCACHE=1 make clean && mka -j5 recoveryimage

NOTE: Do not extract blobs or run setup-makefiles! This is not necessary because the vendor tree is repo sync'd automatically.

About

LG G2 (Recovery Only)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 57.0%
  • C 32.9%
  • Makefile 6.3%
  • Shell 1.7%
  • Python 1.3%
  • Java 0.8%