Changes for July 2023, syncing up to 20230706

This commit is contained in:
Andy CrossGate Yan
2023-07-16 18:26:00 +08:00
parent 1a0d724bf1
commit bc2bbb0906
100 changed files with 117925 additions and 102542 deletions
@@ -1,7 +1,7 @@
From ddbc5deb0aac58b6a9c9d21b43c5e5e4dea08b0c Mon Sep 17 00:00:00 2001
From 598c7139b69f6af6337c3c8829c4b3292ae7cc7c Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sun, 8 Aug 2021 01:43:40 +0000
Subject: [PATCH 1/9] treble: Lineage-ify
Subject: [PATCH 01/10] treble: Lineage-ify
Squash of:
- Proper target names
@@ -1,7 +1,7 @@
From 563e108c7b4ed5328da2b7e679a32f895143a7b9 Mon Sep 17 00:00:00 2001
From 54306139fa3c14dd61d4b25ede267a4caa931116 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sun, 8 Aug 2021 09:29:32 +0000
Subject: [PATCH 2/9] treble: Set BOARD_EXT4_SHARE_DUP_BLOCKS explicitly
Subject: [PATCH 02/10] treble: Set BOARD_EXT4_SHARE_DUP_BLOCKS explicitly
Change-Id: I725443154fabde548d2e6c1b072d34c27596c421
---
@@ -1,7 +1,7 @@
From 2aecfd767a70bf3453ff5b1d6248acb66c216237 Mon Sep 17 00:00:00 2001
From e2169e811a3462fdbf0cb0678102fd1864c578af Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Wed, 20 Oct 2021 11:30:25 +0000
Subject: [PATCH 3/9] treble: Set TARGET_NO_KERNEL_OVERRIDE
Subject: [PATCH 03/10] treble: Set TARGET_NO_KERNEL_OVERRIDE
Taken from Lineage generic targets - skips building kernel cleanly
@@ -1,7 +1,7 @@
From 037d75cd9b7001493c29b9ef998fb61ec77bee49 Mon Sep 17 00:00:00 2001
From e2cdfc45356d89ecc9dd91d96d0fd02c4edcf8a7 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Tue, 11 Oct 2022 11:29:02 +0000
Subject: [PATCH 4/9] treble: Enable call recording
Subject: [PATCH 04/10] treble: Enable call recording
Change-Id: I57ca3604363547419a566b37b5151b6b30c46d28
---
@@ -1,7 +1,7 @@
From 406d4622bf17d63dee581ee2d1645827708211d1 Mon Sep 17 00:00:00 2001
From 899d500aa8720c1fff5460658fd133b4c2e515f1 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sat, 5 Nov 2022 23:49:11 +0000
Subject: [PATCH 5/9] treble: Switch to MindTheGapps
Subject: [PATCH 05/10] treble: Switch to MindTheGapps
Change-Id: I1b80d4c5176cbf4af21d147c71b0abce6027c7c7
---
@@ -1,7 +1,7 @@
From 59403a7591029a82ca2201f95b97a17019caa7a7 Mon Sep 17 00:00:00 2001
From f49f0bd3576140681192449ddb0ce822ae2a0bf6 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Tue, 22 Nov 2022 00:36:15 +0000
Subject: [PATCH 6/9] treble: Stop securing ADB
Subject: [PATCH 06/10] treble: Stop securing ADB
Seems to kill USB Debugging altogether on certain devices,
and unrelated to SN anyway
@@ -13,10 +13,10 @@ Change-Id: I0215b3ed970dd53a124f48e30ca2cf4b0c6d2899
1 file changed, 3 deletions(-)
diff --git a/rw-system.sh b/rw-system.sh
index 5dc493f..9c7cc42 100644
index e986b03..07e1d96 100644
--- a/rw-system.sh
+++ b/rw-system.sh
@@ -776,13 +776,10 @@ if [ -f /system/phh/secure ] || [ -f /metadata/phh/secure ];then
@@ -778,13 +778,10 @@ if [ -f /system/phh/secure ] || [ -f /metadata/phh/secure ];then
resetprop_phh ro.boot.veritymode enforcing
resetprop_phh ro.boot.warranty_bit 0
resetprop_phh ro.warranty_bit 0
@@ -1,7 +1,7 @@
From e3df20ed1f82e8cefe0914bdf7a6cb0b34736c25 Mon Sep 17 00:00:00 2001
From 67159b9dacdd2271e18926ebc6955261f3a5ac3f Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Thu, 29 Dec 2022 15:12:03 +0000
Subject: [PATCH 7/9] treble: Securize on-demand
Subject: [PATCH 07/10] treble: Securize on-demand
Status is stored in /metadata and controlled by persist prop
@@ -12,10 +12,10 @@ Change-Id: I8069b6f471ad87ab34c18b743689ab3584cee35b
2 files changed, 17 insertions(+)
diff --git a/phh-prop-handler.sh b/phh-prop-handler.sh
index 32a1f19..a6ddab8 100644
index b01c0cc..390b76f 100644
--- a/phh-prop-handler.sh
+++ b/phh-prop-handler.sh
@@ -218,3 +218,17 @@ if [ "$1" == "persist.bluetooth.system_audio_hal.enabled" ]; then
@@ -233,3 +233,17 @@ if [ "$1" == "persist.bluetooth.system_audio_hal.enabled" ]; then
restartAudio
exit
fi
@@ -34,10 +34,10 @@ index 32a1f19..a6ddab8 100644
+ exit
+fi
diff --git a/vndk.rc b/vndk.rc
index 478bc37..674977d 100644
index d319c9e..08bc1aa 100644
--- a/vndk.rc
+++ b/vndk.rc
@@ -81,3 +81,6 @@ service watchdogd-gsi /system/bin/watchdogd 10 20
@@ -87,3 +87,6 @@ service watchdogd-gsi /system/bin/watchdogd 10 20
class core
oneshot
seclabel u:r:watchdogd:s0
@@ -1,7 +1,7 @@
From adbae267d33896e4904b95d0960e6f118c91e265 Mon Sep 17 00:00:00 2001
From d4a0510c935ba76e83c93bb3bb500ded1df2ca0e Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Wed, 22 Mar 2023 23:37:05 +0000
Subject: [PATCH 8/9] treble: Also use /data/adb for securize status
Subject: [PATCH 08/10] treble: Also use /data/adb for securize status
Change-Id: I778f2be5407ae0a548a098c72031cce9be83cf96
---
@@ -10,10 +10,10 @@ Change-Id: I778f2be5407ae0a548a098c72031cce9be83cf96
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/phh-prop-handler.sh b/phh-prop-handler.sh
index a6ddab8..0ad7a1f 100644
index 390b76f..c976b49 100644
--- a/phh-prop-handler.sh
+++ b/phh-prop-handler.sh
@@ -225,10 +225,13 @@ if [ "$1" == "persist.sys.phh.securize" ];then
@@ -240,10 +240,13 @@ if [ "$1" == "persist.sys.phh.securize" ];then
fi
if [[ "$prop_value" == "true" ]]; then
@@ -29,10 +29,10 @@ index a6ddab8..0ad7a1f 100644
exit
fi
diff --git a/rw-system.sh b/rw-system.sh
index 9c7cc42..8a188f7 100644
index 07e1d96..709fa1b 100644
--- a/rw-system.sh
+++ b/rw-system.sh
@@ -739,7 +739,7 @@ copyprop() {
@@ -741,7 +741,7 @@ copyprop() {
resetprop_phh "$1" "$(getprop "$2")"
fi
}
@@ -1,7 +1,7 @@
From ada7dfd43781e97480001f24365a76d55548928f Mon Sep 17 00:00:00 2001
From dd2922cc2edf2130e13117383208bfd96f59ea68 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Fri, 24 Mar 2023 00:13:01 +0000
Subject: [PATCH 9/9] treble: Include androidx.window.extensions
Subject: [PATCH 09/10] treble: Include androidx.window.extensions
This enables two-pane layout in Settings for tablets
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff