Commit Graph

235 Commits

Author SHA1 Message Date
chaptsand
220ebbfb07 sm8550-common: Switch to python extract_utils
Change-Id: I4f93f1609599ee0afe3eee21ae8ab19fff6f24db
2024-12-30 17:20:48 +08:00
Kelvin Zhang
86b7f0b381 sm8550-common: Explicitly set as an non-AB target
We will be changing AB to be the default, existing non-AB targets
need to explicitly set AB_OTA_UPDATER to false

Test: th
Change-Id: I86a76296937a6abab1b4495cd66a35144348aafd
2024-12-30 16:17:19 +08:00
Luka Panio
8a5afd0877 sm8550-common: Add bootconfig to cmdline
While bootconfig allows to provide userspace config without taking space in cmdline,
 it only works with boot header v4, and recovery cant be newer then v2, so add bootconfig to cmdline,
 for recovery.

Change-Id: I2123b361b3c8e9097a94d80d762623aa8c3c236a
2024-12-30 16:17:14 +08:00
Bruno Martins
bb3064a737 sm8550-common: Drop soong configs for audio service
Not necessary anymore, since the shift to 64bit-only builds.

Change-Id: Ia424deb93e05cfb86706727b62d2ef0f53fa2fb1
2024-12-30 16:17:14 +08:00
Mezaque
9c7beb602f sm8550-common: overlay: Remove unsupported color modes
Change-Id: Idfe1816d36c634ed4fc5887fee45717c15e07e88
2024-12-30 16:17:14 +08:00
guckesh
dda3da57b7 sm8550-common: audio: Drop max open count active
* Fix WhatsApp audio messages and of games

Change-Id: I3f428a196276b6332db5d8803768625227b993cc
2024-12-30 16:17:14 +08:00
Mezaque Silver
39fea10f88 sm8550-common: audio-impl: Fix typo
* smsm?

Change-Id: Ia6e00ded5d423792297a3b45bfbc3ad49b4de8f1
2024-12-30 16:17:14 +08:00
chaptsand
4e11f15052 sm8550-common: sepolicy: Label more wakeup nodes
Change-Id: I8f603d280b1b0dd5b97ab1db65547e7e1c68c069
2024-12-30 16:17:14 +08:00
chaptsand
7245b13c51 sm8550-common: Update blobs from S9160ZHU5CXK1
Change-Id: I729258f2f70bb8df622ad1a036eaccd8b7360ec2
2024-12-30 15:29:10 +08:00
Michael Bestas
5b8f8a584e sm8550-common: fix vendor.qti.hardware.fm@1.0 ELF checks
Change-Id: I1c5c3e95d3ebf067d8b1d14789db049e396cff6c
Signed-off-by: Kai Jones <19639817+488315@users.noreply.github.com>
2024-12-30 15:29:10 +08:00
Bruno Martins
4e1d3120f3 sm8550-common: Move to OSS FM and HFP libs
Change-Id: I98dd9f6bfd995497188ecf59a84c9dafe4a6949e
2024-12-30 15:29:10 +08:00
Bruno Martins
d13d34e93e sm8550-common: usb_compositions: Move config to odm
USB gadget HAL supports loading compositions from vendor, odm and
product partitions. Move the config to odm partition since it has
been modified and is now entirely device-specific and moreover not
to have a conflicting build copy rule.

Change-Id: Ibe1a62021af2fa2127c1361855451dc8dc67fe1f
2024-12-30 15:29:10 +08:00
chaptsand
953affbd3e sm8550-common: usb_compositions: Change VID/PID to Samsung
Move VID to 0x04E8 (Samsung Electronics Co., Ltd.) and additionally adjust PID
to match those from stock init-based configfs rules.

Change-Id: I148c2c6da833b4a737db6920e6217eb3b74d7c41
2024-12-30 15:28:50 +08:00
chaptsand
9c6c56d206 sm8550-common: Drop device id attestation feature
Change-Id: Ibbbfb8ff0e87d24a1d4997c135afec3bd69d4f0e
2024-10-16 18:39:17 +08:00
chaptsand
3d3629c638 sm8550-common: Update blobs from S9160ZHS4CXJ1
Change-Id: Icb9f1009167ee85452c87230157386dcd251e54b
2024-10-16 18:28:18 +08:00
Alexander Koskovich
94b88405cc sm8550-common: Add Bluetooth power overlays to sysprops
* These are moved to sysprops in Android 13.

   976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2024-10-16 05:57:44 +08:00
