-
Notifications
You must be signed in to change notification settings - Fork 1
/
device_arthur.mk
224 lines (190 loc) · 11.9 KB
/
device_arthur.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
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/zte/arthur/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
$(call inherit-product, build/target/product/full_base.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common_full.mk)
DEVICE_PACKAGE_OVERLAYS += device/zte/arthur/overlay
# 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
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
# use high-density artwork where available
PRODUCT_LOCALES += hdpi
PRODUCT_PACKAGES += \
librs_jni \
abtfilt \
gralloc.msm7x30 \
lights.msm7x30 \
copybit.msm7x30 \
overlay.msm7x30 \
gps.msm7x30 \
libOmxCore \
libOmxVenc \
libOmxVdec \
com.android.future.usb.accessory
# Hardware properties
PRODUCT_COPY_FILES += \
frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
frameworks/base/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml \
frameworks/base/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \
frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/base/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/base/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/base/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml
# Boot init
PRODUCT_COPY_FILES += \
device/zte/arthur/root/init:/root/init \
device/zte/arthur/root/init.arthur.rc:/root/init.arthur.rc \
device/zte/arthur/root/init.goldfish.rc:/root/init.goldfish.rc \
device/zte/arthur/root/initlogo.rle:/root/initlogo.rle \
device/zte/arthur/root/init.qcom.rc:/root/init.qcom.rc \
device/zte/arthur/root/init.qcom.sh:/root/init.qcom.sh \
device/zte/arthur/root/init.rc:/root/init.rc \
device/zte/arthur/root/logo.bmp:/root/logo.bmp \
device/zte/arthur/root/ueventd.rc:/root/ueventd.rc \
device/zte/arthur/root/ueventd.arthur.rc:/root/ueventd.arthur.rc \
device/zte/arthur/root/ueventd.goldfish.rc:/root/ueventd.goldfish.rc \
device/zte/arthur/root/sbin/diagftmtest:/root/sbin/diagftmtest \
device/zte/arthur/root/sbin/hci_qcomm_init:/root/sbin/hci_qcomm_init \
device/zte/arthur/root/sbin/iwmulticall:/root/sbin/iwmulticall \
device/zte/arthur/root/sbin/iwpriv:/root/sbin/iwpriv \
device/zte/arthur/root/sbin/ptt_socket_app:/root/sbin/ptt_socket_app \
device/zte/arthur/root/sbin/rmt_storage:/root/sbin/rmt_storage \
device/zte/arthur/root/sbin/usbconfig:/root/sbin/usbconfig
# Recovery init
PRODUCT_COPY_FILES += \
device/zte/arthur/recovery/root/init:/recovery/root/init \
device/zte/arthur/recovery/root/init.rc:/recovery/root/init.rc \
device/zte/arthur/recovery/root/ueventd.rc:/recovery/root/ueventd.rc \
device/zte/arthur/recovery/root/ueventd.goldfish.rc:/recovery/root/ueventd.goldfish.rc \
device/zte/arthur/recovery/root/sbin/diagftmtest:/recovery/root/sbin/diagftmtest \
device/zte/arthur/recovery/root/sbin/hci_qcomm_init:/recovery/root/sbin/hci_qcomm_init \
device/zte/arthur/recovery/root/sbin/iwmulticall:/recovery/root/sbin/iwmulticall \
device/zte/arthur/recovery/root/sbin/iwpriv:/recovery/root/sbin/iwpriv \
device/zte/arthur/recovery/root/sbin/ptt_socket_app:/recovery/root/sbin/ptt_socket_app \
device/zte/arthur/recovery/root/sbin/rmt_storage_recovery:/recovery/root/sbin/rmt_storage_recovery \
device/zte/arthur/recovery/root/sbin/usbconfig:/recovery/root/sbin/usbconfig
#Adreno
PRODUCT_COPY_FILES +=\
device/zte/arthur/prebuilt/lib/egl/egl.cfg:system/lib/egl/egl.cfg \
device/zte/arthur/prebuilt/lib/egl/libEGL_adreno200.so:system/lib/egl/libEGL_adreno200.so \
device/zte/arthur/prebuilt/lib/egl/libGLES_android.so:system/lib/egl/libGLES_android.so \
device/zte/arthur/prebuilt/lib/egl/libGLESv1_CM_adreno200.so:system/lib/egl/libGLESv1_CM_adreno200.so \
device/zte/arthur/prebuilt/lib/egl/libGLESv2_adreno200.so:system/lib/egl/libGLESv2_adreno200.so \
device/zte/arthur/prebuilt/lib/egl/libq3dtools_adreno200.so:system/lib/egl/libq3dtools_adreno200.so \
device/zte/arthur/prebuilt/lib/libC2D2.so:system/lib/libC2D2.so \
device/zte/arthur/prebuilt/lib/libOpenVG.so:system/lib/libOpenVG.so
#GPU Firmware Files
PRODUCT_COPY_FILES +=\
device/zte/arthur/prebuilt/etc/firmware/vidc_720p_command_control.fw:system/etc/firmware/vidc_720p_command_control.fw \
device/zte/arthur/prebuilt/etc/firmware/vidc_720p_h263_dec_mc.fw:system/etc/firmware/vidc_720p_h263_dec_mc.fw \
device/zte/arthur/prebuilt/etc/firmware/vidc_720p_h264_dec_mc.fw:system/etc/firmware/vidc_720p_h264_dec_mc.fw \
device/zte/arthur/prebuilt/etc/firmware/vidc_720p_h264_enc_mc.fw:system/etc/firmware/vidc_720p_h264_enc_mc.fw \
device/zte/arthur/prebuilt/etc/firmware/vidc_720p_mp4_dec_mc.fw:system/etc/firmware/vidc_720p_mp4_dec_mc.fw \
device/zte/arthur/prebuilt/etc/firmware/vidc_720p_mp4_enc_mc.fw:system/etc/firmware/vidc_720p_mp4_enc_mc.fw \
device/zte/arthur/prebuilt/etc/firmware/vidc_720p_vc1_dec_mc.fw:system/etc/firmware/vidc_720p_vc1_dec_mc.fw \
device/zte/arthur/prebuilt/etc/firmware/yamato_pfp.fw:system/etc/firmware/yamato_pfp.fw \
device/zte/arthur/prebuilt/etc/firmware/yamato_pm4.fw:system/etc/firmware/yamato_pm4.fw
# SD Card
PRODUCT_COPY_FILES += \
device/zte/arthur/prebuilt/etc/vold.fstab:system/etc/vold.fstab
#Input
PRODUCT_COPY_FILES += \
device/zte/arthur/prebuilt/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl \
device/zte/arthur/prebuilt/usr/keylayout/arthur_keypad.kl:system/usr/keylayout/arthur_keypad.kl \
device/zte/arthur/prebuilt/usr/keylayout/7k_handset.kl:system/usr/keylayout/7k_handset.kl \
device/zte/arthur/prebuilt/usr/keylayout/fluid-keypad.kl:system/usr/keylayout/fluid-keypad.kl \
device/zte/arthur/prebuilt/usr/keylayout/msm_tma300_ts.kl:system/usr/keylayout/msm_tma300_ts.kl \
device/zte/arthur/prebuilt/usr/keychars/arthur_keypad_numeric.kcm.bin:system/usr/keychars/arthur_keypad_numeric.kcm.bin \
device/zte/arthur/prebuilt/usr/keychars/arthur_keypad_qwerty.kcm.bin:system/usr/keylayout/keychars/arthur_keypad_qwerty.kcm.bin
#RIL
PRODUCT_COPY_FILES+= \
device/zte/arthur/prebuilt/bin/port-bridge:system/bin/port-bridge \
device/zte/arthur/prebuilt/bin/rild:system/bin/rild \
device/zte/arthur/prebuilt/lib/libdiag.so:system/lib/libdiag.so \
device/zte/arthur/prebuilt/lib/libreference-ril.so:system/lib/libreference-ril.so \
device/zte/arthur/prebuilt/lib/libreference-cdma-sms.so:system/lib/libreference-cdma-sms.so \
device/zte/arthur/prebuilt/lib/libril.so:system/lib/libril.so \
device/zte/arthur/prebuilt/lib/libril-qc-1.so:system/lib/libril-qc-1.so \
device/zte/arthur/prebuilt/lib/libril-qc-qmi-1.so:system/lib/libril-qc-qmi-1.so \
device/zte/arthur/prebuilt/lib/libril-qcril-hook-oem.so:system/lib/libril-qcril-hook-oem.so \
device/zte/arthur/prebuilt/lib/libnv.so:system/lib/libnv.so
#APN
PRODUCT_COPY_FILES+= \
device/zte/arthur/prebuilt/etc/apns-conf.xml:system/etc/apns-conf.xml
#GPS
PRODUCT_COPY_FILES+= \
device/zte/arthur/prebuilt/lib/libgps.so:system/lib/libgps.so \
device/zte/arthur/prebuilt/lib/libloc_api-rpc-qc.so:system/lib/libloc_api-rpc-qc.so \
device/zte/arthur/prebuilt/lib/libloc_ext.so:system/lib/libloc_ext.so \
device/zte/arthur/prebuilt/lib/libloc-rpc.so:system/lib/libloc-rpc.so \
device/zte/arthur/prebuilt/lib/liboncrpc.so:system/lib/liboncrpc.so \
device/zte/arthur/prebuilt/lib/hw/gps.default.so:system/lib/hw/gps.default.so \
device/zte/arthur/prebuilt/bin/loc_api_app:system/bin/loc_api_app
#WiFi
PRODUCT_COPY_FILES += \
device/zte/arthur/prebuilt/lib/modules/libra.ko:system/lib/modules/libra.ko \
device/zte/arthur/prebuilt/lib/modules/libra_ftm.ko:system/lib/modules/libra_ftm.ko \
device/zte/arthur/prebuilt/lib/modules/librasdioif.ko:system/lib/modules/librasdioif.ko \
device/zte/arthur/prebuilt/etc/firmware/wlan/cfg.dat:system/etc/firmware/wlan/cfg.dat \
device/zte/arthur/prebuilt/etc/firmware/wlan/qcom_cfg.ini:system/etc/firmware/wlan/qcom_cfg.ini \
device/zte/arthur/prebuilt/etc/firmware/wlan/qcom_fw.bin:system/etc/firmware/wlan/qcom_fw.bin \
device/zte/arthur/prebuilt/etc/firmware/wlan/qcom_wapi_fw.bin:system/etc/firmware/wlan/qcom_wapi_fw.bin \
device/zte/arthur/prebuilt/etc/firmware/wlan/qcom_wlan_nv.bin:system/etc/firmware/wlan/qcom_wlan_nv.bin \
device/zte/arthur/prebuilt/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
device/zte/arthur/prebuilt/bin/wpa_supplicant:system/bin/wpa_supplicant \
device/zte/arthur/prebuilt/bin/iprenew:system/lib/bin/iprenew
#Hostapd
PRODUCT_COPY_FILES+= \
device/zte/arthur/prebuilt/bin/hostapd:system/bin/hostapd \
device/zte/arthur/prebuilt/bin/hostapd_cli:system/bin/hostapd_cli \
device/zte/arthur/prebuilt/hostapd/hostapd.accept:system/hostapd/hostapd.accept \
device/zte/arthur/prebuilt/hostapd/hostapd.deny:system/hostapd/hostapd.deny \
device/zte/arthur/prebuilt/hostapd/hostapd.conf:system/hostapd/hostapd.conf \
device/zte/arthur/prebuilt/lib/libQWiFiSoftApCfg.so:system/lib/libQWiFiSoftApCfg.so \
device/zte/arthur/prebuilt/qcom/softap/hostapd_default.conf:system/qcom/softap/hostapd_default.conf
#Bluetoothe
PRODUCT_COPY_FILES += \
device/zte/arthur/prebuilt/etc/init.qcom.bt.sh:system/etc/init.qcom.bt.sh \
device/zte/arthur/prebuilt/etc/init.qcom.coex.sh:system/etc/init.qcom.coex.sh \
device/zte/arthur/prebuilt/bin/bt_testmode.sh:system/bin/bt_testmode.sh \
device/zte/arthur/prebuilt/bin/sdptool:system/bin/sdptool \
device/zte/arthur/prebuilt/bin/init.btprop.sh:system/bin/init.btprop.sh
#Other Stuff called in the init.arthur.rc and stuff
PRODUCT_COPY_FILES+= \
device/zte/arthur/prebuilt/bin/at-daemon:system/bin/at-daemon \
device/zte/arthur/prebuilt/bin/qmuxd:system/bin/qmuxd \
device/zte/arthur/prebuilt/bin/netmgrd:system/bin/netmgrd \
device/zte/arthur/prebuilt/etc/init.qcom.fm.sh:system/etc/init.qcom.fm.sh \
device/zte/arthur/prebuilt/etc/init.qcom.post_boot.sh:system/etc/init.qcom.post_boot.sh \
device/zte/arthur/prebuilt/bin/getlogtofile:system/bin/getlogtofile \
device/zte/arthur/prebuilt/bin/CKPD-daemon:system/bin/CKPD-daemon \
device/zte/arthur/prebuilt/bin/hdmid:system/bin/hdmid \
device/zte/arthur/prebuilt/bin/ds_fmc_appd:system/bin/ds_fmc_appd \
device/zte/arthur/prebuilt/bin/sprintdiag:system/bin/sprintdiag \
device/zte/arthur/prebuilt/bin/sdlog:system/bin/sdlog \
device/zte/arthur/prebuilt/app/Sdlog.apk:system/app/Sdlog.apk \
device/zte/arthur/prebuilt/app/Sdlog.odex:system/app/Sdlog.odex \
device/zte/arthur/prebuilt/bin/DrmHost:system/bin/DrmHost
#Sensors
PRODUCT_COPY_FILES+= \
device/zte/arthur/prebuilt/bin/proximity.init:system/bin/proximity.init \
device/zte/arthur/prebuilt/bin/akmd8962:system/bin/akmd8962 \
device/zte/arthur/prebuilt/bin/thermald:system/bin/thermald \
device/zte/arthur/prebuilt/etc/thermald.conf:system/etc/thermald.conf \
device/zte/arthur/prebuilt/lib/hw/sensors.default.so:system/lib/hw/sensors.default.so
#Boot Animation
PRODUCT_COPY_FILES +=\
device/zte/arthur/prebuilt/media/bootanimation.zip:system/media/bootanimation.zip
PRODUCT_NAME := ZTE_Warp
PRODUCT_BRAND := ZTE
PRODUCT_DEVICE := arthur
PRODUCT_MODEL := N860
PRODUCT_MANUFACTURER := ZTE