diff --git a/patches/trebledroid/platform_build_make/0001-build-remove-emulator-crap-from-GSI.patch b/patches/trebledroid/platform_build_make/0001-build-remove-emulator-crap-from-GSI.patch index ad3761f..96885a7 100644 --- a/patches/trebledroid/platform_build_make/0001-build-remove-emulator-crap-from-GSI.patch +++ b/patches/trebledroid/platform_build_make/0001-build-remove-emulator-crap-from-GSI.patch @@ -1,4 +1,4 @@ -From 40668b603d2f394513a10c00f53c85e621d694cd Mon Sep 17 00:00:00 2001 +From 7028e8c7a5e9ae8940b2fea3c0587c82de7d3539 Mon Sep 17 00:00:00 2001 From: sooti Date: Tue, 12 Oct 2021 14:32:52 +0300 Subject: [PATCH 1/4] build: remove emulator crap from GSI diff --git a/patches/trebledroid/platform_build_make/0002-build-Bypass-vendor-calls.patch b/patches/trebledroid/platform_build_make/0002-build-Bypass-vendor-calls.patch index 0b69aff..c13e2fe 100644 --- a/patches/trebledroid/platform_build_make/0002-build-Bypass-vendor-calls.patch +++ b/patches/trebledroid/platform_build_make/0002-build-Bypass-vendor-calls.patch @@ -1,4 +1,4 @@ -From beff0283a25940c42371e2a924a807eb5fc5cd1d Mon Sep 17 00:00:00 2001 +From 2c9e1563fca3a3f80b6964e977e4d9ab25ed9605 Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Mon, 18 Oct 2021 17:20:18 +0100 Subject: [PATCH 2/4] build: Bypass vendor calls diff --git a/patches/trebledroid/platform_build_make/0003-Remove-init.vndk-nodef.rc.patch b/patches/trebledroid/platform_build_make/0003-Remove-init.vndk-nodef.rc.patch index d594ccb..fcdb0fe 100644 --- a/patches/trebledroid/platform_build_make/0003-Remove-init.vndk-nodef.rc.patch +++ b/patches/trebledroid/platform_build_make/0003-Remove-init.vndk-nodef.rc.patch @@ -1,4 +1,4 @@ -From 0ad00349f345145c55f69705dafebffc9bb1ed11 Mon Sep 17 00:00:00 2001 +From c7e3663a3c1fce40f1710c2a9ae7adad4cf66e1b Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Wed, 8 Dec 2021 07:04:53 +0000 Subject: [PATCH 3/4] Remove init.vndk-nodef.rc diff --git a/patches/trebledroid/platform_build_make/0004-build-Remove-llkd.patch b/patches/trebledroid/platform_build_make/0004-build-Remove-llkd.patch index 7c82c8a..4ab1f5c 100644 --- a/patches/trebledroid/platform_build_make/0004-build-Remove-llkd.patch +++ b/patches/trebledroid/platform_build_make/0004-build-Remove-llkd.patch @@ -1,4 +1,4 @@ -From 006f822de62342a161eb86ef6a13f9a8fdaa474d Mon Sep 17 00:00:00 2001 +From 936bd28106cb89fb74db1b76c48b47b2e902668d Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Thu, 14 Oct 2021 12:20:52 +0000 Subject: [PATCH 4/4] build: Remove llkd diff --git a/patches/trebledroid/platform_frameworks_av/0001-APM-Restore-S-R-and-Q-behavior-respectively-for-tele.patch b/patches/trebledroid/platform_frameworks_av/0001-APM-Restore-S-R-and-Q-behavior-respectively-for-tele.patch index d6ff1fe..e3f6342 100644 --- a/patches/trebledroid/platform_frameworks_av/0001-APM-Restore-S-R-and-Q-behavior-respectively-for-tele.patch +++ b/patches/trebledroid/platform_frameworks_av/0001-APM-Restore-S-R-and-Q-behavior-respectively-for-tele.patch @@ -1,4 +1,4 @@ -From 8b5b3e58ebe5b9491d47534f479a96340e8cdf82 Mon Sep 17 00:00:00 2001 +From 544cb6eb4c2bbc4846e9a2403b2cda0eab2d9b9d Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Thu, 18 Aug 2022 15:44:46 -0400 Subject: [PATCH 01/28] APM: Restore S, R and Q behavior respectively for diff --git a/patches/trebledroid/platform_frameworks_av/0002-Fix-BT-in-call-on-CAF-devices.patch b/patches/trebledroid/platform_frameworks_av/0002-Fix-BT-in-call-on-CAF-devices.patch index 04f6649..523c91b 100644 --- a/patches/trebledroid/platform_frameworks_av/0002-Fix-BT-in-call-on-CAF-devices.patch +++ b/patches/trebledroid/platform_frameworks_av/0002-Fix-BT-in-call-on-CAF-devices.patch @@ -1,4 +1,4 @@ -From 7d83c5578ff4ac230830275fdedc7d1a276008d9 Mon Sep 17 00:00:00 2001 +From 4a007657b7d3204744990618898fb998d881b5e1 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 5 Aug 2019 18:09:50 +0200 Subject: [PATCH 02/28] Fix BT in-call on CAF devices diff --git a/patches/trebledroid/platform_frameworks_av/0003-Add-partial-cam-id-is-hardcoded-support-for-Asus-ZF6.patch b/patches/trebledroid/platform_frameworks_av/0003-Add-partial-cam-id-is-hardcoded-support-for-Asus-ZF6.patch index e325234..bc86621 100644 --- a/patches/trebledroid/platform_frameworks_av/0003-Add-partial-cam-id-is-hardcoded-support-for-Asus-ZF6.patch +++ b/patches/trebledroid/platform_frameworks_av/0003-Add-partial-cam-id-is-hardcoded-support-for-Asus-ZF6.patch @@ -1,4 +1,4 @@ -From 09f2f382e7702da2e2bdc2b3b8d8667a23670857 Mon Sep 17 00:00:00 2001 +From 1557dde519975fbc07de8e928a5f59f8d456b6f8 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 1 Oct 2019 13:35:49 +0200 Subject: [PATCH 03/28] Add (partial, cam id is hardcoded) support for Asus ZF6 diff --git a/patches/trebledroid/platform_frameworks_av/0004-APM-Optionally-force-load-audio-policy-for-system-si.patch b/patches/trebledroid/platform_frameworks_av/0004-APM-Optionally-force-load-audio-policy-for-system-si.patch index 0191347..3fdd296 100644 --- a/patches/trebledroid/platform_frameworks_av/0004-APM-Optionally-force-load-audio-policy-for-system-si.patch +++ b/patches/trebledroid/platform_frameworks_av/0004-APM-Optionally-force-load-audio-policy-for-system-si.patch @@ -1,4 +1,4 @@ -From b59164dd30f1f9a923d0e94ca068f2e398d6f898 Mon Sep 17 00:00:00 2001 +From d0826fd76c47dd53bfebcfeec1fd7db756a4e781 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 24 Aug 2022 15:42:39 -0400 Subject: [PATCH 04/28] APM: Optionally force-load audio policy for system-side diff --git a/patches/trebledroid/platform_frameworks_av/0005-APM-Remove-A2DP-audio-ports-from-the-primary-HAL.patch b/patches/trebledroid/platform_frameworks_av/0005-APM-Remove-A2DP-audio-ports-from-the-primary-HAL.patch index fbc71f9..562b3e6 100644 --- a/patches/trebledroid/platform_frameworks_av/0005-APM-Remove-A2DP-audio-ports-from-the-primary-HAL.patch +++ b/patches/trebledroid/platform_frameworks_av/0005-APM-Remove-A2DP-audio-ports-from-the-primary-HAL.patch @@ -1,4 +1,4 @@ -From d7ec7c2855c9baa5b3da20e17ebbb7518c30af8c Mon Sep 17 00:00:00 2001 +From 162748a55b231687085c822a59c240fe130ee147 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Thu, 25 Aug 2022 13:30:29 -0400 Subject: [PATCH 05/28] APM: Remove A2DP audio ports from the primary HAL diff --git a/patches/trebledroid/platform_frameworks_av/0006-audiopolicy-try-again-with-trimmed-audio-port-name-i.patch b/patches/trebledroid/platform_frameworks_av/0006-audiopolicy-try-again-with-trimmed-audio-port-name-i.patch index 8677ecc..cc05783 100644 --- a/patches/trebledroid/platform_frameworks_av/0006-audiopolicy-try-again-with-trimmed-audio-port-name-i.patch +++ b/patches/trebledroid/platform_frameworks_av/0006-audiopolicy-try-again-with-trimmed-audio-port-name-i.patch @@ -1,4 +1,4 @@ -From ff7375bc0c9ec95f528e8c2e6d729a2a4448ccc4 Mon Sep 17 00:00:00 2001 +From 9ba9b367e5a0395c950b73d76328428db5e8f0ba Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Thu, 23 Jan 2020 11:13:43 +0800 Subject: [PATCH 06/28] audiopolicy: try again with trimmed audio port name if diff --git a/patches/trebledroid/platform_frameworks_av/0007-camera-Implement-property-to-override-default-camera.patch b/patches/trebledroid/platform_frameworks_av/0007-camera-Implement-property-to-override-default-camera.patch index dc09140..50d0524 100644 --- a/patches/trebledroid/platform_frameworks_av/0007-camera-Implement-property-to-override-default-camera.patch +++ b/patches/trebledroid/platform_frameworks_av/0007-camera-Implement-property-to-override-default-camera.patch @@ -1,4 +1,4 @@ -From 8d0d9e9f3ae63e46d15114380d748a8ba3be31fb Mon Sep 17 00:00:00 2001 +From da0dbc339f2fe14bf7e6489bf818ff321804e9a8 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 1 Jun 2022 16:56:46 -0400 Subject: [PATCH 07/28] camera: Implement property to override default camera diff --git a/patches/trebledroid/platform_frameworks_av/0008-There-are-three-SCO-devices.-Fallback-from-one-to-th.patch b/patches/trebledroid/platform_frameworks_av/0008-There-are-three-SCO-devices.-Fallback-from-one-to-th.patch index e553ce3..009c46e 100644 --- a/patches/trebledroid/platform_frameworks_av/0008-There-are-three-SCO-devices.-Fallback-from-one-to-th.patch +++ b/patches/trebledroid/platform_frameworks_av/0008-There-are-three-SCO-devices.-Fallback-from-one-to-th.patch @@ -1,4 +1,4 @@ -From 0cd34e357950af3141b09e5e566f7092edc88116 Mon Sep 17 00:00:00 2001 +From 06ec29d25461d1d63f69a78c2c5121f77b5476b6 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 13 Apr 2020 21:01:16 +0200 Subject: [PATCH 08/28] There are three SCO devices. Fallback from one to the diff --git a/patches/trebledroid/platform_frameworks_av/0009-Add-persist.sys.phh.samsung.camera_ids-property-to-a.patch b/patches/trebledroid/platform_frameworks_av/0009-Add-persist.sys.phh.samsung.camera_ids-property-to-a.patch index 2ee3ece..895a41b 100644 --- a/patches/trebledroid/platform_frameworks_av/0009-Add-persist.sys.phh.samsung.camera_ids-property-to-a.patch +++ b/patches/trebledroid/platform_frameworks_av/0009-Add-persist.sys.phh.samsung.camera_ids-property-to-a.patch @@ -1,4 +1,4 @@ -From 396931b496aa7da5ccafb0c35d949aaf2901fcc5 Mon Sep 17 00:00:00 2001 +From dd59bd459b03adcd0eb5e646c65c2d6ef1af1288 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 14 May 2020 19:54:55 +0200 Subject: [PATCH 09/28] Add persist.sys.phh.samsung.camera_ids property to diff --git a/patches/trebledroid/platform_frameworks_av/0010-Camera-Avoid-unnecessary-close-of-buffer-acquire-fen.patch b/patches/trebledroid/platform_frameworks_av/0010-Camera-Avoid-unnecessary-close-of-buffer-acquire-fen.patch index 9dd9abb..b36f4f3 100644 --- a/patches/trebledroid/platform_frameworks_av/0010-Camera-Avoid-unnecessary-close-of-buffer-acquire-fen.patch +++ b/patches/trebledroid/platform_frameworks_av/0010-Camera-Avoid-unnecessary-close-of-buffer-acquire-fen.patch @@ -1,4 +1,4 @@ -From 7295b4967facc2fc0e95d767b27487540688b8a8 Mon Sep 17 00:00:00 2001 +From 7273496fce0a54cf0fac3d5b8e993bf0cfbaf47f Mon Sep 17 00:00:00 2001 From: Emilian Peev Date: Fri, 5 Aug 2022 17:28:06 -0700 Subject: [PATCH 10/28] Camera: Avoid unnecessary close of buffer acquire fence diff --git a/patches/trebledroid/platform_frameworks_av/0011-Add-a-property-to-force-camera-timestamp-source.patch b/patches/trebledroid/platform_frameworks_av/0011-Add-a-property-to-force-camera-timestamp-source.patch index 0871e96..9667ea5 100644 --- a/patches/trebledroid/platform_frameworks_av/0011-Add-a-property-to-force-camera-timestamp-source.patch +++ b/patches/trebledroid/platform_frameworks_av/0011-Add-a-property-to-force-camera-timestamp-source.patch @@ -1,4 +1,4 @@ -From aab94252bd6894a605d7aa2740a82aaefbcb750c Mon Sep 17 00:00:00 2001 +From a5e038e46848617a996ba89a071a6c97d7c65e32 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 19 May 2020 14:01:14 +0200 Subject: [PATCH 11/28] Add a property to force camera timestamp source diff --git a/patches/trebledroid/platform_frameworks_av/0012-FIH-devices-Fix-Earpiece-audio-output.patch b/patches/trebledroid/platform_frameworks_av/0012-FIH-devices-Fix-Earpiece-audio-output.patch index 3165f48..6c609a7 100644 --- a/patches/trebledroid/platform_frameworks_av/0012-FIH-devices-Fix-Earpiece-audio-output.patch +++ b/patches/trebledroid/platform_frameworks_av/0012-FIH-devices-Fix-Earpiece-audio-output.patch @@ -1,4 +1,4 @@ -From 453904a4b27be85ef1a53a410973d5a85468e931 Mon Sep 17 00:00:00 2001 +From 2bf580fb843707b5e54882d8530cb131c59dcbf1 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 24 Apr 2018 00:14:28 +0200 Subject: [PATCH 12/28] FIH devices: Fix "Earpiece" audio output diff --git a/patches/trebledroid/platform_frameworks_av/0013-No-longer-make-re-assigning-legacy-audio-groups-fata.patch b/patches/trebledroid/platform_frameworks_av/0013-No-longer-make-re-assigning-legacy-audio-groups-fata.patch index d459dec..cdd5e6f 100644 --- a/patches/trebledroid/platform_frameworks_av/0013-No-longer-make-re-assigning-legacy-audio-groups-fata.patch +++ b/patches/trebledroid/platform_frameworks_av/0013-No-longer-make-re-assigning-legacy-audio-groups-fata.patch @@ -1,4 +1,4 @@ -From 4a59d89a1dae32e570183fcb41798c4ce6c92068 Mon Sep 17 00:00:00 2001 +From bbe0402569eb3106a5fb163fc1613a5ee7f18f9d Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 12 Sep 2020 12:32:50 +0200 Subject: [PATCH 13/28] No longer make re-assigning legacy audio groups fatal. diff --git a/patches/trebledroid/platform_frameworks_av/0014-Make-camera-IDs-filter-out-optional.patch b/patches/trebledroid/platform_frameworks_av/0014-Make-camera-IDs-filter-out-optional.patch index 0a3dac8..7e30234 100644 --- a/patches/trebledroid/platform_frameworks_av/0014-Make-camera-IDs-filter-out-optional.patch +++ b/patches/trebledroid/platform_frameworks_av/0014-Make-camera-IDs-filter-out-optional.patch @@ -1,4 +1,4 @@ -From 4f59be8d357091eac6942240b2ad3110552bb63a Mon Sep 17 00:00:00 2001 +From b1afb4ed1d77cadc3f1878ae0fcc12532a5709c4 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 21 Dec 2020 20:19:11 +0100 Subject: [PATCH 14/28] Make camera IDs filter-out optional diff --git a/patches/trebledroid/platform_frameworks_av/0015-Support-Samsung-R-multi-cams.patch b/patches/trebledroid/platform_frameworks_av/0015-Support-Samsung-R-multi-cams.patch index 47010b3..09763d7 100644 --- a/patches/trebledroid/platform_frameworks_av/0015-Support-Samsung-R-multi-cams.patch +++ b/patches/trebledroid/platform_frameworks_av/0015-Support-Samsung-R-multi-cams.patch @@ -1,4 +1,4 @@ -From 248d35f70f96ac05564ff91fbfdc69ce5e94ee34 Mon Sep 17 00:00:00 2001 +From 02da5f326dc565fc7bc661c524095d891bad824d Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 13 Mar 2021 14:20:03 -0500 Subject: [PATCH 15/28] Support Samsung R multi-cams diff --git a/patches/trebledroid/platform_frameworks_av/0016-Don-t-crash-on-unknown-audio-devices.patch b/patches/trebledroid/platform_frameworks_av/0016-Don-t-crash-on-unknown-audio-devices.patch index 397a82c..02dab4c 100644 --- a/patches/trebledroid/platform_frameworks_av/0016-Don-t-crash-on-unknown-audio-devices.patch +++ b/patches/trebledroid/platform_frameworks_av/0016-Don-t-crash-on-unknown-audio-devices.patch @@ -1,4 +1,4 @@ -From e2268663828474a9f6e2a6ed8af8d0dcf4717402 Mon Sep 17 00:00:00 2001 +From c495fbd3b034e861d338796a1c72095f6c72dd48 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 23 Mar 2021 00:16:42 +0100 Subject: [PATCH 16/28] Don't crash on unknown audio devices diff --git a/patches/trebledroid/platform_frameworks_av/0017-Not-all-sources-in-a-route-are-valid.-Dont-ignore-th.patch b/patches/trebledroid/platform_frameworks_av/0017-Not-all-sources-in-a-route-are-valid.-Dont-ignore-th.patch index 00502e9..9395568 100644 --- a/patches/trebledroid/platform_frameworks_av/0017-Not-all-sources-in-a-route-are-valid.-Dont-ignore-th.patch +++ b/patches/trebledroid/platform_frameworks_av/0017-Not-all-sources-in-a-route-are-valid.-Dont-ignore-th.patch @@ -1,4 +1,4 @@ -From 9150c9ba60c20d8a9481f8d6d8a159e92dd2ed47 Mon Sep 17 00:00:00 2001 +From 05e0cdf626cbc8d5d44d3182553cf04f2fb0a5d0 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 28 Mar 2021 18:54:47 +0200 Subject: [PATCH 17/28] Not all sources in a route are valid. Dont ignore the diff --git a/patches/trebledroid/platform_frameworks_av/0018-Use-a-fake-volume-policy-when-none-has-been-found.patch b/patches/trebledroid/platform_frameworks_av/0018-Use-a-fake-volume-policy-when-none-has-been-found.patch index e5f7221..23ca187 100644 --- a/patches/trebledroid/platform_frameworks_av/0018-Use-a-fake-volume-policy-when-none-has-been-found.patch +++ b/patches/trebledroid/platform_frameworks_av/0018-Use-a-fake-volume-policy-when-none-has-been-found.patch @@ -1,4 +1,4 @@ -From a6ab675616ac34926c38f965f56944b66339318f Mon Sep 17 00:00:00 2001 +From b5709333463d0d44a0aeee258609690c8650b45f Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 28 Mar 2021 14:48:49 +0200 Subject: [PATCH 18/28] Use a fake volume policy when none has been found diff --git a/patches/trebledroid/platform_frameworks_av/0019-When-aux-cameras-are-enabled-ignore-system-only-came.patch b/patches/trebledroid/platform_frameworks_av/0019-When-aux-cameras-are-enabled-ignore-system-only-came.patch index e4ec36a..bea63c3 100644 --- a/patches/trebledroid/platform_frameworks_av/0019-When-aux-cameras-are-enabled-ignore-system-only-came.patch +++ b/patches/trebledroid/platform_frameworks_av/0019-When-aux-cameras-are-enabled-ignore-system-only-came.patch @@ -1,4 +1,4 @@ -From 2bdb89c46004552830c91fced3a34bb3836b2a41 Mon Sep 17 00:00:00 2001 +From 6dfabc6cea2c3180226200ca2f2d586466ebe673 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 7 Aug 2021 11:11:39 +0200 Subject: [PATCH 19/28] When aux cameras are enabled, ignore "system only" diff --git a/patches/trebledroid/platform_frameworks_av/0020-Revert-Remove-support-for-audio-HAL-V2-from-the-fram.patch b/patches/trebledroid/platform_frameworks_av/0020-Revert-Remove-support-for-audio-HAL-V2-from-the-fram.patch index e5d3105..6568fd4 100644 --- a/patches/trebledroid/platform_frameworks_av/0020-Revert-Remove-support-for-audio-HAL-V2-from-the-fram.patch +++ b/patches/trebledroid/platform_frameworks_av/0020-Revert-Remove-support-for-audio-HAL-V2-from-the-fram.patch @@ -1,4 +1,4 @@ -From a1f075f2a4cd0e2aae8155ea7c8f0105ab511b29 Mon Sep 17 00:00:00 2001 +From 68ff29c1b7dd6f0e1ee63979b2e683efd17a2493 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 11 Oct 2021 16:10:42 -0400 Subject: [PATCH 20/28] Revert "Remove support for audio HAL V2 from the diff --git a/patches/trebledroid/platform_frameworks_av/0021-Fix-parsing-audio-hal-7.0-audio-policies.patch b/patches/trebledroid/platform_frameworks_av/0021-Fix-parsing-audio-hal-7.0-audio-policies.patch index 76f3108..fda8ad3 100644 --- a/patches/trebledroid/platform_frameworks_av/0021-Fix-parsing-audio-hal-7.0-audio-policies.patch +++ b/patches/trebledroid/platform_frameworks_av/0021-Fix-parsing-audio-hal-7.0-audio-policies.patch @@ -1,4 +1,4 @@ -From 1f5ddba302ca9b81725a448c7067fc30a23a455b Mon Sep 17 00:00:00 2001 +From 6b0bb60e8ea91fd6abd571f59268f22c2e7c1e8d Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 30 Jan 2022 07:40:19 -0500 Subject: [PATCH 21/28] Fix parsing audio hal 7.0 audio policies diff --git a/patches/trebledroid/platform_frameworks_av/0022-fixup-Not-all-sources-in-a-route-are-valid.-Dont-ign.patch b/patches/trebledroid/platform_frameworks_av/0022-fixup-Not-all-sources-in-a-route-are-valid.-Dont-ign.patch index 1beb70c..8dcf157 100644 --- a/patches/trebledroid/platform_frameworks_av/0022-fixup-Not-all-sources-in-a-route-are-valid.-Dont-ign.patch +++ b/patches/trebledroid/platform_frameworks_av/0022-fixup-Not-all-sources-in-a-route-are-valid.-Dont-ign.patch @@ -1,4 +1,4 @@ -From 147656b41050443d40b8f9be3e779ee2661f0ae9 Mon Sep 17 00:00:00 2001 +From cdad052f71e1b7247ebbd49d0a91a3451d82d59b Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 12 Mar 2022 18:07:43 -0500 Subject: [PATCH 22/28] fixup! Not all sources in a route are valid. Dont diff --git a/patches/trebledroid/platform_frameworks_av/0023-Add-a-prop-to-change-Samsung-flash-strength.patch b/patches/trebledroid/platform_frameworks_av/0023-Add-a-prop-to-change-Samsung-flash-strength.patch index 9d69001..dc9d3c4 100644 --- a/patches/trebledroid/platform_frameworks_av/0023-Add-a-prop-to-change-Samsung-flash-strength.patch +++ b/patches/trebledroid/platform_frameworks_av/0023-Add-a-prop-to-change-Samsung-flash-strength.patch @@ -1,4 +1,4 @@ -From 82caf1ca2ead513c393f16f99ac8de189b5ddf9e Mon Sep 17 00:00:00 2001 +From da6de6f05a542c4c0b060f5571baae7812e2240c Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 16 Apr 2022 14:30:14 -0400 Subject: [PATCH 23/28] Add a prop to change Samsung flash strength diff --git a/patches/trebledroid/platform_frameworks_av/0024-Support-variable-flash-strength-on-samsung-hal-4.0.patch b/patches/trebledroid/platform_frameworks_av/0024-Support-variable-flash-strength-on-samsung-hal-4.0.patch index 534f096..e85556a 100644 --- a/patches/trebledroid/platform_frameworks_av/0024-Support-variable-flash-strength-on-samsung-hal-4.0.patch +++ b/patches/trebledroid/platform_frameworks_av/0024-Support-variable-flash-strength-on-samsung-hal-4.0.patch @@ -1,4 +1,4 @@ -From 2ba05179be17a213b117003355a10e6a38706115 Mon Sep 17 00:00:00 2001 +From 2da3956f11a682400f1542c025b96406c67cdc8f Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 2 May 2022 17:37:09 -0400 Subject: [PATCH 24/28] Support variable flash strength on samsung hal 4.0 diff --git a/patches/trebledroid/platform_frameworks_av/0025-voip-Fix-high-pitched-voice-on-Qualcomm-devices.patch b/patches/trebledroid/platform_frameworks_av/0025-voip-Fix-high-pitched-voice-on-Qualcomm-devices.patch index ae0c7c6..b6b5eac 100644 --- a/patches/trebledroid/platform_frameworks_av/0025-voip-Fix-high-pitched-voice-on-Qualcomm-devices.patch +++ b/patches/trebledroid/platform_frameworks_av/0025-voip-Fix-high-pitched-voice-on-Qualcomm-devices.patch @@ -1,4 +1,4 @@ -From d8fcfc8d6ec57596e16449b38a5ae6875f5ae711 Mon Sep 17 00:00:00 2001 +From 08882172bd587fc2d3cf6001988c757b6fa728a7 Mon Sep 17 00:00:00 2001 From: ponces Date: Mon, 24 Oct 2022 09:38:34 +0100 Subject: [PATCH 25/28] voip: Fix high pitched voice on Qualcomm devices diff --git a/patches/trebledroid/platform_frameworks_av/0026-Fix-audio-hal-2.0-support.-Fixup-of-Revert-Remove-su.patch b/patches/trebledroid/platform_frameworks_av/0026-Fix-audio-hal-2.0-support.-Fixup-of-Revert-Remove-su.patch index 47452c0..0723160 100644 --- a/patches/trebledroid/platform_frameworks_av/0026-Fix-audio-hal-2.0-support.-Fixup-of-Revert-Remove-su.patch +++ b/patches/trebledroid/platform_frameworks_av/0026-Fix-audio-hal-2.0-support.-Fixup-of-Revert-Remove-su.patch @@ -1,4 +1,4 @@ -From 8996f331b0370ee6db92d057fde4e625440e2ae5 Mon Sep 17 00:00:00 2001 +From 91ebecce44f174db96208860f3d7735f5753f73a Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 9 Nov 2022 17:10:52 -0500 Subject: [PATCH 26/28] Fix audio hal 2.0 support. Fixup of Revert "Remove diff --git a/patches/trebledroid/platform_frameworks_av/0027-Allow-uname-syscall-in-all-seccomp-This-is-needed-be.patch b/patches/trebledroid/platform_frameworks_av/0027-Allow-uname-syscall-in-all-seccomp-This-is-needed-be.patch index a2e3bd5..14d0537 100644 --- a/patches/trebledroid/platform_frameworks_av/0027-Allow-uname-syscall-in-all-seccomp-This-is-needed-be.patch +++ b/patches/trebledroid/platform_frameworks_av/0027-Allow-uname-syscall-in-all-seccomp-This-is-needed-be.patch @@ -1,4 +1,4 @@ -From f9a768b3ac8534df5d6ff0d6a44d85c07e6994ba Mon Sep 17 00:00:00 2001 +From 48d937a9244d6bbb42285b151f09d963b1def467 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 29 Mar 2023 16:53:18 -0400 Subject: [PATCH 27/28] Allow uname syscall in all seccomp -- This is needed diff --git a/patches/trebledroid/platform_frameworks_av/0028-audiopolicy-Fix-broken-mic-while-video-recording-on-.patch b/patches/trebledroid/platform_frameworks_av/0028-audiopolicy-Fix-broken-mic-while-video-recording-on-.patch index bedbd71..ed61ec5 100644 --- a/patches/trebledroid/platform_frameworks_av/0028-audiopolicy-Fix-broken-mic-while-video-recording-on-.patch +++ b/patches/trebledroid/platform_frameworks_av/0028-audiopolicy-Fix-broken-mic-while-video-recording-on-.patch @@ -1,4 +1,4 @@ -From 02df9d0874cd6a77f6f7c40d3cc7bf2255cd5d29 Mon Sep 17 00:00:00 2001 +From 167f0a0b3c657397dc1e018770ed09e51655c044 Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Sun, 30 Apr 2023 23:29:04 +0100 Subject: [PATCH 28/28] audiopolicy: Fix broken mic while video recording on diff --git a/patches/trebledroid/platform_frameworks_base/0001-Disable-vendor-mismatch-warning.patch b/patches/trebledroid/platform_frameworks_base/0001-Disable-vendor-mismatch-warning.patch index ce2c6fd..b3b259f 100644 --- a/patches/trebledroid/platform_frameworks_base/0001-Disable-vendor-mismatch-warning.patch +++ b/patches/trebledroid/platform_frameworks_base/0001-Disable-vendor-mismatch-warning.patch @@ -1,7 +1,7 @@ -From f646ce83641efafaa39dcb08edb5f8233d827a0e Mon Sep 17 00:00:00 2001 +From 514946c7077d1fe9f600db8a33b9ba9e242c56da Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Thu, 5 Apr 2018 10:01:19 +0800 -Subject: [PATCH 01/39] Disable vendor mismatch warning +Subject: [PATCH 01/40] Disable vendor mismatch warning Change-Id: Ieb8fe91e2f02462f074312ed0f4885d183e9780b --- diff --git a/patches/trebledroid/platform_frameworks_base/0002-Fallback-to-stupid-autobrightness-if-brightness-valu.patch b/patches/trebledroid/platform_frameworks_base/0002-Fallback-to-stupid-autobrightness-if-brightness-valu.patch index 986aba7..617b9c6 100644 --- a/patches/trebledroid/platform_frameworks_base/0002-Fallback-to-stupid-autobrightness-if-brightness-valu.patch +++ b/patches/trebledroid/platform_frameworks_base/0002-Fallback-to-stupid-autobrightness-if-brightness-valu.patch @@ -1,7 +1,7 @@ -From a3132e9d918f2cbbface23aa73ae9b098a705bbe Mon Sep 17 00:00:00 2001 +From aa551184f290933db7b4077ea36a3defc8e8b93c Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 5 Oct 2021 17:59:16 -0400 -Subject: [PATCH 02/39] Fallback to stupid autobrightness if brightness values +Subject: [PATCH 02/40] Fallback to stupid autobrightness if brightness values are broken This is needed because of: diff --git a/patches/trebledroid/platform_frameworks_base/0003-Fix-env-empty-string-ANDROID_STORAGE.patch b/patches/trebledroid/platform_frameworks_base/0003-Fix-env-empty-string-ANDROID_STORAGE.patch index f8ea084..4d3a4c9 100644 --- a/patches/trebledroid/platform_frameworks_base/0003-Fix-env-empty-string-ANDROID_STORAGE.patch +++ b/patches/trebledroid/platform_frameworks_base/0003-Fix-env-empty-string-ANDROID_STORAGE.patch @@ -1,7 +1,7 @@ -From 242674e3a224d99ebc71d24a4dd8faba23835534 Mon Sep 17 00:00:00 2001 +From 3d1acfd8e1c073759037e25050b6f1ca778bab6f Mon Sep 17 00:00:00 2001 From: Raphael Mounier Date: Sat, 6 Aug 2022 18:08:36 +0200 -Subject: [PATCH 03/39] Fix env empty string - ANDROID_STORAGE +Subject: [PATCH 03/40] Fix env empty string - ANDROID_STORAGE Huawei hi6250 define in init.hi6250.rc ANDROID_STORAGE to "", so check empty string and replace with default path. Apply change for all env directory --- diff --git a/patches/trebledroid/platform_frameworks_base/0004-Relax-requirement-for-visible-flag-to-sdcards.patch b/patches/trebledroid/platform_frameworks_base/0004-Relax-requirement-for-visible-flag-to-sdcards.patch index 965e442..d474d1b 100644 --- a/patches/trebledroid/platform_frameworks_base/0004-Relax-requirement-for-visible-flag-to-sdcards.patch +++ b/patches/trebledroid/platform_frameworks_base/0004-Relax-requirement-for-visible-flag-to-sdcards.patch @@ -1,7 +1,7 @@ -From 56f40a189e37aad5d8ead7e45604baff11bb8614 Mon Sep 17 00:00:00 2001 +From fef3ee745736b542fc88a44347194fff71fed547 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 28 Nov 2017 18:28:04 +0100 -Subject: [PATCH 04/39] Relax requirement for visible flag to sdcards +Subject: [PATCH 04/40] Relax requirement for visible flag to sdcards The vast majority of sdcard readers are stable enough to be declared by the API. (I see no counter-example) diff --git a/patches/trebledroid/platform_frameworks_base/0005-Add-support-for-app-signature-spoofing.patch b/patches/trebledroid/platform_frameworks_base/0005-Add-support-for-app-signature-spoofing.patch index a234f58..b824b9e 100644 --- a/patches/trebledroid/platform_frameworks_base/0005-Add-support-for-app-signature-spoofing.patch +++ b/patches/trebledroid/platform_frameworks_base/0005-Add-support-for-app-signature-spoofing.patch @@ -1,7 +1,7 @@ -From 48bf14e395fb6f875745c0a6a4bc6bcb4aacc3ae Mon Sep 17 00:00:00 2001 +From 2460282a0c88f51a3106cd21f8db2c64ab76d3ac Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sat, 16 Oct 2021 05:27:57 -0700 -Subject: [PATCH 05/39] Add support for app signature spoofing +Subject: [PATCH 05/40] Add support for app signature spoofing This is needed by microG GmsCore to pretend to be the official Google Play Services package, because client apps check the package signature diff --git a/patches/trebledroid/platform_frameworks_base/0006-Don-t-crash-if-there-is-IR-HAL-is-not-declared.patch b/patches/trebledroid/platform_frameworks_base/0006-Don-t-crash-if-there-is-IR-HAL-is-not-declared.patch index 485f00e..22f9169 100644 --- a/patches/trebledroid/platform_frameworks_base/0006-Don-t-crash-if-there-is-IR-HAL-is-not-declared.patch +++ b/patches/trebledroid/platform_frameworks_base/0006-Don-t-crash-if-there-is-IR-HAL-is-not-declared.patch @@ -1,7 +1,7 @@ -From 7e29346e631676e422077d82db4aa963933a43e2 Mon Sep 17 00:00:00 2001 +From dc9d2e2329440e47955015c1ec1efaa863f4c7e1 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 17 May 2018 20:28:35 +0200 -Subject: [PATCH 06/39] Don't crash if there is IR HAL is not declared +Subject: [PATCH 06/40] Don't crash if there is IR HAL is not declared Change-Id: I3afded27441bbee8244d5fda544b3e6d1238dc1b --- diff --git a/patches/trebledroid/platform_frameworks_base/0007-Implement-a-persistent-property-to-override-the-defa.patch b/patches/trebledroid/platform_frameworks_base/0007-Implement-a-persistent-property-to-override-the-defa.patch index d10e90e..2b3cdaa 100644 --- a/patches/trebledroid/platform_frameworks_base/0007-Implement-a-persistent-property-to-override-the-defa.patch +++ b/patches/trebledroid/platform_frameworks_base/0007-Implement-a-persistent-property-to-override-the-defa.patch @@ -1,7 +1,7 @@ -From 2c4325b22891599ea9817f68bc206938e2448f7d Mon Sep 17 00:00:00 2001 +From ca51e2e897d1df101fdb3525abad593cc4b33e23 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 1 Jun 2022 16:56:20 -0400 -Subject: [PATCH 07/39] Implement a persistent property to override the default +Subject: [PATCH 07/40] Implement a persistent property to override the default primary camera (0) Change-Id: I49b45d00bf71d7932591b3516d49a680e1b6568b diff --git a/patches/trebledroid/platform_frameworks_base/0008-Show-APN-Settings-for-CDMA-carriers.patch b/patches/trebledroid/platform_frameworks_base/0008-Show-APN-Settings-for-CDMA-carriers.patch index 93ab342..0f4e19c 100644 --- a/patches/trebledroid/platform_frameworks_base/0008-Show-APN-Settings-for-CDMA-carriers.patch +++ b/patches/trebledroid/platform_frameworks_base/0008-Show-APN-Settings-for-CDMA-carriers.patch @@ -1,7 +1,7 @@ -From 69987a005b9e19b9a1e2e08b73215858e21fcd2c Mon Sep 17 00:00:00 2001 +From 8326c262d6d58d33cd364fa846d010b9e0bae085 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 6 Aug 2018 12:49:00 +0200 -Subject: [PATCH 08/39] Show APN Settings for CDMA carriers +Subject: [PATCH 08/40] Show APN Settings for CDMA carriers --- telephony/java/android/telephony/CarrierConfigManager.java | 2 +- diff --git a/patches/trebledroid/platform_frameworks_base/0009-Re-order-services-so-that-it-works-even-without-qtag.patch b/patches/trebledroid/platform_frameworks_base/0009-Re-order-services-so-that-it-works-even-without-qtag.patch index a59ae10..8fe14d7 100644 --- a/patches/trebledroid/platform_frameworks_base/0009-Re-order-services-so-that-it-works-even-without-qtag.patch +++ b/patches/trebledroid/platform_frameworks_base/0009-Re-order-services-so-that-it-works-even-without-qtag.patch @@ -1,7 +1,7 @@ -From b10bfd3e073fba31e41d1cd5343966f6a18a70e7 Mon Sep 17 00:00:00 2001 +From 469bffe33918130f2d7e2efa8f813d94f07082b0 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 8 Nov 2018 23:04:03 +0100 -Subject: [PATCH 09/39] Re-order services so that it works even without qtaguid +Subject: [PATCH 09/40] Re-order services so that it works even without qtaguid Change-Id: I0c0f527b3ae151d45c68f7ac6c205da3f34e74df --- diff --git a/patches/trebledroid/platform_frameworks_base/0010-Support-samsung-Pie-and-Q-light-hal.patch b/patches/trebledroid/platform_frameworks_base/0010-Support-samsung-Pie-and-Q-light-hal.patch index c510431..3aa6acc 100644 --- a/patches/trebledroid/platform_frameworks_base/0010-Support-samsung-Pie-and-Q-light-hal.patch +++ b/patches/trebledroid/platform_frameworks_base/0010-Support-samsung-Pie-and-Q-light-hal.patch @@ -1,7 +1,7 @@ -From f16a02f4c5825e6f28063c59f276d4c672af3080 Mon Sep 17 00:00:00 2001 +From f0ebdc6d3a9f02b940f9d97e9b1146fd4e9c2ab5 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 24 Mar 2019 23:05:14 +0100 -Subject: [PATCH 10/39] Support samsung Pie and Q light hal +Subject: [PATCH 10/40] Support samsung Pie and Q light hal Change-Id: I01f94acd7d0672733e48854d80368f9ac6f861c6 --- diff --git a/patches/trebledroid/platform_frameworks_base/0011-Add-support-for-samsung-touch-physical-and-hover-pro.patch b/patches/trebledroid/platform_frameworks_base/0011-Add-support-for-samsung-touch-physical-and-hover-pro.patch index 1f85691..c15e9cd 100644 --- a/patches/trebledroid/platform_frameworks_base/0011-Add-support-for-samsung-touch-physical-and-hover-pro.patch +++ b/patches/trebledroid/platform_frameworks_base/0011-Add-support-for-samsung-touch-physical-and-hover-pro.patch @@ -1,7 +1,7 @@ -From 5d0df42439cc11c4a925bc1c729587c04acc4634 Mon Sep 17 00:00:00 2001 +From 71052ee91a3178e4f203ea52f27bde6d2a732950 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 12 Aug 2019 23:08:26 +0200 -Subject: [PATCH 11/39] Add support for samsung touch, physical and hover +Subject: [PATCH 11/40] Add support for samsung touch, physical and hover proximity sensor as fallback to real proximity sensor Change-Id: I7a0f8b4665c802140d19197d850b77b2a7ac1865 diff --git a/patches/trebledroid/platform_frameworks_base/0012-Always-allow-overriding-the-number-of-work-profiles.patch b/patches/trebledroid/platform_frameworks_base/0012-Always-allow-overriding-the-number-of-work-profiles.patch index b69b639..5cb73cc 100644 --- a/patches/trebledroid/platform_frameworks_base/0012-Always-allow-overriding-the-number-of-work-profiles.patch +++ b/patches/trebledroid/platform_frameworks_base/0012-Always-allow-overriding-the-number-of-work-profiles.patch @@ -1,7 +1,7 @@ -From ea050c6a3ce504123e814c8bd67c194a700f17a1 Mon Sep 17 00:00:00 2001 +From c445e8b5eca6b0de0ae8bfc54f4fb4447e99c376 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 5 Apr 2020 16:32:46 +0200 -Subject: [PATCH 12/39] Always allow overriding the number of work profiles +Subject: [PATCH 12/40] Always allow overriding the number of work profiles Change-Id: I6eb09aa71663c6fbe7563e3038bffcabdba0ff6a --- diff --git a/patches/trebledroid/platform_frameworks_base/0013-HOME-deserves-to-wake-up-devices-just-as-well-as-bac.patch b/patches/trebledroid/platform_frameworks_base/0013-HOME-deserves-to-wake-up-devices-just-as-well-as-bac.patch index b6c8b55..ff3634c 100644 --- a/patches/trebledroid/platform_frameworks_base/0013-HOME-deserves-to-wake-up-devices-just-as-well-as-bac.patch +++ b/patches/trebledroid/platform_frameworks_base/0013-HOME-deserves-to-wake-up-devices-just-as-well-as-bac.patch @@ -1,7 +1,7 @@ -From b52ceab722af1ce600f7a884b1a166b5fe160a19 Mon Sep 17 00:00:00 2001 +From ab908b722fb244ca55f74a5f4dd10f69b2ffd4d3 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 6 Jun 2020 18:21:56 +0200 -Subject: [PATCH 13/39] HOME deserves to wake-up devices just as well as back +Subject: [PATCH 13/40] HOME deserves to wake-up devices just as well as back and menu Change-Id: Ia562bafd8c620d00c17e8eb338e4701c6c4a3c3a diff --git a/patches/trebledroid/platform_frameworks_base/0014-Some-devices-have-proximity-sensor-reporting-NaN-as-.patch b/patches/trebledroid/platform_frameworks_base/0014-Some-devices-have-proximity-sensor-reporting-NaN-as-.patch index 959712a..7f120dc 100644 --- a/patches/trebledroid/platform_frameworks_base/0014-Some-devices-have-proximity-sensor-reporting-NaN-as-.patch +++ b/patches/trebledroid/platform_frameworks_base/0014-Some-devices-have-proximity-sensor-reporting-NaN-as-.patch @@ -1,7 +1,7 @@ -From 375c8bd05578796a0ffee5c36b533321ba09a763 Mon Sep 17 00:00:00 2001 +From c9ccb889e5a3cc047e518c42fd31823ddc447e53 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 29 Sep 2020 22:39:47 +0200 -Subject: [PATCH 14/39] Some devices have proximity sensor reporting NaN as max +Subject: [PATCH 14/40] Some devices have proximity sensor reporting NaN as max range for some reason. Make them behave standard way by setting 5 cm Change-Id: I3c39e3e914a05903c140235702e0480d2d58a612 diff --git a/patches/trebledroid/platform_frameworks_base/0015-Fix-brightness-range-not-being-complete-on-Samsung-d.patch b/patches/trebledroid/platform_frameworks_base/0015-Fix-brightness-range-not-being-complete-on-Samsung-d.patch index 4c9d3aa..4672f90 100644 --- a/patches/trebledroid/platform_frameworks_base/0015-Fix-brightness-range-not-being-complete-on-Samsung-d.patch +++ b/patches/trebledroid/platform_frameworks_base/0015-Fix-brightness-range-not-being-complete-on-Samsung-d.patch @@ -1,7 +1,7 @@ -From 19daa349a114cf7bffbe4f9f883452c2fe1deb80 Mon Sep 17 00:00:00 2001 +From 6e549064e190a1b264390c529edd427040d95f22 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 29 Sep 2020 22:40:10 +0200 -Subject: [PATCH 15/39] Fix brightness range not being complete on Samsung +Subject: [PATCH 15/40] Fix brightness range not being complete on Samsung devices On some devices, minimum brightness is 0, which totally messes with diff --git a/patches/trebledroid/platform_frameworks_base/0016-Re-implement-fnmatch-like-behaviour-for-RRO-java-sid.patch b/patches/trebledroid/platform_frameworks_base/0016-Re-implement-fnmatch-like-behaviour-for-RRO-java-sid.patch index 9292996..ecfb956 100644 --- a/patches/trebledroid/platform_frameworks_base/0016-Re-implement-fnmatch-like-behaviour-for-RRO-java-sid.patch +++ b/patches/trebledroid/platform_frameworks_base/0016-Re-implement-fnmatch-like-behaviour-for-RRO-java-sid.patch @@ -1,7 +1,7 @@ -From b07a27aacdcc173f47ec1194d57bbeadd0f7df31 Mon Sep 17 00:00:00 2001 +From b27f51d5c39b9712dec4ac536b218087a43ce75c Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 25 Oct 2020 23:57:26 +0100 -Subject: [PATCH 16/39] Re-implement fnmatch-like behaviour for RRO java-side +Subject: [PATCH 16/40] Re-implement fnmatch-like behaviour for RRO java-side T: Also apply to FrameworkParsingPackageUtils (@PeterCxy) diff --git a/patches/trebledroid/platform_frameworks_base/0017-Remove-useless-notification-about-console-service-be.patch b/patches/trebledroid/platform_frameworks_base/0017-Remove-useless-notification-about-console-service-be.patch index d388840..8bbfd7f 100644 --- a/patches/trebledroid/platform_frameworks_base/0017-Remove-useless-notification-about-console-service-be.patch +++ b/patches/trebledroid/platform_frameworks_base/0017-Remove-useless-notification-about-console-service-be.patch @@ -1,7 +1,7 @@ -From 5601fc7f79a78c74b2f3c7f7ffdae213e987b8bc Mon Sep 17 00:00:00 2001 +From 1ced9f2b96a60614c6a8cdf6aee4803aa57694ef Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 11 Dec 2020 14:41:09 +0100 -Subject: [PATCH 17/39] Remove useless notification about "console" service +Subject: [PATCH 17/40] Remove useless notification about "console" service being running --- diff --git a/patches/trebledroid/platform_frameworks_base/0018-Revert-Remove-unused-SystemProperties.set.patch b/patches/trebledroid/platform_frameworks_base/0018-Revert-Remove-unused-SystemProperties.set.patch index a1ba4fb..f8998f6 100644 --- a/patches/trebledroid/platform_frameworks_base/0018-Revert-Remove-unused-SystemProperties.set.patch +++ b/patches/trebledroid/platform_frameworks_base/0018-Revert-Remove-unused-SystemProperties.set.patch @@ -1,7 +1,7 @@ -From cfe6744843fb6d4ce0c627d2cba2a715d14901c1 Mon Sep 17 00:00:00 2001 +From a59af82bdbf994f910c637e200c89b8ac928f008 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 16 Dec 2020 21:24:12 +0800 -Subject: [PATCH 18/39] Revert "Remove unused SystemProperties.set" +Subject: [PATCH 18/40] Revert "Remove unused SystemProperties.set" This reverts commit debb4616ef67f9ed5054eca51ec58592358ff55f. diff --git a/patches/trebledroid/platform_frameworks_base/0019-TelephonyManager-bring-back-getNetworkClass.patch b/patches/trebledroid/platform_frameworks_base/0019-TelephonyManager-bring-back-getNetworkClass.patch index 264f048..e0009eb 100644 --- a/patches/trebledroid/platform_frameworks_base/0019-TelephonyManager-bring-back-getNetworkClass.patch +++ b/patches/trebledroid/platform_frameworks_base/0019-TelephonyManager-bring-back-getNetworkClass.patch @@ -1,7 +1,7 @@ -From de73a02d4ab81b01f575b67d44e99061931bbd29 Mon Sep 17 00:00:00 2001 +From 0744e4d5eb6dc885b8b18e93144c3b0ec1629908 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 16 Dec 2020 13:46:15 +0800 -Subject: [PATCH 19/39] TelephonyManager: bring back getNetworkClass() +Subject: [PATCH 19/40] TelephonyManager: bring back getNetworkClass() This partially reverts commit c058cac051ab083dc7fb7ea6aa85699110b2e9bf. diff --git a/patches/trebledroid/platform_frameworks_base/0020-TelephonyManager-add-API-annotations-for-setTelephon.patch b/patches/trebledroid/platform_frameworks_base/0020-TelephonyManager-add-API-annotations-for-setTelephon.patch index b790786..d3d586d 100644 --- a/patches/trebledroid/platform_frameworks_base/0020-TelephonyManager-add-API-annotations-for-setTelephon.patch +++ b/patches/trebledroid/platform_frameworks_base/0020-TelephonyManager-add-API-annotations-for-setTelephon.patch @@ -1,7 +1,7 @@ -From c643aad9b1305ebb94e966b5b68814c18cdb0504 Mon Sep 17 00:00:00 2001 +From 050d9884afa8f704f673b7d2c60149bc4ef618d5 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 16 Dec 2020 21:26:45 +0800 -Subject: [PATCH 20/39] TelephonyManager: add API annotations for +Subject: [PATCH 20/40] TelephonyManager: add API annotations for setTelephonyProperty * This method was added back by reverting commit diff --git a/patches/trebledroid/platform_frameworks_base/0021-Fix-Wakelock-issue.patch b/patches/trebledroid/platform_frameworks_base/0021-Fix-Wakelock-issue.patch index c518ef5..c974c9c 100644 --- a/patches/trebledroid/platform_frameworks_base/0021-Fix-Wakelock-issue.patch +++ b/patches/trebledroid/platform_frameworks_base/0021-Fix-Wakelock-issue.patch @@ -1,7 +1,7 @@ -From 82abc5702f26ae7ebbdfc4b865e84f168b870f78 Mon Sep 17 00:00:00 2001 +From 3e74d40527fb048248d60ba5c884706aa7094047 Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Tue, 2 Feb 2021 10:20:51 +0000 -Subject: [PATCH 21/39] Fix Wakelock issue +Subject: [PATCH 21/40] Fix Wakelock issue Prevent SystemUI crash due to "WakeLock under-locked Doze" (issue #12) by only releasing a wakelock that was not already released --- diff --git a/patches/trebledroid/platform_frameworks_base/0022-Automatically-detect-pick-up-sensor-so-that-an-overl.patch b/patches/trebledroid/platform_frameworks_base/0022-Automatically-detect-pick-up-sensor-so-that-an-overl.patch index 429c9cb..6349adb 100644 --- a/patches/trebledroid/platform_frameworks_base/0022-Automatically-detect-pick-up-sensor-so-that-an-overl.patch +++ b/patches/trebledroid/platform_frameworks_base/0022-Automatically-detect-pick-up-sensor-so-that-an-overl.patch @@ -1,7 +1,7 @@ -From 164252baae1bb12e703978b8ee298f9e221def91 Mon Sep 17 00:00:00 2001 +From 3b40ecb6bde02f8acb035b8624cdd65758ccf6de Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 20 Mar 2021 14:31:01 +0100 -Subject: [PATCH 22/39] Automatically detect pick up sensor, so that an overlay +Subject: [PATCH 22/40] Automatically detect pick up sensor, so that an overlay is required for the sole purpose of enabling pulse doze on pick up sensor --- diff --git a/patches/trebledroid/platform_frameworks_base/0023-Catch-broken-mainBuiltInDisplayCutoutRectApproximati.patch b/patches/trebledroid/platform_frameworks_base/0023-Catch-broken-mainBuiltInDisplayCutoutRectApproximati.patch index 949db77..24fc9bd 100644 --- a/patches/trebledroid/platform_frameworks_base/0023-Catch-broken-mainBuiltInDisplayCutoutRectApproximati.patch +++ b/patches/trebledroid/platform_frameworks_base/0023-Catch-broken-mainBuiltInDisplayCutoutRectApproximati.patch @@ -1,7 +1,7 @@ -From 4514094fdb67bfad27a155a1b5bddae48f10b59d Mon Sep 17 00:00:00 2001 +From 8e94dc1c18de819d1be8f4daa504b982075cad60 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 23 Mar 2021 19:43:26 +0100 -Subject: [PATCH 23/39] Catch broken mainBuiltInDisplayCutoutRectApproximation +Subject: [PATCH 23/40] Catch broken mainBuiltInDisplayCutoutRectApproximation Some devices (Redmi Note 9T) have: mainBuiltInDisplayCutoutRectApproximation = @android:mainBuiltInDisplayCutout diff --git a/patches/trebledroid/platform_frameworks_base/0024-backlight-Fix-backlight-control-on-Galaxy-S9.patch b/patches/trebledroid/platform_frameworks_base/0024-backlight-Fix-backlight-control-on-Galaxy-S9.patch index 5aba6c6..c2e2a50 100644 --- a/patches/trebledroid/platform_frameworks_base/0024-backlight-Fix-backlight-control-on-Galaxy-S9.patch +++ b/patches/trebledroid/platform_frameworks_base/0024-backlight-Fix-backlight-control-on-Galaxy-S9.patch @@ -1,7 +1,7 @@ -From c54231e5be0ca4749b44fefcdb8461bf82d0d63b Mon Sep 17 00:00:00 2001 +From c50fe9994a51a09e102fc444fc5908bc9fc6c06b Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 24 Mar 2018 08:01:48 +0100 -Subject: [PATCH 24/39] backlight: Fix backlight control on Galaxy S9(+) +Subject: [PATCH 24/40] backlight: Fix backlight control on Galaxy S9(+) Change-Id: I1fbbb47939c377597ef8ad6b88b2acea5f4acaa6 diff --git a/patches/trebledroid/platform_frameworks_base/0025-Revert-Switch-long-press-power-behavior-in-AOSP.patch b/patches/trebledroid/platform_frameworks_base/0025-Revert-Switch-long-press-power-behavior-in-AOSP.patch index 0561a17..32026f7 100644 --- a/patches/trebledroid/platform_frameworks_base/0025-Revert-Switch-long-press-power-behavior-in-AOSP.patch +++ b/patches/trebledroid/platform_frameworks_base/0025-Revert-Switch-long-press-power-behavior-in-AOSP.patch @@ -1,7 +1,7 @@ -From 908369f2a89194f7aa56e7d745ebfca76d5a3a66 Mon Sep 17 00:00:00 2001 +From 012d7a7bce1bd622367f1ba5b38c59baaecf65c1 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sat, 4 Sep 2021 08:26:30 +0000 -Subject: [PATCH 25/39] Revert "Switch long-press power behavior in AOSP." +Subject: [PATCH 25/40] Revert "Switch long-press power behavior in AOSP." This reverts commit 803c77a0a24624111944832098c6f65158051dc4. --- diff --git a/patches/trebledroid/platform_frameworks_base/0026-Once-we-integrate-Samsung-Power-hal-in-libpowermanag.patch b/patches/trebledroid/platform_frameworks_base/0026-Once-we-integrate-Samsung-Power-hal-in-libpowermanag.patch index e6e27ab..b2e6d8e 100644 --- a/patches/trebledroid/platform_frameworks_base/0026-Once-we-integrate-Samsung-Power-hal-in-libpowermanag.patch +++ b/patches/trebledroid/platform_frameworks_base/0026-Once-we-integrate-Samsung-Power-hal-in-libpowermanag.patch @@ -1,7 +1,7 @@ -From abcfaaf5f402de0b1b384a57ed35a0ec42f8d241 Mon Sep 17 00:00:00 2001 +From 37f848e24e2ff9f10cd518123cd866b83caadef3 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 27 Dec 2021 17:57:11 -0500 -Subject: [PATCH 26/39] Once we integrate Samsung Power hal in libpowermanager, +Subject: [PATCH 26/40] Once we integrate Samsung Power hal in libpowermanager, libpowermanager and its deps require linking against vendor.samsung.hardware.miscpower@2.0 diff --git a/patches/trebledroid/platform_frameworks_base/0027-Allow-disabling-of-fingerprint-cleanups-needed-on-so.patch b/patches/trebledroid/platform_frameworks_base/0027-Allow-disabling-of-fingerprint-cleanups-needed-on-so.patch index d1cf1f3..815aa2b 100644 --- a/patches/trebledroid/platform_frameworks_base/0027-Allow-disabling-of-fingerprint-cleanups-needed-on-so.patch +++ b/patches/trebledroid/platform_frameworks_base/0027-Allow-disabling-of-fingerprint-cleanups-needed-on-so.patch @@ -1,7 +1,7 @@ -From 444e56b8be7dd5cd188b0e683a7b60499b3c5434 Mon Sep 17 00:00:00 2001 +From d5e1820c729d2ccfe27412c198a85657a5deff33 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 2 Apr 2022 18:04:01 -0400 -Subject: [PATCH 27/39] Allow disabling of fingerprint cleanups, needed on some +Subject: [PATCH 27/40] Allow disabling of fingerprint cleanups, needed on some Realme devices that cant enumerate --- diff --git a/patches/trebledroid/platform_frameworks_base/0028-Reduce-the-size-of-udfps-enroll-progress-bar.-Some-d.patch b/patches/trebledroid/platform_frameworks_base/0028-Reduce-the-size-of-udfps-enroll-progress-bar.-Some-d.patch index bae587e..c0d6009 100644 --- a/patches/trebledroid/platform_frameworks_base/0028-Reduce-the-size-of-udfps-enroll-progress-bar.-Some-d.patch +++ b/patches/trebledroid/platform_frameworks_base/0028-Reduce-the-size-of-udfps-enroll-progress-bar.-Some-d.patch @@ -1,7 +1,7 @@ -From 767e783b296be2470127d72a21e79d8c54ffd1b4 Mon Sep 17 00:00:00 2001 +From bf42cdeff8fa286ee239748ee75619987d108caf Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 17 Dec 2021 17:16:14 -0500 -Subject: [PATCH 28/39] Reduce the size of udfps enroll progress bar. Some +Subject: [PATCH 28/40] Reduce the size of udfps enroll progress bar. Some devices have their udfps pretty low, and the progress bar would make the icon at the wrong place diff --git a/patches/trebledroid/platform_frameworks_base/0029-Dynamically-resize-boot-animation-to-match-screen-si.patch b/patches/trebledroid/platform_frameworks_base/0029-Dynamically-resize-boot-animation-to-match-screen-si.patch index 646803d..2e2c250 100644 --- a/patches/trebledroid/platform_frameworks_base/0029-Dynamically-resize-boot-animation-to-match-screen-si.patch +++ b/patches/trebledroid/platform_frameworks_base/0029-Dynamically-resize-boot-animation-to-match-screen-si.patch @@ -1,7 +1,7 @@ -From 9951e01f56884e294beeea4f0f3b03091bb5a183 Mon Sep 17 00:00:00 2001 +From 44ebf8935311e3b1a5c62a969d5f33135dee491c Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 20 Dec 2021 15:01:41 -0500 -Subject: [PATCH 29/39] Dynamically resize boot animation to match screen size +Subject: [PATCH 29/40] Dynamically resize boot animation to match screen size Change-Id: I54e49fc6b8c670103852e212d1416e27ff976205 --- diff --git a/patches/trebledroid/platform_frameworks_base/0030-Revert-Remove-more-FDE-methods-from-StorageManager.patch b/patches/trebledroid/platform_frameworks_base/0030-Revert-Remove-more-FDE-methods-from-StorageManager.patch index 6f80f04..bd41f0b 100644 --- a/patches/trebledroid/platform_frameworks_base/0030-Revert-Remove-more-FDE-methods-from-StorageManager.patch +++ b/patches/trebledroid/platform_frameworks_base/0030-Revert-Remove-more-FDE-methods-from-StorageManager.patch @@ -1,7 +1,7 @@ -From c7f0c38bd2c5de2bdd38030c66c1c5aa03a1fc31 Mon Sep 17 00:00:00 2001 +From 2dbfc4f4018922151cc7e9c0d604a5a897ccd9ac Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sat, 15 Oct 2022 09:33:56 +0000 -Subject: [PATCH 30/39] Revert "Remove more FDE methods from StorageManager" +Subject: [PATCH 30/40] Revert "Remove more FDE methods from StorageManager" This reverts commit bd13f84152449a3ead6fa8604fd31f48c0224676. --- diff --git a/patches/trebledroid/platform_frameworks_base/0031-Set-old-fingerprint-sensors-to-security-strong.patch b/patches/trebledroid/platform_frameworks_base/0031-Set-old-fingerprint-sensors-to-security-strong.patch index 0cc0748..7c5855f 100644 --- a/patches/trebledroid/platform_frameworks_base/0031-Set-old-fingerprint-sensors-to-security-strong.patch +++ b/patches/trebledroid/platform_frameworks_base/0031-Set-old-fingerprint-sensors-to-security-strong.patch @@ -1,7 +1,7 @@ -From 341422b5ea08a6351ba5cf3fd42a633504e0e64e Mon Sep 17 00:00:00 2001 +From bec1ccab3bcf904bc1d87575b40b2579e374f7c7 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 3 Dec 2022 17:13:24 -0500 -Subject: [PATCH 31/39] Set old fingerprint sensors to security "strong" +Subject: [PATCH 31/40] Set old fingerprint sensors to security "strong" This allows removing config_biometric_sensors from overlays, which led to Pixels not booting, because they are using AIDL biometric sensor, and diff --git a/patches/trebledroid/platform_frameworks_base/0032-Call-Samsung-s-ISehSysInputDev-to-report-screen-stat.patch b/patches/trebledroid/platform_frameworks_base/0032-Call-Samsung-s-ISehSysInputDev-to-report-screen-stat.patch index 59de072..cb11204 100644 --- a/patches/trebledroid/platform_frameworks_base/0032-Call-Samsung-s-ISehSysInputDev-to-report-screen-stat.patch +++ b/patches/trebledroid/platform_frameworks_base/0032-Call-Samsung-s-ISehSysInputDev-to-report-screen-stat.patch @@ -1,7 +1,7 @@ -From 2679d747d983e510d726f9bbc900acbe5a35bf55 Mon Sep 17 00:00:00 2001 +From dff67c33b4ba8ffd4b1d0432172acdc4aae6eabf Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 14 Dec 2022 17:21:00 -0500 -Subject: [PATCH 32/39] Call Samsung's ISehSysInputDev to report screen state +Subject: [PATCH 32/40] Call Samsung's ISehSysInputDev to report screen state to touchscreen driver This fixes touchscreen not waking up on Galaxy F23 diff --git a/patches/trebledroid/platform_frameworks_base/0033-Fixup-of-c50777-original-commit-only-cares-about-R-v.patch b/patches/trebledroid/platform_frameworks_base/0033-Fixup-of-c50777-original-commit-only-cares-about-R-v.patch index 76e7e9c..32f5539 100644 --- a/patches/trebledroid/platform_frameworks_base/0033-Fixup-of-c50777-original-commit-only-cares-about-R-v.patch +++ b/patches/trebledroid/platform_frameworks_base/0033-Fixup-of-c50777-original-commit-only-cares-about-R-v.patch @@ -1,7 +1,7 @@ -From 364c77f460bcebafa66268727892b33457b57659 Mon Sep 17 00:00:00 2001 +From 591ede9b002dffe70d3f83d3b140f14fd2bbf78b Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 15 Dec 2022 15:54:50 -0500 -Subject: [PATCH 33/39] Fixup of c50777 -- original commit only cares about R +Subject: [PATCH 33/40] Fixup of c50777 -- original commit only cares about R vendors, but not about older ones. Apply that on older ones as well --- diff --git a/patches/trebledroid/platform_frameworks_base/0034-FOD-support-for-Asus-ZF8-and-Samsung-devices.patch b/patches/trebledroid/platform_frameworks_base/0034-FOD-support-for-Asus-ZF8-and-Samsung-devices.patch index e6455af..b924142 100644 --- a/patches/trebledroid/platform_frameworks_base/0034-FOD-support-for-Asus-ZF8-and-Samsung-devices.patch +++ b/patches/trebledroid/platform_frameworks_base/0034-FOD-support-for-Asus-ZF8-and-Samsung-devices.patch @@ -1,7 +1,7 @@ -From 7dbe0430efb92de83910c5e65de8e7f5cab7aa22 Mon Sep 17 00:00:00 2001 +From 95c6083aaca346005e5c0906ac823aac9ec20221 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 18 Dec 2022 18:20:40 -0500 -Subject: [PATCH 34/39] FOD support for Asus ZF8 and Samsung devices +Subject: [PATCH 34/40] FOD support for Asus ZF8 and Samsung devices Thanks Asus for providing a free device to make this support And thanks @davigamer987 for donating enough to get a Samsung FOD device diff --git a/patches/trebledroid/platform_frameworks_base/0035-Always-add-HIDL-fingerprint-config-Galaxy-A53-is-mis.patch b/patches/trebledroid/platform_frameworks_base/0035-Always-add-HIDL-fingerprint-config-Galaxy-A53-is-mis.patch index 6b4f794..42e105a 100644 --- a/patches/trebledroid/platform_frameworks_base/0035-Always-add-HIDL-fingerprint-config-Galaxy-A53-is-mis.patch +++ b/patches/trebledroid/platform_frameworks_base/0035-Always-add-HIDL-fingerprint-config-Galaxy-A53-is-mis.patch @@ -1,7 +1,7 @@ -From d29270366f7678974f0b66bd139e10477f6231a1 Mon Sep 17 00:00:00 2001 +From 9d257672f941c5900cbe253e8563eb0972bfd72b Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 3 Jan 2023 17:59:00 -0500 -Subject: [PATCH 35/39] Always add HIDL fingerprint config (Galaxy A53 is +Subject: [PATCH 35/40] Always add HIDL fingerprint config (Galaxy A53 is missing it on A12 vendor) -- but first enumerate AIDL --- diff --git a/patches/trebledroid/platform_frameworks_base/0036-SystemUI-Implement-alternate-brightness-path-for-FOD.patch b/patches/trebledroid/platform_frameworks_base/0036-SystemUI-Implement-alternate-brightness-path-for-FOD.patch index 9276249..f4afff3 100644 --- a/patches/trebledroid/platform_frameworks_base/0036-SystemUI-Implement-alternate-brightness-path-for-FOD.patch +++ b/patches/trebledroid/platform_frameworks_base/0036-SystemUI-Implement-alternate-brightness-path-for-FOD.patch @@ -1,7 +1,7 @@ -From 9d0c1b6e3b5fec6060505cd2196b150e638a43aa Mon Sep 17 00:00:00 2001 +From e117c1c2fff2f020ec8ae50d2b225e30a0e78bfe Mon Sep 17 00:00:00 2001 From: ItsLynix <71310187+ItsLynix@users.noreply.github.com> Date: Sat, 28 Jan 2023 10:25:16 +0100 -Subject: [PATCH 36/39] SystemUI: Implement alternate brightness path for FOD +Subject: [PATCH 36/40] SystemUI: Implement alternate brightness path for FOD --- .../com/android/systemui/biometrics/UdfpsView.kt | 15 +++++++++++++-- diff --git a/patches/trebledroid/platform_frameworks_base/0037-bootanimation-Fix-bootanimation-when-using-mask-shin.patch b/patches/trebledroid/platform_frameworks_base/0037-bootanimation-Fix-bootanimation-when-using-mask-shin.patch index 1b2f809..53c6dc8 100644 --- a/patches/trebledroid/platform_frameworks_base/0037-bootanimation-Fix-bootanimation-when-using-mask-shin.patch +++ b/patches/trebledroid/platform_frameworks_base/0037-bootanimation-Fix-bootanimation-when-using-mask-shin.patch @@ -1,7 +1,7 @@ -From 51f7dab844bc616e1dbdcfd8bdc5c04db083732e Mon Sep 17 00:00:00 2001 +From a0685bf4fc6eec9d3db34a86fdd99ca9725e84ed Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 10 May 2023 11:28:27 -0400 -Subject: [PATCH 37/39] bootanimation: Fix bootanimation when using mask+shine +Subject: [PATCH 37/40] bootanimation: Fix bootanimation when using mask+shine rather than animation This was broken by the commit that automatically resizes animations diff --git a/patches/trebledroid/platform_frameworks_base/0038-Try-catch-around-constrainNitsAndBacklightArrays-and.patch b/patches/trebledroid/platform_frameworks_base/0038-Try-catch-around-constrainNitsAndBacklightArrays-and.patch index 7384eea..207d214 100644 --- a/patches/trebledroid/platform_frameworks_base/0038-Try-catch-around-constrainNitsAndBacklightArrays-and.patch +++ b/patches/trebledroid/platform_frameworks_base/0038-Try-catch-around-constrainNitsAndBacklightArrays-and.patch @@ -1,7 +1,7 @@ -From 2302b2795eb16d576b9bbf52dd71710b40d1e8b6 Mon Sep 17 00:00:00 2001 +From dbd9f32c41d8338cda216885027056660fbc002c Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 2 Jun 2023 19:19:31 -0400 -Subject: [PATCH 38/39] Try catch around constrainNitsAndBacklightArrays, and +Subject: [PATCH 38/40] Try catch around constrainNitsAndBacklightArrays, and falls back to dumb curve. It crashes on Xperia 1 IV. --- diff --git a/patches/trebledroid/platform_frameworks_base/0039-Add-Mediatek-power-hints-on-touch.patch b/patches/trebledroid/platform_frameworks_base/0039-Add-Mediatek-power-hints-on-touch.patch index 977b1a6..4aae26b 100644 --- a/patches/trebledroid/platform_frameworks_base/0039-Add-Mediatek-power-hints-on-touch.patch +++ b/patches/trebledroid/platform_frameworks_base/0039-Add-Mediatek-power-hints-on-touch.patch @@ -1,7 +1,7 @@ -From d7adcb3af5478babab93429cd30a4468af4f2977 Mon Sep 17 00:00:00 2001 +From 4654f7dff40badf8219ad790db1d162dda165783 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 17 Jun 2023 08:31:55 -0400 -Subject: [PATCH 39/39] Add Mediatek power hints on touch +Subject: [PATCH 39/40] Add Mediatek power hints on touch Mediatek has multiple HALs (which existed concurrently), so it is a bit of a mess. @@ -37,7 +37,7 @@ index 604e1be0f03f..145a74a43464 100644 "vendor.goodix.hardware.biometrics.fingerprint-V2.1-java", "vendor.samsung.hardware.biometrics.fingerprint-V3.0-java", diff --git a/services/core/java/com/android/server/wm/DisplayPolicy.java b/services/core/java/com/android/server/wm/DisplayPolicy.java -index 7df69d6bf35e..5ddaa5d425a3 100644 +index 7df69d6bf35e..7b839efaf701 100644 --- a/services/core/java/com/android/server/wm/DisplayPolicy.java +++ b/services/core/java/com/android/server/wm/DisplayPolicy.java @@ -237,6 +237,9 @@ public class DisplayPolicy { @@ -101,7 +101,7 @@ index 7df69d6bf35e..5ddaa5d425a3 100644 + hint = 24; // MTKPOWER_HINT_APP_ROTATE + mMtkPerf.perfCusLockHint(hint, 1000); + } catch(Throwable t) { -+ android.util.Log.d("PHH-Power", "Failed sending touch power hint", t); ++ android.util.Log.d("PHH-Power", "Failed sending touch power hint", t); + } + } + if(mOldMtkPerf != null) { diff --git a/patches/trebledroid/platform_frameworks_base/0040-Detect-Moto-dynamic-hardware-feature.patch b/patches/trebledroid/platform_frameworks_base/0040-Detect-Moto-dynamic-hardware-feature.patch new file mode 100644 index 0000000..9c8a522 --- /dev/null +++ b/patches/trebledroid/platform_frameworks_base/0040-Detect-Moto-dynamic-hardware-feature.patch @@ -0,0 +1,48 @@ +From 5ca8efc28bd5d2279e2610f1f7dd9e887ce0a1d7 Mon Sep 17 00:00:00 2001 +From: Pierre-Hugues Husson +Date: Wed, 5 Jul 2023 10:50:36 -0400 +Subject: [PATCH 40/40] Detect Moto dynamic hardware feature + +Moto added a custom node in sysconfig XMLs: + +This node reads a property and enables a feature based on it. + +Take those into account to enable NFC on Moto devices which have +NFC-less variants +--- + .../java/com/android/server/SystemConfig.java | 19 +++++++++++++++++++ + 1 file changed, 19 insertions(+) + +diff --git a/core/java/com/android/server/SystemConfig.java b/core/java/com/android/server/SystemConfig.java +index 00b01051adae..ffcc75e63d66 100644 +--- a/core/java/com/android/server/SystemConfig.java ++++ b/core/java/com/android/server/SystemConfig.java +@@ -979,6 +979,25 @@ public class SystemConfig { + } + XmlUtils.skipCurrentTag(parser); + } break; ++ case "unavailable-feature-conditional": { ++ if (allowFeatures) { ++ String fname = parser.getAttributeValue(null, "name"); ++ String prop = parser.getAttributeValue(null, "prop"); ++ if (fname == null || prop == null) { ++ Slog.w(TAG, "<" + name + "> without name in " + permFile ++ + " at " + parser.getPositionDescription()); ++ } else { ++ if(android.os.SystemProperties.getBoolean(prop, false)) { ++ addFeature(fname, 0); ++ } else { ++ mUnavailableFeatures.add(fname); ++ } ++ } ++ } else { ++ logNotAllowedInPartition(name, permFile, parser); ++ } ++ XmlUtils.skipCurrentTag(parser); ++ } break; + case "allow-in-power-save-except-idle": { + if (allowOverrideAppRestrictions) { + String pkgname = parser.getAttributeValue(null, "package"); +-- +2.37.1 (Apple Git-137.1) + diff --git a/patches/trebledroid/platform_packages_apps_Settings/0001-Act-as-usb-device-when-there-is-no-hal-but-we-believ.patch b/patches/trebledroid/platform_packages_apps_Settings/0001-Act-as-usb-device-when-there-is-no-hal-but-we-believ.patch index 8e0f5b9..322d892 100644 --- a/patches/trebledroid/platform_packages_apps_Settings/0001-Act-as-usb-device-when-there-is-no-hal-but-we-believ.patch +++ b/patches/trebledroid/platform_packages_apps_Settings/0001-Act-as-usb-device-when-there-is-no-hal-but-we-believ.patch @@ -1,4 +1,4 @@ -From 6f88a7744da8b300b7f1a5c2899d7a92ffcb5d14 Mon Sep 17 00:00:00 2001 +From bc0803aa06b9e7c205d64e06e2211f69c1ef7903 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 14 Aug 2018 21:48:19 +0200 Subject: [PATCH 1/2] Act as usb device when there is no hal, but we believe we diff --git a/patches/trebledroid/platform_packages_apps_Settings/0002-Ignore-cancelled-fingerprint-events-they-are-expecte.patch b/patches/trebledroid/platform_packages_apps_Settings/0002-Ignore-cancelled-fingerprint-events-they-are-expecte.patch index 7336cdf..c52e884 100644 --- a/patches/trebledroid/platform_packages_apps_Settings/0002-Ignore-cancelled-fingerprint-events-they-are-expecte.patch +++ b/patches/trebledroid/platform_packages_apps_Settings/0002-Ignore-cancelled-fingerprint-events-they-are-expecte.patch @@ -1,4 +1,4 @@ -From d25566686373d8ed918e6ee97804a95c166adc3c Mon Sep 17 00:00:00 2001 +From 16172dac31d4267aef9396099668210848e4c078 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 2 May 2022 17:44:28 -0400 Subject: [PATCH 2/2] Ignore cancelled fingerprint events, they are expected, diff --git a/patches/trebledroid/platform_system_core/0001-Let-system-override-ro.apex.updatable.patch b/patches/trebledroid/platform_system_core/0001-Let-system-override-ro.apex.updatable.patch index 73e7f14..9ae8375 100644 --- a/patches/trebledroid/platform_system_core/0001-Let-system-override-ro.apex.updatable.patch +++ b/patches/trebledroid/platform_system_core/0001-Let-system-override-ro.apex.updatable.patch @@ -1,4 +1,4 @@ -From 54df87873d1e69292eb253936c03f885007a7844 Mon Sep 17 00:00:00 2001 +From 9a157eda133d88a9fbdc8b7b1e5d1adc65349e2e Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 23 Feb 2022 17:37:47 -0500 Subject: [PATCH 01/18] Let system override ro.apex.updatable @@ -13,10 +13,10 @@ So, ignore the override policy for this prop 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/init/property_service.cpp b/init/property_service.cpp -index 6f8da33fc..be3841686 100644 +index 26341b196..45b04151e 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp -@@ -727,8 +727,12 @@ static void LoadProperties(char* data, const char* filter, const char* filename, +@@ -726,8 +726,12 @@ static void LoadProperties(char* data, const char* filter, const char* filename, } else if (it->second != value) { LOG(WARNING) << "Overriding previous property '" << key << "':'" << it->second << "' with new value '" << value << "'"; @@ -32,5 +32,5 @@ index 6f8da33fc..be3841686 100644 LOG(ERROR) << "Do not have permissions to set '" << key << "' to '" << value << "' in property file '" << filename << "': " << error; -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0002-If-Vboot2-fails-fall-back-to-Vboot1.patch b/patches/trebledroid/platform_system_core/0002-If-Vboot2-fails-fall-back-to-Vboot1.patch index 81ad3f8..ae84e52 100644 --- a/patches/trebledroid/platform_system_core/0002-If-Vboot2-fails-fall-back-to-Vboot1.patch +++ b/patches/trebledroid/platform_system_core/0002-If-Vboot2-fails-fall-back-to-Vboot1.patch @@ -1,4 +1,4 @@ -From 561cd6edd7922feb1e754e5544d729cfe4a2ba00 Mon Sep 17 00:00:00 2001 +From 9325931f15160e284dc57f5cb5f68b3b37e5ebf7 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 12 Sep 2019 13:05:37 +0200 Subject: [PATCH 02/18] If Vboot2 fails, fall-back to Vboot1 @@ -42,5 +42,5 @@ index 042988eff..6dfa275e4 100644 void SetInitAvbVersionInRecovery() { -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0003-Revert-Remove-support-for-AVB-1.0.patch b/patches/trebledroid/platform_system_core/0003-Revert-Remove-support-for-AVB-1.0.patch index 7c73d42..cf56c0e 100644 --- a/patches/trebledroid/platform_system_core/0003-Revert-Remove-support-for-AVB-1.0.patch +++ b/patches/trebledroid/platform_system_core/0003-Revert-Remove-support-for-AVB-1.0.patch @@ -1,4 +1,4 @@ -From 03d1b22288e72ec697468fd7bd691d7cffec4035 Mon Sep 17 00:00:00 2001 +From f7e07e01b8a2b9f9db49a25734f6e85967b9533b Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Wed, 28 Sep 2022 17:04:03 +0100 Subject: [PATCH 03/18] Revert "Remove support for AVB 1.0." @@ -929,5 +929,5 @@ index 52a7f7473..0a26abaa2 100644 if (!any_changed) any_changed = overlayfs_setup(enable); -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0004-Don-t-abandon-creating-property-tree-if-there-is-a-c.patch b/patches/trebledroid/platform_system_core/0004-Don-t-abandon-creating-property-tree-if-there-is-a-c.patch index e649c7f..aa20fb9 100644 --- a/patches/trebledroid/platform_system_core/0004-Don-t-abandon-creating-property-tree-if-there-is-a-c.patch +++ b/patches/trebledroid/platform_system_core/0004-Don-t-abandon-creating-property-tree-if-there-is-a-c.patch @@ -1,4 +1,4 @@ -From a2601c7a88bfcb54805cabd3dd991fbf9126987e Mon Sep 17 00:00:00 2001 +From f242aab0009d9c85b4a5deecdf949dd172e2e6be Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 18 Oct 2020 18:14:47 +0200 Subject: [PATCH 04/18] Don't abandon creating property tree if there is a @@ -31,5 +31,5 @@ index 803657ab8..ecdd0be20 100644 } -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0005-init-Do-not-start-console-service-when-debuggable.patch b/patches/trebledroid/platform_system_core/0005-init-Do-not-start-console-service-when-debuggable.patch index b02859d..1d42e2a 100644 --- a/patches/trebledroid/platform_system_core/0005-init-Do-not-start-console-service-when-debuggable.patch +++ b/patches/trebledroid/platform_system_core/0005-init-Do-not-start-console-service-when-debuggable.patch @@ -1,4 +1,4 @@ -From 10fae3b6659fbfe95956dc94f4422e335e149438 Mon Sep 17 00:00:00 2001 +From 6e94af714465a95914552292e47fa0bf3b8ca061 Mon Sep 17 00:00:00 2001 From: Isaac Chen Date: Wed, 23 Jun 2021 13:07:30 +0800 Subject: [PATCH 05/18] init: Do not start console service when debuggable @@ -13,7 +13,7 @@ Change-Id: I34cfd6b42d3b9aee4b3e63181480cfb8b1255f29 1 file changed, 3 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc -index 6b7687ab7..45fde5225 100644 +index 2b53d883e..45fde5225 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -1280,9 +1280,6 @@ on property:ro.debuggable=1 @@ -27,5 +27,5 @@ index 6b7687ab7..45fde5225 100644 # TODO(b/135984674): reset all necessary properties here. setprop sys.boot_completed "" -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0006-Panic-into-recovery-rather-than-bootloader.patch b/patches/trebledroid/platform_system_core/0006-Panic-into-recovery-rather-than-bootloader.patch index 14b08d3..6b16476 100644 --- a/patches/trebledroid/platform_system_core/0006-Panic-into-recovery-rather-than-bootloader.patch +++ b/patches/trebledroid/platform_system_core/0006-Panic-into-recovery-rather-than-bootloader.patch @@ -1,4 +1,4 @@ -From 87a054932db40910e02599b1d1cebaac5330dcb6 Mon Sep 17 00:00:00 2001 +From 0231dc621f36bcf2c93d3325975047cd45c79a1b Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 4 Sep 2019 21:11:48 +0200 Subject: [PATCH 06/18] Panic into recovery rather than bootloader @@ -34,5 +34,5 @@ index 1f411636c..cd25f80f1 100644 const std::string kRebootTargetStringPattern = kRebootTargetString + "="; start_pos += sizeof(kRebootTargetStringPattern) - 1; -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0007-Detect-allowed-sdcard-options-based-on-vndk.patch b/patches/trebledroid/platform_system_core/0007-Detect-allowed-sdcard-options-based-on-vndk.patch index 3f36610..7fc01de 100644 --- a/patches/trebledroid/platform_system_core/0007-Detect-allowed-sdcard-options-based-on-vndk.patch +++ b/patches/trebledroid/platform_system_core/0007-Detect-allowed-sdcard-options-based-on-vndk.patch @@ -1,4 +1,4 @@ -From e65da8440f258ceb3dabcd77dd720461bec1cee4 Mon Sep 17 00:00:00 2001 +From f015ea56857dacdaa7ed0fbd832024dd207344c6 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 14 Aug 2018 19:33:03 +0200 Subject: [PATCH 07/18] Detect allowed sdcard options based on vndk @@ -39,5 +39,5 @@ index 622de5b7a..e580190e9 100644 // handle older kernels that aren't updated yet. for (int i = 0; i <= new_opts_list.size(); ++i) { -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0008-Revert-Set-system-xbin-permissions-to-750.patch b/patches/trebledroid/platform_system_core/0008-Revert-Set-system-xbin-permissions-to-750.patch index c5e55f8..ef69de5 100644 --- a/patches/trebledroid/platform_system_core/0008-Revert-Set-system-xbin-permissions-to-750.patch +++ b/patches/trebledroid/platform_system_core/0008-Revert-Set-system-xbin-permissions-to-750.patch @@ -1,4 +1,4 @@ -From c3ada90db06eeff963daf558e097bd4d3a6affcb Mon Sep 17 00:00:00 2001 +From 0d7411bb4a24b6e1d6fae2ae532c9a7d7996ae1a Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Tue, 1 Feb 2022 13:48:35 +0000 Subject: [PATCH 08/18] Revert "Set /system/xbin permissions to 750." @@ -24,5 +24,5 @@ index a6835fc70..f686b469c 100644 { 00751, AID_ROOT, AID_SHELL, 0, "system_ext/bin" }, { 00751, AID_ROOT, AID_SHELL, 0, "system_ext/apex/*/bin" }, -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0009-Ugly-but-secure-Set-dev-uinput-as-0666-to-fix-finger.patch b/patches/trebledroid/platform_system_core/0009-Ugly-but-secure-Set-dev-uinput-as-0666-to-fix-finger.patch index 8d0e653..8f6bfec 100644 --- a/patches/trebledroid/platform_system_core/0009-Ugly-but-secure-Set-dev-uinput-as-0666-to-fix-finger.patch +++ b/patches/trebledroid/platform_system_core/0009-Ugly-but-secure-Set-dev-uinput-as-0666-to-fix-finger.patch @@ -1,4 +1,4 @@ -From ebf6d8a190f01322820d4d875c3f9938f15d4c37 Mon Sep 17 00:00:00 2001 +From cb9a3099438f957df8a4143f341c612821ff6921 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 1 Nov 2019 18:22:13 +0100 Subject: [PATCH 09/18] Ugly but secure: Set /dev/uinput as 0666 to fix @@ -28,5 +28,5 @@ index 4ec59afe9..c9cd629b3 100644 /dev/tty0 0660 root system /dev/graphics/* 0660 root graphics -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0010-Add-my-own-OTA-mechanism-going-over-data.patch b/patches/trebledroid/platform_system_core/0010-Add-my-own-OTA-mechanism-going-over-data.patch index 327fad9..aee3b55 100644 --- a/patches/trebledroid/platform_system_core/0010-Add-my-own-OTA-mechanism-going-over-data.patch +++ b/patches/trebledroid/platform_system_core/0010-Add-my-own-OTA-mechanism-going-over-data.patch @@ -1,4 +1,4 @@ -From 5c426f95bb41699c5ba31650c6020b49a02c866b Mon Sep 17 00:00:00 2001 +From 54eb8914349a0c1c7082372cdd614ff5f39142b9 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 22 Jan 2022 14:34:45 -0500 Subject: [PATCH 10/18] Add my own OTA mechanism going over /data @@ -132,5 +132,5 @@ index be8c5542f..59d41e373 100644 boot_clock::time_point start_time = boot_clock::now(); -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0011-fs_mgr-Keep-allowing-encryptable-fstab-flag.patch b/patches/trebledroid/platform_system_core/0011-fs_mgr-Keep-allowing-encryptable-fstab-flag.patch index 7cb6e01..54180af 100644 --- a/patches/trebledroid/platform_system_core/0011-fs_mgr-Keep-allowing-encryptable-fstab-flag.patch +++ b/patches/trebledroid/platform_system_core/0011-fs_mgr-Keep-allowing-encryptable-fstab-flag.patch @@ -1,4 +1,4 @@ -From 39f0885d79e86e0aea3cbc14f8668a0f33fbdb30 Mon Sep 17 00:00:00 2001 +From 096bca2b303d02901fe32607843aca8303016058 Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Mon, 3 Oct 2022 13:50:36 +0100 Subject: [PATCH 11/18] fs_mgr: Keep allowing encryptable fstab flag @@ -33,5 +33,5 @@ index 9c77299a6..9d365ff0d 100644 } -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0012-Fix-support-for-devices-without-cgroupv2-support.patch b/patches/trebledroid/platform_system_core/0012-Fix-support-for-devices-without-cgroupv2-support.patch index 745e239..745ef90 100644 --- a/patches/trebledroid/platform_system_core/0012-Fix-support-for-devices-without-cgroupv2-support.patch +++ b/patches/trebledroid/platform_system_core/0012-Fix-support-for-devices-without-cgroupv2-support.patch @@ -1,4 +1,4 @@ -From 4f158185ae326fcfa767b642da482af99eee8779 Mon Sep 17 00:00:00 2001 +From e9a22cd0d594da4574b549f02a7f1a7acd1b29e6 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 26 Oct 2022 17:59:11 -0400 Subject: [PATCH 12/18] Fix support for devices without cgroupv2 support @@ -12,10 +12,10 @@ devices without cgroupv2 simply won't freeze processes at all 1 file changed, 4 insertions(+) diff --git a/init/service.cpp b/init/service.cpp -index 38435a658..64af4d381 100644 +index bd704cf8e..188b042d9 100644 --- a/init/service.cpp +++ b/init/service.cpp -@@ -665,11 +665,15 @@ Result Service::Start() { +@@ -662,11 +662,15 @@ Result Service::Start() { limit_percent_ != -1 || !limit_property_.empty(); errno = -createProcessGroup(proc_attr_.uid, pid_, use_memcg); if (errno != 0) { @@ -32,5 +32,5 @@ index 38435a658..64af4d381 100644 if (use_memcg) { -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0013-FDE-is-dead.-Fallback-FDE-to-no-encryption-and-FDE-F.patch b/patches/trebledroid/platform_system_core/0013-FDE-is-dead.-Fallback-FDE-to-no-encryption-and-FDE-F.patch index 4b9a391..7f8eee4 100644 --- a/patches/trebledroid/platform_system_core/0013-FDE-is-dead.-Fallback-FDE-to-no-encryption-and-FDE-F.patch +++ b/patches/trebledroid/platform_system_core/0013-FDE-is-dead.-Fallback-FDE-to-no-encryption-and-FDE-F.patch @@ -1,4 +1,4 @@ -From b8779aeb57426685a465cda5908f7e0ea277facf Mon Sep 17 00:00:00 2001 +From 6af0e04512a52f99e20274f0058183b344798d94 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 10 Nov 2022 13:30:50 -0500 Subject: [PATCH 13/18] FDE is dead. Fallback FDE to no encryption, and FDE+FBE @@ -34,5 +34,5 @@ index 9d365ff0d..2ecd35faf 100644 // The voldmanaged flag is followed by an = and the label, a colon and the partition // number or the word "auto", e.g. voldmanaged=sdcard:3 -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0014-Let-system-override-adb-secure-props-so-we-dont-get-.patch b/patches/trebledroid/platform_system_core/0014-Let-system-override-adb-secure-props-so-we-dont-get-.patch index b23c75c..faa16a6 100644 --- a/patches/trebledroid/platform_system_core/0014-Let-system-override-adb-secure-props-so-we-dont-get-.patch +++ b/patches/trebledroid/platform_system_core/0014-Let-system-override-adb-secure-props-so-we-dont-get-.patch @@ -1,4 +1,4 @@ -From 151983079dc257c7455c69ec032facbcdab23f0e Mon Sep 17 00:00:00 2001 +From 32483b6665b4b0a29a6dbceb04c2ba2642bc3153 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 9 Dec 2022 13:57:10 -0500 Subject: [PATCH 14/18] Let system override adb/secure props, so we dont get @@ -9,10 +9,10 @@ Subject: [PATCH 14/18] Let system override adb/secure props, so we dont get 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/property_service.cpp b/init/property_service.cpp -index be3841686..4dc542224 100644 +index 45b04151e..080ee9c71 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp -@@ -727,7 +727,7 @@ static void LoadProperties(char* data, const char* filter, const char* filename, +@@ -726,7 +726,7 @@ static void LoadProperties(char* data, const char* filter, const char* filename, } else if (it->second != value) { LOG(WARNING) << "Overriding previous property '" << key << "':'" << it->second << "' with new value '" << value << "'"; @@ -22,5 +22,5 @@ index be3841686..4dc542224 100644 } else { it->second = value; -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0015-Allow-apex-on-5.0-kernels.-This-is-needed-because-on.patch b/patches/trebledroid/platform_system_core/0015-Allow-apex-on-5.0-kernels.-This-is-needed-because-on.patch index 15aff63..8c4e779 100644 --- a/patches/trebledroid/platform_system_core/0015-Allow-apex-on-5.0-kernels.-This-is-needed-because-on.patch +++ b/patches/trebledroid/platform_system_core/0015-Allow-apex-on-5.0-kernels.-This-is-needed-because-on.patch @@ -1,4 +1,4 @@ -From 7d35d299f18b8d5c0d81c2585dea83cf1732c577 Mon Sep 17 00:00:00 2001 +From 117010f3fa8806be306470ebd5d0a499e80b45c2 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 28 Apr 2023 12:29:05 -0400 Subject: [PATCH 15/18] Allow apex on > 5.0 kernels. This is needed because on @@ -9,7 +9,7 @@ Subject: [PATCH 15/18] Allow apex on > 5.0 kernels. This is needed because on 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/init/property_service.cpp b/init/property_service.cpp -index 4dc542224..eb167eb4c 100644 +index 080ee9c71..3dc81169e 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -61,6 +61,7 @@ @@ -20,7 +20,7 @@ index 4dc542224..eb167eb4c 100644 #include "debug_ramdisk.h" #include "epoll.h" -@@ -633,6 +634,16 @@ uint32_t InitPropertySet(const std::string& name, const std::string& value) { +@@ -632,6 +633,16 @@ uint32_t InitPropertySet(const std::string& name, const std::string& value) { static bool load_properties_from_file(const char*, const char*, std::map*); @@ -37,7 +37,7 @@ index 4dc542224..eb167eb4c 100644 /* * Filter is used to decide which properties to load: NULL loads all keys, * "ro.foo.*" is a prefix match, and "ro.foo.bar" is an exact match. -@@ -727,7 +738,9 @@ static void LoadProperties(char* data, const char* filter, const char* filename, +@@ -726,7 +737,9 @@ static void LoadProperties(char* data, const char* filter, const char* filename, } else if (it->second != value) { LOG(WARNING) << "Overriding previous property '" << key << "':'" << it->second << "' with new value '" << value << "'"; @@ -49,5 +49,5 @@ index 4dc542224..eb167eb4c 100644 } else { it->second = value; -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0016-watchdogd-Support-pinging-two-watchdogs.patch b/patches/trebledroid/platform_system_core/0016-watchdogd-Support-pinging-two-watchdogs.patch index e2d30e9..6fac908 100644 --- a/patches/trebledroid/platform_system_core/0016-watchdogd-Support-pinging-two-watchdogs.patch +++ b/patches/trebledroid/platform_system_core/0016-watchdogd-Support-pinging-two-watchdogs.patch @@ -1,4 +1,4 @@ -From 9e492f59db513db5f9aa49f6f4056e2b0dfd01e0 Mon Sep 17 00:00:00 2001 +From d7037a9f94800e8107c0e847b572298c6d063c99 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 27 May 2023 05:36:21 -0400 Subject: [PATCH 16/18] watchdogd: Support pinging two watchdogs @@ -74,5 +74,5 @@ index 5dc41e6b8..69abb4e2b 100644 } } -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0017-healthd-offline-charger-fix-screen-off-3-3.patch b/patches/trebledroid/platform_system_core/0017-healthd-offline-charger-fix-screen-off-3-3.patch index bd2e823..4c5b30c 100644 --- a/patches/trebledroid/platform_system_core/0017-healthd-offline-charger-fix-screen-off-3-3.patch +++ b/patches/trebledroid/platform_system_core/0017-healthd-offline-charger-fix-screen-off-3-3.patch @@ -1,4 +1,4 @@ -From 5528589498430f33da86ecf59f8f75d630cb2e6b Mon Sep 17 00:00:00 2001 +From 3f561dde1aa641bca683d4b5cc575aefe11bd7e5 Mon Sep 17 00:00:00 2001 From: Raphael Mounier Date: Sun, 21 May 2023 16:15:42 +0200 Subject: [PATCH 17/18] healthd : offline charger fix screen off 3/3 @@ -225,5 +225,5 @@ index 8957a7b22..291fc7eb3 100644 void InitAnimation(); int RequestEnableSuspend(); -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_core/0018-Disable-quotas-on-legacy-devices-with-encryption-dis.patch b/patches/trebledroid/platform_system_core/0018-Disable-quotas-on-legacy-devices-with-encryption-dis.patch index 52dfda3..c9a9642 100644 --- a/patches/trebledroid/platform_system_core/0018-Disable-quotas-on-legacy-devices-with-encryption-dis.patch +++ b/patches/trebledroid/platform_system_core/0018-Disable-quotas-on-legacy-devices-with-encryption-dis.patch @@ -1,4 +1,4 @@ -From 506ec7927802153ca266585fd98907876ffe087c Mon Sep 17 00:00:00 2001 +From cf60793721b643dc990e010a5ed356f0b2f4685c Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 6 Jun 2023 16:17:11 +0100 Subject: [PATCH 18/18] Disable quotas on legacy devices with encryption @@ -28,5 +28,5 @@ index 1acaea3cf..c2ccd5cd5 100644 LERROR << "Unable to " << (want_quota ? "enable" : "disable") << " quotas on " << blk_device << " because " TUNE2FS_BIN " is missing"; -- -2.37.1 (Apple Git-137.1) +2.25.1 diff --git a/patches/trebledroid/platform_system_nfc/0001-Let-vendor-have-priority-over-NFC-config-file-rather.patch b/patches/trebledroid/platform_system_nfc/0001-Let-vendor-have-priority-over-NFC-config-file-rather.patch index 9d0309b..0c99014 100644 --- a/patches/trebledroid/platform_system_nfc/0001-Let-vendor-have-priority-over-NFC-config-file-rather.patch +++ b/patches/trebledroid/platform_system_nfc/0001-Let-vendor-have-priority-over-NFC-config-file-rather.patch @@ -1,4 +1,4 @@ -From 173fb4653cff83dcf2f8567d93760c361935bd37 Mon Sep 17 00:00:00 2001 +From 45ee4a36b96d8a0279a5ea65b6d8ca6117ed5fa7 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 21 Dec 2020 19:36:54 +0100 Subject: [PATCH] Let vendor have priority over NFC config file, rather than