19 Commits

Author SHA1 Message Date
6acd4f5b14 sm8250-common: Import QCOM implementation for audio effects 2025-09-24 21:29:35 +02:00
d63662ac46 sm8250-common: Setup prebuilt a-HAL 2025-09-24 21:25:36 +02:00
efbf0c7483 sm8250-common: Move common files to common tree 2025-09-24 21:19:35 +02:00
1fab5c71e8 sm8250-common: parts: Switch to standalone XiaomiParts package 2025-09-24 21:00:54 +02:00
0847c1643f sm8250-common: dolby: Switch dolby soundfx to libswdap 2025-09-24 21:00:17 +02:00
11514caaaa sm8250-common: dolby: Import Dolby audio blobs and sepolicy 2025-09-24 20:57:01 +02:00
e64b086d35 sm8250-common: Import MiSound Audio Effect 2025-09-24 20:50:01 +02:00
59083fbddf sm8250-common: Add libwfdservice_shim for WFD 2025-09-24 20:49:23 +02:00
7c6c3c68e8 sm8250-common: Update NVRAM prebuilt from Alioth 2025-09-24 20:49:06 +02:00
Sebastiano Barezzi
8e68dad400 sm8250-common: Move WfdCommon boot jar declaration to vendor
Change-Id: I8fa2c0f64692873b432cc252ec88b388a32023a1
2025-07-29 22:45:18 +02:00
Sebastiano Barezzi
449f11c740 sm8250-common: Update blobs from munch OS1.0.9.0.ULMMIXM
Change-Id: I6117ad5167afb2e9102893cbc2b5a93d7f8509ac
2025-06-12 21:02:58 +02:00
Sebastiano Barezzi
6d6ddfbd82 sm8250-common: Revert "Use patched IMS apk"
This reverts commit f609354d60a68afecf94e0eca72b21dc1e0c58db.

Change-Id: I6d48c93fdb4900632a938352553ee8cdde5b0e49
2025-06-12 19:46:28 +02:00
Sebastiano Barezzi
4da44f7524 sm8250-common: Switch to py extract utils
Change-Id: Ia13b728464495ff208ca1a706847b11af5c93ae8
2025-04-03 21:32:05 +02:00
Sebastiano Barezzi
e05306c16e sm8250-common: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-04-01 18:15:53 +02:00
Sebastiano Barezzi
b90f6ef15c sm8250-common: Fix WfdCommon.jar path
Change-Id: I168a512771c78cd80b19644529f8f4d43d97a756
2025-04-01 18:15:36 +02:00
Sebastiano Barezzi
794843a7a7 sm8250-common: Address missing libbinder symbols in libwfdnative
_ZN7android6binder12atrace_beginEmPKc
_ZN7android6binder10atrace_endEm

Change-Id: I942d51721461dbbf9c8d0f2f32128529bb7480c3
2025-01-03 02:04:31 +01:00
Sebastiano Barezzi
ecfd0f027e sm8250-common: Bump libwfdservice to android.media.audio.common.types-V4
Change-Id: I81060d8c73430a9598c676e18dc04e31a2f31c0c
2025-01-03 02:04:08 +01:00
Sebastiano Barezzi
e606949af6 sm8250-common: Allow gettid syscall for atfwd@2.0
Change-Id: I0d7854b73e0b7e822edce89b9a3d6e33e1f45fc6
2025-01-03 01:11:54 +01:00
Sebastiano Barezzi
1b07284ada sm8250-common: Enable ELF checks for libwfdmmsrc_proprietary
Change-Id: I7eecffc5481b44451094a6816e50436ad084db7a
2025-01-03 01:11:39 +01:00
82 changed files with 16628 additions and 8372 deletions

24842
Android.bp

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,5 @@
#
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/sm8250-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifneq ($(filter alioth apollon cas cmi dagu elish enuma lmi munch pipa psyche thyme umi,$(TARGET_DEVICE)),)
endif

View File

@@ -1,4 +1,3 @@
#
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/sm8250-common/setup-makefiles.sh

BIN
proprietary/vendor/bin/f2player vendored Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

@@ -65,3 +65,4 @@ set_tid_address: 1
connect: 1
ppoll: 1
clock_gettime: 1
gettid: 1

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.

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/lib/libdeccfg.so vendored Normal file

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

