-
Notifications
You must be signed in to change notification settings - Fork 3
/
device.mk
113 lines (95 loc) · 4.47 KB
/
device.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
# Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
$(call inherit-product, device/common/gps/gps_us_supl.mk)
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/root/initlogo.rle:root/initlogo.rle \
$(LOCAL_PATH)/root/init.qcom.rc:root/init.qcom.rc \
$(LOCAL_PATH)/root/init.qcom.usb.rc:root/init.qcom.usb.rc \
$(LOCAL_PATH)/root/init.qcom.sh:root/init.qcom.sh \
$(LOCAL_PATH)/root/ueventd.qcom.rc:root/ueventd.qcom.rc \
$(LOCAL_PATH)/root/default.prop:root/default.prop
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/init.qcom.post_boot.sh:system/etc/init.qcom.post_boot.sh
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/CHANGELOG-CM.txt:system/etc/CHANGELOG-CM.txt \
$(LOCAL_PATH)/configs/7k_handset.kl:system/usr/keylayout/7k_handset.kl \
$(LOCAL_PATH)/configs/adreno_config.txt:system/etc/adreno_config.txt \
$(LOCAL_PATH)/configs/AudioFilter.csv:system/etc/AudioFilter.csv \
$(LOCAL_PATH)/configs/AutoVolumeControl.txt:system/etc/AutoVolumeControl.txt \
$(LOCAL_PATH)/configs/audio_policy.conf:system/etc/audio_policy.conf \
$(LOCAL_PATH)/configs/dhcpcd.conf:system/etc/dhcpcd/dhcpcd.conf \
$(LOCAL_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml \
$(LOCAL_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml \
$(LOCAL_PATH)/configs/nvram.txt:system/etc/wl/nvram.txt \
$(LOCAL_PATH)/configs/vold.fstab:system/etc/vold.fstab \
$(LOCAL_PATH)/configs/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf
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.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml
PRODUCT_PROPERTY_OVERRIDES += \
ro.product.camera=msm7x27 \
ro.com.google.locationfeatures=1 \
ro.com.google.networklocation=1 \
ro.com.google.gmsversion=2.3_r6 \
ro.setupwizard.enable_bypass=1 \
ro.telephony.call_ring.multiple=false \
ro.vold.umsdirtyratio=20
PRODUCT_PROPERTY_OVERRIDES += \
com.qc.hdmi_out=false \
debug.sf.hw=1 \
debug.composition.type=mdp \
debug.gr.numframebuffers=2 \
persist.service.adb.enable=1
# Audio
PRODUCT_PACKAGES += \
audio_policy.msm7x27 \
audio.primary.msm7x27
# Media
PRODUCT_PACKAGES += \
libdivxdrmdecrypt
# Misc
PRODUCT_PACKAGES += \
com.android.future.usb.accessory \
gps.default \
lights.msm7x27 \
lgapversion
# Build sim toolkit
PRODUCT_PACKAGES += \
Stk
# Camera
PRODUCT_PACKAGES += \
camera.msm7x27 \
libcamera
# Filesystem management tools
PRODUCT_PACKAGES += \
make_ext4fs \
setup_fs
# BT startup
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bluetooth/init.qcom.bt.sh:system/bin/init.qcom.bt.sh
PRODUCT_PACKAGES += \
hcitool \
hciconfig \
hciattach \
brcm_patchram_plus \
hwaddrs
# Offmode charging
PRODUCT_PACKAGES += \
charger \
charger_res_images
# Inherit qcom/msm7x27
$(call inherit-product, device/qcom/msm7x27/msm7x27.mk)
PRODUCT_TAGS += dalvik.gc.type-precise
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
# lge msm7x27-common overlays
DEVICE_PACKAGE_OVERLAYS += device/lge/msm7x27-common/overlay