From 1d04b00c01ac3d7f4f7526265ef0eba86e227308 Mon Sep 17 00:00:00 2001 From: minaripenguin Date: Tue, 4 Nov 2025 20:38:45 +0000 Subject: [PATCH] Inherit Pixel additions and bootanimation Change-Id: I8142a79a039c32492eab6d76f1f21470361bb4ac --- config/common.mk | 18 +++++++++++----- config/common_mobile.mk | 14 ++++++------- config/telephony.mk | 4 ++-- .../apps/Settings/res/values/config.xml | 2 +- .../etc/lineage-component-overrides.xml | 21 +++++++++++++------ 5 files changed, 38 insertions(+), 21 deletions(-) diff --git a/config/common.mk b/config/common.mk index 11e733ec..4f6282e7 100644 --- a/config/common.mk +++ b/config/common.mk @@ -1,4 +1,5 @@ # Allow vendor/extra to override any property by setting it first +$(call inherit-product, vendor/extras/config.mk) $(call inherit-product-if-exists, vendor/extra/product.mk) PRODUCT_BRAND ?= MistOS @@ -131,13 +132,17 @@ ifneq ($(TARGET_DISABLE_EPPE),true) $(call enforce-product-packages-exist-internal,$(wildcard device/*/$(LINEAGE_BUILD)/$(TARGET_PRODUCT).mk),product_manifest.xml rild Calendar android.hidl.memory@1.0-impl.vendor vndk_apex_snapshot_package) endif -# Bootanimation -$(call inherit-product, vendor/lineage/bootanimation/Android.mk) - # Build Manifest PRODUCT_PACKAGES += \ build-manifest +# Pixel additions +WITH_GMS := true +ifeq ($(WITH_GMS),true) +$(call inherit-product, vendor/google/overlays/ThemeIcons/config.mk) +$(call inherit-product, vendor/gms/products/gms.mk) +endif + # Lineage packages ifeq ($(PRODUCT_IS_ATV),) PRODUCT_PACKAGES += \ @@ -159,7 +164,6 @@ PRODUCT_COPY_FILES += \ # Config PRODUCT_PACKAGES += \ - SimpleDeviceConfig \ SimpleSettingsConfig # Disable default frame rate limit for games @@ -209,8 +213,10 @@ PRODUCT_COPY_FILES += \ vendor/lineage/prebuilt/common/etc/init/init.openssh.rc:$(TARGET_COPY_OUT_PRODUCT)/etc/init/init.openssh.rc # Storage manager -PRODUCT_SYSTEM_PROPERTIES += \ +ifeq ($(WITH_GMS),false) +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ ro.storage_manager.enabled=true +endif # Default wifi country code PRODUCT_SYSTEM_PROPERTIES += \ @@ -254,9 +260,11 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ endif # SetupWizard +ifeq ($(WITH_GMS),false) PRODUCT_PRODUCT_PROPERTIES += \ setupwizard.theme=glif_v4 \ setupwizard.feature.day_night_mode_enabled=true +endif PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/lineage/overlay/no-rro PRODUCT_PACKAGE_OVERLAYS += \ diff --git a/config/common_mobile.mk b/config/common_mobile.mk index 62aa9e90..cdee1f21 100644 --- a/config/common_mobile.mk +++ b/config/common_mobile.mk @@ -9,9 +9,9 @@ include vendor/lineage/config/aosp_audio.mk include vendor/lineage/config/lineage_audio.mk # Default notification/alarm sounds -PRODUCT_PRODUCT_PROPERTIES += \ - ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Hassium.ogg +#PRODUCT_PRODUCT_PROPERTIES += \ +# ro.config.notification_sound=Argon.ogg \ +# ro.config.alarm_alert=Hassium.ogg # Apps PRODUCT_PACKAGES += \ @@ -21,11 +21,11 @@ PRODUCT_PACKAGES += \ LatinIME # Temp build -PRODUCT_PACKAGES += \ - Launcher3QuickStep +#PRODUCT_PACKAGES += \ +# Launcher3QuickStep -PRODUCT_DEXPREOPT_SPEED_APPS += \ - Launcher3QuickStep +#PRODUCT_DEXPREOPT_SPEED_APPS += \ +# Launcher3QuickStep # Charger PRODUCT_PACKAGES += \ diff --git a/config/telephony.mk b/config/telephony.mk index 0c6ebba8..55e54381 100644 --- a/config/telephony.mk +++ b/config/telephony.mk @@ -17,8 +17,8 @@ PRODUCT_PACKAGES += \ Stk # Default ringtone -PRODUCT_PRODUCT_PROPERTIES += \ - ro.config.ringtone=Orion.ogg +#PRODUCT_PRODUCT_PROPERTIES += \ +# ro.config.ringtone=Orion.ogg # Tethering - allow without requiring a provisioning app # (for devices that check this) diff --git a/overlay/common/packages/apps/Settings/res/values/config.xml b/overlay/common/packages/apps/Settings/res/values/config.xml index 78637129..c228dc70 100644 --- a/overlay/common/packages/apps/Settings/res/values/config.xml +++ b/overlay/common/packages/apps/Settings/res/values/config.xml @@ -31,7 +31,7 @@ false - com.android.wallpaper + com.google.android.apps.wallpaper com.android.customization.picker.CustomizationPickerActivity diff --git a/prebuilt/common/etc/lineage-component-overrides.xml b/prebuilt/common/etc/lineage-component-overrides.xml index be67c171..188da743 100644 --- a/prebuilt/common/etc/lineage-component-overrides.xml +++ b/prebuilt/common/etc/lineage-component-overrides.xml @@ -15,22 +15,31 @@ --> - - - - - - + + + + + + + + + + + + + + +