Merge pull request #277 from DarkJoker360/11-willow-hax

Audio fixes for Redmi Note 8/8T + cleanup
This commit is contained in:
Pierre-Hugues HUSSON 2021-09-03 12:53:02 +02:00 committed by GitHub
commit e02d5eeb46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -405,7 +405,7 @@ if getprop ro.vendor.build.fingerprint | grep -iq \
-e xiaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen \ -e xiaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen \
-e motorola/hannah -e motorola/james -e motorola/pettyl -e xiaomi/cepheus \ -e motorola/hannah -e motorola/james -e motorola/pettyl -e xiaomi/cepheus \
-e xiaomi/grus -e xiaomi/cereus -e xiaomi/cactus -e xiaomi/raphael -e xiaomi/davinci \ -e xiaomi/grus -e xiaomi/cereus -e xiaomi/cactus -e xiaomi/raphael -e xiaomi/davinci \
-e xiaomi/ginkgo -e xiaomi/laurel_sprout -e xiaomi/andromeda \ -e xiaomi/ginkgo -e xiaomi/willow -e xiaomi/laurel_sprout -e xiaomi/andromeda \
-e iaomi/renoir \ -e iaomi/renoir \
-e redmi/curtana -e redmi/picasso \ -e redmi/curtana -e redmi/picasso \
-e bq/Aquaris_M10 ; then -e bq/Aquaris_M10 ; then
@ -478,10 +478,6 @@ if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereu
setprop debug.stagefright.omx_default_rank 0 setprop debug.stagefright.omx_default_rank 0
fi fi
if getprop ro.vendor.build.fingerprint | grep -iq -e xiaomi/ginkgo -e xiaomi/willow; then
mount -o bind /system/phh/empty /vendor/lib/soundfx/libvolumelistener.so
fi
mount -o bind /system/phh/empty /vendor/lib/libpdx_default_transport.so mount -o bind /system/phh/empty /vendor/lib/libpdx_default_transport.so
mount -o bind /system/phh/empty /vendor/lib64/libpdx_default_transport.so mount -o bind /system/phh/empty /vendor/lib64/libpdx_default_transport.so