diff --git a/Patches/Common/android_vendor_divested/divested.mk b/Patches/Common/android_vendor_divested/divested.mk index 16fd373b..47e039fc 100644 --- a/Patches/Common/android_vendor_divested/divested.mk +++ b/Patches/Common/android_vendor_divested/divested.mk @@ -5,25 +5,26 @@ DEVICE_PACKAGE_OVERLAYS += vendor/divested/overlay/common -PRODUCT_PACKAGES += ModuleBlocker +#Extra settings +PRODUCT_BUILD_PROP_OVERRIDES += \ + BUILD_UTC_DATE=0 PRODUCT_PROPERTY_OVERRIDES += \ - keyguard.no_require_sim=true \ - ro.config.notification_sound=Pong.ogg \ - ro.config.alarm_alert=Alarm_Buzzer.ogg \ - ro.build.selinux=1 \ - ro.storage_manager.enabled=true \ - ro.cmlegal.url=https://divestos.xyz/index.php?page=about - -PRODUCT_BUILD_PROP_OVERRIDES += \ - BUILD_UTC_DATE=0 + keyguard.no_require_sim=true \ + ro.config.notification_sound=Pong.ogg \ + ro.config.alarm_alert=Alarm_Buzzer.ogg \ + ro.build.selinux=1 \ + ro.storage_manager.enabled=true ifneq ($(TARGET_BUILD_VARIANT),eng) - ADDITIONAL_DEFAULT_PROPERTIES += \ - ro.adb.secure=1 + ADDITIONAL_DEFAULT_PROPERTIES += \ + ro.adb.secure=1 endif +#Copy extra files PRODUCT_COPY_FILES += \ - vendor/divested/extras/etc/dns66.json:system/etc/dns66/settings.json + vendor/divested/extras/etc/dns66.json:system/etc/dns66/settings.json +#Include packages +PRODUCT_PACKAGES += ModuleBlocker include vendor/divested/packages.mk diff --git a/Scripts/LineageOS-14.1/Patch.sh b/Scripts/LineageOS-14.1/Patch.sh index 8ddc020b..bb3aa437 100755 --- a/Scripts/LineageOS-14.1/Patch.sh +++ b/Scripts/LineageOS-14.1/Patch.sh @@ -165,7 +165,6 @@ if [ "$DOS_DEBLOBBER_REMOVE_AUDIOFX" = true ]; then fi; sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := dos/' config/common.mk; #Change buildtype if [ "$DOS_NON_COMMERCIAL_USE_PATCHES" = true ]; then sed -i 's/CM_BUILDTYPE := dos/CM_BUILDTYPE := dosNC/' config/common.mk; fi; -cp "$DOS_PATCHES/android_vendor_cm/config.xml" overlay/common/vendor/cmsdk/cm/res/res/values/config.xml; #Per app performance profiles echo 'include vendor/divested/divested.mk' >> config/common.mk; #Include our customizations enterAndClear "vendor/cmsdk";