-
Notifications
You must be signed in to change notification settings - Fork 24
/
d710.mk
executable file
·180 lines (157 loc) · 7.56 KB
/
d710.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
# Copyright (C) 2010 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.
LOCAL_PATH := device/samsung/d710
# Init files
PRODUCT_COPY_FILES := \
$(LOCAL_PATH)/init.smdk4210.rc:root/init.smdk4210.rc \
$(LOCAL_PATH)/init.smdk4210.usb.rc:root/init.smdk4210.usb.rc \
$(LOCAL_PATH)/init.rc:root/init.rc \
$(LOCAL_PATH)/fstab.smdk4210:root/fstab.smdk4210 \
$(LOCAL_PATH)/ueventd.smdk4210.rc:root/ueventd.smdk4210.rc
# These are the hardware-specific features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml
# Keylayout
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
$(LOCAL_PATH)/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl \
$(LOCAL_PATH)/usr/keylayout/max8997-muic.kl:system/usr/keylayout/max8997-muic.kl \
$(LOCAL_PATH)/usr/keylayout/melfas-touchkey.kl:system/usr/keylayout/melfas-touchkey.kl \
$(LOCAL_PATH)/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl \
$(LOCAL_PATH)/usr/keylayout/samsung-keypad.kl:system/usr/keylayout/samsung-keypad.kl \
$(LOCAL_PATH)/usr/keylayout/sec_key.kl:system/usr/keylayout/sec_key.kl \
$(LOCAL_PATH)/usr/keylayout/sec_touchkey.kl:system/usr/keylayout/sec_touchkey.kl \
$(LOCAL_PATH)/usr/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
$(LOCAL_PATH)/usr/keylayout/sii9234_rcp.kl:system/usr/keylayout/sii9234_rcp.kl \
$(LOCAL_PATH)/usr/keylayout/Vendor_04e8_Product_7021.kl:system/usr/keylayout/Vendor_04e8_Product_7021.kl \
$(LOCAL_PATH)/usr/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl \
$(LOCAL_PATH)/usr/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl \
$(LOCAL_PATH)/usr/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl \
$(LOCAL_PATH)/usr/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl \
$(LOCAL_PATH)/usr/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl \
$(LOCAL_PATH)/usr/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl \
$(LOCAL_PATH)/usr/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl \
$(LOCAL_PATH)/usr/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl
# Keychars
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/usr/keychars/Generic.kcm:system/usr/keychars/Generic.kcm \
$(LOCAL_PATH)/usr/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm \
$(LOCAL_PATH)/usr/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm \
$(LOCAL_PATH)/usr/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm
#idc
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/usr/idc/melfas_ts.idc:system/usr/idc/melfas_ts.idc \
$(LOCAL_PATH)/usr/idc/mxt224_ts_input.idc:system/usr/idc/mxt224_ts_input.idc \
$(LOCAL_PATH)/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc \
$(LOCAL_PATH)/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc \
$(LOCAL_PATH)/usr/idc/sec_touchscreen.idc:system/usr/idc/sec_touchscreen.idc
# Vold
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/vold.fstab:system/etc/vold.fstab
# Net
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
$(LOCAL_PATH)/configs/ip-up:system/etc/ppp/ip-up \
$(LOCAL_PATH)/configs/ip-down:system/etc/ppp/ip-down
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/Volume.db:system/etc/Volume.db \
$(LOCAL_PATH)/configs/gps.conf:system/etc/gps.conf \
$(LOCAL_PATH)/configs/sirfgps.conf:system/etc/sirfgps.conf \
$(LOCAL_PATH)/configs/asound.conf:system/etc/asound.conf \
$(LOCAL_PATH)/configs/audio_policy.conf:system/etc/audio_policy.conf
# Packages
PRODUCT_PACKAGES := \
GalaxyS2Settings \
smdk4210_hdcp_keys
# WIMAX
PRODUCT_PACKAGES += \
WiMAXSettings \
WiMAXHiddenMenu \
AngryGPS \
SprintMenu \
SystemUpdateUI
PRODUCT_PACKAGES += \
libhwconverter \
libs5pjpeg \
libfimg
# Screen density is actually considered a locale (since it is taken into account
# the the build-time selection of resources). The product definitions including
# this file must pay attention to the fact that the first entry in the final
# PRODUCT_LOCALES expansion must not be a density.
# This device is hdpi.
PRODUCT_AAPT_CONFIG := normal hdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
PRODUCT_LOCALES += hdpi
# The OpenGL ES API level that is natively supported by this device.
# This is a 16.16 fixed point number
PRODUCT_PROPERTY_OVERRIDES := \
ro.opengles.version=131072
# These are the hardware-specific settings that are stored in system properties.
# Note that the only such settings should be the ones that are too low-level to
# be reachable from resources or other mechanisms.
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0 \
wifi.supplicant_scan_interval=180 \
ro.telephony.sends_barcount=1 \
ro.ril.def.agps.mode=2 \
ro.telephony.call_ring.multiple=false \
ro.telephony.call_ring.delay=0 \
hwui.render_dirty_regions=false
PRODUCT_PROPERTY_OVERRIDES += \
persist.service.usb.setting=0 \
persist.service.adb.enable=1 \
persist.sys.usb.config=mass_storage,adb \
persist.service.usb.hubport=4
# Telephony property for CDMA
PRODUCT_PROPERTY_OVERRIDES += \
ro.telephony.default_network=4 \
ro.com.google.clientidbase=android-sprint-us \
ro.cdma.home.operator.numeric=310120 \
ro.cdma.home.operator.alpha=Sprint \
net.cdma.pppd.authtype=require-pap \
net.cdma.pppd.user=user[SPACE]SprintNextel \
net.cdma.datalinkinterface=/dev/ttyCDMA0 \
net.interfaces.defaultroute=cdma \
net.cdma.ppp.interface=ppp0 \
ro.wimax.interface=uwbr0 \
net.connectivity.type=CDMA1 \
mobiledata.interfaces=ppp0,wlan0,uwbr0 \
ro.telephony.ril_class=SamsungCDMAv6RIL \
ro.ril.samsung_cdma=true \
ro.carrier=Sprint
# enable Google-specific location features,
# like NetworkLocationProvider and LocationCollector
PRODUCT_PROPERTY_OVERRIDES += \
ro.com.google.locationfeatures=1 \
ro.com.google.networklocation=1
# Extended JNI checks
# The extended JNI checks will cause the system to run more slowly, but they can spot a variety of nasty bugs
# before they have a chance to cause problems.
# Default=true for development builds, set by android buildsystem.
PRODUCT_PROPERTY_OVERRIDES += \
ro.kernel.android.checkjni=0 \
dalvik.vm.checkjni=false
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
# enable repeatable keys in cwm
PRODUCT_PROPERTY_OVERRIDES += \
ro.cwm.enable_key_repeat=true
# Include vendor files that have the same name as some in the common repo
$(call inherit-product, vendor/samsung/d710/d710-common-dupes.mk)
# Include common makefile
$(call inherit-product, device/samsung/galaxys2-common/common.mk)
DEVICE_PACKAGE_OVERLAYS := \
$(LOCAL_PATH)/overlay \
device/samsung/galaxys2-common/overlay
$(call inherit-product-if-exists, vendor/samsung/d710/d710-vendor.mk)