diff --git a/Manifests/Manifest_LAOS-15.1.xml b/Manifests/Manifest_LAOS-15.1.xml index 8f4017da..673e785e 100644 --- a/Manifests/Manifest_LAOS-15.1.xml +++ b/Manifests/Manifest_LAOS-15.1.xml @@ -74,8 +74,6 @@ - - diff --git a/Manifests/Manifest_LAOS-16.0.xml b/Manifests/Manifest_LAOS-16.0.xml index 950e97de..151d61f9 100644 --- a/Manifests/Manifest_LAOS-16.0.xml +++ b/Manifests/Manifest_LAOS-16.0.xml @@ -72,8 +72,6 @@ - - @@ -100,10 +98,6 @@ - - - - @@ -124,7 +118,6 @@ - diff --git a/Manifests/Manifest_LAOS-17.1.xml b/Manifests/Manifest_LAOS-17.1.xml index 58e8f52f..4ae6c090 100644 --- a/Manifests/Manifest_LAOS-17.1.xml +++ b/Manifests/Manifest_LAOS-17.1.xml @@ -65,10 +65,6 @@ - - - - diff --git a/Patches/LineageOS-14.1/android_external_aac/0001-makefile.patch b/Patches/LineageOS-14.1/android_external_aac/0001-makefile.patch index 5c5d2fc9..511b7518 100644 --- a/Patches/LineageOS-14.1/android_external_aac/0001-makefile.patch +++ b/Patches/LineageOS-14.1/android_external_aac/0001-makefile.patch @@ -1,4 +1,4 @@ -From a7a13d846ec35cbab5acbac9580679eb1878be8f Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: syphyr Date: Mon, 13 Jun 2022 20:18:46 +0200 Subject: [PATCH] Backport Makefile for Nougat diff --git a/Patches/LineageOS-14.1/android_external_freetype/0001-makefile.patch b/Patches/LineageOS-14.1/android_external_freetype/0001-makefile.patch index 93b80c3b..9d17e095 100644 --- a/Patches/LineageOS-14.1/android_external_freetype/0001-makefile.patch +++ b/Patches/LineageOS-14.1/android_external_freetype/0001-makefile.patch @@ -1,4 +1,4 @@ -From 4cbccba5585d15b6763fe581e58ce953fbfd0a6a Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: syphyr Date: Tue, 8 Aug 2023 23:58:29 +0200 Subject: [PATCH] Add Android.mk for legacy builds diff --git a/Patches/LineageOS-14.1/android_frameworks_base/364029-backport.patch b/Patches/LineageOS-14.1/android_frameworks_base/364029-backport.patch index 7bb301f1..c5aeacd3 100644 --- a/Patches/LineageOS-14.1/android_frameworks_base/364029-backport.patch +++ b/Patches/LineageOS-14.1/android_frameworks_base/364029-backport.patch @@ -15,8 +15,8 @@ Change-Id: Iac6baa889965b8ffecd9a43179a4c96632ad1d02 --- core/java/android/app/ActivityManager.java | 3 ++ core/res/AndroidManifest.xml | 6 +++- - .../server/am/ActivityManagerService.java | 33 +++++++++++++++++-- - 3 files changed, 39 insertions(+), 3 deletions(-) + .../server/am/ActivityManagerService.java | 32 +++++++++++++++++-- + 3 files changed, 38 insertions(+), 3 deletions(-) diff --git a/core/java/android/app/ActivityManager.java b/core/java/android/app/ActivityManager.java index da7d711194de..9f6e25c74386 100644 @@ -33,6 +33,7 @@ index da7d711194de..9f6e25c74386 100644 * {@link android.Manifest.permission#KILL_BACKGROUND_PROCESSES} to be able to * call this method. diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml +index 0f224dae3337..ef6ce2503061 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1741,7 +1741,11 @@ @@ -49,6 +50,7 @@ diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml --> > device.mk; - echo "Enabled OpenEUICC inclusion for $1"; + #Skip: Pixel 2 series (only supports Google Fi), Pixel 3/a series (broken on 20.0) + if [[ "$1" != *"device/google/bonito"* ]] && [[ "$1" != *"device/google/crosshatch"* ]] && [[ "$1" != *"device/google/wahoo"* ]]; then + if [ -f device.mk ]; then + if grep -sq "euicc.xml" device.mk; then + echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device.mk; + echo "Enabled OpenEUICC inclusion for $1"; + fi; fi; - fi; - if [ -f device-lineage.mk ]; then - if grep -sq "euicc.xml" device-lineage.mk; then - echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device-lineage.mk; - echo "Enabled OpenEUICC inclusion for $1"; + if [ -f device-lineage.mk ]; then + if grep -sq "euicc.xml" device-lineage.mk; then + echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device-lineage.mk; + echo "Enabled OpenEUICC inclusion for $1"; + fi; fi; fi; cd "$DOS_BUILD_BASE"; diff --git a/Scripts/LineageOS-15.1/Patch.sh b/Scripts/LineageOS-15.1/Patch.sh index a9fd7532..f440051f 100644 --- a/Scripts/LineageOS-15.1/Patch.sh +++ b/Scripts/LineageOS-15.1/Patch.sh @@ -114,9 +114,9 @@ applyPatch "$DOS_PATCHES/android_external_expat/337989-backport.patch"; #n-asb-2 applyPatch "$DOS_PATCHES/android_external_expat/348649.patch"; #n-asb-2023-02 Fix overeager DTD destruction (fixes #649) fi; -#if enterAndClear "external/freetype"; then -#applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes -#fi; +if enterAndClear "external/freetype"; then +applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes +fi; #if [ "$DOS_GRAPHENE_MALLOC_BROKEN" = true ]; then #if enterAndClear "external/hardened_malloc"; then diff --git a/Scripts/LineageOS-16.0/Patch.sh b/Scripts/LineageOS-16.0/Patch.sh index 6a0c4e39..0072840e 100644 --- a/Scripts/LineageOS-16.0/Patch.sh +++ b/Scripts/LineageOS-16.0/Patch.sh @@ -138,10 +138,10 @@ git fetch https://github.com/LineageOS/android_external_expat refs/changes/56/33 git fetch https://github.com/LineageOS/android_external_expat refs/changes/28/349328/1 && git cherry-pick FETCH_HEAD; #P_asb_2023-02 fi; -#if enterAndClear "external/freetype"; then -#applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes +if enterAndClear "external/freetype"; then +applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes #applyPatch "$DOS_PATCHES/android_external_freetype/364028-backport.patch"; #R_asb_2023-08 Cherrypick following three changes #XXX: needs fix -#fi; +fi; if [ "$DOS_GRAPHENE_MALLOC" = true ]; then if enterAndClear "external/hardened_malloc"; then diff --git a/Scripts/LineageOS-17.1/Patch.sh b/Scripts/LineageOS-17.1/Patch.sh index 08abccee..b0c74b87 100644 --- a/Scripts/LineageOS-17.1/Patch.sh +++ b/Scripts/LineageOS-17.1/Patch.sh @@ -124,10 +124,10 @@ if enterAndClear "external/conscrypt"; then if [ "$DOS_GRAPHENE_CONSTIFY" = true ]; then applyPatch "$DOS_PATCHES/android_external_conscrypt/0001-constify_JNINativeMethod.patch"; fi; #Constify JNINativeMethod tables (GrapheneOS) fi; -#if enterAndClear "external/freetype"; then -#applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes -#applyPatch "$DOS_PATCHES/android_external_freetype/364028-backport.patch"; #R_asb_2023-08 Cherrypick following three changes -#fi; +if enterAndClear "external/freetype"; then +applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes +applyPatch "$DOS_PATCHES/android_external_freetype/364028-backport.patch"; #R_asb_2023-08 Cherrypick following three changes +fi; if [ "$DOS_GRAPHENE_MALLOC" = true ]; then if enterAndClear "external/hardened_malloc"; then diff --git a/Scripts/init.sh b/Scripts/init.sh index d4c91c5f..459f2fe2 100644 --- a/Scripts/init.sh +++ b/Scripts/init.sh @@ -23,7 +23,7 @@ #General export DOS_WORKSPACE_ROOT="/mnt/dos/"; #XXX: THIS MUST BE CORRECT TO BUILD! #export DOS_BUILDS=$DOS_WORKSPACE_ROOT"Builds/"; -export DOS_BUILDS="/mnt/backup-1/DivestOS/Builds/"; #XXX: THIS MUST BE CORRECT TO BUILD! +export DOS_BUILDS="/mnt/Storage-1/DivestOS/Builds/"; #XXX: THIS MUST BE CORRECT TO BUILD! export DOS_SIGNING_KEYS="$DOS_WORKSPACE_ROOT/Signing_Keys/4096pro"; export DOS_SIGNING_GPG="$DOS_WORKSPACE_ROOT/Signing_Keys/gnupg"; #export USE_CCACHE=1;