-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdevice_vanquish.mk
61 lines (46 loc) · 1.84 KB
/
device_vanquish.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
$(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/vanquish
# vanquish specific overlay
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
PRODUCT_LOCALES := en_US
PRODUCT_LOCALES += hdpi xhdpi
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
# Use common media profile
TARGET_USES_MOTOROLA_MSM8960_COMMON_MEDIA_PROFILES := true
# Nfc
PRODUCT_PACKAGES += \
nfc.msm8960
#sqlite3
PRODUCT_PACKAGES += \
sqlite3
# Stk
PRODUCT_PACKAGES += \
Stk
# Copy over the media_profiles for xt90x
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media_profiles_xt90x.xml:system/etc/media_profiles_xt90x.xml
# XT90x recovery
PRODUCT_COPY_FILES += \
device/motorola/qcom-common/idc/atmxt-i2c.idc:recovery/root/vendor/firmware/atmxt-i2c.idc \
vendor/motorola/vanquish/proprietary/etc/firmware/atmxt-r2.tdat:recovery/root/vendor/firmware/atmxt-r2.tdat
# Include 960x540 boot animation in the zip
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/bootanimation/540.zip:system/media/540.zip
# LTE, CDMA, GSM/WCDMA
PRODUCT_PROPERTY_OVERRIDES += \
telephony.lteOnCdmaDevice=1 \
persist.radio.dfr_mode_set=1 \
persist.radio.eons.enabled= true \
ro.telephony.default_network=10 \
persist.radio.mode_pref_nv10=1 \
persist.radio.no_wait_for_card=1 \
persist.radio.call_type=1 \
persist.radio.apm_sim_not_pwdn=1 \
persist.timed.enable=true
$(call inherit-product, device/motorola/qcom-common/idc/idc.mk)
$(call inherit-product, device/motorola/qcom-common/keychars/keychars.mk)
$(call inherit-product, device/motorola/qcom-common/keylayout/keylayout.mk)
$(call inherit-product, device/motorola/qcom-common/modules/nfc/nfc.mk)
$(call inherit-product, vendor/motorola/vanquish/vanquish-vendor.mk)