chaptsand
7b4d3fb901 sm8550-common: overlay: Update QSSI overlays from LA.QSSI.14.0.r1-07000-qssi.0
Change-Id: Iea799f22a44095a2e71c4dc86ef877588742e6d4
2024-10-16 05:57:44 +08:00
chaptsand
11a7981ee5 sm8550-common: Using QTI USB init scripts
Change-Id: If7271d021916a9cb035a2bce734668fada3099f2
2024-10-16 05:57:44 +08:00
Michael Bestas
88ed7a81f8 sm8550-common: Switch to AIDL USB HALs
Change-Id: I70f6a4e57eef577d86987bfae44f381a4f107624
2024-10-16 05:57:44 +08:00
chaptsand
d4f108ea66 sm8550-common: Replace libcppbor_external.so with libcppbor.so
"_external" suffix was removed from libcppbor on V

Change-Id: I144f200b5222e5cf4efc03d8c010843d7e096951
2024-10-16 05:57:44 +08:00
Bruno Martins
55f9c104a1 sm8550-common: Resolve missing symbols on libqcodec2_core
Change-Id: I300d78733f07b7fe1ba6b5066d02f49eefbeb54a
2024-10-16 05:57:44 +08:00
Bruno Martins
be663cd1bd sm8550-common: Address seccomp filter failures
Fixes:
 W ATFWD-daemon: libminijail[4334]: logging seccomp filter failures
 E ATFWD-daemon: libminijail[4334]: blocked syscall: gettid
 I init    : Service 'vendor.atfwd' (pid 4334) received signal 31
 I init    : Sending signal 9 to service 'vendor.atfwd' (pid 4334) process group...
 ...
 W wfdhdcphalservice: libminijail[5312]: logging seccomp filter failures
 E wfdhdcphalservice: libminijail[5312]: blocked syscall: gettid
 I init    : Service 'wfdhdcphalservice' (pid 5312) received signal 31
 I init    : Sending signal 9 to service 'wfdhdcphalservice' (pid 5312) process group...

Change-Id: Ic259464520db6e77f06a3d0820a63662aa91659c
2024-10-16 05:57:44 +08:00
Michael Bestas
72e60cc9fc sm8550-common: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2024-10-16 05:57:44 +08:00
Cosmin Tanislav
8318b9bc99 sm8550-common: Do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-10-16 05:57:31 +08:00
chaptsand
a56e4bdb89 sm8550-common: Fix sonames of certain libraries
Change-Id: I26bd617a2426a9c530532417088b3a82f27b3acd
2024-10-15 14:40:32 +00:00
chaptsand
559efcfbef sm8550-common: Resolve missing symbols of certain libraries
Change-Id: I6af760fceace3fc63c4d2e244d9ceb27e629551b
2024-10-15 14:40:32 +00:00
chaptsand
57a157bdde sm8550-common: Append module suffix to prebuilts to avoid conflicts
Change-Id: I3540ace8ca42cba7c5c54da8c89ee2fd92cd8c2c
2024-10-15 14:40:32 +00:00
chaptsand
f50f4fb760 sm8550-common: Adjust blob list to pass ELF checks
Change-Id: Id94834d2f12cecbebebcc75af5a94c05a1855414
2024-10-15 14:39:52 +00:00
Aaron Kling
25c0bc2222 sm8550-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-10-15 03:36:19 +08:00
Bruno Martins
e016300ea1 sm8550-common: Work around using prebuilt audio primary HAL
Since audio.primary.kalama 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-15 03:36:19 +08:00
Michael Bestas
205813f6bd sm8550-common: Work around using prebuilt HWC
After enabling ELF checks and switching prebuilts to modules,
the init and vintf files are no longer automatically built.

