Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
android_14.0.0.0_r37 rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterZtr committed May 12, 2024
1 parent 75e9957 commit d2148d6
Show file tree
Hide file tree
Showing 150 changed files with 792 additions and 1,817 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d7b179f234d76c3acf7a723fc05f07efe9adc84c 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 5/6] board: Set BOARD_EXT4_SHARE_DUP_BLOCKS explicitly
Subject: [PATCH 1] board: Set BOARD_EXT4_SHARE_DUP_BLOCKS explicitly

Change-Id: I725443154fabde548d2e6c1b072d34c27596c421
---
Expand Down
38 changes: 38 additions & 0 deletions patches/slim/platform_vendor_gms/01-slim.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
diff --git a/common/common-vendor.mk b/common/common-vendor.mk
index a0fd3a7..df5b01c 100644
--- a/common/common-vendor.mk
+++ b/common/common-vendor.mk
@@ -192,25 +192,18 @@ PRODUCT_PACKAGES += \
GoogleTTS \
LatinIMEGooglePrebuilt \
LocationHistoryPrebuilt \
- Maps \
MarkupGoogle \
ModuleMetadataGoogle \
NgaResources \
- Photos \
PixelThemesStub \
PixelThemesStub2022_and_newer \
PrebuiltDeskClockGoogle \
- PrebuiltGmail \
SoundAmplifierPrebuilt \
SoundPickerPrebuilt \
SwitchAccessPrebuilt \
TrichromeLibrary-Stub \
- WallpaperEmojiPrebuilt \
WebViewGoogle-Stub \
- talkback \
AICorePrebuilt \
- AiWallpapers \
- AndroidAutoStubPrebuilt \
ConfigUpdater \
DeviceIntelligenceNetworkPrebuilt \
DevicePersonalizationPrebuiltPixel2023 \
@@ -239,7 +232,6 @@ PRODUCT_PACKAGES += \
SettingsIntelligenceGooglePrebuilt \
SetupWizardPrebuilt \
TurboPrebuilt \
- Velvet \
WallpaperEffect \
WeatherPixelPrebuilt \
WellbeingPrebuilt \
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From d1fd9a169f306f3c2ab34216b7763a9cd227c5aa Mon Sep 17 00:00:00 2001
From 2c761f1b349683e9393c41f2d170aa4090f09c88 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Wed, 8 Dec 2021 07:04:53 +0000
Subject: [PATCH 1/4] Remove init.vndk-nodef.rc
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From c739128901f7dc86cf6e6dbd682cfb5953c55ea2 Mon Sep 17 00:00:00 2001
From 0f61dd6a9130e87b807b42bd715268186f2ceb3e Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Thu, 14 Oct 2021 12:20:52 +0000
Subject: [PATCH 2/4] build: Remove llkd
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 4548fb7bd2baddbc6e869837fd0e9d924e846d98 Mon Sep 17 00:00:00 2001
From dee022cf161b49ea30d6ea46ed0c23e9f13671dc Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Fri, 6 Oct 2023 19:11:22 -0400
Subject: [PATCH 3/4] Include vndk v28 sepolicy support
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0ce483b76b0639679445a8b502e2a02a7ddb3a08 Mon Sep 17 00:00:00 2001
From 11d3723a8e59eb1a0ea72643583c56fea6799868 Mon Sep 17 00:00:00 2001
From: Peter Cai <peter@typeblog.net>
Date: Thu, 18 Aug 2022 15:44:46 -0400
Subject: [PATCH 01/25] APM: Restore S, R and Q behavior respectively for
Subject: [PATCH 01/24] APM: Restore S, R and Q behavior respectively for
telephony audio

This conditionally reverts part of b2e5cb (T), 51c9cc (S) and afd4ce (R)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 067d1109e08d270389f9cda89b9bfd84cd658cdc Mon Sep 17 00:00:00 2001
From 025f47f896e8143bcb25b72be5b8ff0e6cc560b4 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Mon, 5 Aug 2019 18:09:50 +0200
Subject: [PATCH 02/25] Fix BT in-call on CAF devices
Subject: [PATCH 02/24] Fix BT in-call on CAF devices

See https://github.com/phhusson/treble_experimentations/issues/374

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From c65401ae96b1876be58e5097f9eaae5143ceb179 Mon Sep 17 00:00:00 2001
From 70219b88e4162a5dfe09048e455651b50c88dbe2 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Tue, 1 Oct 2019 13:35:49 +0200
Subject: [PATCH 03/25] Add (partial, cam id is hardcoded) support for Asus ZF6
Subject: [PATCH 03/24] Add (partial, cam id is hardcoded) support for Asus ZF6
motor camera

