blob: 0206a872f20e75ee83a10da306c7f714b47f71af [file] [log] [blame]
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -07001#
Iliyan Malchevfefe23c2012-06-08 10:36:25 -07002# Copyright (C) 2011 The Android Open-Source Project
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -07003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070017# This file includes all definitions that apply to ALL mako devices, and
18# are also specific to mako devices
19#
20# Everything in this directory will become public
Jean-Baptiste Queruda90dca2012-06-05 16:03:03 -070021
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070022DEVICE_PACKAGE_OVERLAYS := device/lge/mako/overlay
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070023
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070024# This device is xhdpi. However the platform doesn't
25# currently contain all of the bitmaps at xhdpi density so
26# we do this little trick to fall back to the hdpi version
27# if the xhdpi doesn't exist.
28PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
29PRODUCT_AAPT_PREF_CONFIG := xhdpi
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070030
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070031PRODUCT_PACKAGES := \
32 lights.msm8960
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070033
sungmin.choieb1d30c2012-06-19 22:24:43 -070034PRODUCT_PACKAGES += \
35 charger_res_images \
36 charger
37
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070038# Live Wallpapers
39PRODUCT_PACKAGES += \
40 LiveWallpapers \
41 LiveWallpapersPicker \
42 VisualizationWallpapers \
43 librs_jni
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070044
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070045LOCAL_KERNEL := device/lge/mako-kernel/kernel
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070046
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070047PRODUCT_COPY_FILES := \
48 $(LOCAL_KERNEL):kernel
49
50PRODUCT_COPY_FILES += \
Sungmin Choi5fd819d2012-07-18 01:49:40 -070051 device/lge/mako/WCNSS_cfg.dat:system/vendor/firmware/wlan/prima/WCNSS_cfg.dat \
52 device/lge/mako/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini \
53 device/lge/mako/WCNSS_qcom_wlan_nv.bin:system/etc/wifi/WCNSS_qcom_wlan_nv.bin
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070054
55PRODUCT_COPY_FILES += \
Sungmin Choi099cdae2012-07-20 15:46:01 -070056 device/lge/mako/snd_soc_msm_2x_Fusion3:system/etc/snd_soc_msm/snd_soc_msm_2x_Fusion3 \
57 device/lge/mako/audio_policy.conf:system/etc/audio_policy.conf
Sungmin Choi53cb3c92012-07-01 15:33:03 -070058
59PRODUCT_COPY_FILES += \
Sungmin Choif1f28ec2012-08-16 00:40:32 -070060 device/lge/mako/thermald-mako.conf:system/etc/thermald.conf
61
62PRODUCT_COPY_FILES += \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070063 device/lge/mako/init.mako.rc:root/init.mako.rc \
64 device/lge/mako/init.mako.usb.rc:root/init.mako.usb.rc \
Brian Muramatsu482dad72012-06-18 18:58:21 -070065 device/lge/mako/fstab.mako:root/fstab.mako \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070066 device/lge/mako/ueventd.mako.rc:root/ueventd.mako.rc \
Ajay Dudani83aa55e2012-06-15 18:46:22 -070067 device/lge/mako/media_profiles.xml:system/etc/media_profiles.xml \
68 device/lge/mako/media_codecs.xml:system/etc/media_codecs.xml
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070069
Sungmin Choi39c55a42012-08-31 17:01:08 -070070PRODUCT_COPY_FILES += \
71 device/lge/mako/kickstart_checker.sh:system/etc/kickstart_checker.sh
72
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070073# Prebuilt kl and kcm keymaps
74PRODUCT_COPY_FILES += \
75 device/lge/mako/apq8064-tabla-snd-card_Button_Jack.kl:system/usr/keylayout/apq8064-tabla-snd-card_Button_Jack.kl \
76 device/lge/mako/hs_detect.kl:system/usr/keylayout/hs_detect.kl \
sungmin.choi46ec5fe2012-06-22 12:56:04 -070077 device/lge/mako/pmic8xxx_pwrkey.kl:system/usr/keylayout/pmic8xxx_pwrkey.kl \
78 device/lge/mako/keypad_8064.kl:system/usr/keylayout/keypad_8064.kl \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070079 device/lge/mako/apq8064-tabla-snd-card_Button_Jack.kcm:system/usr/keychars/apq8064-tabla-snd-card_Button_Jack.kcm \
sungmin.choi46ec5fe2012-06-22 12:56:04 -070080 device/lge/mako/hs_detect.kcm:system/usr/keychars/hs_detect.kcm \
81 device/lge/mako/keypad_8064.kcm:system/usr/keychars/keypad_8064.kcm \
82 device/lge/mako/pmic8xxx_pwrkey.kcm:system/usr/keychars/pmic8xxx_pwrkey.kcm
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070083
84# Prebuilt input device calibration files
85PRODUCT_COPY_FILES += \
Iliyan Malcheve011ca22012-06-14 14:58:24 -070086 device/lge/mako/touch_dev.idc:system/usr/idc/touch_dev.idc
87
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070088# These are the hardware-specific features
89PRODUCT_COPY_FILES += \
90 frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
91 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
92 frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
93 frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
94 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
Mekala Natarajancdea6b02012-06-26 18:59:03 -070095 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070096 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
97 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
98 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
99 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
100 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700101 frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
102 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
Iliyan Malchev733b35c2012-08-16 14:40:17 -0700103 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
Glenn Kasten12600c22012-10-16 11:44:00 -0700104 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700105
woojin.shin0bb69172012-08-17 20:03:54 +0900106# GPS configuration
107PRODUCT_COPY_FILES += \
108 device/lge/mako/gps.conf:system/etc/gps.conf
109
Martijn Coenen6c11a692012-07-31 13:25:27 -0700110# NFC packages
111PRODUCT_PACKAGES += \
112 libnfc-nci \
113 libnfc_nci_jni \
Martijn Coenend45cd8f2012-09-18 16:51:13 -0700114 nfc_nci.mako \
Martijn Coenen6c11a692012-07-31 13:25:27 -0700115 NfcNci \
116 Tag \
117 com.android.nfc_extras
118
119# NFCEE access control
120ifeq ($(TARGET_BUILD_VARIANT),user)
121 NFCEE_ACCESS_PATH := device/lge/mako/nfc/nfcee_access.xml
122else
123 NFCEE_ACCESS_PATH := device/lge/mako/nfc/nfcee_access_debug.xml
124endif
125
126# NFC access control + feature files + configuration
127PRODUCT_COPY_FILES += \
128 $(NFCEE_ACCESS_PATH):system/etc/nfcee_access.xml \
129 frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \
130 frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
131 device/lge/mako/nfc/libnfc-brcm.conf:system/etc/libnfc-brcm.conf
132
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700133PRODUCT_PROPERTY_OVERRIDES += \
134 ro.opengles.version=131072
135
136PRODUCT_PROPERTY_OVERRIDES += \
137 ro.sf.lcd_density=320
138
ty.lee497d5cd2012-09-28 20:51:53 +0900139# Audio Configuration
Ajay Dudani1c25fba2012-06-18 15:55:04 -0700140PRODUCT_PROPERTY_OVERRIDES += \
ty.leedcb0fdc2012-08-01 23:02:06 +0900141 persist.audio.handset.mic=dmic \
SathishKumar Manie0aa19f2012-08-13 18:26:46 -0700142 persist.audio.fluence.mode=endfire \
ty.lee497d5cd2012-09-28 20:51:53 +0900143 persist.audio.lowlatency.rec=false \
144 af.resampler.quality=4
145
Ajay Dudani1c25fba2012-06-18 15:55:04 -0700146
Naveen Kalla939180a2012-09-13 16:08:34 -0700147# Do not power down SIM card when modem is sent to Low Power Mode.
148PRODUCT_PROPERTY_OVERRIDES += \
149 persist.radio.apm_sim_not_pwdn=1
150
Wink Saville30e5e6d2012-09-15 10:02:17 -0700151# Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false
152PRODUCT_PROPERTY_OVERRIDES += \
153 ro.telephony.call_ring.multiple=0
154
Iliyan Malchev9e665ff2012-09-20 18:46:53 -0700155#Upto 3 layers can go through overlays
156PRODUCT_PROPERTY_OVERRIDES += debug.mdpcomp.maxlayer=3
Naseer Ahmedc5967e72012-08-16 15:45:19 -0700157
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700158PRODUCT_CHARACTERISTICS := nosdcard
159
160PRODUCT_TAGS += dalvik.gc.type-precise
161
162PRODUCT_PACKAGES += \
163 librs_jni \
164 com.android.future.usb.accessory
165
166# Filesystem management tools
167PRODUCT_PACKAGES += \
Iliyan Malchevd707bca2012-09-17 22:06:37 -0700168 e2fsck
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700169
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700170PRODUCT_PACKAGES += \
171 libgenlock \
172 liboverlay \
173 hwcomposer.msm8960 \
174 gralloc.msm8960 \
175 copybit.msm8960
176
Iliyan Malchev91f61bc2012-06-13 12:40:22 -0700177PRODUCT_PACKAGES += \
Iliyan Malchev91f61bc2012-06-13 12:40:22 -0700178 alsa.msm8960 \
179 audio_policy.msm8960 \
Ajay Dudani1c25fba2012-06-18 15:55:04 -0700180 audio.primary.msm8960 \
Sungmin Choi099cdae2012-07-20 15:46:01 -0700181 audio.a2dp.default \
Jean-Michel Trivia27f9cb2012-08-16 18:42:00 -0700182 audio.usb.default \
ty.lee497d5cd2012-09-28 20:51:53 +0900183 audio.r_submix.default \
184 libaudio-resampler
Iliyan Malchev91f61bc2012-06-13 12:40:22 -0700185
sungmin.choi2dca1452012-06-25 14:49:10 -0700186PRODUCT_PACKAGES += \
jeonghoon.lim6a2ca5a2012-07-13 13:00:37 -0700187 hci_qcomm_init
188
Narayanan Gopalakrishnan220abf72012-10-17 12:08:29 -0700189PRODUCT_PACKAGES += \
190 power.msm8960
191
jeonghoon.lim6a2ca5a2012-07-13 13:00:37 -0700192PRODUCT_COPY_FILES += \
193 device/lge/mako/init.mako.bt.sh:system/etc/init.mako.bt.sh
194
195PRODUCT_PROPERTY_OVERRIDES += \
196 ro.qualcomm.bt.hci_transport=smd
197
198PRODUCT_PACKAGES += \
Shuzhen Wangdad74d02012-08-29 21:59:07 -0700199 camera.mako \
Ajay Dudanib3f2b962012-07-08 17:02:10 -0700200 camera.msm8960 \
Shuzhen Wangdad74d02012-08-29 21:59:07 -0700201 libmmcamera_interface2 \
202 libmmcamera_interface
Ajay Dudanib3f2b962012-07-08 17:02:10 -0700203
204PRODUCT_PACKAGES += \
Sungmin Choid1977932012-06-29 10:43:10 -0700205 mm-vdec-omx-test \
206 mm-venc-omx-test720p \
207 libdivxdrmdecrypt \
sungmin.choi2dca1452012-06-25 14:49:10 -0700208 libOmxVdec \
209 libOmxVenc \
Brian Muramatsu5b4a9062012-08-20 14:41:49 -0700210 libOmxCore \
Haynes Mathew George421f0ac2012-08-24 19:40:54 -0700211 libstagefrighthw \
212 libc2dcolorconvert
sungmin.choi2dca1452012-06-25 14:49:10 -0700213
Ajay Dudanie1144092012-06-15 21:07:31 -0700214PRODUCT_PACKAGES += \
215 libloc_adapter \
216 libloc_eng \
217 libloc_api_v02 \
218 libgps.utils \
219 gps.msm8960
220
Sungmin Choi5fd819d2012-07-18 01:49:40 -0700221PRODUCT_PACKAGES += \
jeonghoon.lim85ddb8c2012-07-20 11:35:54 +0900222 bdAddrLoader \
Sungmin Choi5fd819d2012-07-18 01:49:40 -0700223 libwfcu \
Sungmin Choie31eae82012-09-05 21:07:57 -0700224 conn_init \
225 charger_touch
Sungmin Choi5fd819d2012-07-18 01:49:40 -0700226
Abhishek Adappad0e57532012-06-15 19:32:55 -0700227PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
228 rild.libpath=/system/lib/libril-qc-qmi-1.so
229
agathon.junge1e51092012-07-05 10:44:34 -0700230PRODUCT_PROPERTY_OVERRIDES += \
Sungmin Choi146bcc12012-08-16 22:48:02 -0700231 telephony.lteOnCdmaDevice=0
232
233PRODUCT_PROPERTY_OVERRIDES += \
agathon.jung77563422012-07-24 09:54:51 -0700234 drm.service.enabled=true
agathon.junge1e51092012-07-05 10:44:34 -0700235
Sungmin Choia67f0d22012-07-16 00:17:54 -0700236PRODUCT_PROPERTY_OVERRIDES += \
237 wifi.interface=wlan0 \
238 wifi.supplicant_scan_interval=15
239
Dave Burke5884e3d2012-09-13 16:40:22 -0700240# Enable AAC 5.1 output
241PRODUCT_PROPERTY_OVERRIDES += \
Iliyan Malchev60ee8902012-11-05 16:32:02 -0800242 media.aac_51_output_enabled=true
Dave Burke5884e3d2012-09-13 16:40:22 -0700243
Iliyan Malchev4cac3652012-10-03 00:04:51 -0700244PRODUCT_PROPERTY_OVERRIDES += \
245 debug.egl.recordable.rgba8888=1
246
Devin Kim3ed28942012-08-03 16:17:50 -0700247PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
248 persist.sys.usb.config=mtp
249
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700250# for bugmailer
251PRODUCT_PACKAGES += send_bug
252PRODUCT_COPY_FILES += \
253 system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \
254 system/extras/bugmailer/send_bug:system/bin/send_bug
255
Dianne Hackborn303ba862012-09-30 16:21:02 -0700256$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)