Change-Id: I48fcab53a7c8128b18e1399d9afadcfd5c85b116
2024-10-15 03:36:19 +08:00
Bruno Martins
e586c74b8a sm8550-common: Setup ELF checks
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I17b9c9021155c30c1ec1aa1754c995dae30cb2a7
2024-10-15 03:35:28 +08:00
chaptsand
968aea3233 sm8550-common: Sync feature permissions with stock
Change-Id: I4c0fbd45f4fedeba2eecc3e90bbf1efd7f4de43c
2024-10-14 13:39:47 +08:00
Iascker
1aaca69254 sm8550-common: Update blobs from S916BXXS6CXHA
Change-Id: Ib077f0c90fd62d849398a3e1b9b410d9b330eb63
2024-09-25 18:04:26 +08:00
Iascker
1185e3adfe sm8550-common: Decommonize third party ZOOM translator
* This breaks the camera on the S911X

Change-Id: Ic6b1ee05ac2893c37b011b101f2281f7efdec33f
2024-09-25 18:04:26 +08:00
chaptsand
883bc959e8 sm8550-common: sepolicy: Fix touchscreen sysfs selinux denied
Change-Id: Ia2524751d88341b9627d7d9698d1be017232defa
2024-09-19 16:02:54 +08:00
Michael Bestas
9d0dc390c7 sm8550-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-18 23:56:32 +08:00
Bruno Martins
af42246aec sm8550-common: Build QTI health service
Change-Id: I929a51b8516e5b3265f08160d0055f7dae6ab2bf
2024-09-18 23:56:32 +08:00
chaptsand
34b23b3a8c sm8550-common: Initial enforcing sepolicy
Change-Id: If928cb2d9e24a6639df4e555492209722162ed05
2024-09-18 23:56:12 +08:00
chaptsand
2cf9d45a3c sm8550-common: Drop unused blobs and props
Change-Id: I865c945c243622b8286b421e9a204573feaa9fe3
2024-09-18 23:54:41 +08:00
chaptsand
f32a033a43 sm8550-common: init: Add bind mounts for vendor firmwares
Change-Id: Ief17362b1a1e942fad64ddbb31d8861dce1852ad
2024-09-18 23:54:41 +08:00
chaptsand
a839de2757 sm8550-common: Decommonize some vendor firmwares
Change-Id: I239fdec29b77c993e29501c23d7217460e504657
2024-09-18 23:54:41 +08:00
chaptsand
ec6a193540 sm8550-common: Adapt powerhint for kalama
* Octa-core (1x3.36 GHz Cortex-X3 & 2x2.8 GHz Cortex-A715 & 2x2.8 GHz Cortex-A710 & 3x2.0 GHz Cortex-A510)

Change-Id: I609f73726343f457c7d1054fa333b9e681690d9e
2024-09-15 13:34:42 +08:00
chaptsand
c7c160757b sm8550-common: Enable double tap to wake
Change-Id: Ia18f6cca9dd29d7c702a4df11cdd67cb580ba56a
2024-09-15 13:34:42 +08:00
Simon1511
cb9a563a79 sm8550-common: Add DT2W fields to powerhint
Change-Id: I49ef5dfb4287bfb774c51b4a1b44c5a150f5e1d6
2024-09-15 13:34:42 +08:00
Adithya R
1894a075be sm8550-common: Lower down schedutil down rate limit for prime CPU
Since the big and prime clusters consume more power,
they should not be prevented from lowering frequencies
for longer periods. Instead it should be for the little
cluster, that consumes lesser power and has higher load.

Change-Id: If8325d2b3c6be0b593716cb8f6bef4316d232e87
2024-09-15 13:34:29 +08:00
someone5678
6e241ad7e3 sm8550-common: Update powerhint.json nodes to kalama
Change-Id: If239a876f78350c47925c1424ea4d9fde210b426
2024-09-15 13:34:28 +08:00
bheatleyyy
e339c4c926 sm8550-common: Import powerhint.json from taro
* from https://github.com/PixelOS-Devices/device_xiaomi_sm8450-common/blob/fourteen/configs/powerhint.json

Change-Id: I73d822b9e317e970a9ea0255403b89fd9b3f691b
2024-09-15 13:34:28 +08:00
Bruno Martins
2a39ee573e sm8550-common: init: Enable powerhint parsing after boot completion
Change-Id: Ie065f234bfd949264b962bae80e400a446f65b80
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-09-15 13:34:28 +08:00
Bruno Martins
c8f8181faf sm8550-common: Migrate to common libqti-perfd-client and power-libperfmgr
Change-Id: I22dd0baaf1594db1650bccf37b4d167b50135174
2024-09-15 13:34:28 +08:00