From cc2601708f87e6c308ef48bef8e22e2fc3180700 Mon Sep 17 00:00:00 2001 From: Santhosh Behara Date: Tue, 23 May 2017 12:33:42 +0530 Subject: [PATCH 1/4] SDM660_64: Enable the flag TARGET_USES_MEDIA_EXTENSIONS Enable the flag TARGET_USES_MEDIA_EXTENSIONS for video recording on camera HAL1 to work on sdm660. Change-Id: I56422996e8160079859e0189cc9cfa9c49e66abc --- sdm660_64.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdm660_64.mk b/sdm660_64.mk index 9bfc9161..53a3c9cc 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -82,7 +82,7 @@ ifneq (,$(strip $(wildcard $(PRODUCT_RENDERING_ENGINE_REVLIB)))) endif # Enable features in video HAL that can compile only on this platform -TARGET_USES_MEDIA_EXTENSIONS := false +TARGET_USES_MEDIA_EXTENSIONS := true # WLAN chipset WLAN_CHIPSET := qca_cld3 From 7c48c42344e473b9b8ee3c3a53ac200a5bb48a27 Mon Sep 17 00:00:00 2001 From: AnilKumar Chimata Date: Wed, 24 May 2017 11:21:38 +0530 Subject: [PATCH 2/4] sdm660_64: Run qseecom daemon from vendor Run qseecom daemon from the vendor partition instead of system. Change-Id: I152dda485639ff278827b07913e7d64f5ef33ce9 --- init.target.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.target.rc b/init.target.rc index 727cdad6..874aa26b 100755 --- a/init.target.rc +++ b/init.target.rc @@ -156,7 +156,7 @@ on property:sys.shutdown.requested=* #on property:sys.boot_completed=1 # start qrngp # -service qseecomd /system/bin/qseecomd +service qseecomd /vendor/bin/qseecomd class core user root group root From af8025e2c3dfc510e4422e58fc57d48057e1f4c0 Mon Sep 17 00:00:00 2001 From: Pawan Chilka Date: Wed, 24 May 2017 11:06:37 +0530 Subject: [PATCH 3/4] Added HAL's List Change-Id: I221894cfe9136b0f532852862fbfc4afb04abc55 --- sdm660_64.mk | 11 +++++- vintf.xml | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 110 insertions(+), 2 deletions(-) diff --git a/sdm660_64.mk b/sdm660_64.mk index 9bfc9161..ac211f88 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -82,7 +82,7 @@ ifneq (,$(strip $(wildcard $(PRODUCT_RENDERING_ENGINE_REVLIB)))) endif # Enable features in video HAL that can compile only on this platform -TARGET_USES_MEDIA_EXTENSIONS := false +TARGET_USES_MEDIA_EXTENSIONS := true # WLAN chipset WLAN_CHIPSET := qca_cld3 @@ -151,6 +151,15 @@ PRODUCT_PACKAGES += \ android.hardware.light@2.0-service \ android.hardware.configstore@1.0-service +PRODUCT_PACKAGES += \ + vendor.display.color@1.0-service \ + vendor.display.color@1.0-impl + +# Vibrator +PRODUCT_PACKAGES += \ + android.hardware.vibrator@1.0-impl \ + android.hardware.vibrator@1.0-service \ + # Camera configuration file. Shared by passthrough/binderized camera HAL PRODUCT_PACKAGES += camera.device@3.2-impl PRODUCT_PACKAGES += camera.device@1.0-impl diff --git a/vintf.xml b/vintf.xml index de73ad31..13389ac1 100644 --- a/vintf.xml +++ b/vintf.xml @@ -93,6 +93,26 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. default + + vendor.display.config + hwbinder + + 1.0 + + IDisplayConfig + default + + + + vendor.display.color + hwbinder + + 1.0 + + IDisplayColor + default + + android.hardware.configstore hwbinder @@ -143,7 +163,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. android.hardware.bluetooth - toggled + hwbinder 1.0 @@ -166,4 +186,83 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1.0 + + + android.hardware.radio + hwbinder + + 1.0 + + IRadio + slot1 + slot2 + + + + + android.hardware.radio.deprecated + hwbinder + + 1.0 + + IOemHook + slot1 + slot2 + + + + + vendor.qti.qcril.am + hwbinder + + 1.0 + + IQcRilAudio + slot1 + slot2 + + + + + android.hardware.gnss + hwbinder + + 1.0 + + IGnss + default + + + + + vendor.qti.atcmdfwd + hwbinder + + 1.0 + + IAtCmdFwd + AtCmdFwdService + + + + android.hardware.vibrator + hwbinder + + 1.0 + + IVibrator + default + + + +    +        com.qualcomm.qti.imsrtpservice +        hwbinder +        +        1.0 +        +            IRTPService +            rtpservice0 +        +    From d2d6efe63bf0a72ecce47518346f4031446b9cb6 Mon Sep 17 00:00:00 2001 From: Shaikh Shadul Date: Fri, 26 May 2017 15:43:54 +0530 Subject: [PATCH 4/4] sdm660_64: Move sensors hals config file Move sensors hals config file (hals.conf) to /vendor/etc/sensors/ from /system/etc/sensors/. Change-Id: If1c3fd0cd48691d223c3a1185f9c1d847c7b155c --- sdm660_64.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdm660_64.mk b/sdm660_64.mk index 53a3c9cc..f7227740 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -115,7 +115,7 @@ PRODUCT_PACKAGES += android.hardware.media.omx@1.0-impl # Sensor HAL conf file PRODUCT_COPY_FILES += \ - device/qcom/sdm660_64/sensors/hals.conf:system/etc/sensors/hals.conf + device/qcom/sdm660_64/sensors/hals.conf:vendor/etc/sensors/hals.conf # WLAN host driver ifneq ($(WLAN_CHIPSET),)