-
Notifications
You must be signed in to change notification settings - Fork 0
/
device_o7lte.mk
63 lines (52 loc) · 2.36 KB
/
device_o7lte.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
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# The gps config appropriate for this device
$(call inherit-product, device/common/gps/gps_us_supl.mk)
$(call inherit-product-if-exists, vendor/samsung/o7lte/o7lte-vendor.mk)
# Dalvik VM specific for devices with 2048 MB of RAM
$(call inherit-product-if-exists, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
#DEVICE_PACKAGE_OVERLAYS += device/samsung/o7lte/overlay
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi
# Local Path
LOCAL_PATH := device/samsung/o7lte
# Ramdisk
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/fstab.qcom:root/fstab.qcom \
$(LOCAL_PATH)/rootdir/init.carrier.rc:root/init.carrier.rc \
$(LOCAL_PATH)/rootdir/init.class_main.sh:root/init.class_main.sh \
$(LOCAL_PATH)/rootdir/init.mdm.sh:root/init.mdm.sh \
$(LOCAL_PATH)/rootdir/init.qcom.bms.sh:root/init.qcom.bms.sh \
$(LOCAL_PATH)/rootdir/init.qcom.class_core.sh:root/init.qcom.class_core.sh \
$(LOCAL_PATH)/rootdir/init.qcom.early_boot.sh:root/init.qcom.early_boot.sh \
$(LOCAL_PATH)/rootdir/init.qcom.factory.sh:root/init.qcom.factory.sh \
$(LOCAL_PATH)/rootdir/init.qcom.rc:root/init.qcom.rc \
$(LOCAL_PATH)/rootdir/init.qcom.sh:root/init.qcom.sh\
$(LOCAL_PATH)/rootdir/init.qcom.syspart_fixup.sh:root/init.qcom.syspart_fixup.sh \
$(LOCAL_PATH)/rootdir/init.qcom.usb.rcm:root/init.qcom.usb.rc \
$(LOCAL_PATH)/rootdir/init.qcom.usb.sh:root/init.qcom.usb.sh \
$(LOCAL_PATH)/rootdir/init.rilchip.rc:root/init.rilchip.rc \
$(LOCAL_PATH)/rootdir/init.rilcommon.rc:root/init.rilcommon.rc \
$(LOCAL_PATH)/rootdir/ueventd.qcom.rc:root/ueventd.qcom.rc \
$(LOCAL_PATH)/rootdir/init.target.rc:root/init.target.rc \
# Set default USB interface
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp
# USB Accesory
PRODUCT_PACKAGES += \
com.android.future.usb.accessory
# ADB
ADDITIONAL_DEFAULT_PROPERTIES += \
ro.adb.secure=0 \
ro.secure=0 \
ro.debuggable=1
# System properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.kernel.android.checkjni=0 \
ro.opengles.version=196608 \
ro.zygote.disable_gl_preload=true
ro.kernel.android.checkjni=0 \
dalvik.vm.checkjni=false \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapgrowthlimit=128m \
dalvik.vm.heapsize=512m