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/cheetah/BoardConfig.mk b/cheetah/BoardConfig.mk
index 0bcf056..ac79b06 100644
--- a/cheetah/BoardConfig.mk
+++ b/cheetah/BoardConfig.mk
@@ -36,3 +36,4 @@ include device/google/pantah/wifi/BoardConfig-wifi.mk
DEVICE_PATH := device/google/pantah
VENDOR_PATH := vendor/google/cheetah
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
+include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigEvolution.mk
diff --git a/cheetah/BoardConfigEvolution.mk b/cheetah/BoardConfigEvolution.mk
new file mode 100644
index 0000000..87b71af
--- /dev/null
+++ b/cheetah/BoardConfigEvolution.mk
@@ -0,0 +1,6 @@
+#
+# SPDX-FileCopyrightText: 2024 The Evolution X Project
+# SPDX-License-Identifier: Apache-2.0
+#
+
+include $(DEVICE_PATH)/BoardConfigEvolution.mk
diff --git a/cheetah/device-evolution.mk b/cheetah/device-evolution.mk
new file mode 100644
index 0000000..259ee17
--- /dev/null
+++ b/cheetah/device-evolution.mk
@@ -0,0 +1,8 @@
+#
+# SPDX-FileCopyrightText: 2021-2024 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/cheetah/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml b/cheetah/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml
new file mode 100644
index 0000000..8d8d1db
--- /dev/null
+++ b/cheetah/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ Anierin Bliss
+ https://PayPal.me/AnierinB
+
diff --git a/cheetah/proprietary-files.txt b/cheetah/proprietary-files.txt
index 11497f4..310961e 100644
--- a/cheetah/proprietary-files.txt
+++ b/cheetah/proprietary-files.txt
@@ -13,6 +13,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
@@ -40,7 +43,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
@@ -131,7 +134,7 @@ system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED
system_ext/priv-app/ShannonRcs/ShannonRcs.apk;PRESIGNED
# 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
diff --git a/device-cheetah.mk b/device-cheetah.mk
index ebdcdd8..d656fd7 100644
--- a/device-cheetah.mk
+++ b/device-cheetah.mk
@@ -28,9 +28,8 @@ endif
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_CHEETAH_VERSION)
-# Keeps flexibility for kasan and ufs builds
-TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_CHEETAH_DIR)
-TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_CHEETAH_DIR)/kernel-headers
+TARGET_KERNEL_DIR := device/google/pantah-kernels/evolution
+TARGET_BOARD_KERNEL_HEADERS := $(TARGET_KERNEL_DIR)/kernel-headers
$(call inherit-product, device/google/pantah/uwb/uwb_calibration_country.mk)
@@ -60,14 +59,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/pantah/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.cheetah.rc
-# insmod files. Kernel 5.10 prebuilts don't provide these yet, so provide our
-# own copy if they're not in the prebuilts.
-# TODO(b/369686096): drop this when 5.10 is gone.
-ifeq ($(wildcard $(TARGET_KERNEL_DIR)/init.insmod.*.cfg),)
-PRODUCT_COPY_FILES += \
- device/google/pantah/init.insmod.cheetah.cfg:$(TARGET_COPY_OUT_VENDOR_DLKM)/etc/init.insmod.cheetah.cfg
-endif
-
# MIPI Coex Configs
PRODUCT_COPY_FILES += \
device/google/pantah/cheetah/radio/cheetah_display_primary_osc_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_osc_coex_table.csv \
diff --git a/device-evolution.mk b/device-evolution.mk
new file mode 100644
index 0000000..f22b729
--- /dev/null
+++ b/device-evolution.mk
@@ -0,0 +1,8 @@
+#
+# SPDX-FileCopyrightText: 2024 The Evolution X Project
+# SPDX-License-Identifier: Apache-2.0
+#
+
+DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-evolution
+
+TARGET_HAS_UDFPS += true
diff --git a/device-panther.mk b/device-panther.mk
index 95c352e..38c51e3 100644
--- a/device-panther.mk
+++ b/device-panther.mk
@@ -28,9 +28,8 @@ endif
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_PANTHER_VERSION)
-# Keeps flexibility for kasan and ufs builds
-TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_PANTHER_DIR)
-TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_PANTHER_DIR)/kernel-headers
+TARGET_KERNEL_DIR := device/google/pantah-kernels/evolution
+TARGET_BOARD_KERNEL_HEADERS := $(TARGET_KERNEL_DIR)/kernel-headers
DEVICE_PACKAGE_OVERLAYS += device/google/pantah/panther/overlay
@@ -53,14 +52,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/pantah/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.panther.rc
-# insmod files. Kernel 5.10 prebuilts don't provide these yet, so provide our
-# own copy if they're not in the prebuilts.
-# TODO(b/369686096): drop this when 5.10 is gone.
-ifeq ($(wildcard $(TARGET_KERNEL_DIR)/init.insmod.*.cfg),)
-PRODUCT_COPY_FILES += \
- device/google/pantah/init.insmod.panther.cfg:$(TARGET_COPY_OUT_VENDOR_DLKM)/etc/init.insmod.panther.cfg
-endif
-
# MIPI Coex Configs
PRODUCT_COPY_FILES += \
device/google/pantah/panther/radio/panther_display_primary_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv \
diff --git a/evolution.dependencies b/evolution.dependencies
new file mode 100644
index 0000000..770f115
--- /dev/null
+++ b/evolution.dependencies
@@ -0,0 +1,18 @@
+[
+ {
+ "repository": "device_google_gs201",
+ "target_path": "device/google/gs201"
+ },
+ {
+ "repository": "device_google_pantah-kernels_evolution",
+ "target_path": "device/google/pantah-kernels/evolution"
+ },
+ {
+ "repository": "vendor_google_panther",
+ "target_path": "vendor/google/panther"
+ },
+ {
+ "repository": "vendor_google_cheetah",
+ "target_path": "vendor/google/cheetah"
+ }
+]
diff --git a/init.insmod.cheetah.cfg b/init.insmod.cheetah.cfg
deleted file mode 100644
index 5a38650..0000000
--- a/init.insmod.cheetah.cfg
+++ /dev/null
@@ -1,18 +0,0 @@
-##########################################################
-# init.insmod.cheetah.cfg #
-# This file contains cheetah specific kernel modules #
-# to load at init time by init.insmod.sh script #
-##########################################################
-
-# Load device specific kernel modules
-# Modules here will be loaded *after* all common modules
-modprobe|bcmdhd4389.ko
-modprobe|snd-soc-cs35l41-spi.ko
-modprobe|syna_touch.ko
-modprobe|cs40l26-i2c.ko
-modprobe|snd-soc-cs40l26.ko
-
-# All device specific modules loaded
-setprop|vendor.device.modules.ready
-setprop|vendor.all.modules.ready
-setprop|vendor.all.devices.ready
diff --git a/init.insmod.panther.cfg b/init.insmod.panther.cfg
deleted file mode 100644
index 1a07eff..0000000
--- a/init.insmod.panther.cfg
+++ /dev/null
@@ -1,18 +0,0 @@
-##########################################################
-# init.insmod.panther.cfg #
-# This file contains panther specific kernel modules #
-# to load at init time by init.insmod.sh script #
-##########################################################
-
-# Load device specific kernel modules
-# Modules here will be loaded *after* all common modules
-modprobe|bcmdhd4389.ko
-modprobe|snd-soc-cs35l41-spi.ko
-modprobe|focal_touch.ko
-modprobe|cs40l26-i2c.ko
-modprobe|snd-soc-cs40l26.ko
-
-# All device specific modules loaded
-setprop|vendor.device.modules.ready
-setprop|vendor.all.modules.ready
-setprop|vendor.all.devices.ready
diff --git a/lineage.dependencies b/lineage.dependencies
deleted file mode 100644
index b2a5b39..0000000
--- a/lineage.dependencies
+++ /dev/null
@@ -1,11 +0,0 @@
-[
- {
- "repository": "android_device_google_gs201",
- "target_path": "device/google/gs201"
- },
- {
- "repository": "device/google/pantah-kernels/6.1",
- "target_path": "device/google/pantah-kernels/6.1",
- "remote": "aosp-pantah"
- }
-]
diff --git a/lineage_cheetah.mk b/lineage_cheetah.mk
index 3940948..8aa159c 100644
--- a/lineage_cheetah.mk
+++ b/lineage_cheetah.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/pantah
VENDOR_PATH := vendor/google/cheetah
$(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk)
$(call inherit-product, device/google/gs201/lineage_common.mk)
+$(call inherit-product, device/google/gs201/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/lineage_panther.mk b/lineage_panther.mk
index dfbbf06..da75d91 100644
--- a/lineage_panther.mk
+++ b/lineage_panther.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/pantah
VENDOR_PATH := vendor/google/panther
$(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk)
$(call inherit-product, device/google/gs201/lineage_common.mk)
+$(call inherit-product, device/google/gs201/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/panther/BoardConfig.mk b/panther/BoardConfig.mk
index 344f786..e55b93f 100644
--- a/panther/BoardConfig.mk
+++ b/panther/BoardConfig.mk
@@ -41,3 +41,4 @@ include device/google/pantah/wifi/BoardConfig-wifi.mk
DEVICE_PATH := device/google/pantah
VENDOR_PATH := vendor/google/panther
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
+include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigEvolution.mk
diff --git a/panther/BoardConfigEvolution.mk b/panther/BoardConfigEvolution.mk
new file mode 100644
index 0000000..87b71af
--- /dev/null
+++ b/panther/BoardConfigEvolution.mk
@@ -0,0 +1,6 @@
+#
+# SPDX-FileCopyrightText: 2024 The Evolution X Project
+# SPDX-License-Identifier: Apache-2.0
+#
+
+include $(DEVICE_PATH)/BoardConfigEvolution.mk
diff --git a/panther/device-evolution.mk b/panther/device-evolution.mk
new file mode 100644
index 0000000..259ee17
--- /dev/null
+++ b/panther/device-evolution.mk
@@ -0,0 +1,8 @@
+#
+# SPDX-FileCopyrightText: 2021-2024 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/panther/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml b/panther/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml
new file mode 100644
index 0000000..8d8d1db
--- /dev/null
+++ b/panther/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ Anierin Bliss
+ https://PayPal.me/AnierinB
+
diff --git a/panther/proprietary-files.txt b/panther/proprietary-files.txt
index d83427a..8507e2d 100644
--- a/panther/proprietary-files.txt
+++ b/panther/proprietary-files.txt
@@ -13,6 +13,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
@@ -40,7 +43,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
@@ -131,7 +134,7 @@ system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED
system_ext/priv-app/ShannonRcs/ShannonRcs.apk;PRESIGNED
# 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