-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice_e1.mk
216 lines (171 loc) · 8.11 KB
/
device_e1.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
# Copyright (C) 2013 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.
TARGET_PROVIDES_ADRENO_DRIVER := true
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
$(call inherit-product, vendor/sony/e1/e1-vendor.mk)
$(call inherit-product, device/sony/common/resources.mk)
$(call inherit-product-if-exists, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)
# Permissions
PRODUCT_COPY_FILES += \
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.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.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.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.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.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 \
frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml
# Platform specific overlays
DEVICE_PACKAGE_OVERLAYS := device/sony/e1/overlay
PRODUCT_TAGS += dalvik.gc.type-precise
PRODUCT_BOOT_JARS += qcmediaplayer
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/root/init.qcom.rc:root/init.qcom.rc \
$(LOCAL_PATH)/rootdir/root/init.target.rc:root/init.target.rc \
$(LOCAL_PATH)/rootdir/root/fstab.qcom:root/fstab.qcom \
$(LOCAL_PATH)/rootdir/root/ueventd.qcom.rc:root/ueventd.qcom.rc \
$(LOCAL_PATH)/rootdir/root/init.qcom.usb.rc:root/init.qcom.usb.rc \
$(LOCAL_PATH)/rootdir/root/init.recovery.qcom.rc:root/init.recovery.qcom.rc
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/root/init.class_main.sh:root/init.class_main.sh \
$(LOCAL_PATH)/rootdir/system/etc/init.qcom.bt.sh:system/etc/init.qcom.bt.sh \
$(LOCAL_PATH)/rootdir/system/etc/init.qcom.fm.sh:system/etc/init.qcom.fm.sh
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/system/etc/media_profiles.xml:system/etc/media_profiles.xml \
$(LOCAL_PATH)/rootdir/system/etc/audio_policy.conf:system/etc/audio_policy.conf
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/system/etc/thermald-engine-8610.conf:system/etc/thermald-engine-8610.conf
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/system/usr/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
$(LOCAL_PATH)/rootdir/system/usr/keylayout/synaptics_rmi4_i2c.kl:system/usr/keylayout/synaptics_rmi4_i2c.kl
#wifi
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/system/etc/wifi/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini \
$(LOCAL_PATH)/rootdir/system/etc/wifi/WCNSS_qcom_wlan_nv.bin:system/etc/wifi/WCNSS_qcom_wlan_nv.bin \
$(LOCAL_PATH)/rootdir/system/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf
#wcn3620
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/system/etc/wcn3620/p2p_supplicant_overlay.conf:system/etc/wcn3620/p2p_supplicant_overlay.conf \
$(LOCAL_PATH)/rootdir/system/etc/wcn3620/wpa_supplicant_overlay.conf:system/etc/wcn3620/wpa_supplicant_overlay.conf \
$(LOCAL_PATH)/rootdir/system/etc/wcn3620/wpa_supplicant_wcn.conf:system/etc/wcn3620/wpa_supplicant_wcn.conf
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/recovery/bootrec-device:recovery/bootrec-device
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/root/sbin/wait4tad_static:root/sbin/wait4tad_static \
$(LOCAL_PATH)/rootdir/root/sbin/tad_static:root/sbin/tad_static
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/system/etc/sec_config:system/etc/sec_config
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/system/etc/hostapd/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \
$(LOCAL_PATH)/rootdir/system/etc/hostapd/hostapd.accept:system/etc/hostapd/hostapd.accept \
$(LOCAL_PATH)/rootdir/system/etc/hostapd/hostapd.deny:system/etc/hostapd/hostapd.deny
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini:system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini
PRODUCT_PACKAGES += \
charger \
charger_res_images \
libnl_2 \
libtinyxml
PRODUCT_PACKAGES += \
alsa.msm8610 \
audio_policy.msm8610 \
audio.primary.msm8610 \
audio.a2dp.default \
audio.usb.default \
audio.r_submix.default \
libaudio-resampler \
tinymix
PRODUCT_PACKAGES += \
hwcomposer.msm8610 \
gralloc.msm8610 \
copybit.msm8610 \
libqdMetaData \
memtrack.msm8610
PRODUCT_PACKAGES += \
extract_elf_ramdisk
PRODUCT_PACKAGES += \
librs_jni \
com.android.future.usb.accessory
PRODUCT_PACKAGES += \
e2fsprogs \
setup_fs \
e2fsck \
libext2fs \
libext2_blkid \
libext2_uuid \
libext2_profile \
libext2_com_err \
libext2_e2p \
make_ext4fs
PRODUCT_PACKAGES += \
gps.msm8610 \
gps.conf \
sap.conf \
izat.conf
PRODUCT_PACKAGES += \
wcnss_service
PRODUCT_PACKAGES += \
qcom.fmradio \
libqcomfm_jni \
FM2 \
FMRecord
PRODUCT_PACKAGES += qcmediaplayer
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.apm_sim_not_pwdn=1 \
DEVICE_PROVISIONED=1 \
rild.libpath=/system/lib/libril-qc-qmi-1.so \
ril.subscription.types=NV,RUIM \
telephony.lteOnCdmaDevice=0 \
ro.use_data_netmgrd=true \
PRODUCT_PROPERTY_OVERRIDES += \
ro.qualcomm.cabl=0 \
persist.fuse_sdcard=true \
ro.cwm.enable_key_repeat=true \
debug.composition.type=dyn
PRODUCT_PROPERTY_OVERRIDES += \
af.resampler.quality=4 \
media.aac_51_output_enabled=true \
ro.qc.sdk.audio.ssr=false \
ro.qc.sdk.audio.fluencetype=fluence
PRODUCT_PROPERTY_OVERRIDES += \
ro.qc.sdk.izat.premium_enabled=1 \
ro.qc.sdk.izat.service_mask=0x5 \
persist.gps.qc_nlp_in_use=1 \
ro.gps.agps_provider=1
# OpenGL ES 3.0
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=196608
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp
#adb
PRODUCT_PROPERTY_OVERRIDES += \
ro.secure=0 \
ro.adb.secure=0
PRODUCT_GMS_CLIENTID_BASE := android-sonyericsson
PRODUCT_AAPT_CONFIG := normal hdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
PRODUCT_PACKAGES += Torch
# Product attributes
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_CHARACTERISTICS := phone