Compare commits

...

10 Commits

Author SHA1 Message Date
basamaryan
c87e3c1d02 sweet: Import Dolby blobs
Change-Id: I10396b42c9170585791ec8620731113fc996eb92
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:24:51 +08:00
basamaryan
d7a47d4c8b sweet: Bring back face detection libs
Change-Id: Ic98062c876436e945c286c0b8ea8819213da69f3
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:24:51 +08:00
Pranav Vashi
93000cb27e sweet: Update libarcsoft_super_night_raw compatible with camera package
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Icc37e3fbbd3da334a591e3a651abc4da53a6b651
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:24:50 +08:00
basamaryan
6c4f653643 sweet: Regenerate with checkelf changes
Change-Id: I76a2f7a6e442e38bd532c2926067a82b2c98d414
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:24:50 +08:00
basamaryan
6720756f51 sweet: Move to Xiaomi IR AIDL
Change-Id: Icf53e7b3b332f042036cbb58ce9b038b2586361e
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:24:50 +08:00
basamaryan
cd07d1f40b sweet: Regenerate after extract script changes
Change-Id: Idff0e50342739b5ea8cf7470320df60577c41c39
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:24:50 +08:00
basamaryan
166ab27046
sweet: Drop selinux context from batterysecret init unit
Change-Id: Ib812ddd236fe3f85f8033b3beeba16f3f457804a
2024-06-04 18:53:07 +05:30
basamaryan
b2623614eb
sweet: Drop selinux context from mi_thermald init unit
Change-Id: If56b7da1354d95c3acc33af26fc60d8e1b513f90
2024-06-04 18:53:07 +05:30
basamaryan
507e62550b
sweet: Import fortsense hwmodule and its dependency
Change-Id: I9921fcdd66b2bcdc154e004dd6988d958779a690
2024-06-04 18:52:40 +05:30
basamaryan
50bd579d7a
sweet: Copy NFC firmware to the correct location
Change-Id: I157a0f02c02b4d4fca72c0153aa09e4d1f978e12
2024-03-28 00:53:27 -04:00
37 changed files with 668 additions and 197 deletions

File diff suppressed because it is too large Load Diff

0
proprietary/vendor/bin/batterysecret vendored Executable file → Normal file
View File

Binary file not shown.

0
proprietary/vendor/bin/mi_thermald vendored Executable file → Normal file
View File

0
proprietary/vendor/bin/sensors.qti vendored Executable file → Normal file
View File

0
proprietary/vendor/bin/thermal-engine vendored Executable file → Normal file
View File

Binary file not shown.

View File

@ -12,7 +12,6 @@ service batterysecret /vendor/bin/batterysecret
user root
group system system wakelock
disabled
seclabel u:r:batterysecret:s0
on property:sys.boot_completed=1
start batterysecret

View File

@ -9,4 +9,3 @@ service mi_thermald /system/vendor/bin/mi_thermald
class main
user root
group system
seclabel u:r:mi_thermald:s0

View File

@ -0,0 +1,6 @@
service dms-hal-2-0 /vendor/bin/hw/vendor.dolby.hardware.dms@2.0-service
class hal
user media
group audio media
on post-fs-data
mkdir /data/vendor/dolby 0770 media media

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This file was modified by Dolby Laboratories, Inc. The portions of the
code that are surrounded by "DOLBY..." are copyrighted and
licensed separately, as follows:
(C) 2018 Dolby Laboratories, Inc.
All rights reserved.
This program is protected under international and U.S. Copyright laws as
an unpublished work. This program is confidential and proprietary to the
copyright owners. Reproduction or disclosure, in whole or in part, or the
production of derivative works therefrom without the express permission of
the copyright owners is prohibited.
-->
<Included>
<Decoders>
<!-- DOLBY_UDC -->
<MediaCodec name="OMX.dolby.ac3.decoder" type="audio/ac3">
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-640000" />
</MediaCodec>
<MediaCodec name="OMX.dolby.eac3.decoder" type="audio/eac3">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-6144000" />
</MediaCodec>
<MediaCodec name="OMX.dolby.eac3-joc.decoder" type="audio/eac3-joc">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="32000-6144000" />
</MediaCodec>
<!-- DOLBY_UDC END -->
<!-- DOLBY_AC4 -->
<MediaCodec name="OMX.dolby.ac4.decoder" type="audio/ac4">
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="16000-2688000" />
</MediaCodec>
<!-- DOLBY_AC4 END -->
</Decoders>
</Included>

View File

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>vendor.dolby.hardware.dms</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IDms</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

Binary file not shown.

BIN
proprietary/vendor/lib/libdeccfg.so vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/lib64/libarcsat.so vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/lib64/libfacedet.so vendored Normal file

Binary file not shown.

BIN
proprietary/vendor/lib64/libnanopb.so vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -39,6 +39,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/golden_rear_dc_cal_wu.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/golden_rear_dc_cal_wu.bin \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/hdr_ui9_params.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/hdr_ui9_params.config \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/lf_facerank_model.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/lf_facerank_model.bin \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/facedetectpp_0_5_2_model:$(TARGET_COPY_OUT_VENDOR)/etc/camera/facedetectpp_0_5_2_model \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/mibokeh_712_opencl.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mibokeh_712_opencl.bin \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/mibokeh_712_parameter.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mibokeh_712_parameter.bin \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/sceneDetection.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/sceneDetection.xml \
@ -52,9 +53,11 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sweet/proprietary/vendor/etc/init/init.batterysecret.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.batterysecret.rc \
vendor/xiaomi/sweet/proprietary/vendor/etc/init/init.mi_thermald.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.mi_thermald.rc \
vendor/xiaomi/sweet/proprietary/vendor/etc/init/init.vendor.sensors.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.vendor.sensors.rc \
vendor/xiaomi/sweet/proprietary/vendor/etc/init/vendor.dolby.hardware.dms@2.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dolby.hardware.dms@2.0-service.rc \
vendor/xiaomi/sweet/proprietary/vendor/etc/init/vendor.sensors.qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.sensors.qti.rc \
vendor/xiaomi/sweet/proprietary/vendor/etc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
vendor/xiaomi/sweet/proprietary/vendor/etc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
vendor/xiaomi/sweet/proprietary/vendor/etc/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \
vendor/xiaomi/sweet/proprietary/vendor/etc/sensors/config/adux1050_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/adux1050_0.json \
vendor/xiaomi/sweet/proprietary/vendor/etc/sensors/config/ak991x_dri_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/ak991x_dri_0.json \
vendor/xiaomi/sweet/proprietary/vendor/etc/sensors/config/bu27030_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/bu27030_0.json \
@ -139,12 +142,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sweet/proprietary/vendor/firmware/ipa_fws.elf:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_fws.elf \
vendor/xiaomi/sweet/proprietary/vendor/firmware/ipa_fws.mdt:$(TARGET_COPY_OUT_VENDOR)/firmware/ipa_fws.mdt \
vendor/xiaomi/sweet/proprietary/vendor/firmware/osc_rtp_24K_5s.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/osc_rtp_24K_5s.bin \
vendor/xiaomi/sweet/proprietary/vendor/lib/rfsa/adsp/dirac_resource.dar:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/dirac_resource.dar \
vendor/xiaomi/sweet/proprietary/vendor/lib/rfsa/adsp/misound_karaoke_res.bin:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/misound_karaoke_res.bin \
vendor/xiaomi/sweet/proprietary/vendor/lib/rfsa/adsp/misound_karaokemix_res.bin:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/misound_karaokemix_res.bin \
vendor/xiaomi/sweet/proprietary/vendor/lib/rfsa/adsp/misound_res.bin:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/misound_res.bin \
vendor/xiaomi/sweet/proprietary/vendor/lib/rfsa/adsp/misound_res_headphone.bin:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/misound_res_headphone.bin \
vendor/xiaomi/sweet/proprietary/vendor/lib/rfsa/adsp/misound_res_spk.bin:$(TARGET_COPY_OUT_VENDOR)/lib/rfsa/adsp/misound_res_spk.bin \
vendor/xiaomi/sweet/proprietary/vendor/lib64/camera/com.qti.sensormodule.sweet_ofilm_imx355_ultra.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.sweet_ofilm_imx355_ultra.bin \
vendor/xiaomi/sweet/proprietary/vendor/lib64/camera/com.qti.sensormodule.sweet_ofilm_imx471_front.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.sweet_ofilm_imx471_front.bin \
vendor/xiaomi/sweet/proprietary/vendor/lib64/camera/com.qti.sensormodule.sweet_ofilm_ov02b1b.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/camera/com.qti.sensormodule.sweet_ofilm_ov02b1b.bin \
@ -182,6 +179,8 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sweet/proprietary/vendor/lib64/mibokeh_712_opencl.bin:$(TARGET_COPY_OUT_VENDOR)/lib64/mibokeh_712_opencl.bin
PRODUCT_PACKAGES += \
libdapparamstorage \
vendor.dolby.hardware.dms@2.0 \
btaudio_offload_if \
audio.primary.sm6150 \
liba2dpoffload \
@ -194,12 +193,17 @@ PRODUCT_PACKAGES += \
libaudio_log_utils \
libaudioparsers \
libaudioroute_ext \
libdeccfg \
libhdmiedid \
libhfp \
libpn553_fw \
libqtigef \
libsndmonitor \
libspkrprot \
libstagefright_soft_ac4dec \
libstagefright_soft_ddpdec \
libhwdap \
libswgamedap \
libswvqe \
libxlog \
com.qti.sensor.sweet_gc02m1 \
com.qti.sensor.sweet_imx355 \
@ -266,8 +270,9 @@ PRODUCT_PACKAGES += \
libmmcamera_cac3 \
camera.qcom \
com.qti.chi.override \
consumerir.sm6150 \
fingerprint.fortsense.sm6150 \
fingerprint.fpc.sm6150 \
libFaceDetectpp-0.5.2 \
libFaceGrade \
libPSNPE \
libSNPE \
@ -277,6 +282,8 @@ PRODUCT_PACKAGES += \
libalCFR \
libalLDC \
libalhLDC \
libarcdualcamsat \
libarcsat \
libarcsoft_beautyshot \
libarcsoft_distortion_correction \
libarcsoft_dualcam_refocus \
@ -302,8 +309,10 @@ PRODUCT_PACKAGES += \
libcapiv2svacnn \
libcapiv2vop \
libcom.qti.chinodeutils \
libdlbdsservice \
libdualcam_optical_zoom_control \
libdualcam_video_optical_zoom \
libfacedet \
libft2vendor \
libhta \
libhta_hexagon_runtime \
@ -319,8 +328,10 @@ PRODUCT_PACKAGES += \
libmpbase \
libmulticam_image_optical_zoom \
libmulticam_video_optical_zoom \
libnanopb \
libnotifyaudiohal \
liboemcrypto \
libpn553_fw \
librelight_only \
libremosaic_wrapper \
libremosaiclib \
@ -355,10 +366,13 @@ PRODUCT_PACKAGES += \
sensors.mius.proximity \
sensors.ssc \
sensors.touch \
vendor.dolby.hardware.dms@2.0-impl \
vendor.sw.swfingerprint@2.0 \
capi_v2_aptX_CLHDAD_Encoder \
capi_v2_aptX_Classic \
capi_v2_aptX_HD \
capi_v2_dap_cpdp \
dirac_resource \
libVC1Dec \
libVC1DecDsp_skel \
libapps_mem_heap \
@ -384,7 +398,14 @@ PRODUCT_PACKAGES += \
libsnpe_dsp_v66_domains_v2_skel \
libsns_device_mode_skel \
libsns_low_lat_stream_skel \
misound_karaoke_res \
misound_karaokemix_res \
misound_res \
misound_res_headphone \
misound_res_spk \
manifest_vendor.dolby.hardware.dms.xml \
batterysecret \
vendor.dolby.hardware.dms@2.0-service \
mi_thermald \
sensors.qti \
thermal-engine