parent
1348fe2370
commit
65b0b5c973
@ -0,0 +1,30 @@
|
||||
#
|
||||
# Copyright 2014 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 contains the module build definitions for the hardware-specific
|
||||
# components for this device.
|
||||
#
|
||||
# As much as possible, those components should be built unconditionally,
|
||||
# with device-specific names to avoid collisions, to avoid device-specific
|
||||
# bitrot and build breakages. Building a component unconditionally does
|
||||
# *not* include it on all devices, so it is safe even with hardware-specific
|
||||
# components.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifneq ($(filter d851,$(TARGET_DEVICE)),)
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
endif
|
@ -0,0 +1,29 @@
|
||||
#
|
||||
# Copyright (C) 2014 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.
|
||||
#
|
||||
|
||||
# inherit from common g3
|
||||
-include device/lge/g3-common/BoardConfigCommon.mk
|
||||
|
||||
TARGET_OTA_ASSERT_DEVICE := g3,d851
|
||||
|
||||
# Partitions
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 11534336
|
||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 13631488
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 28651290624
|
||||
|
||||
# inherit from the proprietary version
|
||||
-include vendor/lge/d851/BoardConfigVendor.mk
|
@ -0,0 +1,5 @@
|
||||
Copyright 2014 - The CyanogenMod Project
|
||||
|
||||
Device configuration for LGE G3 (T-Mobile).
|
||||
|
||||
WORK IN PROGRESS. WILL EAT YOUR CAT.
|
@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_device_lge_g3-common",
|
||||
"target_path": "device/lge/g3-common"
|
||||
}
|
||||
]
|
@ -0,0 +1,12 @@
|
||||
$(call inherit-product, device/lge/d851/full_d851.mk)
|
||||
|
||||
# Enhanced NFC
|
||||
$(call inherit-product, vendor/cm/config/nfc_enhanced.mk)
|
||||
|
||||
# Inherit some common CM stuff.
|
||||
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
|
||||
|
||||
PRODUCT_DEVICE := d851
|
||||
PRODUCT_NAME := cm_d851
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=d851 BUILD_FINGERPRINT=lge/g3_tmo_us/g3:4.4.2/KVT49L.D85110c/D85110c.1403267110:user/release-keys PRIVATE_BUILD_DESC="g3_tmo_us-user 4.4.2 KVT49L.D85110c D85110c.1403267110 release-keys"
|
@ -0,0 +1,26 @@
|
||||
#
|
||||
# Copyright (C) 2014 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.
|
||||
#
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
|
||||
|
||||
# Get non-open-source specific aspects
|
||||
$(call inherit-product-if-exists, vendor/lge/d851/d851-vendor.mk)
|
||||
|
||||
# Overlays
|
||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||
|
||||
# common g3
|
||||
$(call inherit-product, device/lge/g3-common/g3.mk)
|
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
export VENDOR=lge
|
||||
export DEVICE=d851
|
||||
./../../$VENDOR/klte-common/extract-files.sh $@
|
@ -0,0 +1,28 @@
|
||||
#
|
||||
# Copyright 2014 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.
|
||||
#
|
||||
|
||||
# Inherit from those products. Most specific first.
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
|
||||
# Inherit from d851 device
|
||||
$(call inherit-product, device/lge/d851/device.mk)
|
||||
|
||||
# Set those variables here to overwrite the inherited values.
|
||||
PRODUCT_NAME := full_d851
|
||||
PRODUCT_DEVICE := d851
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_MANUFACTURER := LGE
|
||||
PRODUCT_MODEL := d851
|
@ -0,0 +1,160 @@
|
||||
# Bluetooth
|
||||
bin/btnvtool
|
||||
bin/hci_qcomm_init
|
||||
vendor/lib/libbtnv.so
|
||||
|
||||
# Perf
|
||||
bin/mpdecision
|
||||
vendor/lib/libqc-opt.so
|
||||
|
||||
# ADSP
|
||||
bin/adsprpcd
|
||||
vendor/lib/libadsprpc.so
|
||||
vendor/lib/libfastcvadsp_stub.so
|
||||
vendor/lib/libfastcvopt.so
|
||||
|
||||
# Audio
|
||||
vendor/lib/libacdbloader.so
|
||||
vendor/lib/libacdbrtac.so
|
||||
vendor/lib/libadiertac.so
|
||||
vendor/lib/libaudcal.so
|
||||
|
||||
# Venus (media) firmware
|
||||
etc/firmware/venus.b00
|
||||
etc/firmware/venus.b01
|
||||
etc/firmware/venus.b02
|
||||
etc/firmware/venus.b03
|
||||
etc/firmware/venus.b04
|
||||
etc/firmware/venus.mbn
|
||||
etc/firmware/venus.mdt
|
||||
|
||||
# DRM
|
||||
bin/qseecomd
|
||||
vendor/lib/libdrmdiag.so
|
||||
vendor/lib/libdrmfs.so
|
||||
vendor/lib/libdrmtime.so
|
||||
vendor/lib/librpmb.so
|
||||
vendor/lib/libssd.so
|
||||
vendor/lib/libStDrvInt.so
|
||||
|
||||
# GPS
|
||||
app/com.qualcomm.location.apk
|
||||
bin/gsiff_daemon
|
||||
bin/quipc_igsn
|
||||
bin/quipc_main
|
||||
etc/permissions/com.qualcomm.location.xml
|
||||
lib/libloc_api_v02.so
|
||||
lib/libloc_ds_api.so
|
||||
vendor/lib/libgeofence.so
|
||||
vendor/lib/libizat_core.so
|
||||
vendor/lib/liblbs_core.so
|
||||
vendor/lib/liblocationservice.so
|
||||
vendor/lib/libquipc_os_api.so
|
||||
vendor/lib/libquipc_ulp_adapter.so
|
||||
vendor/lib/libulp2.so
|
||||
|
||||
# Graphics
|
||||
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/libadreno_utils.so
|
||||
vendor/lib/libC2D2.so
|
||||
vendor/lib/libCB.so
|
||||
vendor/lib/libc2d30.so
|
||||
vendor/lib/libc2d30-a3xx.so
|
||||
vendor/lib/libgsl.so
|
||||
vendor/lib/libllvm-qcom.so
|
||||
vendor/lib/libOpenCL.so
|
||||
vendor/lib/libOpenVG.so
|
||||
vendor/lib/libsc-a3xx.so
|
||||
#vendor/lib/libRSDriver_adreno.so
|
||||
#vendor/lib/librs_adreno.so
|
||||
#vendor/lib/librs_adreno_sha1.so
|
||||
vendor/lib/libscale.so
|
||||
|
||||
# Graphics firmware
|
||||
etc/firmware/a330_pfp.fw
|
||||
etc/firmware/a330_pm4.fw
|
||||
|
||||
# Media
|
||||
vendor/lib/libHevcSwDecoder.so
|
||||
vendor/lib/libI420colorconvert.so
|
||||
vendor/lib/libmmosal.so
|
||||
vendor/lib/libmmparser.so
|
||||
vendor/lib/libmm-color-convertor.so
|
||||
vendor/lib/libExtendedExtractor.so
|
||||
vendor/lib/libOmxAacDec.so
|
||||
vendor/lib/libOmxAmrwbplusDec.so
|
||||
vendor/lib/libOmxEvrcDec.so
|
||||
vendor/lib/libOmxQcelp13Dec.so
|
||||
vendor/lib/libOmxWmaDec.so
|
||||
vendor/lib/libSHIMDivxDrm.so
|
||||
|
||||
# Postprocessing
|
||||
bin/mm-pp-daemon
|
||||
vendor/lib/libdisp-aba.so
|
||||
vendor/lib/libmm-abl.so
|
||||
vendor/lib/libmm-abl-oem.so
|
||||
|
||||
# Qualcomm framework
|
||||
bin/irsc_util
|
||||
vendor/lib/libdiag.so
|
||||
vendor/lib/libdsi_netctrl.so
|
||||
vendor/lib/libdsnetutils.so
|
||||
vendor/lib/libdsutils.so
|
||||
vendor/lib/libidl.so
|
||||
vendor/lib/libqcci_legacy.so
|
||||
vendor/lib/libqdi.so
|
||||
vendor/lib/libqdp.so
|
||||
vendor/lib/libqmi.so
|
||||
vendor/lib/libqmiservices.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
|
||||
|
||||
# Radio
|
||||
app/qcrilmsgtunnel.apk
|
||||
app/shutdownlistener.apk
|
||||
bin/netmgrd
|
||||
bin/qmuxd
|
||||
bin/radish
|
||||
bin/rfs_access
|
||||
bin/rmt_storage
|
||||
etc/permissions/qcnvitems.xml
|
||||
etc/permissions/qcrilhook.xml
|
||||
framework/qcnvitems.jar
|
||||
framework/qcrilhook.jar
|
||||
vendor/lib/libnetmgr.so
|
||||
vendor/lib/libril-qc-qmi-1.so
|
||||
vendor/lib/libril-qcril-hook-oem.so
|
||||
|
||||
# Sensors
|
||||
bin/sensors.qcom
|
||||
vendor/lib/hw/sensors.msm8974.so
|
||||
vendor/lib/libsensor1.so
|
||||
vendor/lib/libsensor_reg.so
|
||||
|
||||
# Thermal
|
||||
bin/thermal-engine
|
||||
vendor/lib/libthermalclient.so
|
||||
vendor/lib/libthermalioctl.so
|
||||
|
||||
# Time services
|
||||
bin/time_daemon
|
||||
vendor/lib/libtime_genoff.so
|
||||
|
||||
# Listen service
|
||||
vendor/lib/liblistensoundmodel.so
|
||||
|
||||
# QuickBoot
|
||||
app/QuickBoot.apk
|
||||
|
||||
# Fastcharge
|
||||
bin/hvdcp
|
||||
|
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
export VENDOR=lge
|
||||
export DEVICE=d851
|
||||
./../../$VENDOR/g3-common/setup-makefiles.sh $@
|
@ -0,0 +1,3 @@
|
||||
# Radio
|
||||
rild.libargs=-d /dev/smd0
|
||||
rild.libpath=/vendor/lib/libril-qc-qmi-1.so
|
@ -0,0 +1 @@
|
||||
add_lunch_combo cm_d851-userdebug
|
Loading…
Reference in new issue