-
Notifications
You must be signed in to change notification settings - Fork 0
/
device_es209ra.mk
169 lines (147 loc) · 8.02 KB
/
device_es209ra.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
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
$(call inherit-product, device/common/gps/gps_eu_supl.mk)
# proprietary side of the device
$(call inherit-product-if-exists, vendor/semc/es209ra/es209ra-vendor.mk)
$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)
# These is the hardware-specific overlay, which points to the location
# of hardware-specific resource overrides, typically the frameworks and
# application settings that are stored in resourced.
DEVICE_PACKAGE_OVERLAYS += device/semc/es209ra/overlay
# Discard inherited values and use our own instead.
PRODUCT_NAME := es209ra
PRODUCT_DEVICE := es209ra
PRODUCT_MODEL := es209ra
PRODUCT_MANUFACTURER := Sony Ericsson
TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel
PRODUCT_COPY_FILES += \
$(TARGET_PREBUILT_KERNEL):kernel
PRODUCT_PACKAGES += \
audio.a2dp.default \
audio_policy.es209ra \
audio.primary.es209ra \
hwcomposer.qsd8k \
camera.es209ra \
gps.es209ra \
lights.es209ra \
gralloc.qsd8k \
copybit.qsd8k \
camera.qsd8k \
sensors.es209ra \
libQcomUI \
librs_jni \
libOmxCore \
libOmxVdec \
libOmxVidEnc \
libmm-omxcore \
libtilerenderer \
liboverlay \
com.android.future.usb.accessory
# These are the hardware-specific configuration files
PRODUCT_COPY_FILES += \
device/semc/es209ra/prebuilt/media_profiles.xml:system/etc/media_profiles.xml \
device/semc/es209ra/prebuilt/gps.conf:system/etc/gps.conf \
device/semc/es209ra/prebuilt/media_codecs.xml:system/etc/media_codecs.xml \
device/semc/es209ra/prebuilt/audio_policy.conf:system/etc/audio_policy.conf \
device/semc/es209ra/prebuilt/fstab.semc:root/fstab.semc \
#device/semc/es209ra/prebuilt/fillers:root/fillers \
# Init files
PRODUCT_COPY_FILES += \
device/semc/es209ra/prebuilt/init.es209ra.rc:root/init.es209ra.rc \
device/semc/es209ra/prebuilt/init.es209ra.usb.rc:root/init.es209ra.usb.rc \
device/semc/es209ra/prebuilt/init.bt.sh:system/etc/init.bt.sh \
device/semc/es209ra/prebuilt/DualMicControl.txt:system/etc/DualMicControl.txt \
device/semc/es209ra/prebuilt/ueventd.es209ra.rc:root/ueventd.es209ra.rc \
device/semc/es209ra/prebuilt/hw_config.sh:system/etc/hw_config.sh \
device/semc/es209ra/prebuilt/bootrec:root/sbin/bootrec \
device/semc/es209ra/prebuilt/bootrec-device:root/sbin/bootrec-device \
device/semc/es209ra/recovery.fstab:root/recovery.fstab \
device/semc/es209ra/prebuilt/vold.fstab:system/etc/vold.fstab \
device/semc/es209ra/prebuilt/initlogo.rle:root/initlogo.rle
#Audio
PRODUCT_PACKAGES += \
audio.usb.default \
audio.a2dp.default \
audio.primary.es209ra \
audio_policy.es209ra
#WIFI modules and configs
PRODUCT_COPY_FILES += \
device/semc/es209ra/prebuilt/10dnsconf:system/etc/init.d/10dnsconf \
device/semc/es209ra/prebuilt/10regcode:system/etc/init.d/10regcode \
device/semc/es209ra/prebuilt/10hostapconf:system/etc/init.d/10hostapconf \
device/semc/es209ra/prebuilt/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
device/semc/es209ra/prebuilt/dnsmasq.conf:system/etc/wifi/dnsmasq.conf \
device/semc/es209ra/prebuilt/reg_code:system/etc/wifi/reg_code \
device/semc/es209ra/prebuilt/ar6000.ko:root/modules/ar6000.ko
#recovery resources
PRODUCT_COPY_FILES += \
bootable/recovery/res/images/icon_firmware_error.png:root/res/images/icon_firmware_error.png \
bootable/recovery/res/images/icon_firmware_install.png:root/res/images/icon_firmware_install.png \
bootable/recovery/res/images/icon_clockwork.png:root/res/images/icon_clockwork.png \
bootable/recovery/res/images/icon_error.png:root/res/images/icon_error.png \
bootable/recovery/res/images/icon_installing.png:root/res/images/icon_installing.png \
bootable/recovery/res/images/icon_installing_overlay01.png:root/res/images/icon_installing_overlay01.png \
bootable/recovery/res/images/icon_installing_overlay02.png:root/res/images/icon_installing_overlay02.png \
bootable/recovery/res/images/icon_installing_overlay03.png:root/res/images/icon_installing_overlay03.png \
bootable/recovery/res/images/icon_installing_overlay04.png:root/res/images/icon_installing_overlay04.png \
bootable/recovery/res/images/icon_installing_overlay05.png:root/res/images/icon_installing_overlay05.png \
bootable/recovery/res/images/icon_installing_overlay06.png:root/res/images/icon_installing_overlay06.png \
bootable/recovery/res/images/icon_installing_overlay07.png:root/res/images/icon_installing_overlay07.png \
bootable/recovery/res/images/indeterminate01.png:root/res/images/indeterminate01.png \
bootable/recovery/res/images/indeterminate02.png:root/res/images/indeterminate02.png \
bootable/recovery/res/images/indeterminate03.png:root/res/images/indeterminate03.png \
bootable/recovery/res/images/indeterminate04.png:root/res/images/indeterminate04.png \
bootable/recovery/res/images/indeterminate05.png:root/res/images/indeterminate05.png \
bootable/recovery/res/images/indeterminate06.png:root/res/images/indeterminate06.png \
bootable/recovery/res/images/progress_empty.png:root/res/images/progress_empty.png \
bootable/recovery/res/images/progress_fill.png:root/res/images/progress_fill.png \
bootable/recovery/res/images/stitch.png:root/res/images/stitch.png
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.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.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/native/data/etc/android.hardware.touchscreen.xml:system/etc/permissions/android.hardware.touchscreen.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml
-include device/semc/msm7x30-common/prebuilt/resources-hdpi.mk
PRODUCT_PROPERTY_OVERRIDES += \
rild.libpath=/system/lib/libril-qc-1.so \
rild.libargs=-d/dev/smd0 \
ro.ril.hsxpa=1 \
ro.ril.gprsclass=10 \
ro.telephony.default_network=0 \
ro.telephony.call_ring.multiple=false \
wifi.interface=wlan0 \
wifi.supplicant_scan_interval=15 \
ro.sf.lcd_density=240 \
qemu.sf.lcd_density=240 \
keyguard.no_require_sim=true \
ro.com.google.locationfeatures=1 \
dalvik.vm.dexopt-flags=m=y \
dalvik.vm.dexopt-data-only=1 \
dalvik.vm.lockprof.threshold=500 \
dalvik.vm.execution-mode=int:jit \
dalvik.vm.checkjni=false \
ro.opengles.version=131072 \
ro.compcache.default=0 \
ro.product.locale.language=en \
ro.product.locale.region=US \
persist.ro.ril.sms_sync_sending=1 \
ro.camera.hd_shrink_vf_enabled=1 \
hwui.render_dirty_regions=false \
hwui.disable_vsync=true \
debug.composition.type=mdp \
debug.sf.hw=1 \
persist.sys.usb.config=mass_storage \
BUILD_UTC_DATE=0
PRODUCT_PROPERTY_OVERRIDES += \
ro.tethering.kb_disconnect=1
# es209ra uses high-density artwork where available
PRODUCT_LOCALES += hdpi
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise