提交線圖

671 次程式碼提交

作者 SHA1 備註 日期
LuK1337
d882486e9d sm8450-common: Use common lib_fixups
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
2024-11-07 11:15:26 +01:00
LuK1337
07a6229b63 sm8450-common: Use common lib_fixups
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
2024-11-07 11:15:26 +01:00
Arian
bfcbdbd6bc sm8450-common: media: Drop android version check for netflix bsp property
Change-Id: I1ee7623776b604e5ab7901633e482299a41bdbcc
2024-10-26 13:59:24 +02:00
Arian
d1549b7943 sm8450-common: media: Drop android version check for netflix bsp property
Change-Id: I1ee7623776b604e5ab7901633e482299a41bdbcc
2024-10-26 13:59:24 +02:00
basamaryan
d6e5c3a63d sm8450-common: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
2024-10-26 10:20:59 +02:00
basamaryan
90eeb76192 sm8450-common: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
2024-10-26 10:20:59 +02:00
Arian
c474a52936 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:24:31 +02:00
Arian
90a814cba5 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:24:31 +02:00
Arian
c1c927570f sm8450-common: Switch to python extract-utils
Change-Id: I2bc74ab7331516a6e7958fd9238b0e7d2e66872c
2024-10-25 14:44:22 +02:00
Arian
a5c1a7a463 sm8450-common: Switch to python extract-utils
Change-Id: I2bc74ab7331516a6e7958fd9238b0e7d2e66872c
2024-10-25 14:44:22 +02:00
LuK1337
162301fc91 sm8450-common: Shim WFD with libgui_shim/libinput_shim
Change-Id: I42bf06bc6b19942303031ef0147dafa6df127fe5
2024-10-24 23:05:04 +02:00
LuK1337
56c279284e sm8450-common: Shim WFD with libgui_shim/libinput_shim
Change-Id: I42bf06bc6b19942303031ef0147dafa6df127fe5
2024-10-24 23:05:04 +02:00
Michael Bestas
6c828f7c5d sm8450-common: Sync extract scripts with 22 templates
Change-Id: I7963ae050cfb193c5d0c2636da9c1e8f82bcdbdb
2024-10-24 22:50:32 +02:00
Michael Bestas
831d70d678 sm8450-common: Sync extract scripts with 22 templates
Change-Id: I7963ae050cfb193c5d0c2636da9c1e8f82bcdbdb
2024-10-24 22:50:32 +02:00
Arian
c10273a166 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:50:32 +02:00
Arian
495e3ee0cc 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:50:32 +02:00
Arian
2313085cfe 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:50:32 +02:00
Arian
efa789fd31 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:50:32 +02:00
Arian
4e6162aed7 sm8450-common: Use libhidlbase_shim for vendor.libdpmframework
Change-Id: Iefe50b82b5b13bbdee10819a0c60c14240fab7ce
2024-10-24 22:50:32 +02:00
Arian
cf8ad00c4b sm8450-common: Use libhidlbase_shim for vendor.libdpmframework
Change-Id: Iefe50b82b5b13bbdee10819a0c60c14240fab7ce
2024-10-24 22:50:32 +02:00
Michael Bestas
e3a18bd853 sm8450-common: Switch to AIDL USB HALs
Change-Id: I70f6a4e57eef577d86987bfae44f381a4f107624
2024-10-24 22:50:32 +02:00
Michael Bestas
ad4f54a9e9 sm8450-common: Switch to AIDL USB HALs
Change-Id: I70f6a4e57eef577d86987bfae44f381a4f107624
2024-10-24 22:50:32 +02:00
Michael Bestas
954da32897 sm8450-common: Switch to AIDL thermal HAL
Change-Id: I6ae621194044ab66fad69b9ef997b3b347bf6120
2024-10-24 22:50:32 +02:00
Michael Bestas
ff4c728cc6 sm8450-common: Switch to AIDL thermal HAL
Change-Id: I6ae621194044ab66fad69b9ef997b3b347bf6120
2024-10-24 22:50:32 +02:00
Arian
73ce1b7bba sm8450-common: Add missing xiaomi ecc list to vendor
Change-Id: If442b92d42b518a0119c0ac6151069ff7f6e15f9
2024-10-24 22:50:10 +02:00
Arian
26fb81fa37 sm8450-common: Add missing xiaomi ecc list to vendor
Change-Id: If442b92d42b518a0119c0ac6151069ff7f6e15f9
2024-10-24 22:50:10 +02:00
Arian
2fcd0d44fd sm8450-common: Import missing AtFwd2 app
Change-Id: Ie1d25e22e3b06aa586b0f3e7e8c2045933e2adf7
2024-10-23 10:55:28 +02:00
Arian
9da3b9a3e2 sm8450-common: Import missing AtFwd2 app
Change-Id: Ie1d25e22e3b06aa586b0f3e7e8c2045933e2adf7
2024-10-23 10:55:28 +02:00
Bruno Martins
2711cd0ffb sm8450-common: Work around using prebuilt audio primary HAL
Since audio.primary.taro is no longer present in PRODUCT_PACKAGES,
the vintf files are not copied anymore, so account for that and merge
to the manifest instead.

Change-Id: I71b091950e5ecc810779d3ab51e99807d6648d0b
2024-10-17 11:08:26 +02:00
Bruno Martins
e7d5bb5ad4 sm8450-common: Work around using prebuilt audio primary HAL
Since audio.primary.taro is no longer present in PRODUCT_PACKAGES,
the vintf files are not copied anymore, so account for that and merge
to the manifest instead.

