forked from razrqcom-dev-team/android_device_motorola_xt897
-
Notifications
You must be signed in to change notification settings - Fork 1
/
device_xt897.mk
59 lines (42 loc) · 1.52 KB
/
device_xt897.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
$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
$(call inherit-product, device/motorola/msm8960-common/msm8960.mk)
LOCAL_PATH := device/motorola/xt897
# xt897 specific overlay
PRODUCT_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
#sqlite3
PRODUCT_PACKAGES += \
sqlite3
#custom settings
PRODUCT_PACKAGES += \
PhotonQParts
PRODUCT_LOCALES := en_US
PRODUCT_LOCALES += hdpi
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
#misc
PRODUCT_PROPERTY_OVERRIDES += \
persist.log.aplogd.enable=1
# QCOM Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=240 \
#telephony
PRODUCT_PROPERTY_OVERRIDES += \
telephony.lteOnGsmDevice=1 \
ro.telephony.ril.v3=signalstrength \
ro.telephony.default_network=3
# IDC
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/idc/atmxt-i2c.idc:system/usr/idc/atmxt-i2c.idc \
$(LOCAL_PATH)/idc/keypad_8960.idc:system/usr/idc/keypad_8960.idc \
$(LOCAL_PATH)/idc/gpio-keys.idc:system/usr/idc/gpio-keys.idc
# keylayouts
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/keypad_8960.kl:system/usr/keylayout/keypad_8960.kl
# Keychars
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keychars/keypad_8960.kcm:system/usr/keychars/keypad_8960.kcm
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/config/gps.conf:system/etc/gps.conf
$(call inherit-product, device/motorola/msm8960-common/modules/nfc/nfc.mk)
$(call inherit-product-if-exists, vendor/motorola/xt897/xt897-vendor.mk)