Change-Id: Iea6e1370780a1d16f728748d1d948d092532d8fe
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d317cda34211e3d65dcad6cf358724b92910bc4a Mon Sep 17 00:00:00 2001
From deec1d7231558483ad19a3f4631692c4e9357db3 Mon Sep 17 00:00:00 2001
From: Peter Cai <peter@typeblog.net>
Date: Wed, 24 Aug 2022 15:42:39 -0400
Subject: [PATCH 04/25] APM: Optionally force-load audio policy for system-side
Subject: [PATCH 04/24] APM: Optionally force-load audio policy for system-side
bt audio HAL

Required to support our system-side bt audio implementation, i.e.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 412b0b5ef674679daadf240da7d3a8b0f25cde89 Mon Sep 17 00:00:00 2001
From 8bacda4dd850ade768ca0cc9f873964373dcf3b4 Mon Sep 17 00:00:00 2001
From: Peter Cai <peter@typeblog.net>
Date: Thu, 25 Aug 2022 13:30:29 -0400
Subject: [PATCH 05/25] APM: Remove A2DP audio ports from the primary HAL
Subject: [PATCH 05/24] APM: Remove A2DP audio ports from the primary HAL

These ports defined in the primary HAL are intended for A2DP offloading,
however they do not work in general on GSIs, and will interfere with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 440ae946c64ac6244140ab9eddb0a3958217776d Mon Sep 17 00:00:00 2001
From 9cefac7680f34a755a85f1072c61b349e4f55af7 Mon Sep 17 00:00:00 2001
From: Peter Cai <peter@typeblog.net>
Date: Thu, 23 Jan 2020 11:13:43 +0800
Subject: [PATCH 06/25] audiopolicy: try again with trimmed audio port name if
Subject: [PATCH 06/24] audiopolicy: try again with trimmed audio port name if
not found

* In Spreadtrum BSP, some audio routes may contain ports with extra
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From a457829cc8a6f29f3236ff2209ebf78d333800c5 Mon Sep 17 00:00:00 2001
From 04f57f755d28b8a76c721edd9f0296fc68a03380 Mon Sep 17 00:00:00 2001
From: Peter Cai <peter@typeblog.net>
Date: Wed, 1 Jun 2022 16:56:46 -0400
Subject: [PATCH 07/25] camera: Implement property to override default camera
Subject: [PATCH 07/24] camera: Implement property to override default camera

Complement to the frameworks/base patch.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 50005d05fdebfc6504f0c6493f57179f4abf3419 Mon Sep 17 00:00:00 2001
From ef1c279c270e72e1d90bad76d2f1570f3f4759f2 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Mon, 13 Apr 2020 21:01:16 +0200
Subject: [PATCH 08/25] There are three SCO devices. Fallback from one to the
Subject: [PATCH 08/24] There are three SCO devices. Fallback from one to the
others if needed

Change-Id: I414dcb6b154855c00cb8520b23dc1069827864b2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From bace802dce1865ebe2170fb8d485dcdac788e3b5 Mon Sep 17 00:00:00 2001
From 61bebb90f1a2770799d121a4155492c3888822eb Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Thu, 14 May 2020 19:54:55 +0200
Subject: [PATCH 09/25] Add persist.sys.phh.samsung.camera_ids property to
Subject: [PATCH 09/24] Add persist.sys.phh.samsung.camera_ids property to
access hidden Samsung cameras

Change-Id: I2c7bf535272acc28ed2277e96c78ddd28a0b4593
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 9d40546cff0d63cc2b90738a2f0d44123dc10017 Mon Sep 17 00:00:00 2001
From 9a9328692e8b9e19a6f8b66b09ec149f72155eaf Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Tue, 19 May 2020 14:01:14 +0200
Subject: [PATCH 10/25] Add a property to force camera timestamp source
Subject: [PATCH 10/24] Add a property to force camera timestamp source

Some devices wrongly report their timesource
Camera's timesource can either be CLOCK_MONOTONIC, or CLOCK_BOOTTIME
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0b7ccc5b861998d3716fe3417c8c8f572d362aa6 Mon Sep 17 00:00:00 2001
From 12bf6d6a1bc903a970fa1844cf10f0a99bae5527 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Tue, 24 Apr 2018 00:14:28 +0200
Subject: [PATCH 11/25] FIH devices: Fix "Earpiece" audio output
Subject: [PATCH 11/24] FIH devices: Fix "Earpiece" audio output

On some FIH devices (confirmed on Razer, and probably on Aquos SS2),
Earpiece is not listed in attachedDevices, and devicePort's profile
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 8c6c88927f564c168590cec478d1b915bd048c56 Mon Sep 17 00:00:00 2001
From 555255b74b671c879ff24730be94682064893960 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Sat, 12 Sep 2020 12:32:50 +0200
Subject: [PATCH 12/25] No longer make re-assigning legacy audio groups fatal.
Subject: [PATCH 12/24] No longer make re-assigning legacy audio groups fatal.
Mi9 declares AUDIO_STREAM_PATCH and AUDIO_STREAM_REROUTING which is defined
by framework too

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From fa0bb467c60fd07dbf3e1c91714553cc3473d3f3 Mon Sep 17 00:00:00 2001
From 7d5202fa3c6695b6f2777b0439d556ada2a25563 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Mon, 21 Dec 2020 20:19:11 +0100
Subject: [PATCH 13/25] Make camera IDs filter-out optional
Subject: [PATCH 13/24] Make camera IDs filter-out optional

