-
Notifications
You must be signed in to change notification settings - Fork 3
/
device_k1.mk
executable file
·368 lines (331 loc) · 22.6 KB
/
device_k1.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
#
# Copyright (C) 2012 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.
#
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# modified init.rc
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/ueventd.rc:root/ueventd.rc \
# inherit proprietary files
$(call inherit-product-if-exists, vendor/lenovo/k1/k1-vendor.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
$(call inherit-product, build/target/product/full_base.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony.mk)
# Prebuilt kernel location
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := $(LOCAL_PATH)/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
# Files needed for boot image
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/init.ventana.rc:root/init.ventana.rc \
$(LOCAL_PATH)/prebuilt/init.goldfish.rc:root/init.goldfish.rc \
$(LOCAL_PATH)/prebuilt/init.ventana.usb.rc:root/init.ventana.usb.rc \
$(LOCAL_PATH)/prebuilt/init.logging.rc:root/init.logging.rc \
$(LOCAL_PATH)/prebuilt/ueventd.ventana.rc:root/ueventd.ventana.rc \
$(LOCAL_PATH)/prebuilt/ueventd.goldfish.rc:root/ueventd.goldfish.rc \
$(LOCAL_PATH)/prebuilt/sbin/gsm::root/sbin/gsm
#/system/bin
PRODUCT_COPY_FILES += \
vendor/lenovo/k1/proprietary/bin/rild:system/bin/rild \
$(LOCAL_PATH)/prebuilt/bin/nvcpud:system/bin/nvcpud \
$(LOCAL_PATH)/prebuilt/bin/k1recovery:system/bin/k1recovery \
$(LOCAL_PATH)/prebuilt/bin/misc_command:system/bin/misc_command
#/system/etc
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/vold.fstab:system/etc/vold.fstab \
$(LOCAL_PATH)/prebuilt/etc/audio_effects.conf:system/etc/audio_effects.conf \
$(LOCAL_PATH)/prebuilt/etc/audio_policy.conf:system/etc/audio_policy.conf
#/system/etc - GPS configurations
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/gps.conf:system/etc/gps.conf \
$(LOCAL_PATH)/prebuilt/etc/SuplRootCert:system/etc/SuplRootCert
#/system/etc/firmware
PRODUCT_COPY_FILES += \
vendor/lenovo/k1/proprietary/etc/firmware/bcm4329.hcd:system/etc/firmware/bcm4329.hcd \
vendor/lenovo/k1/proprietary/etc/firmware/bcm4330.hcd:system/etc/firmware/bcm4330.hcd \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_aacdec.axf:system/etc/firmware/nvmm_aacdec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_adtsdec.axf:system/etc/firmware/nvmm_adtsdec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_h264dec.axf:system/etc/firmware/nvmm_h264dec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_jpegdec.axf:system/etc/firmware/nvmm_jpegdec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_jpegenc.axf:system/etc/firmware/nvmm_jpegenc.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_manager.axf:system/etc/firmware/nvmm_manager.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_mp3dec.axf:system/etc/firmware/nvmm_mp3dec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_mpeg4dec.axf:system/etc/firmware/nvmm_mpeg4dec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_reference.axf:system/etc/firmware/nvmm_reference.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_service.axf:system/etc/firmware/nvmm_service.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_vc1dec.axf:system/etc/firmware/nvmm_vc1dec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_wavdec.axf:system/etc/firmware/nvmm_wavdec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_wmadec.axf:system/etc/firmware/nvmm_wmadec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvmm_wmaprodec.axf:system/etc/firmware/nvmm_wmaprodec.axf \
vendor/lenovo/k1/proprietary/etc/firmware/nvrm_avp.bin:system/etc/firmware/nvrm_avp.bin
#/system/etc/gps
PRODUCT_COPY_FILES += vendor/lenovo/k1/proprietary/etc/gps/gpsconfig.xml:system/etc/gps/gpsconfig.xml
# apns config file
PRODUCT_COPY_FILES += $(LOCAL_PATH)/apns/apns-conf.xml:system/etc/apns-conf.xml
#/system/etc/permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \
frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml \
frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/native/data/etc/android.software.sip.xml:system/etc/permissions/android.software.sip.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
frameworks/native/data/etc/android.hardware.location.xml:system/etc/permissions/android.hardware.location.xml \
frameworks/native/data/etc/android.hardware.touchscreen.xml:system/etc/permissions/android.hardware.touchscreen.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml
# Final fix for 3G SOD
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/init.d/50em820w:system/etc/init.d/50em820w \
$(LOCAL_PATH)/prebuilt/xbin/em820w_tool:system/xbin/em820w_tool
#/system/etc/ppp
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/init.d/02ppp.sh:system/etc/init.d/02ppp.sh \
$(LOCAL_PATH)/prebuilt/etc/ppp/ip-down:system/etc/ppp/ip-down \
$(LOCAL_PATH)/prebuilt/etc/ppp/ip-up:system/etc/ppp/ip-up \
$(LOCAL_PATH)/prebuilt/etc/ppp/ip-up-vpn:system/etc/ppp/ip-up-vpn \
$(LOCAL_PATH)/prebuilt/etc/ppp/peers/3g:system/etc/ppp/peers/3g \
$(LOCAL_PATH)/prebuilt/etc/ppp/peers/gprs:system/etc/ppp/peers/gprs \
$(LOCAL_PATH)/prebuilt/etc/ppp/peers/pppd-ril.options:system/etc/ppp/peers/pppd-ril.options \
$(LOCAL_PATH)/prebuilt/etc/ppp/chap-secrets:system/etc/ppp/chap-secrets \
$(LOCAL_PATH)/prebuilt/etc/ppp/gprs-connect-chat:system/etc/ppp/gprs-connect-chat \
$(LOCAL_PATH)/prebuilt/etc/ppp/ip-down-HUAWEI:system/etc/ppp/ip-down-HUAWEI \
$(LOCAL_PATH)/prebuilt/etc/ppp/ip-up-HUAWEI:system/etc/ppp/ip-up-HUAWEI \
$(LOCAL_PATH)/prebuilt/etc/ppp/options.huawei:system/etc/ppp/options.huawei \
$(LOCAL_PATH)/prebuilt/etc/ppp/pap-secrets:system/etc/ppp/pap-secrets
#/system/lib
PRODUCT_COPY_FILES += \
vendor/lenovo/k1/proprietary/lib/libasound.so:system/lib/libasound.so \
vendor/lenovo/k1/proprietary/lib/libakmd.so:system/lib/libakmd.so \
vendor/lenovo/k1/proprietary/lib/libardrv_dynamic.so:system/lib/libardrv_dynamic.so \
vendor/lenovo/k1/proprietary/lib/libaudioservice.so:system/lib/libaudioservice.so \
vendor/lenovo/k1/proprietary/lib/libcgdrv.so:system/lib/libcgdrv.so \
vendor/lenovo/k1/proprietary/lib/libeglstreamtexture.so:system/lib/libeglstreamtexture.so \
vendor/lenovo/k1/proprietary/lib/libhuawei-ril.so:system/lib/libhuawei-ril.so \
vendor/lenovo/k1/proprietary/lib/libinvensense_hal.so:system/lib/libinvensense_hal.so \
vendor/lenovo/k1/proprietary/lib/libmllite.so:system/lib/libmllite.so \
vendor/lenovo/k1/proprietary/lib/libmlplatform.so:system/lib/libmlplatform.so \
vendor/lenovo/k1/proprietary/lib/libmplmpu.so:system/lib/libmplmpu.so \
vendor/lenovo/k1/proprietary/lib/libsensors.mpl.so:system/lib/libsensors.mpl.so \
vendor/lenovo/k1/proprietary/lib/libsensors.base.so:system/lib/libsensors.base.so \
vendor/lenovo/k1/proprietary/lib/libsensors.isl29018.so:system/lib/libsensors.isl29018.so \
vendor/lenovo/k1/proprietary/lib/libmpl.so:system/lib/libmpl.so \
vendor/lenovo/k1/proprietary/lib/libnvasfparserhal.so:system/lib/libnvasfparserhal.so \
vendor/lenovo/k1/proprietary/lib/libnvaviparserhal.so:system/lib/libnvaviparserhal.so \
vendor/lenovo/k1/proprietary/lib/libnvavp.so:system/lib/libnvavp.so \
vendor/lenovo/k1/proprietary/lib/libnvcontrol_jni.so:system/lib/libnvcontrol_jni.so \
vendor/lenovo/k1/proprietary/lib/libnvcpud_client.so:system/lib/libnvcpud_client.so \
vendor/lenovo/k1/proprietary/lib/libnvcpud.so:system/lib/libnvcpud.so \
vendor/lenovo/k1/proprietary/lib/libnvddk_2d.so:system/lib/libnvddk_2d.so \
vendor/lenovo/k1/proprietary/lib/libnvddk_2d_v2.so:system/lib/libnvddk_2d_v2.so \
vendor/lenovo/k1/proprietary/lib/libnvdispmgr_d.so:system/lib/libnvdispmgr_d.so \
vendor/lenovo/k1/proprietary/lib/libnvhdmi3dplay_jni.so:system/lib/libnvhdmi3dplay_jni.so \
vendor/lenovo/k1/proprietary/lib/libnvmm.so:system/lib/libnvmm.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_audio.so:system/lib/libnvmm_audio.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_asfparser.so:system/lib/libnvmm_asfparser.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_aviparser.so:system/lib/libnvmm_aviparser.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_camera.so:system/lib/libnvmm_camera.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_contentpipe.so:system/lib/libnvmm_contentpipe.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_image.so:system/lib/libnvmm_image.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_manager.so:system/lib/libnvmm_manager.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_misc.so:system/lib/libnvmm_misc.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_msaudio.so:system/lib/libnvmm_msaudio.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_parser.so:system/lib/libnvmm_parser.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_service.so:system/lib/libnvmm_service.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_utils.so:system/lib/libnvmm_utils.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_vc1_video.so:system/lib/libnvmm_vc1_video.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_video.so:system/lib/libnvmm_video.so \
vendor/lenovo/k1/proprietary/lib/libnvmm_writer.so:system/lib/libnvmm_writer.so \
vendor/lenovo/k1/proprietary/lib/libnvmmlite.so:system/lib/libnvmmlite.so \
vendor/lenovo/k1/proprietary/lib/libnvmmlite_audio.so:system/lib/libnvmmlite_audio.so \
vendor/lenovo/k1/proprietary/lib/libnvmmlite_utils.so:system/lib/libnvmmlite_utils.so \
vendor/lenovo/k1/proprietary/lib/libnvmmlite_video.so:system/lib/libnvmmlite_video.so \
vendor/lenovo/k1/proprietary/lib/libnvodm_dtvtuner.so:system/lib/libnvodm_dtvtuner.so \
vendor/lenovo/k1/proprietary/lib/libnvodm_hdmi.so:system/lib/libnvodm_hdmi.so \
vendor/lenovo/k1/proprietary/lib/libnvodm_imager.so:system/lib/libnvodm_imager.so \
vendor/lenovo/k1/proprietary/lib/libnvodm_misc.so:system/lib/libnvodm_misc.so \
vendor/lenovo/k1/proprietary/lib/libnvodm_query.so:system/lib/libnvodm_query.so \
vendor/lenovo/k1/proprietary/lib/libnvomx.so:system/lib/libnvomx.so \
vendor/lenovo/k1/proprietary/lib/libnvomxadaptor.so:system/lib/libnvomxadaptor.so \
vendor/lenovo/k1/proprietary/lib/libnvomxilclient.so:system/lib/libnvomxilclient.so \
vendor/lenovo/k1/proprietary/lib/libnvos.so:system/lib/libnvos.so \
vendor/lenovo/k1/proprietary/lib/libnvparser.so:system/lib/libnvparser.so \
vendor/lenovo/k1/proprietary/lib/libnvrm_graphics.so:system/lib/libnvrm_graphics.so \
vendor/lenovo/k1/proprietary/lib/libnvrm.so:system/lib/libnvrm.so \
vendor/lenovo/k1/proprietary/lib/libnvsm.so:system/lib/libnvsm.so \
vendor/lenovo/k1/proprietary/lib/libnvsystemuiext_jni.so:system/lib/libnvsystemuiext_jni.so \
vendor/lenovo/k1/proprietary/lib/libnvtestio.so:system/lib/libnvtestio.so \
vendor/lenovo/k1/proprietary/lib/libnvtestresults.so:system/lib/libnvtestresults.so \
vendor/lenovo/k1/proprietary/lib/libnvtvmr.so:system/lib/libnvtvmr.so \
vendor/lenovo/k1/proprietary/lib/libnvwinsys.so:system/lib/libnvwinsys.so \
vendor/lenovo/k1/proprietary/lib/libnvwsi.so:system/lib/libnvwsi.so \
vendor/lenovo/k1/proprietary/lib/libsmapi.so:system/lib/libsmapi.so \
vendor/lenovo/k1/proprietary/lib/libstagefrighthw.so:system/lib/libstagefrighthw.so \
vendor/lenovo/k1/proprietary/lib/libtf_crypto_sst.so:system/lib/libtf_crypto_sst.so \
vendor/lenovo/k1/proprietary/lib/omxplayer.so:system/lib/omxplayer.so
# libwvm.so
PRODUCT_COPY_FILES += $(LOCAL_PATH)/prebuilt/lib/libwvm.so:system/lib/libwvm.so
#/system/lib/egl
PRODUCT_COPY_FILES += \
vendor/lenovo/k1/proprietary/lib/egl/egl.cfg:system/lib/egl/egl.cfg \
vendor/lenovo/k1/proprietary/lib/egl/libEGL_perfhud.so:system/lib/egl/libEGL_perfhud.so \
vendor/lenovo/k1/proprietary/lib/egl/libEGL_tegra.so:system/lib/egl/libEGL_tegra.so \
vendor/lenovo/k1/proprietary/lib/egl/libGLESv1_CM_perfhud.so:system/lib/egl/libGLESv1_CM_perfhud.so \
vendor/lenovo/k1/proprietary/lib/egl/libGLESv1_CM_tegra.so:system/lib/egl/libGLESv1_CM_tegra.so \
vendor/lenovo/k1/proprietary/lib/egl/libGLESv2_perfhud.so:system/lib/egl/libGLESv2_perfhud.so \
vendor/lenovo/k1/proprietary/lib/egl/libGLESv2_tegra.so:system/lib/egl/libGLESv2_tegra.so
#/system/lib/hw
PRODUCT_COPY_FILES += \
vendor/lenovo/k1/proprietary/lib/hw/audio_policy.tegra.so:system/lib/hw/audio_policy.tegra.so \
vendor/lenovo/k1/proprietary/lib/hw/audio.a2dp.default.so:system/lib/hw/audio.a2dp.default.so \
vendor/lenovo/k1/proprietary/lib/hw/audio.primary.tegra.so:system/lib/hw/audio.primary.tegra.so \
vendor/lenovo/k1/proprietary/lib/hw/camera.tegra.so:system/lib/hw/camera.tegra.so \
vendor/lenovo/k1/proprietary/lib/hw/gps.tegra.so:system/lib/hw/gps.tegra.so \
vendor/lenovo/k1/proprietary/lib/hw/gralloc.tegra.so:system/lib/hw/gralloc.tegra.so \
vendor/lenovo/k1/proprietary/lib/hw/hwcomposer.tegra.so:system/lib/hw/hwcomposer.tegra.so \
vendor/lenovo/k1/proprietary/lib/hw/lights.ventana.so:system/lib/hw/lights.ventana.so \
vendor/lenovo/k1/proprietary/lib/hw/nfc.tegra.so:system/lib/hw/nfc.tegra.so \
vendor/lenovo/k1/proprietary/lib/hw/sensors.ventana.so:system/lib/hw/sensors.ventana.so
#/system/lib/modules
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/modules/cifs.ko:system/lib/modules/cifs.ko \
$(LOCAL_PATH)/prebuilt/modules/md4.ko:system/lib/modules/md4.ko \
$(LOCAL_PATH)/prebuilt/modules/tun.ko:system/lib/modules/tun.ko \
$(LOCAL_PATH)/prebuilt/modules/bcm4329.ko:system/lib/modules/bcm4329.ko \
$(LOCAL_PATH)/prebuilt/modules/scsi_wait_scan.ko:system/lib/modules/scsi_wait_scan.ko
#/system/usr/idc
PRODUCT_COPY_FILES += \
vendor/lenovo/k1/proprietary/usr/idc/atmel-maxtouch.idc:system/usr/idc/atmel-maxtouch.idc \
vendor/lenovo/k1/proprietary/usr/idc/panjit_touch.idc:system/usr/idc/panjit_touch.idc \
vendor/lenovo/k1/proprietary/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc \
vendor/lenovo/k1/proprietary/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc
#/system/usr/keychars
PRODUCT_COPY_FILES += \
vendor/lenovo/k1/proprietary/usr/keychars/Generic.kcm:system/usr/keychars/Generic.kcm \
vendor/lenovo/k1/proprietary/usr/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm \
vendor/lenovo/k1/proprietary/usr/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm \
vendor/lenovo/k1/proprietary/usr/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm
#/system/usr/keylayout
PRODUCT_COPY_FILES += \
vendor/lenovo/k1/proprietary/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/avago-pt.kl:system/usr/keylayout/avago-pt.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Bluetooth_00_06_66_42.kl:system/usr/keylayout/Bluetooth_00_06_66_42.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_044f_Product_d007.kl:system/usr/keylayout/Vendor_044f_Product_d007.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_045e_Product_0719.kl:system/usr/keylayout/Vendor_045e_Product_0719.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_046d_Product_c21d.kl:system/usr/keylayout/Vendor_046d_Product_c21d.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_046d_Product_c21f.kl:system/usr/keylayout/Vendor_046d_Product_c21f.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl \
vendor/lenovo/k1/proprietary/usr/keylayout/Vendor_057e_Product_0306.kl:system/usr/keylayout/Vendor_057e_Product_0306.kl
#/system/usr/share/alsa
PRODUCT_COPY_FILES += \
vendor/lenovo/k1/proprietary/usr/share/alsa/alsa.conf:system/usr/share/alsa/alsa.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/cards/aliases.conf:system/usr/share/alsa/cards/aliases.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/center_lfe.conf:system/usr/share/alsa/pcm/center_lfe.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/default.conf:system/usr/share/alsa/pcm/default.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/dmix.conf:system/usr/share/alsa/pcm/dmix.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/dpl.conf:system/usr/share/alsa/pcm/dpl.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/dsnoop.conf:system/usr/share/alsa/pcm/dsnoop.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/front.conf:system/usr/share/alsa/pcm/front.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/iec958.conf:system/usr/share/alsa/pcm/iec958.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/modem.conf:system/usr/share/alsa/pcm/modem.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/rear.conf:system/usr/share/alsa/pcm/rear.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/side.conf:system/usr/share/alsa/pcm/side.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/surround40.conf:system/usr/share/alsa/pcm/surround40.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/surround41.conf:system/usr/share/alsa/pcm/surround41.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/surround50.conf:system/usr/share/alsa/pcm/surround50.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/surround51.conf:system/usr/share/alsa/pcm/surround51.conf \
vendor/lenovo/k1/proprietary/usr/share/alsa/pcm/surround71.conf:system/usr/share/alsa/pcm/surround71.conf
# Enable AAC 5.1 output
PRODUCT_PROPERTY_OVERRIDES += \
media.aac_51_output_enabled=true
# Extra packages to build for this device
PRODUCT_PACKAGES := \
camera.tegra \
gps.tegra \
lights.ventana \
sensors.ventana \
librs_jni \
make_ext4fs \
setup_fs \
audio.a2dp.default \
audio.usb.default \
audio.primary.tegra \
com.android.future.usb.accessory \
whisperd \
liba2dp \
camera.tegra \
libtinyalsa \
libaudioutils \
tinyplay \
tinycap \
tinymix \
su \
Superuser \
Trebuchet \
ToggleBar \
libhuaweigeneric-ril
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.secure=0
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
ADDITIONAL_DEFAULT_PROPERTIES += \
ro.secure=0 \
ro.sf.lcd_density=160 \
persist.sys.usb.config=mtp \
dalvik.vm.dexopt-data-only=1 \
dalvik.vm.heapstartsize=5m \
dalvik.vm.heapgrowthlimit=48m \
dalvik.vm.heapsize=256m \
net.bt.name=Android
PRODUCT_PROPERTY_OVERRIDES := \
wifi.interface=wlan0 \
mobiledata.interfaces=ppp0,wlan0 \
wifi.supplicant_scan_interval=15 \
# If CM_BUILDTYPE is not defined, set to UNOFFICIAL
# Alternate options: EXPERIMENTAL, NIGHTLY or RELEASE
CM_BUILDTYPE := NIGHTLY
# DEVICE_PACKAGE_OVERLAYS := \ $(LOCAL_PATH)/overlay
# Build characteristics setting
PRODUCT_CHARACTERISTICS := tablet
# This device has enough space for precise dalvik
PRODUCT_TAGS += dalvik.gc.type-precise
# media config xml file
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/mixer_paths.xml:system/etc/mixer_paths.xml \
$(LOCAL_PATH)/prebuilt/etc/media_codecs.xml:system/etc/media_codecs.xml \
$(LOCAL_PATH)/prebuilt/etc/media_profiles.xml:system/etc/media_profiles.xml
# goo.im stuff
$(call inherit-product, $(LOCAL_PATH)/goo.mk)