Merge pull request #112 from AndyCGYan/fix-redmik20pro

Fixes for Xiaomi Redmi K20 Pro (raphael)
This commit is contained in:
Pierre-Hugues HUSSON 2019-06-06 08:16:58 -07:00 committed by GitHub
commit 28c40a5e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -124,5 +124,9 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
mtk-sms-fwk-ready mtk-sms-fwk-ready
# Helper to debug Xiaomi motorized camera
PRODUCT_PACKAGES += \
xiaomi-motor
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
Stk Stk

View File

@ -174,7 +174,7 @@ if getprop ro.vendor.build.fingerprint | grep -iq \
-e motorola/ali/ali -e iaomi/perseus/perseus -e iaomi/platina/platina \ -e motorola/ali/ali -e iaomi/perseus/perseus -e iaomi/platina/platina \
-e iaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen \ -e iaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen \
-e motorola/hannah -e motorola/james -e motorola/pettyl -e iaomi/cepheus \ -e motorola/hannah -e motorola/james -e motorola/pettyl -e iaomi/cepheus \
-e iaomi/grus -e xiaomi/cereus;then -e iaomi/grus -e xiaomi/cereus -e iaomi/raphael;then
mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx
mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx
setprop ro.audio.ignore_effects true setprop ro.audio.ignore_effects true