Compare commits

...

14 Commits

Author SHA1 Message Date
Arian
562531004c sm8450-common: Update display, GPS and QCC blobs from ingot UKQ1.240227.165
Change-Id: I6eb2b234e071fe5f3f0bef605d6b22aba250b74d
2025-01-19 17:00:05 +01:00
Arian
216563b569 sm8450-common: Update blobs from diting V816.0.10.0.ULFMIXM
Change-Id: I2bb3b90768f448aeaf37e3a5770fc3d080665e1d
2025-01-14 19:47:58 +01:00
Arian
3a21aef757 sm8450-common: Add missing 32-bit libvmmem
32-bit display parts require it:
01-07 18:15:00.608  1854  6236 E qdgralloc: Could not load libvmmem: dlopen failed: library "libvmmem.so" not found

Change-Id: I82fd02d02c9024765369703a2a7f3de8069aa59b
2025-01-07 20:00:56 +01:00
Nick Reuter
f614b52483 sm8450-common: Address missing libbinder symbols in libwfdnative
_ZN7android6binder12atrace_beginEmPKc
_ZN7android6binder10atrace_endEm

Change-Id: I942d51721461dbbf9c8d0f2f32128529bb7480c3
2024-12-28 17:00:04 +01:00
Nick Reuter
6444df476b sm8450-common: Bump libwfdservice to android.media.audio.common.types-V4
Change-Id: I81060d8c73430a9598c676e18dc04e31a2f31c0c
2024-12-28 15:56:12 +01:00
Jens Reidel
9816879eec
sm8450-common: Re-extract with newer extract utils
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-10 18:54:57 +01:00
Arian
dbdf9628e9 sm8450-common: Update blobs from diting V816.0.8.0.ULFMIXM
Change-Id: I8e61a915a29c26db1c053bb822139d55d2355431
2024-11-07 12:38:18 +01:00
Arian
68864e83c9 sm8450-common: Move to patchelf 0.18 2024-11-07 12:05:30 +01:00
Arian
d6c597f025 sm8450-common: Allow gettid syscall for wfdhdcphalservice
10-25 15:22:18.582     1     1 I init    : starting service 'wfdhdcphalservice'...
10-25 15:22:18.595     1     1 I init    : ... started service 'wfdhdcphalservice' has pid 4702
10-25 15:22:16.536  4702  4702 E wfdhdcphal: wfdhdcphalservice starting...
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: failed to get path of fd 5: No such file or directory
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: connect
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: fcntl
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: sendto
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: socket
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: allowing syscall: writev
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: compile_file: <fd>(33): nonexistent syscall 'fstatat'
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: compile_file: <fd>(52): nonexistent syscall 'open'
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: compile_file: <fd>(53): nonexistent syscall 'ugetrlimit'
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: compile_file: <fd>(64): nonexistent syscall 'readlink'
10-25 15:22:16.536  4702  4702 W wfdhdcphalservice: libminijail[4702]: logging seccomp filter failures
10-25 15:22:16.538  4702  4702 E wfdhdcphalservice: libminijail[4702]: blocked syscall: gettid
10-25 15:22:18.622     1     1 I init    : Service 'wfdhdcphalservice' (pid 4702) received signal 31
10-25 15:22:18.623     1     1 I init    : Sending signal 9 to service 'wfdhdcphalservice' (pid 4702) process group...
10-25 15:22:18.623     1     1 I libprocessgroup: Removed cgroup /sys/fs/cgroup/uid_1000/pid_4702
10-25 15:22:18.623     1     1 E init    : process with updatable components 'wfdhdcphalservice' exited 4 times in 4 minutes
10-25 15:22:18.627     1     1 I init    : processing action (sys.init.updatable_crashing=1) from (/system/etc/init/flags_health_check.rc:10)
10-25 15:22:18.628     1     1 I init    : starting service 'exec 37 (/system/bin/flags_health_check UPDATABLE_CRASHING)'...
10-25 15:22:18.637     1     1 I init    : ... started service 'exec 37 (/system/bin/flags_health_check UPDATABLE_CRASHING)' has pid 4703
10-25 15:22:18.637     1     1 I init    : SVC_EXEC service 'exec 37 (/system/bin/flags_health_check UPDATABLE_CRASHING)' pid 4703 (uid 1000 gid 1000+0 context default) started; waiting...

Change-Id: I9ab6ca254a1e6509cfd9de36765496e875407fb0
2024-10-25 15:25:25 +02:00
Arian
e3af4af612 sm8450-common: Switch to python extract-utils 2024-10-25 14:43:01 +02:00
LuK1337
2a714ca0e4 sm8450-common: Shim WFD with libgui_shim/libinput_shim
Change-Id: I42bf06bc6b19942303031ef0147dafa6df127fe5
2024-10-24 23:05:28 +02:00
Arian
011cb852fe sm8450-common: Allow setsockopt syscall for qcom c2audio
```
$ strace -f vendor/bin/hw/vendor.qti.media.c2audio@1.0-service
[...]
[pid  5194] socket(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC, 0) = 13
[pid  5194] setsockopt(13, SOL_SOCKET, SO_SNDTIMEO, "\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 13
[pid  5194] --- SIGSYS {si_signo=SIGSYS, si_code=SYS_SECCOMP, si_call_addr=0x7a905a365c, si_syscall=__NR_setsockopt, si_arch=AUDIT_ARCH_AARCH64} ---
```

Change-Id: Ifa0420883cbf663f8c7576798b1f35031f660f54
2024-10-24 22:51:38 +02:00
Arian
988a094caa sm8450-common: Allow gettid syscall for atfwd@2.0
09-18 17:27:17.797     1     1 I init    : ... started service 'vendor.atfwd' has pid 6264
09-18 17:27:17.805  6264  6264 W ATFWD-daemon: libminijail[6264]: failed to get path of fd 3: No such file or directory
09-18 17:27:17.805  6264  6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: connect
09-18 17:27:17.805  6264  6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: fcntl
09-18 17:27:17.805  6264  6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: sendto
09-18 17:27:17.805  6264  6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: socket
09-18 17:27:17.805  6264  6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: writev
09-18 17:27:17.806  6264  6264 W ATFWD-daemon: libminijail[6264]: logging seccomp filter failures
09-18 17:27:17.808  6264  6264 E ATFWD-daemon: libminijail[6264]: blocked syscall: gettid
09-18 17:27:17.826     1     1 I init    : Service 'vendor.atfwd' (pid 6264) received signal 31
09-18 17:27:17.826     1     1 I init    : Sending signal 9 to service 'vendor.atfwd' (pid 6264) process group...

Change-Id: I9a556785b9bbda0f08974ad2b367c77c649ee01b
2024-10-24 22:51:30 +02:00
Arian
761a34429e sm8450-common: Use libhidlbase_shim for vendor.libdpmframework
Change-Id: Iefe50b82b5b13bbdee10819a0c60c14240fab7ce
2024-10-24 22:51:18 +02:00
26 changed files with 20168 additions and 11159 deletions

31271
Android.bp

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,5 @@
#
# Automatically generated file. DO NOT MODIFY # Automatically generated file. DO NOT MODIFY
# #
# This file is generated by device/xiaomi/sm8450-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
ifneq ($(filter cupid diting marble mayfly mondrian thor unicorn zeus ziyi zizhan,$(TARGET_DEVICE)),)
endif

View File

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

0
proprietary/vendor/bin/hw/vendor.display.color@1.0-service vendored Normal file → Executable file
View File

Binary file not shown.

View File

@ -66,3 +66,4 @@ connect: 1
ppoll: 1 ppoll: 1
clock_gettime: 1 clock_gettime: 1
setpriority: 1 setpriority: 1
gettid: 1

View File

@ -34,3 +34,4 @@ _llseek: 1
sysinfo: 1 sysinfo: 1
getcwd: 1 getcwd: 1
getdents64: 1 getdents64: 1
setsockopt: 1

View File

@ -66,4 +66,5 @@ getpid: 1
sigaltstack: 1 sigaltstack: 1
setpriority: 1 setpriority: 1
getdents64: 1 getdents64: 1
dup: 1 dup: 1
gettid: 1

View File

@ -683,7 +683,9 @@
<!-- Add for Singapore operator xiaomi--> <!-- Add for Singapore operator xiaomi-->
<EccEntry Ecc="999" Category="0" Condition="1" Plmn = "525 03" /> <EccEntry Ecc="999" Category="0" Condition="1" Plmn = "525 03" />
<EccEntry Ecc="995" Category="2" Condition="1" Plmn = "525 03" />
<EccEntry Ecc="999" Category="1" Condition="1" Plmn = "525 05" /> <EccEntry Ecc="999" Category="1" Condition="1" Plmn = "525 05" />
<EccEntry Ecc="995" Category="2" Condition="1" Plmn = "525 05" />
<EccEntry Ecc="999" Category="31" Condition="1" Plmn = "525 01" /> <EccEntry Ecc="999" Category="31" Condition="1" Plmn = "525 01" />
<!-- Add for Chile operator xiaomi--> <!-- Add for Chile operator xiaomi-->

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

View File

@ -1,6 +1,6 @@
#
# Automatically generated file. DO NOT MODIFY # Automatically generated file. DO NOT MODIFY
# #
# This file is generated by device/xiaomi/sm8450-common/setup-makefiles.sh
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
vendor/xiaomi/sm8450-common vendor/xiaomi/sm8450-common
@ -227,10 +227,11 @@ PRODUCT_PACKAGES += \
libllvm-glnext \ libllvm-glnext \
libllvm-qcom \ libllvm-qcom \
libllvm-qgl \ libllvm-qgl \
libvmmem \
vendor.qti.qspmhal@1.0 \ vendor.qti.qspmhal@1.0 \
android.hardware.secure_element@1.0-impl \ android.hardware.secure_element@1.0-impl \
btaudio_offload_if \ btaudio_offload_if \
com.qualcomm.qti.dpm.api@1.0-vendor \ com.qualcomm.qti.dpm.api@1.0_vendor \
com.qualcomm.qti.imscmservice@1.0 \ com.qualcomm.qti.imscmservice@1.0 \
com.qualcomm.qti.imscmservice@2.0 \ com.qualcomm.qti.imscmservice@2.0 \
com.qualcomm.qti.imscmservice@2.1 \ com.qualcomm.qti.imscmservice@2.1 \
@ -528,7 +529,6 @@ PRODUCT_PACKAGES += \
libultrasound_notify \ libultrasound_notify \
libvideotxr \ libvideotxr \
libvideoutils \ libvideoutils \
libvmmem \
libvppcommon \ libvppcommon \
libvpphcp \ libvpphcp \
libvpphvx \ libvpphvx \
@ -602,7 +602,7 @@ PRODUCT_PACKAGES += \
vendor.qti.data.factory@2.5 \ vendor.qti.data.factory@2.5 \
vendor.qti.data.mwqem@1.0 \ vendor.qti.data.mwqem@1.0 \
vendor.qti.data.slm@1.0 \ vendor.qti.data.slm@1.0 \
vendor.qti.diaghal@1.0-vendor \ vendor.qti.diaghal@1.0_vendor \
vendor.qti.esepowermanager@1.0 \ vendor.qti.esepowermanager@1.0 \
vendor.qti.esepowermanager@1.1 \ vendor.qti.esepowermanager@1.1 \
vendor.qti.gnss-V3-ndk \ vendor.qti.gnss-V3-ndk \
@ -631,15 +631,15 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.data.latency@1.0 \ vendor.qti.hardware.data.latency@1.0 \
vendor.qti.hardware.data.lce@1.0 \ vendor.qti.hardware.data.lce@1.0 \
vendor.qti.hardware.data.qmi@1.0 \ vendor.qti.hardware.data.qmi@1.0 \
vendor.qti.hardware.dpmservice@1.0-vendor \ vendor.qti.hardware.dpmservice@1.0_vendor \
vendor.qti.hardware.dpmservice@1.1-vendor \ vendor.qti.hardware.dpmservice@1.1_vendor \
vendor.qti.hardware.dsp@1.0 \ vendor.qti.hardware.dsp@1.0 \
vendor.qti.hardware.fm@1.0 \ vendor.qti.hardware.fm@1.0 \
vendor.qti.hardware.mwqemadapter@1.0 \ vendor.qti.hardware.mwqemadapter@1.0 \
vendor.qti.hardware.qccsyshal@1.0-vendor \ vendor.qti.hardware.qccsyshal@1.0_vendor \
vendor.qti.hardware.qccsyshal@1.1-vendor \ vendor.qti.hardware.qccsyshal@1.1_vendor \
vendor.qti.hardware.qccvndhal@1.0-halimpl \ vendor.qti.hardware.qccvndhal@1.0-halimpl \
vendor.qti.hardware.qccvndhal@1.0-vendor \ vendor.qti.hardware.qccvndhal@1.0_vendor \
vendor.qti.hardware.qconfig@1.0 \ vendor.qti.hardware.qconfig@1.0 \
vendor.qti.hardware.qseecom@1.0 \ vendor.qti.hardware.qseecom@1.0 \
vendor.qti.hardware.qteeconnector@1.0 \ vendor.qti.hardware.qteeconnector@1.0 \
@ -683,7 +683,7 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.vpp@1.2 \ vendor.qti.hardware.vpp@1.2 \
vendor.qti.hardware.vpp@1.3 \ vendor.qti.hardware.vpp@1.3 \
vendor.qti.hardware.vpp@2.0 \ vendor.qti.hardware.vpp@2.0 \
vendor.qti.hardware.wifidisplaysession@1.0-vendor \ vendor.qti.hardware.wifidisplaysession@1.0_vendor \
vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl \ vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl \
vendor.qti.ims.callcapability@1.0 \ vendor.qti.ims.callcapability@1.0 \
vendor.qti.ims.callinfo@1.0 \ vendor.qti.ims.callinfo@1.0 \
@ -706,7 +706,7 @@ PRODUCT_PACKAGES += \
vendor.qti.ims.rcsuce@1.1 \ vendor.qti.ims.rcsuce@1.1 \
vendor.qti.ims.rcsuce@1.2 \ vendor.qti.ims.rcsuce@1.2 \
vendor.qti.imsrtpservice@3.0-service-Impl \ vendor.qti.imsrtpservice@3.0-service-Impl \
vendor.qti.imsrtpservice@3.0-vendor \ vendor.qti.imsrtpservice@3.0_vendor \
vendor.qti.latency@2.0 \ vendor.qti.latency@2.0 \
vendor.qti.latency@2.1 \ vendor.qti.latency@2.1 \
vendor.qti.memory.pasrmanager@1.0 \ vendor.qti.memory.pasrmanager@1.0 \
@ -908,12 +908,12 @@ PRODUCT_PACKAGES += \
wfdservice64 wfdservice64
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libimscamera_jni_libimscamera_jni_symlink64 \ system_ext_priv-app_ims_lib_arm64_libimscamera_jni_so \
libimsmedia_jni_libimsmedia_jni_symlink64 \ system_ext_priv-app_ims_lib_arm64_libimsmedia_jni_so \
libwfdnative_libwfdnative_symlink64 \ system_ext_priv-app_WfdService_lib_arm64_libwfdnative_so \
libEGL_adreno_libEGL_adreno_symlink32 \ vendor_lib_libEGL_adreno_so \
libGLESv2_adreno_libGLESv2_adreno_symlink32 \ vendor_lib_libGLESv2_adreno_so \
libq3dtools_adreno_libq3dtools_adreno_symlink32 \ vendor_lib_libq3dtools_adreno_so \
libEGL_adreno_libEGL_adreno_symlink64 \ vendor_lib64_libEGL_adreno_so \
libGLESv2_adreno_libGLESv2_adreno_symlink64 \ vendor_lib64_libGLESv2_adreno_so \
libq3dtools_adreno_libq3dtools_adreno_symlink64 vendor_lib64_libq3dtools_adreno_so