forked from CyanogenMod/android_device_semc_haida
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device_haida.mk
58 lines (46 loc) · 2.62 KB
/
device_haida.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, $(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/haida/haida-vendor.mk)
# Discard inherited values and use our own instead.
PRODUCT_NAME := haida
PRODUCT_DEVICE := haida
PRODUCT_MODEL := haida
TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel
PRODUCT_COPY_FILES += \
$(TARGET_PREBUILT_KERNEL):kernel
-include device/semc/mogami-common/mogami.mk
# 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/haida/overlay
# These are the hardware-specific configuration files
PRODUCT_COPY_FILES += \
device/semc/haida/prebuilt/media_profiles.xml:system/etc/media_profiles.xml
# Init files
PRODUCT_COPY_FILES += \
device/semc/haida/prebuilt/init.semc.usb.rc:root/init.semc.usb.rc \
device/semc/haida/prebuilt/bootrec:root/sbin/bootrec \
device/semc/haida/prebuilt/hw_config.sh:system/etc/hw_config.sh \
device/semc/haida/prebuilt/pre_hw_config.sh:root/pre_hw_config.sh \
device/semc/msm7x30-common/prebuilt/logo_H.rle:root/logo.rle \
device/semc/haida/recovery.fstab:root/recovery.fstab
# semc msm7x30 uses high-density artwork where available
PRODUCT_LOCALES += hdpi
#Offline charging animation
PRODUCT_COPY_FILES += \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_01_H.png:system/semc/chargemon/data/charging_animation_01.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_02_H.png:system/semc/chargemon/data/charging_animation_02.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_03_H.png:system/semc/chargemon/data/charging_animation_03.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_04_H.png:system/semc/chargemon/data/charging_animation_04.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_05_H.png:system/semc/chargemon/data/charging_animation_05.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_06_H.png:system/semc/chargemon/data/charging_animation_06.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_07_H.png:system/semc/chargemon/data/charging_animation_07.png
#LCD DENSITY
PRODUCT_PROPERTY_OVERRIDES += \
ro.telephony.default_network=0 \
ro.telephony.ril_class=semc \
wifi.interface=tiwlan0 \
ro.sf.lcd_density=240 \
wifi.hotspot.ti=1