From 1747067d80b83fd0bdb4b9ad72872a0635811813 Mon Sep 17 00:00:00 2001 From: AndyCGYan Date: Thu, 6 Jun 2019 06:45:47 +0000 Subject: [PATCH 1/2] Fix sound on raphael https://github.com/phhusson/treble_experimentations/issues/541 Change-Id: I3f5b6d0fb67e2a14a7f16f43ac9ee2e32076ea9b --- rw-system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rw-system.sh b/rw-system.sh index c5ba2b9..dcb00b9 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -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 iaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen \ -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/lib/soundfx setprop ro.audio.ignore_effects true From 91cd65dcdc89157ce85e65dd2443154d9421039d Mon Sep 17 00:00:00 2001 From: AndyCGYan Date: Thu, 6 Jun 2019 06:48:26 +0000 Subject: [PATCH 2/2] Build xiaomi-motor Serves as a manual/intermediate solution to https://github.com/phhusson/treble_experimentations/issues/539 Change-Id: Ia334f7d106b121014c791b0edb06b59a0eef3580 --- base.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base.mk b/base.mk index 22851e0..45d215a 100644 --- a/base.mk +++ b/base.mk @@ -124,5 +124,9 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ mtk-sms-fwk-ready +# Helper to debug Xiaomi motorized camera +PRODUCT_PACKAGES += \ + xiaomi-motor + PRODUCT_PACKAGES += \ Stk