Change-Id: I71b091950e5ecc810779d3ab51e99807d6648d0b
2024-10-17 11:08:26 +02:00
Arian
86baef3eba sm8450-common: Use patchelf 0.17.2 as the default patchelf version
This will also be used for the utility functions like FIX_SONAME

Change-Id: I0b2ac5b601d24c5cc3626ca41d2fad0e662ac72f
2024-10-13 16:01:05 +02:00
Arian
d7ec52bc4b sm8450-common: Use patchelf 0.17.2 as the default patchelf version
This will also be used for the utility functions like FIX_SONAME

Change-Id: I0b2ac5b601d24c5cc3626ca41d2fad0e662ac72f
2024-10-13 16:01:05 +02:00
Arian
40b7625455 sm8450-common: Kill touch_report for good
Change-Id: I455ac88ab2fe0aa3616464f0689d651a7508f4f1
2024-10-06 17:47:23 +02:00
Arian
63248dc54b sm8450-common: Kill touch_report for good
Change-Id: I455ac88ab2fe0aa3616464f0689d651a7508f4f1
2024-10-06 17:47:23 +02:00
Arian
f88a4d2569 sm8450-common: Use extract-utils FIX_SONAME helper
Change-Id: I84a38b3a253e0bafbd2f44c385dfee05157e01e9
2024-10-06 12:50:26 +02:00
Arian
bd9ac6e510 sm8450-common: Use extract-utils FIX_SONAME helper
Change-Id: I84a38b3a253e0bafbd2f44c385dfee05157e01e9
2024-10-06 12:50:26 +02:00
Arian
35d9a69aa0 Revert "sm8450-common: Disable redir_party_num"
Reason for revert: The migrations should not be modified retrospectively!

This reverts commit e0ab3da8d5.

Change-Id: I300174770d95cf0e019fc3ab5f6076b5b08990df
2025-03-25 17:35:58 +01:00
Arian
6a75b5eba7 sm8450-common: qcril_database: Add migration to disable redir_party_num
Caused incoming caller number not being parsed correctly by Phone app on
VoLTE and VoWiFi. No idea why Xiaomi enabled this ancient prop.

Co-authored-by: Andrzej Perczak <linux@andrzejperczak.com>
Change-Id: I5a9c30c3f0e42c7816d3dc7eebb73e97cdc0fed8
2024-10-06 12:46:31 +02:00
Arian
9c5a91d22e sm8450-common: qcril_database: Add missing migration for db 15.0
The shipped qcrilNr.db on diting miui V816.0.7.0.ULFMIXM has version 15.0
and sets persist.vendor.radio.unicode_op_names to true. However xiaomi
missed to include the migration to vendor, leading to OTA updates missing
the new change. Add the migration based on observing the stock db changes.

Change-Id: Iced27d8d8ea02594dd4c26a5ed6b8c51b4b61f20
2024-10-06 12:46:31 +02:00
Arian
3becfcd8cf sm8450-common: Import qcril_database and generate the db at build time
Imported from diting V816.0.7.0.ULFMIXM

Change-Id: I7798bd3c33d3b6f801e8f48a06fe994947715db9
2024-10-06 12:46:15 +02:00
Arian
2cdae336ba sm8450-common: Move qcom-system-daemon seccomp_policy to the proper section
Change-Id: Iec44788ae2089e1dda9e09d641a8a1d271992f6e
2024-10-06 10:28:25 +02:00
Arian
d6bbf893e4 sm8450-common: Drop unused qapeservice seccomp_policy
Change-Id: I7945dde5ce3533932dffdcda840017a34eb04df6
2024-10-06 10:27:32 +02:00
Arian
dc53442771 sm8450-common: Drop 32bit c2audio seccomp policy
Change-Id: I3b342f43ed594bca8425cc05c4c1b96807cf5e80
2024-10-06 10:27:07 +02:00
Arian
c9907b44ff sm8450-common: Move ELF check comments to top of proprietary-files.txt
Change-Id: Ibe39a9b1534e8c1a911b8ef5c0859aa7a9905481
2024-09-30 10:09:21 +02:00
Michael Bestas
f9aa9445d7 sm8450-common: Enable ELF checks for libwfdmmsrc_proprietary
Change-Id: I7eecffc5481b44451094a6816e50436ad084db7a
2024-09-30 10:09:21 +02:00
codeworkx
f310e063fc sm8450-common: wifi-display: Add WfdCommon to boot jars
Change-Id: I2465b9509d8514f594a62160899a50c23f263b7f
2024-09-30 10:09:21 +02:00
Michael Bestas
10ad3aeb45 sm8450-common: extract-files improvements
Change-Id: I517698ca3b5a93e10a5b167417631c7f8d0ab9e2
2024-09-30 10:09:21 +02:00
Manish Kushwaha
0fa9bde971 sm8450-common: Migrate sensor HAL to AIDL interface
Bug: 247478991
Test: tested on-device (P23) ab/P46941077
Test: `sensor_test -ahal list` and `sensor_test list`
Test: `sensor_test -ahal sample -s0` and `sensor_test sample -s0`

Change-Id: I40f6ab6b7780c53cd638a1f77c95f6c324dc2d15
Signed-off-by: ralph950412 <ralph950412@gmail.com>
2024-09-29 20:14:23 +02:00
Arian
473d47f403 sm8450-common: Update blobs from diting V816.0.7.0.ULFMIXM
Change-Id: If775227bb482d816248711ba8fbd15472cd724f3
2024-09-29 20:01:13 +02:00
Kevin Chyn
1a10435e07 sm8450-common: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
2024-09-08 16:31:44 +02:00