You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
android_vendor_extra/product.mk

80 lines
2.0 KiB

## ADB Keys
# Android
PRODUCT_COPY_FILES += \
vendor/extra/adb_keys:root/adb_keys
# Recovery
PRODUCT_COPY_FILES += \
vendor/extra/adb_keys:recovery/root/adb_keys
## ATV
PRODUCT_PACKAGES += \
DocumentsUI
## Bash
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.sys.adb.shell=/system/xbin/bash
ifneq ($(PRODUCT_IS_ATV),true)
## Camera
PRODUCT_PACKAGES += \
Aperture
endif
## Custom Cameras
# river
ifneq ($(filter %river,$(TARGET_PRODUCT)),)
-include vendor/extra/oem-cameras/MotCamera2-denali/MotCamera2-denali.mk
endif
## fastbootd
PRODUCT_PACKAGES += fastbootd
PRODUCT_SYSTEM_PROPERTY_OVERRIDES += ro.fastbootd.available=true
## ih8sn
PRODUCT_PACKAGES += ih8sn
ifneq ("$(wildcard vendor/extra/configs/ih8sn/ih8sn_$(subst lineage_,,$(TARGET_PRODUCT)).conf)","")
PRODUCT_COPY_FILES += \
vendor/extra/configs/ih8sn/ih8sn_$(subst lineage_,,$(TARGET_PRODUCT)).conf:/system/etc/ih8sn.conf
else
PRODUCT_COPY_FILES += \
vendor/extra/configs/ih8sn/ih8sn_generic.conf:/system/etc/ih8sn.conf
endif
## Media
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.config.vc_call_vol_steps=7 \
ro.config.media_vol_steps=25
## neofetch
PRODUCT_COPY_FILES += \
vendor/extra/tools/neofetch:$(TARGET_COPY_OUT_SYSTEM_EXT)/bin/neofetch
## Overlays
PRODUCT_PACKAGE_OVERLAYS += vendor/extra/overlay
## Recovery
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.vendor.recovery_update=true
## Remove Dialer Apps
ifneq ($(filter %shieldtablet %yellowstone,$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += remove-dialer
endif
## Remove Telephony Apps
ifneq ($(filter %flo %flox %deb %debx %nx %nx_tab %sphynx,$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += remove-telephony
endif
## Updater
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.uri="https://updater-api.oddsolutions.us/api/v1/{device}/{type}/{incr}"
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.allow_downgrading=true
## Signing
PRODUCT_DEFAULT_DEV_CERTIFICATE := vendor/certs/releasekey
ifeq ($(WITH_GMS),true)
ifneq ($(PRODUCT_IS_ATV),true)
-include vendor/google_pixel/product.mk
endif # PRODUCT_IS_ATV
endif # WITH_GMS