Commit Graph

272 Commits

Author SHA1 Message Date
chaptsand
5eee35d65f sm8550-common: Update blobs from S9160ZHU6DYD9
Change-Id: Ib58a411bbcace692d4cbbd6773f352a18ed0ec4a
2025-05-12 22:54:49 +08:00
chaptsand
f8852e9c4e sm8550-common: Enable Remote Key Provisioning (RKPD) support
E keystore2: IGetRegistrationCallback failed: 'RemoteException: RKP is disabled. System configured with no default URL.'
W keystore2: Error occurred while trying to access IRegistration service.
Caused by:
  - GetRegistrationCallback failed: "RemoteException: RKP is disabled. System configured with no default URL."
  - Failed to get registration

keystore2: Have a great day!

Change-Id: I1cc2b5e645b076cb9e4445a9b16c7e28045f5427
2025-04-28 16:28:26 +08:00
chaptsand
3b4be76fed sm8550-common: Ship android.hardware.telephony.ims.xml
Fix com.android.phone crash on startup after Android 15 QPR2 by enabling IMS
feature, and ensure android.hardware.telephony.gsm.xml is not renamed.

Change-Id: Ie8b700f138e67be70bae4ac5e2121615ad014dfc
2025-04-28 16:28:26 +08:00
chaptsand
355c6d421c sm8550-common: Regenerate RROs from LA.QSSI.15.0.r1-12000-qssi.0
Change-Id: I2c207a3ce93dc9149123fa1c3969f06aabd45756
2025-04-28 16:28:26 +08:00
Machad3x
9df3ce013a sm8550-common: Shim NFC blobs
Unresolved symbol: _ZN7android4base4TrimERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE

Change-Id: Ide08c74321849da343b6a23cab4401b4cbdbbe94
2025-04-27 16:27:33 +08:00
Bruno Martins
424325ecba sm8550-common: Drop avb hastree footer args
These and more are now all set in hardware/qcom-caf/common.

Change-Id: I7bd8848ddf7a473e74c2864d9b9f32bdca9cf748
2025-04-27 16:27:33 +08:00
chaptsand
62600d8561 sm8550-common: Enable broken dup rules check
Change-Id: I9a80f6246410d1571ea44990ff573a931556e1e4
2025-04-27 16:26:23 +08:00
chaptsand
04bae2db1e sm8550-common: config.fs: Add Samsung vendor AIDs
Change-Id: Ie0a6c785000d7a1bdef03a2688f76dd6ab225313
2025-04-27 08:05:56 +08:00
chaptsand
2e323fd1d1 sm8550-common: Define prebuilt Samsung NFC HIDL interface
host_init_verifier: vendor/samsung/sm8550-common/proprietary/vendor/etc/init/nxp.android.hardware.nfc@1.2-service.rc: invalid interface in service 'vendor.nfc_hal_service':
Interface is not in the known set of hidl_interfaces: 'vendor.samsung.hardware.nfc@2.0::ISehNfc'. Please ensure the interface is spelled correctly and built by a hidl_interface target.

Change-Id: If39b2194df07a58156c13a785b6d4dc0908cc8e3
2025-04-27 08:05:56 +08:00
Michael Bestas
6d9c9d478a sm8550-common: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-04-27 08:05:56 +08:00
Aaron Kling
7c095c7611 sm8550-common: Don't avb chain boot partition
ABL expects boot props to be in the main vbmeta

Change-Id: Idcbb7aec9d223b2cd844f280edfab63e3254908e
2025-04-26 00:10:00 +08:00
chaptsand
83ba1adb2c sm8550-common: Allow overriding super partition size
Change-Id: I548f44949d078bc8f64ef0add7bd127aeceb1560
2025-04-26 00:10:00 +08:00
chaptsand
7f9b3e8c7d sm8550-common: sepolicy: Address more denials
Change-Id: Id833dcd57dc9d389ef57cc30b85897f9d98f3c56
2025-04-26 00:10:00 +08:00
chaptsand
9cfb921e7d sm8550-common: sepolicy: Allow hermesd to use wake_alarm capability
Fix an issue where the hermesd process is denied access to wake_alarm
by SELinux, causing authentication failures even with correct credentials.

When enters the wrong password 5 times, the device refuses to unlock even
after the correct password is provided.

avc: denied { wake_alarm } for capability=35 scontext=u:r:hermesd:s0
tcontext=u:r:hermesd:s0 tclass=capability2 permissive=0

Change-Id: I0461346ceb10ae482a30bf72429b2eca10ac091b
2025-04-26 00:10:00 +08:00
Zun Qiao
5d9c711014 sm8550-common: init: Add permission for HDMI-IN bridge UXE
Add permission for HDMI-IN bridge UXE

Change-Id: Id540007a14d6e3a9e2623b7a5a9118d120c8dd83
2025-04-25 21:35:54 +08:00
Anand Jha
23700856e2 sm8550-common: init: Remove vendor.ril-daemon commands
Remove legacy rild vendor.ril-daemon services
commands as they are not used now.

Change-Id: Ib1a88d34dc73ff72f553b923e75ef084dd5d56f1
CRs-Fixed: 3890152
(cherry picked from commit 283febfaf0c1b85017f7efdd8ae35dbea73c2e89)
2025-04-25 21:35:54 +08:00
Zun Qiao
d7b86c9a8d sm8550-common: init: Add permission for DP bridge driver
Add permission for DP bridge driver

Change-Id: I5e31e61caac8b3b2f9cea6ce633136c1728ba343
2025-04-25 21:35:54 +08:00
Secondarian
3e68284a90 sm8550-common: Patch libsamsungcamerahal to expose all camera IDs
Replaces GetCameraIdList's address with that of GetCameraIdListAll so
that calls to GetCameraIdList will also expose all camera IDs

