diff --git a/Patches/LineageOS-18.1/android_device_htc_msm8974-common/0001-Boost-microphone-volume.patch b/Patches/LineageOS-18.1/android_device_htc_msm8974-common/0001-Boost-microphone-volume.patch new file mode 100644 index 00000000..43b8c303 --- /dev/null +++ b/Patches/LineageOS-18.1/android_device_htc_msm8974-common/0001-Boost-microphone-volume.patch @@ -0,0 +1,115 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Kalimbo Mkalla <20503185+Ke1i@users.noreply.github.com> +Date: Sat, 14 Jan 2023 13:55:29 -0500 +Subject: [PATCH] Boost microphone volume + +Change-Id: Idf5b1acf28af975e8546a20d93579b1330e01265 +--- + audio/mixer_paths.xml | 34 +++++++++++++++++----------------- + 1 file changed, 17 insertions(+), 17 deletions(-) + +diff --git a/audio/mixer_paths.xml b/audio/mixer_paths.xml +index 29efc04..f4d3e34 100644 +--- a/audio/mixer_paths.xml ++++ b/audio/mixer_paths.xml +@@ -579,83 +579,83 @@ + + + +- ++ + + + + + + +- ++ + + + + + +- ++ + + + + + +- ++ + + + + + +- ++ + + + + +- ++ + + + + + +- +- ++ ++ + + + + + + +- +- ++ ++ + + + + + + +- +- ++ ++ + + + + + + +- +- ++ ++ + + + + + + +- +- ++ ++ + + + + + + +- ++ + + + diff --git a/Scripts/LineageOS-18.1/Patch.sh b/Scripts/LineageOS-18.1/Patch.sh index d3995fd0..2c4fe52c 100644 --- a/Scripts/LineageOS-18.1/Patch.sh +++ b/Scripts/LineageOS-18.1/Patch.sh @@ -455,6 +455,10 @@ if enterAndClear "device/htc/m8-common"; then awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #broken releasetools fi; +if enterAndClear "device/htc/msm8974-common"; then +applyPatch "$DOS_PATCHES/android_device_htc_msm8974-common/0001-Boost-microphone-volume.patch"; #Boost micrphone volume (Keli) +fi; + if enterAndClear "device/lge/g2-common"; then sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te; echo "allow hwaddrs self:capability { fowner };" >> sepolicy/hwaddrs.te;