forked from CMX10/android_device_semc_es209ra
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathes209ra.mk
executable file
·170 lines (149 loc) · 7.77 KB
/
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
168
169
170
# proprietary side of the device
$(call inherit-product-if-exists, vendor/semc/es209ra/es209ra-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += device/semc/es209ra/overlay
$(call inherit-product, device/common/gps/gps_eu_supl.mk)
$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)
PRODUCT_AAPT_CONFIG := normal hdpi hdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
PRODUCT_PACKAGES += \
gps.es209ra \
sensors.default \
lights.es209ra \
audio.a2dp.default \
audio_policy.es209ra \
audio.primary.es209ra \
wlan_loader \
wlan_cu \
dhcpcd.conf \
gralloc.qsd8k \
hwcomposer.default \
hwcomposer.qsd8k \
copybit.qsd8k \
camera.qsd8k \
libgenlock \
libmemalloc \
libtilerenderer \
libqdutils \
liboverlay \
libQcomUI \
librs_jni \
com.android.future.usb.accessory \
libmm-omxcore \
libdivxdrmdecrypt \
libOmxCore \
libOmxVdec \
libOmxVenc \
libstagefrighthw \
libopencorehw
PRODUCT_PACKAGES += \
Torch
PRODUCT_PACKAGES += \
Torch
PRODUCT_PACKAGES -= \
CMUpdater
# These are the hardware-specific configuration files
PRODUCT_COPY_FILES += \
device/semc/es209ra/config/dnsmasq.conf:system/etc/wifi/dnsmasq.conf \
device/semc/es209ra/config/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
device/semc/es209ra/config/media_profiles.xml:system/etc/media_profiles.xml \
device/semc/es209ra/config/media_codecs.xml:system/etc/media_codecs.xml \
device/semc/es209ra/config/audio_policy.conf:system/etc/audio_policy.conf
# device/semc/es209ra/config/sensors.conf:system/etc/sensors.conf
# 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/recovery.fstab:root/recovery.fstab \
device/semc/es209ra/prebuilt/fstab.es209ra:root/fstab.es209ra \
device/semc/es209ra/prebuilt/bootrec:root/sbin/bootrec \
device/semc/es209ra/prebuilt/bootrec-device:root/sbin/bootrec-device \
device/semc/es209ra/recovery/init.rc:root/init.rc \
device/semc/es209ra/prebuilt/initlogo.rle:root/initlogo.rle
#WIFI modules and configs
PRODUCT_COPY_FILES += \
device/semc/es209ra/config/10dnsconf:system/etc/init.d/10dnsconf \
device/semc/es209ra/config/10regcode:system/etc/init.d/10regcode \
device/semc/es209ra/config/10hostapconf:system/etc/init.d/10hostapconf \
device/semc/es209ra/config/hostapd.conf:system/etc/wifi/hostapd.conf \
device/semc/es209ra/prebuilt/reg_code:system/etc/wifi/reg_code
#\
# device/semc/es209ra/prebuilt/ar6000.ko:system/lib/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
#Framework permissions
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/es209ra/prebuilt/chargeanimation.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 \
ro.telephony.ril.v3=signalstrength,datacall,skipbrokendatacall,icccardstatus,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,adb \
persist.service.adb.enable=1 \
sys.usb.config=mass_storage,adb
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