mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-27 08:29:31 -05:00
06254708be
- Enable APEX for Pixel 6/7, necessary for camera and pKVM - Also drop hack removing pKVM for Pixel 6/7 - patch from GrapheneOS - Extend hmalloc workaround to /apex - Deblobber: - actually handle wildcard f/w/b overlays - move some stuff around - remove some more Pixel blobs - flag and disable removal of camera extensions, being able to use the second camera is nice - Adjust what hardenDefconfig disables, caused boot issues minimal impact as most of these are already default-disabled can be narrowed down in future - Disable some of the bionic hardening patches, causing more boot issues annoying to lose, but having a phone that boots is more important - Add LTE only mode to 17.1, 18.1, 19.1, and 20.0, credit GrapheneOS - Remove Pixel 2 ramdisk compression reverts, fixed upstream And yes, I know I should've split up this commit... Signed-off-by: Tad <tad@spotco.us>
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: flawedworld <flawedworld@flawed.world>
|
|
Date: Mon, 7 Mar 2022 01:38:23 +0000
|
|
Subject: [PATCH] only enable APEX on 6th/7th gen Pixel devices
|
|
|
|
Change-Id: Icffb72d8c3ed0e33e76538bb3427377c33c55ff9
|
|
[tad@spotco.us]: adjusted for Lineage
|
|
---
|
|
target/product/generic_system.mk | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/target/product/generic_system.mk b/target/product/generic_system.mk
|
|
index 7f5f74f4b..93e689444 100644
|
|
--- a/target/product/generic_system.mk
|
|
+++ b/target/product/generic_system.mk
|
|
@@ -21,8 +21,10 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk)
|
|
# Add adb keys to debuggable AOSP builds (if they exist)
|
|
$(call inherit-product-if-exists, vendor/google/security/adb/vendor_key.mk)
|
|
|
|
-# Enable updating of APEXes
|
|
-$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
+# Enable updating of APEXes on 6th and 7th generation Pixel devices only
|
|
+ifneq (,$(filter lineage_cheetah lineage_panther lineage_oriole lineage_raven lineage_bluejay, $(TARGET_PRODUCT)))
|
|
+ $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
+endif
|
|
|
|
# Shared java libs
|
|
PRODUCT_PACKAGES += \
|