Nowadays most people have Camera 2 apps, and would like to have all
cameras, rather than limit which cameras are available.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 3c945907c90ffd43562112b8e2a68f05d548ae68 Mon Sep 17 00:00:00 2001
From fc237c765b88c235e1d1ddb00c7229d26f1fe986 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Sat, 13 Mar 2021 14:20:03 -0500
Subject: [PATCH 14/25] Support Samsung R multi-cams
Subject: [PATCH 14/24] Support Samsung R multi-cams

Change-Id: If46f385e8dd16185cbf37ab083e6a1242e1d1555
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 669dc10ff7e3e348817b05df8266c6f6fc8cab58 Mon Sep 17 00:00:00 2001
From 05d99516d1a6a87cfe43983be6273b1afa6fe48f Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Sun, 28 Mar 2021 18:54:47 +0200
Subject: [PATCH 15/25] Not all sources in a route are valid. Dont ignore the
Subject: [PATCH 15/24] Not all sources in a route are valid. Dont ignore the
whole route because of one broken source

Change-Id: If8a51740e71bef3a4738262ad7b43a337b0ec36d
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 11afe94186d6e7ddecfaba83192b68b47e6e2989 Mon Sep 17 00:00:00 2001
From 8414f4087b3242fc934c0d7bc5c070b08ea4c91e Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Sun, 28 Mar 2021 14:48:49 +0200
Subject: [PATCH 16/25] Use a fake volume policy when none has been found
Subject: [PATCH 16/24] Use a fake volume policy when none has been found

This is useful, because on Samsung devices, the "real"
(=non-gsi-cheating) audio policy doesn't have any volume policy.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d61899abe87c2cd21536bc82d5232fe99ff740f5 Mon Sep 17 00:00:00 2001
From aa034804e443cfea15fcd33d47b913455d673458 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Mon, 11 Oct 2021 16:10:42 -0400
Subject: [PATCH 17/25] Revert "Remove support for audio HAL V2 from the
Subject: [PATCH 17/24] Revert "Remove support for audio HAL V2 from the
framework"

This reverts commit cbf517f837f7bf8a59f3ff8aa1e0e3e19612e251.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From fce268c782f493033ece8a182b03d42bf393e64a Mon Sep 17 00:00:00 2001
From 8cfaa1bf23ef4a99a7e08936ba78132215f01cef Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Sat, 16 Apr 2022 14:30:14 -0400
Subject: [PATCH 18/25] Add a prop to change Samsung flash strength
Subject: [PATCH 18/24] Add a prop to change Samsung flash strength

---
services/camera/libcameraservice/Android.bp | 2 ++
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From fb3cb1649c0b6cd989c1e5a860c1504691280d02 Mon Sep 17 00:00:00 2001
From a0a14e10a7e073b426c39d4a11731a95549d35ce Mon Sep 17 00:00:00 2001
From: ponces <ponces26@gmail.com>
Date: Mon, 24 Oct 2022 09:38:34 +0100
Subject: [PATCH 19/25] voip: Fix high pitched voice on Qualcomm devices
Subject: [PATCH 19/24] voip: Fix high pitched voice on Qualcomm devices

---
.../common/managerdefinitions/src/Serializer.cpp | 9 +++++++++
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From e258f80a705cb48b85fb0634490b31d52966745c Mon Sep 17 00:00:00 2001
From 7d1e195d69b1373c12ef661a74855461671eec06 Mon Sep 17 00:00:00 2001
From: Alberto Ponces <ponces26@gmail.com>
Date: Sun, 30 Apr 2023 23:29:04 +0100
Subject: [PATCH 20/25] audiopolicy: Fix broken mic while video recording on
Subject: [PATCH 20/24] audiopolicy: Fix broken mic while video recording on
some Exynos devices

This should fix https://github.com/phhusson/treble_experimentations/issues/2021 and https://github.com/phhusson/treble_experimentations/issues/2384.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 07ad0c41b88e662c020f22584218b4b3755fb659 Mon Sep 17 00:00:00 2001
From 494571995e975191cbe6f4af70f3f3d477fa7322 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Mon, 30 Oct 2023 10:30:58 -0400
Subject: [PATCH 21/25] Add a prop to disable AUDIO_OUTPUT_FLAG_FAST from audio
Subject: [PATCH 21/24] Add a prop to disable AUDIO_OUTPUT_FLAG_FAST from audio
policies, when CPU can't really handle that kind of load

---
Expand Down
Loading

0 comments on commit d2148d6

Please sign in to comment.