```
$ nm -D libsamsungcamerahal.so | grep GetCameraIdList
0000000000008ae0 T _ZNK7android18samsung_camera_hal14CameraProvider15GetCameraIdListEPNSt3__16vectorIjNS2_9allocatorIjEEEE
0000000000008b94 T _ZNK7android18samsung_camera_hal14CameraProvider18GetCameraIdListAllEPNSt3__16vectorIjNS2_9allocatorIjEEE
```

Change-Id: I7c572460a0f0bbde5f06e05b2bf6f152036c3030
2025-04-25 21:35:54 +08:00
Bruno Martins
f905ddc5ab sm8550-common: Install default charger resources
Change-Id: I6c9bc24414ff359d9400d7a48d4f49d22df778c1
2025-03-27 23:41:54 +08:00
luk1337
8413bf14e1 sm8550-common: init: Add formattable flag for /data fstab entry
Otherwise it results in broken data wipe in recovery.

Change-Id: I42bde849dc872f1d4d282c8bda3a87703c0eeebe
2025-03-27 23:41:54 +08:00
chaptsand
4ff5699042 sm8550-common: Update blobs from S9160ZHS6CYC1
Pin apks so that don't just update the signature and timestamp every time

Change-Id: Ib04bc487676f9ab6b6ccf7e7fb0c67ed67aff51b
2025-03-27 23:41:54 +08:00
chaptsand
0dfdc5f454 sm8550-common: Decommonize device-specific blobs
Change-Id: Ib0456fabfd2642078be7d0f2c08be148591d268a
2025-03-27 23:41:50 +08:00
chaptsand
bffbad73ee sm8550-common: Update blobs from S9160ZHS5CYA1
Change-Id: I406989ffc1bafba367bdbf81befca2ba305bda3e
2025-02-28 22:44:04 +08:00
chaptsand
2859b30f9f sm8550-common: Move to common RFS install_symlink targets
https://review.lineageos.org/c/LineageOS/android_hardware_qcom-caf_common/+/399047

Change-Id: Ic9315ed5ddf22a48e45519609c9434bb66f84474
2025-02-28 22:44:04 +08:00
Govind R Sekhar
6e2715c20b sm8550-common: config: add game_default_frame_rate_override property
Change-Id: I5b5e5335164dcccdd77486eb86607c7cf9b8a76d
2025-02-28 21:34:27 +08:00
Alex Sarraf
9778732992 sm8550-common: config: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

Change-Id: I3856caaf0a68e7e720819f25338d1eb9196f56b0
2025-02-28 21:34:27 +08:00
Sabarinath M B
a908e09e47 sm8550-common: config: Treat SMPTE_170M as SRGB
Treat SMPTE_170m as SRGB to prevent brightness delta for SDR
videos in DPU and GPU composition

Change-Id: I039ea859a863655c226ad5418b6fc57d8706198e
2025-02-28 21:34:27 +08:00
Bruno Martins
87a52ea7f6 sm8550-common: Do not explicitly build protobuf
Not required with elf checks enabled.

Change-Id: Ic6cac22c605d7f4b0e46891b31db3d134f21e353
2025-02-27 22:12:04 +08:00
chandu078
2956463fad sm8550-common: Remove manual build of libtinycompress and libavservices_minijail
These libraries are automatically built as part of shared_libs.

Change-Id: Ia7ddfacca4bfcdd7984fe93cc9d61a3791f77ddd
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-02-27 22:12:04 +08:00
Bruno Martins
9ad1770040 sm8550-common: Remove bt_firmware mount point creation
Seemingly never used on Samsung devices based on Qualcomm SoC's.

Change-Id: I5b024f5482fc21d3f5aaa72787e41db9f0d3cf22
2025-02-27 22:12:04 +08:00
Michael Bestas
ea9845fb4a sm8550-common: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-02-27 22:12:04 +08:00
chaptsand
1b5b36123d sm8550-common: sepolicy: Label more wakeup nodes
Change-Id: Icb341c239db384c46e71c82faa2a04977b525057
2025-02-27 22:10:10 +08:00
chaptsand
7e95c1ecea sm8550-common: wifi: checkout to CLO kalama configurations
Change-Id: I3cdc89e4ea1f309cbc8ca1f42537be35625aaea3
2024-12-30 23:06:12 +08:00
chaptsand
1394d8d71c sm8550-common: Import WLAN configuration files
* from S918BXXS6CXI4 && S9160ZHU5CXK1

Change-Id: I174fe23b36ca7b894cea86f50e1d2410fb4533eb
2024-12-30 22:37:24 +08:00
Josip Kelecic
4649cac293 sm8550-common: add shim for libhypervintf
* Needed by camera, we don't use hyper HAL.

Co-authored-by: chaptsand <chaptsand@gmail.com>
Co-authored-by: pckotzer <thegamethis@outlook.com>
Change-Id: I823e9286fe2b8ad2320b83cca0e6f59707c30f5b
2024-12-30 21:14:58 +08:00
chaptsand
e8ab765331 sm8550-common: Work around keymint HAL to avoid conflicts with source built
Change-Id: Ie16c7052cb9e343adcafa4303ae62d606ce4585f
2024-12-30 17:21:40 +08:00
chaptsand
995d43f745 sm8550-common: vintf: Add Samsung bluetooth audio manifest entry
Change-Id: Ibc59f9712b227356867e31c121aca425e949eae2
2024-12-30 17:21:06 +08:00
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