diff --git a/BoardConfigEvolution.mk b/BoardConfigEvolution.mk new file mode 100644 index 0000000..a833c7e --- /dev/null +++ b/BoardConfigEvolution.mk @@ -0,0 +1,4 @@ +# +# SPDX-FileCopyrightText: 2024 The Evolution X Project +# SPDX-License-Identifier: Apache-2.0 +# diff --git a/device-evolution.mk b/device-evolution.mk new file mode 100644 index 0000000..68a8f63 --- /dev/null +++ b/device-evolution.mk @@ -0,0 +1,6 @@ +# +# SPDX-FileCopyrightText: 2025 The Evolution X Project +# SPDX-License-Identifier: Apache-2.0 +# + +DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-evolution diff --git a/device-tegu.mk b/device-tegu.mk index d2043b8..8e50549 100644 --- a/device-tegu.mk +++ b/device-tegu.mk @@ -33,14 +33,8 @@ RELEASE_GOOGLE_BOOTLOADER_TEGU_DIR ?= 25D4# Keep this for pdk TODO: b/327119000 RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_TEGU_DIR) $(call soong_config_set,tegu_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_TEGU_DIR)) - -ifdef RELEASE_KERNEL_TEGU_DIR -TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_TEGU_DIR) -TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_TEGU_DIR)/kernel-headers -else -TARGET_KERNEL_DIR ?= device/google/tegu-kernels/6.1/25D4 -TARGET_BOARD_KERNEL_HEADERS ?= device/google/tegu-kernels/6.1/25D4/kernel-headers -endif +TARGET_KERNEL_DIR := device/google/tegu-kernels/evolution +TARGET_BOARD_KERNEL_HEADERS := $(TARGET_KERNEL_DIR)/kernel-headers ifneq ($(TARGET_BOOTS_16K),true) PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_TEGU_16K_DEVELOPER_OPTION) diff --git a/evolution.dependencies b/evolution.dependencies new file mode 100644 index 0000000..26e038c --- /dev/null +++ b/evolution.dependencies @@ -0,0 +1,14 @@ +[ + { + "repository": "device_google_zumapro", + "target_path": "device/google/zumapro" + }, + { + "repository": "device_google_tegu-kernels_evolution", + "target_path": "device/google/tegu-kernels/evolution" + }, + { + "repository": "vendor_google_tegu", + "target_path": "vendor/google/tegu" + } +] diff --git a/lineage.dependencies b/lineage.dependencies deleted file mode 100644 index 0fab9c3..0000000 --- a/lineage.dependencies +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - "repository": "android_device_google_zumapro", - "target_path": "device/google/zumapro" - }, - { - "repository": "device/google/tegu-kernels/6.1", - "target_path": "device/google/tegu-kernels/6.1", - "remote": "aosp-tegu" - } -] diff --git a/lineage_tegu.mk b/lineage_tegu.mk index 7afde96..3bbe800 100644 --- a/lineage_tegu.mk +++ b/lineage_tegu.mk @@ -4,7 +4,7 @@ # SPDX-License-Identifier: Apache-2.0 # -# Inherit some common stuff +# Inherit some common Evolution X stuff TARGET_DISABLE_EPPE := true $(call inherit-product, vendor/lineage/config/common_full_phone.mk) @@ -14,7 +14,9 @@ DEVICE_PATH := device/google/tegu VENDOR_PATH := vendor/google/tegu $(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk) $(call inherit-product, device/google/zumapro/lineage_common.mk) +$(call inherit-product, device/google/zumapro/evolution_common.mk) $(call inherit-product, $(DEVICE_PATH)/$(DEVICE_CODENAME)/device-lineage.mk) +$(call inherit-product, $(DEVICE_PATH)/$(DEVICE_CODENAME)/device-evolution.mk) # Device identifier. This must come after all inclusions PRODUCT_BRAND := google diff --git a/tegu/BoardConfig.mk b/tegu/BoardConfig.mk index 2b28bbb..1506ff1 100644 --- a/tegu/BoardConfig.mk +++ b/tegu/BoardConfig.mk @@ -30,3 +30,4 @@ include device/google/tegu/wifi/BoardConfig-wifi.mk DEVICE_PATH := device/google/tegu VENDOR_PATH := vendor/google/tegu include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk +include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigEvolution.mk diff --git a/tegu/BoardConfigEvolution.mk b/tegu/BoardConfigEvolution.mk new file mode 100644 index 0000000..c42c557 --- /dev/null +++ b/tegu/BoardConfigEvolution.mk @@ -0,0 +1,6 @@ +# +# SPDX-FileCopyrightText: 2025 The Evolution X Project +# SPDX-License-Identifier: Apache-2.0 +# + +include $(DEVICE_PATH)/BoardConfigEvolution.mk diff --git a/tegu/device-evolution.mk b/tegu/device-evolution.mk new file mode 100644 index 0000000..9637ab5 --- /dev/null +++ b/tegu/device-evolution.mk @@ -0,0 +1,8 @@ +# +# SPDX-FileCopyrightText: 2025 The Evolution X Project +# SPDX-License-Identifier: Apache-2.0 +# + +$(call inherit-product, $(DEVICE_PATH)/device-evolution.mk) + +DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-evolution diff --git a/tegu/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml b/tegu/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml new file mode 100644 index 0000000..b259d5b --- /dev/null +++ b/tegu/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml @@ -0,0 +1,12 @@ + + + + + + + Anierin Bliss + https://PayPal.me/AnierinB + diff --git a/tegu/proprietary-files.txt b/tegu/proprietary-files.txt index 0bfcf20..583b783 100644 --- a/tegu/proprietary-files.txt +++ b/tegu/proprietary-files.txt @@ -14,6 +14,9 @@ product/etc/firmware/music_detector.sound_model product/etc/firmware/music_detector.sound_model_2 product/etc/firmware/music_detector.sound_model_tflite +# Camera +product/priv-app/GoogleCamera/GoogleCamera.apk;OVERRIDES=Aperture,Camera2;PRESIGNED + # Camera extensions product/etc/permissions/androidx.camera.extensions.impl.xml #product/priv-app/PixelCameraServices/PixelCameraServices.apk;PRESIGNED @@ -41,7 +44,7 @@ product/priv-app/HotwordEnrollmentXGoogleFUSIONPro/HotwordEnrollmentXGoogleFUSIO product/etc/sysconfig/allowlist_com.shannon.imsservice.xml # Permissions -product/etc/permissions/privapp-permissions-google-p.xml:product/etc/permissions/privapp-permissions-google-p-lineage.xml +product/etc/permissions/privapp-permissions-google-p.xml:product/etc/permissions/privapp-permissions-google-p-evolution.xml product/etc/sysconfig/GoogleCamera_6gb_or_more_ram.xml product/etc/sysconfig/google-hiddenapi-package-whitelist.xml product/etc/sysconfig/nexus.xml @@ -146,7 +149,7 @@ system_ext/etc/sysconfig/sysconfig_com.google.pixel.iwlan.xml system_ext/priv-app/PixelIwlan/PixelIwlan.apk # Permissions -system_ext/etc/permissions/privapp-permissions-google-se.xml:system_ext/etc/permissions/privapp-permissions-google-se-lineage.xml +system_ext/etc/permissions/privapp-permissions-google-se.xml:system_ext/etc/permissions/privapp-permissions-google-se-evolution.xml # Radio system_ext/etc/default-permissions/default-permissions-euiccpixel.xml