-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathendeavoru.mk
113 lines (91 loc) · 3.49 KB
/
endeavoru.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
#
# 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.
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
DEVICE_PACKAGE_OVERLAYS += device/htc/endeavoru/overlay
# Set default USB interface
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mass_storage,adb
# Don't store dalvik on /cache, it gets annoying when /cache is wiped
# by us to enable booting into recovery after flashing boot.img
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dexopt-data-only=1
# Increase UMS speed
PRODUCT_PROPERTY_OVERRIDES += \
ro.vold.umsdirtyratio=50
# Override phone-xhdpi-1024-dalvik-heap.mk setting
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapgrowthlimit=96m
# Smoother window manager experience.
PRODUCT_PROPERTY_OVERRIDES += \
windowsmgr.max_events_per_sec = 240 #300
# Old RIL features
PRODUCT_PROPERTY_OVERRIDES += \
ro.telephony.ril.v3=signalstrength,skipbrokendatacall
# force gpu rendering(2d drawing) [Nvidia setting - libhtc-opt2.so]
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.ui.hw=true
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
# Init files
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/ramdisk/fstab.endeavoru:root/fstab.endeavoru \
$(LOCAL_PATH)/ramdisk/init.endeavoru.rc:root/init.endeavoru.rc \
$(LOCAL_PATH)/ramdisk/init.endeavoru.htc.rc:root/init.endeavoru.htc.rc \
$(LOCAL_PATH)/ramdisk/init.endeavoru.common.rc:root/init.endeavoru.common.rc \
$(LOCAL_PATH)/ramdisk/init.endeavoru.usb.rc:root/init.endeavoru.usb.rc \
$(LOCAL_PATH)/ramdisk/init.endeavoru.cm.rc:root/init.endeavoru.cm.rc \
$(LOCAL_PATH)/ramdisk/ueventd.endeavoru.rc:root/ueventd.endeavoru.rc
PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml)
# bluetooth config
PRODUCT_COPY_FILES += \
system/bluetooth/data/main.conf:system/etc/bluetooth/main.conf
# configs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/gps.conf:system/etc/gps.conf
# nfc
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/nfcee_access.xml:system/etc/nfcee_access.xml
# Other extra packages
PRODUCT_PACKAGES += \
librs_jni
# Bluetooth tools
PRODUCT_COPY_FILES += $(LOCAL_PATH)/prebuilt/bin/load-bt.sh:system/bin/load-bt.sh
PRODUCT_PACKAGES += \
l2ping \
hciconfig \
hcitool \
libbt-vendor
# audio packages
PRODUCT_PACKAGES += \
tinymix \
tinyplay \
tinycap
# Wi-Fi
PRODUCT_COPY_FILES += $(LOCAL_PATH)/prebuilt/bin/wifi_calibration.sh:system/bin/wifi_calibration.sh
PRODUCT_PACKAGES += \
dhcpcd.conf \
hostapd.conf \
wifical.sh \
128x_TQS_D_1.7.ini \
calibrator \
crda \
regulatory.bin \
wlconf
$(call inherit-product, hardware/ti/wlan/mac80211/wl128x-wlan-products.mk)
$(call inherit-product, vendor/htc/endeavoru/endeavoru-vendor.mk)
# common tegra3-HOX+ configs
$(call inherit-product, device/htc/tegra3-common/tegra3.mk)