Skip to content

Commit c50e167

Browse files
authored
Merge pull request #204 from Archfx/sync-bot
TrebleDroid patches
2 parents 9e82faa + 364b05b commit c50e167

29 files changed

Lines changed: 1750 additions & 43 deletions

File tree

patches/trebledroid/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 7888c8534576446b8c79b9ffb2c4becb4c01cce5 Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Wed, 14 Aug 2019 23:37:10 +0200
4-
Subject: [PATCH 01/15] On Samsung, we need to send a hack-message to HAL to
4+
Subject: [PATCH 01/19] On Samsung, we need to send a hack-message to HAL to
55
get all Sensors
66

77
Change-Id: Id6a1fa48340de61c418493668e9abd22c2599376

patches/trebledroid/platform_frameworks_native/0002-Matching-an-input-with-a-display-uses-uniqueId.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 377797ce5e93e7219ac74b0fd02c69a888a34567 Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Thu, 22 Oct 2020 23:22:46 +0200
4-
Subject: [PATCH 02/15] Matching an input with a display uses uniqueId
4+
Subject: [PATCH 02/19] Matching an input with a display uses uniqueId
55

66
Not all devices have a `location`, notably bluetooth devices.
77
However, we might still want to associate them with a screen,

patches/trebledroid/platform_frameworks_native/0003-unshared_oob-didn-t-exist-in-O-P-so-detect-its-suppo.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From f52ddb3b62b90006410898016b53bd2ded1de5ae Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Tue, 5 Jan 2021 23:44:00 +0100
4-
Subject: [PATCH 03/15] unshared_oob didn't exist in O/P, so detect its
4+
Subject: [PATCH 03/19] unshared_oob didn't exist in O/P, so detect its
55
supported based on vndk version
66

77
---

patches/trebledroid/platform_frameworks_native/0004-Remove-Samsung-system-permission-on-sensors.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From f33584578806208b8874e6d84ec98c320c4cade1 Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Wed, 31 Mar 2021 23:36:03 +0200
4-
Subject: [PATCH 04/15] Remove Samsung system permission on sensors
4+
Subject: [PATCH 04/19] Remove Samsung system permission on sensors
55

66
---
77
libs/sensor/Sensor.cpp | 1 +

patches/trebledroid/platform_frameworks_native/0005-Mark-accelerometer-input-as-sensor-exclusively-if-th.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 57469f5a11d1480ab4fe848179a5f41db09bcc73 Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Sun, 12 Dec 2021 08:45:36 -0500
4-
Subject: [PATCH 05/15] Mark accelerometer input as sensor exclusively if there
4+
Subject: [PATCH 05/19] Mark accelerometer input as sensor exclusively if there
55
are ABS axis
66

77
The reason this is needed is that on -fucked up- Xiami Mi A2 Lite and

patches/trebledroid/platform_frameworks_native/0006-MIUI13-devices-hide-their-vibrator-HAL-behind-non-de.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 91b499ac8cc54c4b4a61efbd6a66632a012aa63d Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Fri, 25 Mar 2022 05:37:56 -0400
4-
Subject: [PATCH 06/15] MIUI13 devices hide their vibrator HAL behind
4+
Subject: [PATCH 06/19] MIUI13 devices hide their vibrator HAL behind
55
non-default name: "vibratorfeature"
66

77
Change-Id: Iafeb6ec9afba350b2b9a7bbbf55318fe607df0a1

patches/trebledroid/platform_frameworks_native/0007-powermanager-Add-support-Samsung-miscpower-HAL.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 7f42313272671df222c639fdaf0d09c22c954173 Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Mon, 27 Dec 2021 18:00:43 -0500
4-
Subject: [PATCH 07/15] powermanager: Add support Samsung miscpower HAL
4+
Subject: [PATCH 07/19] powermanager: Add support Samsung miscpower HAL
55

66
Several various configurations need to be supported:
77
- Android Pie vendors have a android.hardware.power HIDL default + "miscpower"

patches/trebledroid/platform_frameworks_native/0008-FOD-support-for-Samsung-and-Asus.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From c26f81ef84cd18a031e13a6620b13edcb0838a49 Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Sun, 18 Dec 2022 18:17:30 -0500
4-
Subject: [PATCH 08/15] FOD support for Samsung and Asus
4+
Subject: [PATCH 08/19] FOD support for Samsung and Asus
55

66
---
77
libs/gui/BLASTBufferQueue.cpp | 23 ++++++++++++++----

patches/trebledroid/platform_frameworks_native/0009-Add-MTK-GED-KPI-support-to-fix-broken-Mediatek-gpufr.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 89605a19989e753ac8afe57190ed96eb6db81268 Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Sat, 25 Nov 2023 08:15:28 -0500
4-
Subject: [PATCH 09/15] Add MTK GED KPI support to fix broken Mediatek gpufreq
4+
Subject: [PATCH 09/19] Add MTK GED KPI support to fix broken Mediatek gpufreq
55

66
Mediatek GPU scheduler likes to have the timestamps of the frames to be
77
able to adjust DVFS.

patches/trebledroid/platform_frameworks_native/0010-Fix-loading-unnamed-GLES.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From b8bca4c28847ef1fd84baf496b3447045825f441 Mon Sep 17 00:00:00 2001
22
From: Pierre-Hugues Husson <phh@phh.me>
33
Date: Wed, 20 Dec 2023 09:48:04 -0500
4-
Subject: [PATCH 10/15] Fix loading unnamed GLES
4+
Subject: [PATCH 10/19] Fix loading unnamed GLES
55

66
Normally Android loads libGLES_${ro.hardware.egl}.so
77
But up to Android 14, it was allowed not to set ro.hardware.egl

0 commit comments

Comments
 (0)