forked from TeamWin/android_device_lge_bullhead
-
Notifications
You must be signed in to change notification settings - Fork 0
/
omni_bullhead.mk
48 lines (36 loc) · 1.27 KB
/
omni_bullhead.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
# Inherit omni-specific board config
include device/lge/bullhead/BoardConfigOmni.mk
# Exclude Live Wallpapers
TARGET_EXCLUDE_LIVEWALLPAPERS := true
# Inherit base AOSP device configuration
$(call inherit-product, device/lge/bullhead/aosp_bullhead.mk)
# Inherit APNs list
$(call inherit-product, vendor/omni/config/gsm.mk)
# Inherit from our custom product configuration
$(call inherit-product, vendor/omni/config/common.mk)
# Bootanimation
TARGET_BOOTANIMATION_SIZE := 1080x608
# Allow tethering without provisioning app
PRODUCT_PROPERTY_OVERRIDES += \
net.tethering.noprovisioning=true
# dex2oat
PRODUCT_PROPERTY_SET += \
dalvik.vm.dex2oat-Xmx=1024m
# Electronic Image Stabilization
PRODUCT_PROPERTY_OVERRIDES += \
persist.camera.eis.enable=1
# SELinux
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.selinux=1
# TWRP
PRODUCT_COPY_FILES += \
device/lge/bullhead/twrp.fstab:recovery/root/etc/twrp.fstab
# Override product naming for Omni
PRODUCT_NAME := omni_bullhead
PRODUCT_BRAND := google
PRODUCT_MODEL := Nexus 5X
PRODUCT_RESTRICT_VENDOR_FILES := false
PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_FINGERPRINT="google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys" \
PRIVATE_BUILD_DESC="bullhead-user 6.0.1 MMB29Q 2480792 release-keys" \
BUILD_ID=MMB29Q