Initial push
This commit is contained in:
parent
1effac6bf8
commit
a01d3e7cc2
1993 changed files with 106354 additions and 0 deletions
132
A-Team.mk
Normal file
132
A-Team.mk
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
#
|
||||
# Copyright 2019-Present A-Team Digital Solutions
|
||||
#
|
||||
|
||||
############
|
||||
## A-Team ##
|
||||
##################################################################
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
A_TEAM_PATH := vendor/A-Team
|
||||
|
||||
# BootAnimation Resolution
|
||||
TARGET_BOOT_ANIMATION_RES := 1080
|
||||
|
||||
# Device Maintainer
|
||||
DEVICE_MAINTAINER := PizzaG
|
||||
|
||||
# A-Team KSU & Mods
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
[A-Team_Mods] \
|
||||
[A-Team_KSU]
|
||||
|
||||
# A-Team Custom APN
|
||||
ifeq ($(CUSTOM_APN), Custom)
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
[A-Team_APN]
|
||||
endif
|
||||
|
||||
# A-Team Rom Apps
|
||||
ifneq ($(GSI), true)
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
[A-Team_Apps]
|
||||
endif
|
||||
|
||||
# A-Team Magisk Patching
|
||||
ifeq ($(MAGISK), true)
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
[A-Team_Magisk]
|
||||
endif
|
||||
|
||||
TARGET_KERNEL_SOURCE := kernel/motorola/$(DEVICE_KERNEL)
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
[$(DEVICE_NAME)_$(TARGET_KERNEL)_Kernel]
|
||||
##################################################################
|
||||
|
||||
|
||||
###########################
|
||||
## A-Team Gapps Variants ##
|
||||
##################################################################
|
||||
|
||||
# A-Team Gapps
|
||||
ifeq ($(GAPPS_VARIANT), Gapps)
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
[A-Team_GAPPS]
|
||||
#$(call inherit-product, vendor/gapps/products/gms.mk)
|
||||
#$(call inherit-product, vendor/gms/products/gms.mk)
|
||||
endif
|
||||
|
||||
# A-Team Micro-G
|
||||
ifeq ($(GAPPS_VARIANT), Micro-G)
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
[A-Team_Micro-G]
|
||||
#$(call inherit-product, vendor/microg/products/gms.mk)
|
||||
endif
|
||||
##################################################################
|
||||
|
||||
|
||||
####################
|
||||
## A-Team Moto Product Add-Ons ##
|
||||
##################################################################
|
||||
|
||||
# Prebuilt App Build Fix
|
||||
PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true
|
||||
|
||||
# Moto TimeWeather
|
||||
PRODUCT_PACKAGES += \
|
||||
TimeWeather
|
||||
|
||||
# Custom Wallpaper
|
||||
PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,$(A_TEAM_PATH)/wallpapers,product/media/wallpapers)
|
||||
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.config.wallpaper=product/media/wallpapers/default_moto_wallpaper.jpg
|
||||
|
||||
# Copy A-Team Custom Script Files - /product/bin
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(A_TEAM_PATH)/scripts/A-Team-PostBoot.sh:$(TARGET_COPY_OUT_PRODUCT)/bin/A-Team-PostBoot.sh \
|
||||
$(A_TEAM_PATH)/scripts/A-Team-Setup.sh:$(TARGET_COPY_OUT_PRODUCT)/bin/A-Team-Setup.sh \
|
||||
$(A_TEAM_PATH)/scripts/A-Team-Magisk.sh:$(TARGET_COPY_OUT_PRODUCT)/bin/A-Team-Magisk.sh
|
||||
##################################################################
|
||||
|
||||
|
||||
####################
|
||||
## A-Team Moto System Add-Ons ##
|
||||
##################################################################
|
||||
|
||||
# Copy A-Team Custom rc Files - /system/etc/init
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(A_TEAM_PATH)/init/a-team.boot.rc:$(TARGET_COPY_OUT_SYSTEM)/etc/init/a-team.boot.rc
|
||||
|
||||
# Copy Busybox - /system/bin
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(A_TEAM_PATH)/Busybox/arm64/busybox:$(TARGET_COPY_OUT_SYSTEM)/bin/busybox \
|
||||
$(A_TEAM_PATH)/Busybox/arm64/ssl_helper:$(TARGET_COPY_OUT_SYSTEM)/bin/ssl_helper
|
||||
|
||||
# Clock
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(A_TEAM_PATH)/Prerequisites/Clock.prop:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/Clock.prop
|
||||
|
||||
# Messages
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(A_TEAM_PATH)/Prerequisites/com.google.android.apps.messaging.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/com.google.android.apps.messaging.xml
|
||||
|
||||
# System Prop Additions
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
persist.adb.notify=0 \
|
||||
persist.sys.disable_rescue=true \
|
||||
ro.a-team.rom_version=$(A_TEAM_ROM_VERSION)
|
||||
##################################################################
|
||||
|
||||
|
||||
#############################
|
||||
## Disabled / Old / Unused ##
|
||||
##################################################################
|
||||
|
||||
# A-Team Custom APN
|
||||
#ifeq ($(CUSTOM_APN), true)
|
||||
#PRODUCT_COPY_FILES += \
|
||||
# $(A_TEAM_PATH)/Custom_APN/apns-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml
|
||||
#endif
|
||||
##################################################################
|
||||
Loading…
Reference in a new issue