BIN
proprietary/vendor/lib/libspkrprot.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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,6 +1,6 @@
#
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/sm8250-common/setup-makefiles.sh
PRODUCT_SOONG_NAMESPACES += \
vendor/xiaomi/sm8250-common
@@ -8,18 +8,6 @@ PRODUCT_SOONG_NAMESPACES += \
PRODUCT_COPY_FILES += \
vendor/xiaomi/sm8250-common/proprietary/system/etc/permissions/privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-qti.xml \
vendor/xiaomi/sm8250-common/proprietary/system/etc/sysconfig/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_cangmen_down.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_cangmen_down.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_cangmen_up.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_cangmen_up.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_chilun_down.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_chilun_down.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_chilun_up.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_chilun_up.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_jijia_down.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_jijia_down.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_jijia_up.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_jijia_up.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_mofa_down.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_mofa_down.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_mofa_up.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_mofa_up.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_muqin_down.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_muqin_down.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_muqin_up.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_muqin_up.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_yingyan_down.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_yingyan_down.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/media/audio/ui/popup_yingyan_up.ogg:$(TARGET_COPY_OUT_SYSTEM_EXT)/media/audio/ui/popup_yingyan_up.ogg \
vendor/xiaomi/sm8250-common/proprietary/system_ext/etc/dpm/dpm.conf:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/dpm/dpm.conf \
vendor/xiaomi/sm8250-common/proprietary/system_ext/etc/init/dpmd.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/dpmd.rc \
vendor/xiaomi/sm8250-common/proprietary/system_ext/etc/init/wfdservice.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/wfdservice.rc \
@@ -93,6 +81,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/shsusrd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/shsusrd.rc \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/ssgtzd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/ssgtzd.rc \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/vendor.display.color@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.display.color@1.0-service.rc \
vendor/xiaomi/sm8250-common/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/sm8250-common/proprietary/vendor/etc/init/vendor.qti.adsprpc-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.adsprpc-service.rc \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/vendor.qti.cdsprpc-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.cdsprpc-service.rc \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/vendor.qti.esepowermanager@1.1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.esepowermanager@1.1-service.rc \
@@ -111,6 +100,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/init/vppservice.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vppservice.rc \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config \
@@ -163,6 +153,7 @@ PRODUCT_PACKAGES += \
libadsprpc \
libc2d30_bltlib \
libcdsprpc \
libdapparamstorage \
libdiag \
libfastcvdsp_stub \
libfastcvopt \
@@ -184,6 +175,7 @@ PRODUCT_PACKAGES += \
libvpphcp \
libvpphvx \
libvpplibrary \
vendor.dolby.hardware.dms@2.0 \
vendor.qti.hardware.dsp@1.0 \
vendor.qti.hardware.vpp@1.1 \
vendor.qti.hardware.vpp@1.2 \
@@ -199,16 +191,24 @@ PRODUCT_PACKAGES += \
libadm \
libadpcmdec \
libaudcal \
libaudioparsers \
libbatterylistener \
libbluetooth_audio_session_qti \
libbluetooth_audio_session_qti_2_1 \
libcapiv2svacnn \
libcapiv2svarnn \
libcapiv2vop \
libcomprcapture \
libdeccfg \
libexthwplugin \
libfastcrc \
libgcs-calwrapper \
libgcs-ipc \
libgcs-osal \
libgcs \
libhdmiedid \
libhdmipassthru \
libhfp \
liblistensoundmodel2 \
libmm-hdcpmgr \
libmmosal_vendor \
@@ -223,7 +223,11 @@ PRODUCT_PACKAGES += \
libqcodec2_v4l2codec \
libqtigef \
libsmwrapper \
libsndmonitor \
libspkrprot \
libssrec \
libstagefright_soft_ac4dec \
libstagefright_soft_ddpdec \
libwfdcodecv4l2_proprietary \
libwfdcommonutils_proprietary \
libwfdconfigutils_proprietary \
@@ -245,10 +249,21 @@ PRODUCT_PACKAGES += \
libwfduibcsrcinterface_proprietary \
libwfdutils_proprietary \
libasphere \
libmisoundfx \
libqcbassboost \
libqcreverb \
libqcvirt \
libshoebox \
libswdap \
libswgamedap \
libswvqe \
vendor.qti.hardware.wifidisplaysession@1.0_vendor \
vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl \
android.hardware.secure_element@1.0-impl \
com.qti.feature2.generic \
com.qti.feature2.gs \
com.qti.feature2.mfsr \
com.qti.feature2.rt \
com.qualcomm.qti.dpm.api@1.0_vendor \
com.qualcomm.qti.imscmservice@1.0 \
com.qualcomm.qti.imscmservice@2.0 \
@@ -261,6 +276,7 @@ PRODUCT_PACKAGES += \
deviceInfoServiceModule \
android.hardware.bluetooth@1.0-impl-qti \
android.hardware.gatekeeper@1.0-impl-qti \
com.qti.chi.override \
vendor.qti.esepowermanager@1.1-impl \
vendor.qti.hardware.alarm@1.0-impl \
vendor.qti.hardware.bluetooth_sar@1.1-impl \
@@ -291,29 +307,35 @@ PRODUCT_PACKAGES += \
libQSEEComAPI \
libQTEEConnector_listener \
libQTEEConnector_vendor \
libSNPE \
libSecureUILib \
libStDrvInt \
libadsp_default_listener \
libaoa \
libarcsat \
libasn1cper \
libasn1crt \
libasn1crtx \
libbtnv \
libc++_shared \
libcacertclient \
libcdfw \
libcdfw_remote_api \
libcdsp_default_listener \
libcdsprpc_system \
libchilog \
libcne \
libcneapiclient \
libcneoplookup \
libcneqmiutils \
libcom.qti.chinodeutils \
libconfigdb \
libcpion \
libdataitems \
libdisp-aba \
libdisplayqos \
libdisplayskuutils \
libdlbdsservice \
libdpmqmihal \
libdrmfs \
libdrmtime \
@@ -345,12 +367,14 @@ PRODUCT_PACKAGES += \
libminkdescriptor \
libminksocket \
libmodemapi \
libmpbase \
libnetmgr \
libnetmgr_common \
libnetmgr_nr_fusion \
libnetmgr_rmnet_ext \
libnlnetmgr \
liboemcrypto \
libofflinelog \
libops \
libpdmapper \
libpdnotifier \
@@ -397,9 +421,11 @@ PRODUCT_PACKAGES += \
libspcom \
libspl \
libssd \
libsupermoon \
libsystem_health_mon \
libtime_genoff \
libtinyxml2_1 \
libtriplecam_video_optical_zoom \
libtrustedapploader \
libtzdrmgenprov \
libwms \
@@ -426,6 +452,7 @@ PRODUCT_PACKAGES += \
vendor.display.color@1.4 \
vendor.display.color@1.5 \
vendor.display.postproc@1.0 \
vendor.dolby.hardware.dms@2.0-impl \
vendor.qti.data.factory@2.0 \
vendor.qti.data.factory@2.1 \
vendor.qti.data.factory@2.2 \
@@ -445,6 +472,7 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.bluetooth_sar@1.0 \
vendor.qti.hardware.bluetooth_sar@1.1 \
vendor.qti.hardware.cacert@1.0 \
vendor.qti.hardware.camera.postproc@1.0-service-impl \
vendor.qti.hardware.data.cne.internal.api@1.0 \
vendor.qti.hardware.data.cne.internal.constants@1.0 \
vendor.qti.hardware.data.cne.internal.server@1.0 \
@@ -563,6 +591,7 @@ PRODUCT_PACKAGES += \
android.hardware.neuralnetworks@1.3-service-qti.xml \
c2_manifest_vendor.xml \
manifest_android.hardware.drm@1.3-service.widevine.xml \
manifest_vendor.dolby.hardware.dms.xml \
ATFWD-daemon \
adpl \
adsprpcd \
@@ -571,6 +600,7 @@ PRODUCT_PACKAGES += \
cnss-daemon \
dpmQmiMgr \
dspservice \
f2player \
feature_enabler_client \
android.hardware.bluetooth@1.0-service-qti \
android.hardware.drm@1.3-service.widevine \
@@ -579,6 +609,7 @@ PRODUCT_PACKAGES += \
android.hardware.neuralnetworks@1.3-service-qti \
qcrild \
vendor.display.color@1.0-service \
vendor.dolby.hardware.dms@2.0-service \
vendor.qti.esepowermanager@1.1-service \
vendor.qti.hardware.alarm@1.0-service \
vendor.qti.hardware.capabilityconfigstore@1.0-service \
@@ -630,14 +661,18 @@ PRODUCT_PACKAGES += \
wfdservice64
PRODUCT_PACKAGES += \
libEGL_adreno_libEGL_adreno_symlink32 \
libGLESv2_adreno_libGLESv2_adreno_symlink32 \
libq3dtools_adreno_libq3dtools_adreno_symlink32 \
libEGL_adreno_libEGL_adreno_symlink64 \
libGLESv2_adreno_libGLESv2_adreno_symlink64 \
libq3dtools_adreno_libq3dtools_adreno_symlink64
vendor_lib_libEGL_adreno_so \
vendor_lib_libGLESv2_adreno_so \
vendor_lib_libq3dtools_adreno_so \
vendor_lib64_libEGL_adreno_so \
vendor_lib64_libGLESv2_adreno_so \
vendor_lib64_libq3dtools_adreno_so
PRODUCT_BOOT_JARS += \
WfdCommon
ifneq ($(TARGET_IS_TABLET),true)
PRODUCT_COPY_FILES += \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/apdr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/apdr.conf \
vendor/xiaomi/sm8250-common/proprietary/vendor/etc/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
@@ -668,4 +703,5 @@ PRODUCT_PACKAGES += \
android.hardware.gnss@2.1-service-qti \
mlipayd@1.1 \
slim_daemon
endif