m8: boost microphone volume patch from @Ke1i

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-01-14 14:01:30 -05:00
parent 2153422bb0
commit b01e902988
2 changed files with 119 additions and 0 deletions

View file

@ -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;