-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathdevice_es209ra.mk
136 lines (120 loc) · 7.04 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
$(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)
# Discard inherited values and use our own instead.
PRODUCT_NAME := es209ra
PRODUCT_DEVICE := es209ra
PRODUCT_MODEL := es209ra
PRODUCT_PACKAGES += \
screencap \
librs_jni \
gralloc.qsd8k \
copybit.qsd8k \
gps.es209ra \
lights.es209ra \
libOmxVdec \
libOmxVidEnc \
libmm-omxcore \
com.android.future.usb.accessory \
rzscontrol
# 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
# 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
# Init files
PRODUCT_COPY_FILES += \
device/semc/es209ra/prebuilt/init.es209ra.rc:root/init.es209ra.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/recovery.fstab:root/recovery.fstab \
device/semc/es209ra/prebuilt/vold.fstab:system/etc/vold.fstab \
device/semc/es209ra/prebuilt/initlogo.rle:root/initlogo.rle
#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/10cpmodules:system/etc/init.d/10cpmodules \
device/semc/es209ra/prebuilt/10hostapconf:system/etc/init.d/10hostapconf \
device/semc/es209ra/prebuilt/dnsmasq.conf:system/etc/wifi/dnsmasq.conf \
device/semc/es209ra/prebuilt/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
device/semc/es209ra/prebuilt/reg_code:system/etc/wifi/reg_code \
device/semc/es209ra/modules/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/indeterminate1.png:root/res/images/indeterminate1.png \
bootable/recovery/res/images/indeterminate2.png:root/res/images/indeterminate2.png \
bootable/recovery/res/images/indeterminate3.png:root/res/images/indeterminate3.png \
bootable/recovery/res/images/indeterminate4.png:root/res/images/indeterminate4.png \
bootable/recovery/res/images/indeterminate5.png:root/res/images/indeterminate5.png \
bootable/recovery/res/images/indeterminate6.png:root/res/images/indeterminate6.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
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.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.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.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/base/data/etc/android.hardware.touchscreen.xml:system/etc/permissions/android.hardware.touchscreen.xml \
frameworks/base/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml \
frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml
#Offline charging animation
PRODUCT_COPY_FILES += \
device/semc/es209ra/prebuilt/animations/charging_animation_01_H.png:system/semc/chargemon/data/charging_animation_01.png \
device/semc/es209ra/prebuilt/animations/charging_animation_02_H.png:system/semc/chargemon/data/charging_animation_02.png \
device/semc/es209ra/prebuilt/animations/charging_animation_03_H.png:system/semc/chargemon/data/charging_animation_03.png \
device/semc/es209ra/prebuilt/animations/charging_animation_04_H.png:system/semc/chargemon/data/charging_animation_04.png \
device/semc/es209ra/prebuilt/animations/charging_animation_05_H.png:system/semc/chargemon/data/charging_animation_05.png \
device/semc/es209ra/prebuilt/animations/charging_animation_06_H.png:system/semc/chargemon/data/charging_animation_06.png \
device/semc/es209ra/prebuilt/animations/charging_animation_07_H.png:system/semc/chargemon/data/charging_animation_07.png
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.heapsize=48m \
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 \
persist.android.strictmode=0 \
persist.sys.scrollingcache=2 \
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