summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Shelnutt <shelnutt2@gmail.com>2013-11-20 17:56:14 -0500
committerSeth Shelnutt <shelnutt2@gmail.com>2013-11-27 17:58:29 -0500
commitfd739c86047c4de0b05a407ad8f8c67d21bf25ae (patch)
tree8a9cdb69617ebb03b9488c6c428527009ab9df69
Initial LS980 bringup
-rw-r--r--Android.mk7
-rw-r--r--BoardConfig.mk23
-rw-r--r--cm.dependencies18
-rw-r--r--cm.mk26
-rw-r--r--device.mk38
-rwxr-xr-xextract-files.sh17
-rw-r--r--ls980.mk31
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml35
-rw-r--r--overlay/frameworks/base/core/res/res/xml/eri.xml167
-rw-r--r--overlay/packages/apps/Phone/res/values/config.xml25
-rw-r--r--proprietary-blobs.txt249
-rwxr-xr-xsetup-makefiles.sh91
12 files changed, 727 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..f189685
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,7 @@
+ifneq ($(filter ls980,$(TARGET_DEVICE)),)
+
+LOCAL_PATH := $(call my-dir)
+
+include $(call all-makefiles-under,$(LOCAL_PATH))
+
+endif
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..685b0bb
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,23 @@
+#
+# Copyright (C) 2013 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+include device/lge/g2-common/BoardConfigCommon.mk
+
+TARGET_KERNEL_CONFIG := cyanogenmod_ls980_defconfig
+
+TARGET_OTA_ASSERT_DEVICE := ls980,g2,galbi
+
+G2_DTS_TARGET := msm8974-g2-spr
diff --git a/cm.dependencies b/cm.dependencies
new file mode 100644
index 0000000..bba4a55
--- /dev/null
+++ b/cm.dependencies
@@ -0,0 +1,18 @@
+[
+ {
+ "repository": "android_device_lge_g2-common",
+ "target_path": "device/lge/g2-common"
+ },
+ {
+ "repository": "android_hardware_qcom_display-mdss",
+ "target_path": "hardware/qcom/display-mdss"
+ },
+ {
+ "repository": "android_hardware_qcom_media-v4l2",
+ "target_path": "hardware/qcom/media-v4l2"
+ },
+ {
+ "repository": "android_kernel_lge_msm8974",
+ "target_path": "kernel/lge/msm8974"
+ }
+]
diff --git a/cm.mk b/cm.mk
new file mode 100644
index 0000000..6f5b5b5
--- /dev/null
+++ b/cm.mk
@@ -0,0 +1,26 @@
+## Specify phone tech before including full_phone
+$(call inherit-product, vendor/cm/config/cdma.mk)
+
+# Boot animation
+TARGET_SCREEN_HEIGHT := 1920
+TARGET_SCREEN_WIDTH := 1080
+
+# Inherit some common CM stuff.
+$(call inherit-product, vendor/cm/config/common_full_phone.mk)
+
+# Enhanced NFC
+$(call inherit-product, vendor/cm/config/nfc_enhanced.mk)
+
+# Inherit device configuration
+$(call inherit-product, device/lge/ls980/ls980.mk)
+
+## Device identifier. This must come after all inclusions
+PRODUCT_DEVICE := ls980
+PRODUCT_NAME := cm_ls980
+PRODUCT_BRAND := LGE
+PRODUCT_MODEL := LG-LS980
+PRODUCT_MANUFACTURER := lge
+
+PRODUCT_BUILD_PROP_OVERRIDES += BUILD_FINGERPRINT=lge/g2_spr_us/g2:4.2.2/JDQ39B/LS980ZV7.1378543552:user/release-keys PRIVATE_BUILD_DESC="g2_spr-user 4.2.2 JDQ39B LS980ZV7.1378543552 release-keys"
+
+PRODUCT_PACKAGES += Torch
diff --git a/device.mk b/device.mk
new file mode 100644
index 0000000..90b31d6
--- /dev/null
+++ b/device.mk
@@ -0,0 +1,38 @@
+#
+# Copyright (C) 2011 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+$(call inherit-product-if-exists, vendor/lge/ls980/ls980-vendor.mk)
+$(call inherit-product, device/lge/g2-common/g2.mk)
+
+## overlays
+DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
+
+PRODUCT_PROPERTY_OVERRIDES += \
+ ro.cdma.home.operator.numeric=310120 \
+ ro.cdma.home.operator.alpha=Sprint \
+ telephony.lteOnCdmaDevice=1 \
+ telephony.lte.cdma.device=1 \
+ ro.telephony.default_network=8 \
+ ro.ril.def.preferred.network=8 \
+ ril.subscription.types=NV,RUIM \
+ ro.cdma.subscribe_on_ruim_ready=true \
+ persist.radio.no_wait_for_card=1 \
+ keyguard.no_require_sim=true \
+ telephony.sms.pseudo_multipart=1 \
+ DEVICE_PROVISIONED=1
+
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml
diff --git a/extract-files.sh b/extract-files.sh
new file mode 100755
index 0000000..082f6b6
--- /dev/null
+++ b/extract-files.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+VENDOR=lge
+DEVICE=ls980
+
+BASE=../../../vendor/$VENDOR/$DEVICE/proprietary
+rm -rf $BASE/*
+
+for FILE in `cat proprietary-blobs.txt | grep -v ^# | grep -v ^$ `; do
+ DIR=`dirname $FILE`
+ if [ ! -d $BASE/$DIR ]; then
+ mkdir -p $BASE/$DIR
+ fi
+ adb pull /system/$FILE $BASE/$FILE
+done
+
+./setup-makefiles.sh
diff --git a/ls980.mk b/ls980.mk
new file mode 100644
index 0000000..72ef0d3
--- /dev/null
+++ b/ls980.mk
@@ -0,0 +1,31 @@
+#
+# Copyright 2012 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Sample: This is where we'd set a backup provider if we had one
+# $(call inherit-product, device/sample/products/backup_overlay.mk)
+
+# Inherit from the common Open Source product configuration
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
+
+PRODUCT_DEVICE := ls980
+PRODUCT_NAME := full_ls980
+PRODUCT_BRAND := LGE
+PRODUCT_MODEL := LG-LS980
+PRODUCT_MANUFACTURER := lge
+PRODUCT_RESTRICT_VENDOR_FILES := false
+
+# Inherit from hardware-specific part of the product configuration
+$(call inherit-product, device/lge/ls980/device.mk)
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..95e962d
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- If the DUN connection for this CDMA device supports more than just DUN -->
+ <!-- traffic you should list them here. -->
+ <!-- If this device is not CDMA this is ignored. If this list is empty on -->
+ <!-- a DUN-requireing CDMA device, the DUN APN will support -->
+ <!-- just DUN. -->
+ <string-array translatable="false" name="config_cdma_dun_supported_types">
+ <item>"default"</item>
+ <item>"dun"</item>
+ <item>"mms"</item>
+ <item>"supl"</item>
+ </string-array>
+
+
+</resources>
diff --git a/overlay/frameworks/base/core/res/res/xml/eri.xml b/overlay/frameworks/base/core/res/res/xml/eri.xml
new file mode 100644
index 0000000..7eaa431
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/xml/eri.xml
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- Note that IconMode can be only 0, ON or 1, FLASHING
+ The icon is turned OFF if then IconIndex = 1 -->
+
+<EriFile VersionNumber="1357"
+ NumberOfEriEntries="19"
+ EriFileType="1">
+
+ <CallPromptId Id="0"
+ CallPromptText="CallPromptId0"/>
+
+ <CallPromptId Id="1"
+ CallPromptText="CallPromptId1"/>
+
+ <CallPromptId Id="2"
+ CallPromptText="CallPromptId2"/>
+
+ <EriInfo RoamingIndicator="0"
+ IconIndex="0"
+ IconMode="0"
+ EriText=""
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="1"
+ IconIndex="1"
+ IconMode="0"
+ EriText=""
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="2"
+ IconIndex="2"
+ IconMode="1"
+ EriText=""
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="64"
+ IconIndex="1"
+ IconMode="0"
+ EriText="Verizon Wireless"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="65"
+ IconIndex="65"
+ IconMode="0"
+ EriText="Network Extender"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="66"
+ IconIndex="1"
+ IconMode="0"
+ EriText="Extended Network"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="67"
+ IconIndex="67"
+ IconMode="0"
+ EriText="Extended Network"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="68"
+ IconIndex="68"
+ IconMode="0"
+ EriText="Roaming"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="69"
+ IconIndex="2"
+ IconMode="1"
+ EriText="Extended Network"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="70"
+ IconIndex="2"
+ IconMode="1"
+ EriText="Roaming"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="71"
+ IconIndex="1"
+ IconMode="0"
+ EriText="Extended Network"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="72"
+ IconIndex="72"
+ IconMode="0"
+ EriText="Extended Network"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="73"
+ IconIndex="73"
+ IconMode="0"
+ EriText="Roaming"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="74"
+ IconIndex="2"
+ IconMode="1"
+ EriText="Extended Network"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="75"
+ IconIndex="2"
+ IconMode="1"
+ EriText="Roaming"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="76"
+ IconIndex="76"
+ IconMode="0"
+ EriText="Verizon Wireless"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="77"
+ IconIndex="2"
+ IconMode="1"
+ EriText="Verizon Wireless"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="78"
+ IconIndex="1"
+ IconMode="0"
+ EriText="Network Extender"
+ CallPromptId="0"
+ AlertId="0"/>
+
+ <EriInfo RoamingIndicator="79"
+ IconIndex="2"
+ IconMode="1"
+ EriText="Network Extender"
+ CallPromptId="0"
+ AlertId="2"/>
+
+</EriFile>
diff --git a/overlay/packages/apps/Phone/res/values/config.xml b/overlay/packages/apps/Phone/res/values/config.xml
new file mode 100644
index 0000000..b502c27
--- /dev/null
+++ b/overlay/packages/apps/Phone/res/values/config.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Passion-specific phone app resources. -->
+<resources>
+
+ <!-- Flag indicating if the phone is a world phone-->
+ <bool name="world_phone">true</bool>
+
+ <!-- LTE/CDMA network mode to use for toggleLTE(true). -->
+ <integer name="toggleLTE_lte_cdma_nt_mode">10</integer>
+</resources>
diff --git a/proprietary-blobs.txt b/proprietary-blobs.txt
new file mode 100644
index 0000000..b7b3080
--- /dev/null
+++ b/proprietary-blobs.txt
@@ -0,0 +1,249 @@
+etc/Bluetooth_cal.acdb
+etc/General_cal.acdb
+etc/Global_cal.acdb
+etc/Handset_cal.acdb
+etc/Hdmi_cal.acdb
+etc/Headset_cal.acdb
+etc/Speaker_cal.acdb
+etc/firmware/a330_pfp.fw
+etc/firmware/a330_pm4.fw
+etc/firmware/fw_bcmdhd_apsta.bin
+etc/firmware/fw_bcmdhd.bin
+etc/firmware/cpp_firmware_v1_1_1.fw
+etc/firmware/cpp_firmware_v1_1_6.fw
+etc/firmware/cpp_firmware_v1_2_0.fw
+etc/firmware/venus.mbn
+etc/firmware/venus.mdt
+etc/firmware/venus.b00
+etc/firmware/venus.b01
+etc/firmware/venus.b02
+etc/firmware/venus.b03
+etc/firmware/venus.b04
+lib/libvss_dmi_qcci.so
+lib/libvss_common_iface.so
+lib/libvss_common_idl.so
+lib/libvss_nv_iface.so
+lib/libvss_nv_core.so
+lib/libvss_nv_idl.so
+lib/libvss_ims_qcci.so
+lib/libvss_common_core.so
+lib/libcnefeatureconfig.so
+lib/libloc_api_v02.so
+lib/libWVphoneAPI.so
+#lib/liblgftmitem.so
+#lib/liblgdrm.so
+#lib/liblgsecclk.so
+#lib/libwvoemprov.so
+#lib/libDxHdcp.so
+#lib/liblgehdcpek.so
+#lib/libdiagd_client.so
+lib/libacdbloader.so
+#bin/atd
+#bin/gsiff_daemon
+bin/rmt_storage
+bin/qmuxd
+lib/libril.so
+bin/rild
+bin/netmgrd
+bin/sensors.qcom
+bin/thermald
+bin/thermal-engine
+bin/mpdecision
+bin/cnd
+bin/qseecomd
+bin/mm-qcamera-daemon
+bin/bridgemgrd
+bin/irsc_util
+lib/libmmcamera_interface.so
+lib/hw/camera.msm8974.so
+lib/libHDR.so
+lib/libmorpho_noise_reduction.so
+lib/libmorpho_image_stab31.so
+lib/libmmjpeg_interface.so
+lib/libqomx_core.so
+## Vendor
+vendor/lib/drm/libdrmwvmplugin.so
+vendor/lib/egl/eglsubAndroid.so
+vendor/lib/egl/libEGL_adreno.so
+vendor/lib/egl/libGLESv1_CM_adreno.so
+vendor/lib/egl/libGLESv2_adreno.so
+vendor/lib/egl/libq3dtools_adreno.so
+vendor/lib/hw/power.msm8974.so
+vendor/lib/hw/sensors.msm8974.so
+vendor/lib/libacdbmapper.so
+vendor/lib/libacdbrtac.so
+vendor/lib/libadiertac.so
+vendor/lib/libadreno_utils.so
+vendor/lib/libadsprpc.so
+vendor/lib/libAKM8963.so
+vendor/lib/libaudcal.so
+vendor/lib/libaudioalsa.so
+vendor/lib/libc2d2_a3xx.so
+vendor/lib/libC2D2.so
+vendor/lib/libc2d2_z180.so
+vendor/lib/libCB.so
+vendor/lib/libchromatix_imx132_common.so
+vendor/lib/libchromatix_imx132_default_video.so
+vendor/lib/libchromatix_imx132_mms_video.so
+vendor/lib/libchromatix_imx132_preview.so
+vendor/lib/libchromatix_imx132_vt.so
+vendor/lib/libchromatix_imx135_common.so
+vendor/lib/libchromatix_imx135_default_video.so
+vendor/lib/libchromatix_imx135_fuji_common.so
+vendor/lib/libchromatix_imx135_fuji_default_video.so
+vendor/lib/libchromatix_imx135_fuji_hfr_120.so
+vendor/lib/libchromatix_imx135_fuji_hfr_60.so
+vendor/lib/libchromatix_imx135_fuji_mms_video.so
+vendor/lib/libchromatix_imx135_fuji_preview.so
+vendor/lib/libchromatix_imx135_fuji_snapshot.so
+vendor/lib/libchromatix_imx135_fuji_video_dualrec.so
+vendor/lib/libchromatix_imx135_hfr_60.so
+vendor/lib/libchromatix_imx135_mms_video.so
+vendor/lib/libchromatix_imx135_preview.so
+vendor/lib/libchromatix_imx135_snapshot.so
+vendor/lib/libchromatix_imx135_video_dualrec.so
+vendor/lib/libcneapiclient.so
+vendor/lib/libcneqmiutils.so
+vendor/lib/libcneutils.so
+vendor/lib/libCommandSvc.so
+vendor/lib/libconfigdb.so
+vendor/lib/libcsd-client.so
+vendor/lib/libdiag.so
+vendor/lib/libDivxDrm.so
+vendor/lib/libdrmdecrypt.so
+vendor/lib/libdrmdiag.so
+vendor/lib/libdrmfs.so
+vendor/lib/libdrmtime.so
+vendor/lib/libdsi_netctrl.so
+vendor/lib/libdsnetutils.so
+vendor/lib/libdsutils.so
+vendor/lib/libepdsp.so
+vendor/lib/libExtendedExtractor.so
+vendor/lib/libfastcvopt.so
+vendor/lib/libFileMux.so
+vendor/lib/libgeofence.so
+vendor/lib/libgsl.so
+vendor/lib/libI420colorconvert.so
+vendor/lib/libidl.so
+vendor/lib/libjpegdhw.so
+vendor/lib/libjpegehw.so
+vendor/lib/liblistenhardware.so
+vendor/lib/liblistenjni.so
+vendor/lib/liblisten.so
+vendor/lib/liblistensoundmodel.so
+vendor/lib/libllvm-a3xx.so
+vendor/lib/libllvm-arm.so
+vendor/lib/libmm-abl-oem.so
+vendor/lib/libmm-abl.so
+vendor/lib/libmmcamera2_c2d_module.so
+vendor/lib/libmmcamera2_cpp_module.so
+vendor/lib/libmmcamera2_iface_modules.so
+vendor/lib/libmmcamera2_imglib_modules.so
+vendor/lib/libmmcamera2_isp_modules.so
+vendor/lib/libmmcamera2_pproc_modules.so
+vendor/lib/libmmcamera2_sensor_modules.so
+vendor/lib/libmmcamera2_stats_algorithm.so
+vendor/lib/libmmcamera2_stats_modules.so
+vendor/lib/libmmcamera2_vpe_module.so
+vendor/lib/libmmcamera2_wnr_module.so
+vendor/lib/libmmcamera_cac_lib.so
+vendor/lib/libmmcamera_faceproc.so
+vendor/lib/libmmcamera_hdr_lib.so
+vendor/lib/libmmcamera_image_stab.so
+vendor/lib/libmmcamera_imglib.so
+vendor/lib/libmmcamera_imx132.so
+vendor/lib/libmmcamera_imx135_eeprom.so
+vendor/lib/libmmcamera_imx135.so
+vendor/lib/libmmcamera_wavelet_lib.so
+vendor/lib/libmm-color-convertor.so
+vendor/lib/libmmhttpstack.so
+vendor/lib/libmmiipstreammmihttp.so
+vendor/lib/libmmipl.so
+vendor/lib/libmmipstreamaal.so
+vendor/lib/libmmipstreamnetwork.so
+vendor/lib/libmmipstreamsourcehttp.so
+vendor/lib/libmmipstreamutils.so
+vendor/lib/libmmjpeg.so
+vendor/lib/libmmosal.so
+vendor/lib/libmmparser.so
+vendor/lib/libmmqjpeg_codec.so
+vendor/lib/libmmQSM.so
+vendor/lib/libmmrtpdecoder.so
+vendor/lib/libmmrtpencoder.so
+vendor/lib/libmmwfdinterface.so
+vendor/lib/libmmwfdsinkinterface.so
+vendor/lib/libmmwfdsrcinterface.so
+vendor/lib/libmsapm_jni.so
+vendor/lib/libmsapu_jni.so
+vendor/lib/libnetmgr.so
+vendor/lib/libNimsWrap.so
+vendor/lib/liboemcamera.so
+vendor/lib/libOmxAacDec.so
+vendor/lib/libOmxAmrwbplusDec.so
+vendor/lib/libOmxEvrcDec.so
+vendor/lib/libOmxMux.so
+vendor/lib/libOmxQcelp13Dec.so
+vendor/lib/libOmxWmaDec.so
+vendor/lib/libOpenCL.so
+vendor/lib/libOpenVG.so
+vendor/lib/libprdrmdecrypt.so
+vendor/lib/libprofiler_msmadc.so
+vendor/lib/libqcci_legacy.so
+vendor/lib/libqcgesture.so
+vendor/lib/libqc-opt.so
+vendor/lib/libqdi.so
+vendor/lib/libqdp.so
+vendor/lib/libqmi_cci.so
+vendor/lib/libqmi_client_qmux.so
+vendor/lib/libqmi_common_so.so
+vendor/lib/libqmi_csi.so
+vendor/lib/libqmi_csvt_srvc.so
+vendor/lib/libqmi_encdec.so
+vendor/lib/libqmiservices.so
+vendor/lib/libqmi.so
+vendor/lib/libqomx_jpegenc.so
+vendor/lib/libQSEEComAPI.so
+vendor/lib/libquipc_os_api.so
+vendor/lib/libquipc_ulp_adapter.so
+vendor/lib/libril-qc-qmi-1.so
+vendor/lib/libril-qcril-hook-oem.so
+vendor/lib/librpmb.so
+vendor/lib/libsc-a3xx.so
+vendor/lib/libSecureTouchPerfApp.so
+vendor/lib/libsensor1.so
+vendor/lib/libsensor_reg.so
+vendor/lib/libsensor_user_cal.so
+vendor/lib/libSHIMDivxDrm.so
+vendor/lib/libssd.so
+vendor/lib/libSSEPKCS11.so
+vendor/lib/libsubsystem_control.so
+vendor/lib/libsurround_proc.so
+vendor/lib/libthermalclient.so
+vendor/lib/libtime_genoff.so
+vendor/lib/libtzdrmgenprov.so
+vendor/lib/libtzplayready.so
+vendor/lib/libualutil.so
+vendor/lib/libulp2.so
+vendor/lib/libv8.so
+vendor/lib/libvideo_cor.so
+vendor/lib/libwfdcommonutils.so
+vendor/lib/libwfdhdcpcp.so
+vendor/lib/libwfdmmsink.so
+vendor/lib/libwfdmmsrc.so
+vendor/lib/libwfdmmutils.so
+vendor/lib/libwfdnative.so
+vendor/lib/libwfdrtsp.so
+vendor/lib/libwfdsm.so
+vendor/lib/libwfduibcinterface.so
+vendor/lib/libwfduibcsinkinterface.so
+vendor/lib/libwfduibcsink.so
+vendor/lib/libwfduibcsrcinterface.so
+vendor/lib/libwfduibcsrc.so
+vendor/lib/libwvdrm_L1.so
+vendor/lib/libwvm.so
+vendor/lib/libWVStreamControlAPI_L1.so
+vendor/lib/libxml.so
+vendor/lib/pp_proc_plugin.so
+vendor/firmware/BCM20791B5_002.006.013.0011.0027_LGE_A1_I2C_NCD_Signed_ORC.ncd
+vendor/firmware/BCM20791B5_002.006.013.0011.0027_LGE_A1_PreI2C_NCD_Signed_ORC.ncd
+vendor/firmware/BCM4335B0_002.001.006.0191.0201_ORC.hcd
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
new file mode 100755
index 0000000..5c76310
--- /dev/null
+++ b/setup-makefiles.sh
@@ -0,0 +1,91 @@
+#!/bin/sh
+
+VENDOR=lge
+DEVICE=ls980
+OUTDIR=vendor/$VENDOR/$DEVICE
+MAKEFILE=../../../$OUTDIR/$DEVICE-vendor-blobs.mk
+
+(cat << EOF) > $MAKEFILE
+# Copyright (C) 2013 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh
+
+PRODUCT_COPY_FILES += \\
+EOF
+
+LINEEND=" \\"
+COUNT=`cat proprietary-blobs.txt | grep -v ^# | grep -v ^$ | wc -l | awk {'print $1'}`
+for FILE in `cat proprietary-blobs.txt | grep -v ^# | grep -v ^$`; do
+ COUNT=`expr $COUNT - 1`
+ if [ $COUNT = "0" ]; then
+ LINEEND=""
+ fi
+ echo " $OUTDIR/proprietary/$FILE:system/$FILE$LINEEND" >> $MAKEFILE
+done
+
+(cat << EOF) > ../../../$OUTDIR/$DEVICE-vendor.mk
+# Copyright (C) 2013 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh
+
+# Live wallpaper packages
+PRODUCT_PACKAGES := \\
+ LiveWallpapers \\
+ LiveWallpapersPicker \\
+ MagicSmokeWallpapers \\
+ VisualizationWallpapers \\
+ librs_jni
+
+# Publish that we support the live wallpaper feature.
+PRODUCT_COPY_FILES := \\
+ packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:/system/etc/permissions/android.software.live_wallpaper.xml
+
+# Pick up overlay for features that depend on non-open-source files
+DEVICE_PACKAGE_OVERLAYS := vendor/$VENDOR/$DEVICE/overlay
+
+\$(call inherit-product, vendor/$VENDOR/$DEVICE/$DEVICE-vendor-blobs.mk)
+EOF
+
+(cat << EOF) > ../../../$OUTDIR/BoardConfigVendor.mk
+# Copyright (C) 2013 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh
+
+USE_CAMERA_STUB := false
+EOF