Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
cm9 device tree for LG Spectrum 4G on Verizon Wireless
C++ C Shell
branch: cm9

Update prebuilt kernel

Change-Id: Iaf394b82502c944ed5bad5fc52736335cee8c35e
latest commit 309468d899
@death2all110 authored
Failed to load latest commit information.
audio_policy_legacy fix audio build issues and add MDP_Y_CBCR_H2V2_ADRENO to msm_mdp.h
config Initial Spectrum commit for CM9 support
hwaddrs Initial Spectrum commit for CM9 support
include fix msm_vidc_dec.h and msm_vidc_enc.h
liblights Modify boardconfig, add liblights, remove audio_policy_legacy
overlay fix overlay part2 of 2
prebuilt give us something pretty to look at between initial LG logo and the b…
recovery modified: BoardConfig.mk
.gitignore add .gitignore
Android.mk Change device name from spectrum to vs920
AndroidBoard.mk Initial Spectrum commit for CM9 support
AndroidProducts.mk Change device name from spectrum to vs920
BoardConfig.mk minor, probably useless changes
NOTICE Initial Spectrum commit for CM9 support
README.mkdn modified: BoardConfig.mk
cm.mk Fix BoardConfig.mk and cm.mk
egl.cfg Initial Spectrum commit for CM9 support
extract-files.sh fix extract-files.sh from extracting to spectrum vendor tree and rena…
init.lge.usb.rc Initial Spectrum commit for CM9 support
init.qcom.rc minor, probably useless changes
init.rc minor, probably useless changes
init.target.rc strace qcks to see why it crashes
kernel Update prebuilt kernel
proprietary-files.txt finished proprietary-files.mk
recovery.fstab Fix recovery.fstab and BoardConfig.mk and recovery-gfx.c
setup-makefiles.sh fix for setup-makefiles.sh
system.prop Fix recovery.fstab and BoardConfig.mk and recovery-gfx.c
ueventd.rc Debug system-server
vendorsetup.sh Fix BoardConfig.mk and cm.mk
vs920.mk remove pointless flood of header files to fix build issues

README.mkdn

Device tree for the LG Spectrum 4g LGVS920 on Verizon Wireless.

INCOMPLETE AND UNTESTED

HOW-TO BUILD:

This short guide assumes you're on Ubuntu 11.04 or above

Getting the (right) source

First, we need to create directories for the build (system can be whatever you want to name your working directory):

$ mkdir -p ~/bin

$ mkdir -p ~/android/system

Now we'll need repo. Let's download it and make it executable:

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

$ chmod a+x ~/bin/repo

Log out and back in so the changes take effect.

Now initialized the repository and pull the source (with my repos attached):

$ cd ~/android/system/

$ repo init -u git://github.com/CyanogenMod/android.git -b ics

$ repo sync

Depending on your connection, this might take awhile.

Getting my LG Spectrum 4g LGVS920 repo

$ cd ~/android/system/device/

$ mkdir lge

$ cd lge

$ git clone https://github.com/playfulgod/android_device_lge_vs920.git vs920

Extract necessary binaries and proprietary files

We will need to reuse some proprietary files from the stock ROM:

$ cd

$ cd ~/android/system/device/lge/vs920

$ ./extract-files.sh

Building CM9

Once thats done you can start compiling.

Follow the aosp instructions on setting up the build environment. - http://source.android.com/source/download.html

When the environment is setup, we need to grab a copy of Koush's ROM Manager and the Term.apk. This is necessary to build CM9.

$ cd ~/android/system/vendor/cm

$ ./get-prebuilts

Now, we build (system being your work directory):

$ cd ~/android/system

To build for the LG Spectrum:

$ . build/envsetup.sh && brunch vs920

Installing CM9

If the build was successful, you can now take the update zip found in out/target/product/vs920/ and flash using a custom recovery. Make sure to grab the latest Gapps to complete the experience.

When you want to rebuild with new changes to the BoardConfig.mk or after syncing to the latest CM src make sure to do the following before you recompile.

$ make clobber
Something went wrong with that request. Please try again.