-
Notifications
You must be signed in to change notification settings - Fork 10
/
omni_angler.mk
65 lines (50 loc) · 1.67 KB
/
omni_angler.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
# Inherit omni-specific board config
include device/huawei/angler/BoardConfigOmni.mk
# Inherit base AOSP device configuration
$(call inherit-product, device/huawei/angler/aosp_angler.mk)
# include vendor blobs
$(call inherit-product-if-exists, vendor/huawei/angler/device-vendor.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 := 1080x720
# TWRP
PRODUCT_COPY_FILES += \
device/huawei/angler/twrp.fstab:recovery/root/etc/twrp.fstab
# Allow tethering without provisioning app
PRODUCT_PROPERTY_OVERRIDES += \
net.tethering.noprovisioning=true
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.camera.HAL3.enabled=1 \
persist.camera.cpp.duplication=false
# SELinux
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.selinux=1
# drmservice prop
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# Omni Stuff
PRODUCT_PACKAGES += \
NexusParts
# IO Scheduler
PRODUCT_PROPERTY_OVERRIDES += \
sys.io.scheduler=noop
# Facelock properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.facelock.black_timeout=700 \
ro.facelock.det_timeout=2500 \
ro.facelock.rec_timeout=3500 \
ro.facelock.est_max_time=600
# Override product naming for Omni
PRODUCT_NAME := omni_angler
PRODUCT_BRAND := google
PRODUCT_MODEL := Nexus 6P
PRODUCT_MANUFACTURER := Huawei
PRODUCT_RESTRICT_VENDOR_FILES := false
PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_FINGERPRINT="google/angler/angler:7.1.2/N2G48C/4104010:user/release-keys" \
PRIVATE_BUILD_DESC="angler-user 7.1.2 N2G48C 4104010 release-keys" \
BUILD_ID=N2G48C