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..bb299f5
--- /dev/null
+++ b/device-evolution.mk
@@ -0,0 +1,7 @@
+#
+# Copyright (C) 2024 The Evolution X Project
+# SPDX-License-Identifier: Apache-2.0
+#
+
+# Overlays
+DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-evolution
diff --git a/device-oriole.mk b/device-oriole.mk
index 6472763..4d80fc9 100644
--- a/device-oriole.mk
+++ b/device-oriole.mk
@@ -23,9 +23,8 @@ $(call soong_config_set,raviole_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOA
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_ORIOLE_VERSION)
-# Keeps flexibility for kasan and ufs builds
-TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_ORIOLE_DIR)
-TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_ORIOLE_DIR)/kernel-headers
+TARGET_KERNEL_DIR := device/google/raviole-kernels/evolution
+TARGET_BOARD_KERNEL_HEADERS := $(TARGET_KERNEL_DIR)/kernel-headers
DEVICE_PACKAGE_OVERLAYS += device/google/raviole/oriole/overlay
@@ -48,14 +47,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.oriole.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/raviole/init.insmod.oriole.cfg:$(TARGET_COPY_OUT_VENDOR_DLKM)/etc/init.insmod.oriole.cfg
-endif
-
# Thermal Config
PRODUCT_COPY_FILES += \
device/google/raviole/thermal_info_config_oriole.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
diff --git a/device-raven.mk b/device-raven.mk
index 8b75c0a..00345b0 100644
--- a/device-raven.mk
+++ b/device-raven.mk
@@ -23,9 +23,8 @@ $(call soong_config_set,raviole_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOA
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_RAVEN_VERSION)
-# Keeps flexibility for kasan and ufs builds
-TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_RAVEN_DIR)
-TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_RAVEN_DIR)/kernel-headers
+TARGET_KERNEL_DIR := device/google/raviole-kernels/evolution
+TARGET_BOARD_KERNEL_HEADERS := $(TARGET_KERNEL_DIR)/kernel-headers
$(call inherit-product, device/google/raviole/uwb/uwb_calibration_country.mk)
@@ -55,14 +54,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.raven.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/raviole/init.insmod.raven.cfg:$(TARGET_COPY_OUT_VENDOR_DLKM)/etc/init.insmod.raven.cfg
-endif
-
# Thermal Config
PRODUCT_COPY_FILES += \
device/google/raviole/thermal_info_config_raven.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
diff --git a/evolution.dependencies b/evolution.dependencies
new file mode 100644
index 0000000..0c942fe
--- /dev/null
+++ b/evolution.dependencies
@@ -0,0 +1,18 @@
+[
+ {
+ "repository": "device_google_gs101",
+ "target_path": "device/google/gs101"
+ },
+ {
+ "repository": "device_google_raviole-kernels_evolution",
+ "target_path": "device/google/raviole-kernels/evolution"
+ },
+ {
+ "repository": "vendor_google_oriole",
+ "target_path": "vendor/google/oriole"
+ },
+ {
+ "repository": "vendor_google_raven",
+ "target_path": "vendor/google/raven"
+ }
+]
diff --git a/init.insmod.oriole.cfg b/init.insmod.oriole.cfg
deleted file mode 100644
index 0ab8ad5..0000000
--- a/init.insmod.oriole.cfg
+++ /dev/null
@@ -1,17 +0,0 @@
-##########################################################
-# init.insmod.oriole.cfg #
-# This file contains oriole 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|ftm5.ko
-modprobe|sec_touch.ko
-modprobe|st33spi.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.raven.cfg b/init.insmod.raven.cfg
deleted file mode 100644
index 84b3239..0000000
--- a/init.insmod.raven.cfg
+++ /dev/null
@@ -1,16 +0,0 @@
-##########################################################
-# init.insmod.raven.cfg #
-# This file contains raven 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|sec_touch.ko
-modprobe|st33spi.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 173f051..0000000
--- a/lineage.dependencies
+++ /dev/null
@@ -1,11 +0,0 @@
-[
- {
- "repository": "android_device_google_gs101",
- "target_path": "device/google/gs101"
- },
- {
- "repository": "device/google/raviole-kernels/6.1",
- "target_path": "device/google/raviole-kernels/6.1",
- "remote": "aosp-raviole"
- }
-]
diff --git a/lineage_oriole.mk b/lineage_oriole.mk
index 4983e62..b0132d0 100644
--- a/lineage_oriole.mk
+++ b/lineage_oriole.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/raviole
VENDOR_PATH := vendor/google/oriole
$(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk)
$(call inherit-product, device/google/gs101/lineage_common.mk)
+$(call inherit-product, device/google/gs101/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_raven.mk b/lineage_raven.mk
index 541ed39..6120f8b 100644
--- a/lineage_raven.mk
+++ b/lineage_raven.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/raviole
VENDOR_PATH := vendor/google/raven
$(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk)
$(call inherit-product, device/google/gs101/lineage_common.mk)
+$(call inherit-product, device/google/gs101/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/oriole/BoardConfig.mk b/oriole/BoardConfig.mk
index b984e91..63daa99 100644
--- a/oriole/BoardConfig.mk
+++ b/oriole/BoardConfig.mk
@@ -46,3 +46,4 @@ include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
DEVICE_PATH := device/google/raviole
VENDOR_PATH := vendor/google/oriole
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
+include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigEvolution.mk
diff --git a/oriole/BoardConfigEvolution.mk b/oriole/BoardConfigEvolution.mk
new file mode 100644
index 0000000..87b71af
--- /dev/null
+++ b/oriole/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/oriole/device-evolution.mk b/oriole/device-evolution.mk
new file mode 100644
index 0000000..6065670
--- /dev/null
+++ b/oriole/device-evolution.mk
@@ -0,0 +1,8 @@
+#
+# SPDX-FileCopyrightText: 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/oriole/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml b/oriole/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml
new file mode 100644
index 0000000..8d8d1db
--- /dev/null
+++ b/oriole/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ Anierin Bliss
+ https://PayPal.me/AnierinB
+
diff --git a/oriole/proprietary-files.txt b/oriole/proprietary-files.txt
index d0f06e3..fb1329e 100644
--- a/oriole/proprietary-files.txt
+++ b/oriole/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
@@ -129,7 +132,7 @@ system_ext/priv-app/ShannonQualifiedNetworksService/ShannonQualifiedNetworksServ
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/raven/BoardConfig.mk b/raven/BoardConfig.mk
index 81ddf82..8a3aab2 100644
--- a/raven/BoardConfig.mk
+++ b/raven/BoardConfig.mk
@@ -46,3 +46,4 @@ include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
DEVICE_PATH := device/google/raviole
VENDOR_PATH := vendor/google/raven
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
+include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigEvolution.mk
diff --git a/raven/BoardConfigEvolution.mk b/raven/BoardConfigEvolution.mk
new file mode 100644
index 0000000..87b71af
--- /dev/null
+++ b/raven/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/raven/device-evolution.mk b/raven/device-evolution.mk
new file mode 100644
index 0000000..6065670
--- /dev/null
+++ b/raven/device-evolution.mk
@@ -0,0 +1,8 @@
+#
+# SPDX-FileCopyrightText: 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/raven/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml b/raven/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml
new file mode 100644
index 0000000..8d8d1db
--- /dev/null
+++ b/raven/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ Anierin Bliss
+ https://PayPal.me/AnierinB
+
diff --git a/raven/proprietary-files.txt b/raven/proprietary-files.txt
index 8fea8ef..2a17195 100644
--- a/raven/proprietary-files.txt
+++ b/raven/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
@@ -129,7 +132,7 @@ system_ext/priv-app/ShannonQualifiedNetworksService/ShannonQualifiedNetworksServ
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