Commit Graph

97 Commits

Author SHA1 Message Date
chaptsand
f1b741d4d4 sm8550-common: Remove Secure Element interface for SIM cards (UICC)
* W libc    : Unable to set property "ctl.interface_start" to "android.hardware.secure_element@1.2::ISecureElement/SIM1": error code: 0x20
* E init    : Control message: Could not find 'android.hardware.secure_element@1.2::ISecureElement/SIM1' for ctl.interface_start from pid: 759 (/system/bin/hwservicemanager)
* I hwservicemanager: Tried to start android.hardware.secure_element@1.2::ISecureElement/SIM1 as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.

Change-Id: I95dcfce6fa822452b251dec02f8f15909d7480ee
2024-04-06 16:07:26 +08:00
chaptsand
b0ad41e948 sm8550-common: Add Codec2 software service to Codec2 HAL interface
Cmdline: media.hwcodec /vendor.qti.media.c2@1.0-service
 3361 F DEBUG   : pid: 3361, tid: 3361, name: vendor.qti.medi  >>> media.hwcodec <<<
 3361 F DEBUG   : uid: 1046
 3361 F DEBUG   : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
 3361 F DEBUG   : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
 3361 F DEBUG   : signal 0 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
 3361 F DEBUG   :     x0  0000000000000000  x1  00000077dbb62f00  x2  00000077dbb6dc98  x3  4c4d410100000000
 3361 F DEBUG   :     x4  00000077da9a7900  x5  0000000001414d4c  x6  0000000001414d4c  x7  00000077da8cf004
 3361 F DEBUG   :     x8  0000000000000001  x9  0000000000000d21  x10 0000000000000d21  x11 0000000000000000
 3361 F DEBUG   :     x12 2064616f6c6e750e  x13 00f022e2114c8a7e  x14 00000077da605840  x15 00000000000000c3
 3361 F DEBUG   :     x16 0000000000000001  x17 00000077dbb2f040  x18 00000077db0aa000  x19 b4000077414267b8
 3361 F DEBUG   :     x20 b40000760142bb70  x21 00000077da8a0000  x22 b4000077414267b8  x23 000000753ec3751c
 3361 F DEBUG   :     x24 00000077d9b88000  x25 0000000000007f20  x26 000000000000060f  x27 000000000000054c
 3361 F DEBUG   :     x28 0000000000007000  x29 0000007fced48170
 3361 F DEBUG   :     lr  000000753ec3ae34  sp  0000007fced48160  pc  000000753ec3ae34  pst 0000000080001000
 3361 F DEBUG   : 1 total frames

Change-Id: I6babac8f4ec0489f8bd5855b4e00bf64a20dd899
2024-04-06 16:07:26 +08:00
chaptsand
05cc5c130c sm8550-common: Refactor proprietary files
* Add missing blobs
* Reorder proprietary-files.txt
* Build some libraries from source as seen in stock

Change-Id: I9f777283407dc6749592463bcdb082728b291ade
2024-04-06 16:04:16 +08:00
chaptsand
de6aab45d0 sm8550-common: Update props from S9160ZHS2BXAF
Change-Id: I47dd2283e261a2632242e85320c47a135a1a2035
2024-03-30 23:25:46 +08:00
chaptsand
445eb40afe sm8550-common: Import Samsung changes over USB scripts
Change-Id: I57b0f0e3e795886132c3ea0d8fb0af5b0cfbe78d
2024-03-30 23:25:46 +08:00
chaptsand
34a3e80503 sm8550-common: Import USB scripts from vendor/qcom/opensource/usb/etc
Change-Id: Idaba4e9f46a6723a4bd5a4b7cdd47ee992ce392d
2024-03-30 23:25:46 +08:00
chaptsand
64e174b102 sm8550-common: Import samsung radio manifests
Change-Id: Iaf5447f63d3d231d754a22964576ee6ffc1c9d5f
2024-03-30 23:25:46 +08:00
chaptsand
06c51f1a9c sm8550-common: Update blobs from S9160ZHS2BXAF
Change-Id: I3978168113b48f5c03be95ec8494093f46f0a042
2024-03-30 23:25:46 +08:00
chaptsand
67c2a084da sm8550-common: Add reserved space for dynamic partitions
* For further modifications

Change-Id: Ia00c6c2305714697cedc604096feb96e16da63b2
2024-03-30 23:25:24 +08:00
Adithya R
56dccb45e6 sm8550-common: init: Remove cnss_diag service
Change-Id: I759ca58e3a59ac6b8a113deb0a4e149a43a89225
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-03-11 00:00:16 +08:00
ZVNexus
058c94184d sm8550-common: init: Remove QCOM system daemon service
* For factory use only and has real performance costs.

Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2024-03-11 00:00:15 +08:00
Bruno Martins
f37bd5bc83 sm8550-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-03-11 00:00:15 +08:00
Bruno Martins
eba9528d53 sm8550-common: Build QTI memtrack AIDL service from source
Change-Id: Ie549c42700821017a172ec8dc15086f87cd579f9
2024-03-06 00:00:25 +08:00
LuK1337
4991f27689 sm8550-common: Prevent adding same dependency twice in blob_fixup
Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
2024-03-06 00:00:25 +08:00
Andy Hung
829859870c sm8550-common: audio HAL: Enable RT priority inheritance
Test: instrumented
Bug: 181148259
Bug: 260918856
Change-Id: If56e449a9c6f1a49e372591893d8714534574e3a
2024-03-06 00:00:24 +08:00
Suren Baghdasaryan
23942a6ffa sm8550-common: Replace direct pid writes with setting task profiles for audio interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
2024-03-06 00:00:24 +08:00
Bruno Martins
41e05e8e09 sm8550-common: init: Override AOSP a-HAL service definition
Qualcomm adds oem_2901 and oem_2912 as group members.

Change-Id: I90e9d45069a8100bf922a5058fae5dbc5e5ef0c9
2024-03-06 00:00:24 +08:00
Rick Yiu
5890111d9b sm8550-common: Remove some camera-daemon commands
Those commands have moved to init.rc.

Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Icfe520e7f7367461607cc8fb5e524d9699e79124
2024-03-06 00:00:24 +08:00
Bruno Martins
d95527107f sm8550-common: Remove obsolete ro.charger prop
The health AIDL HAL service is not allowed to read ro.charger.*
system properties. Moreover, suspend and resume for charger mode
is enabled by default in the QTI healthd-ext.

Change-Id: Icff054944b019e93d8a99515c040a3004eb583a6
2024-03-06 00:00:24 +08:00
Bruno Martins
dedd43a0c5 sm8550-common: Migrate to common data-ipa-cfg-mgr
Change-Id: I8e16b81461390eb7491fc51e604ba08a53c7d364
2024-03-01 00:00:16 +08:00
SGCMarkus
5049a89a5d sm8550-common: Add security.rkp-V3 dependency to keymint service
The symbol _ZN4aidl7android8hardware8security7keymint29IRemotelyProvisionedComponent10descriptorE
was moved from android.hardware.security.keymint-V2-ndk to android.hardware.security.rkp-V3-ndk.

Change-Id: I7f3c40e3e8a2a848cdcb73e5232952f63681aa58
2024-03-01 00:00:16 +08:00
SGCMarkus
04b43bd8aa sm8550-common: Build older NDK versions for prebuilt blobs
Change-Id: I4adffc367b1b62225bcb801338d9bbe55f92deb6
2024-03-01 00:00:16 +08:00
LuK1337
353910362b sm8550-common: Build android.frameworks.sensorservice@1.0.vendor
Required by mm-pp-deps.

Change-Id: Iaf821dcbb07d7820f2fc3ff5ca9cca5e973360f2
2024-03-01 00:00:16 +08:00
LuK1337
562b2293c3 sm8550-common: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
2024-03-01 00:00:16 +08:00
Gabriel Biren
e36cf17e2f sm8550-common: Update makefile to use the AIDL Wifi Vendor HAL.
Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1
2024-03-01 00:00:16 +08:00
SGCMarkus
f448c7728c sm8550-common: Set external module root dir
Change-Id: I0b00e0a8192562047e273760dd8c253824518eaf
2024-02-28 00:01:08 +08:00
chaptsand
22106d8b53 sm8550-common: Build kernel from source
Change-Id: Ie8b57be69967423064b88f04abd0534e0968ec73
2024-02-28 00:01:01 +08:00
chaptsand
3b86fcbe11 sm8550-common: Declare BOARD_VENDOR
Change-Id: I1218d451a5f42510c95d94a655bda6160b6bd703
2024-02-28 00:01:01 +08:00
chaptsand
a67d9efb80 sm8550-common: Include QCOM SEPolicy makefile
Change-Id: I41ca8a7dc38db71daeb4dd2526ffb372667dbee8
2023-10-11 13:27:24 +08:00
chaptsand
7f86f37d52 sm8550-common: releasetools: flash init_boot
Change-Id: I5e58f521b0c949410d7955ca32dfc6c1a96e9ffc
2023-10-11 13:27:24 +08:00
Josip Kelecic
b7c9e2e15f sm8550-common: releasetools: flash vendor_boot
Change-Id: I3ffe9ce5b4578453fe481ba05953fc4b3c27599b
2023-10-11 13:27:24 +08:00
Akhil Narang
610da67c87 sm8550-common: releasetools: flash vbmeta_system as well
Change-Id: I2ecbf573fc7fa14ed7abff615c5353934f56aaee
2023-10-11 13:27:24 +08:00
XiNGRZ
765f91beec sm8550-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2023-10-11 13:27:24 +08:00
chaptsand
09337b59a1 sm8550-common: Define cache partition for non-A/B OTA
Change-Id: Ie4a1e407758e8feef7c986c3c22f96b8d1d7e35e
2023-10-11 13:27:24 +08:00
chaptsand
c380289a1c sm8550-common: Correct super partition size
Change-Id: I3fa6e8d453514c4e3e89827fc4690c22e4418db8
2023-10-11 13:27:24 +08:00
chaptsand
48a16c0af9 sm8550-common: Sync fstab and vbmeta_system with stock
Change-Id: I6935a0b533236586610349fe1362686ddfd3e844
2023-10-11 13:27:18 +08:00
chaptsand
c20fe1e4cf sm8550-common: Set BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT to true
* We have dedicated and non-A/B recovery partition

[1]: https://source.android.com/docs/core/architecture/partitions/generic-boot#option-2b

Change-Id: If09122a3dcb22cbf0ce23c6d46776f9669b9a96f
2023-10-11 03:16:41 +08:00
chaptsand
9e1d03b2cb sm8550-common: Convert to non-A/B devices with dynamic partitions
Change-Id: Id58a12940c30c5050d825ceb15a8b55f83d89061
2023-10-11 01:11:02 +08:00
chaptsand
38f840a0f2 sm8550-common: Remove Boot control HAL
Change-Id: I01e6425227a2329770ee88303fb54b0814cb7f0a
2023-10-11 01:07:08 +08:00
chaptsand
ae51c29df3 sm8550-common: Decommonize device specific blobs
Change-Id: Ibb5c9051db62117ff5a97001960b74848d2f11b3
2023-10-11 01:07:08 +08:00
chaptsand
a95b937c54 sm8550-common: Import device framework matrix
* Required by FCM Version 7

Change-Id: Ic0c44a805836c6889645d2d91f1d36058bf1d9bc
2023-10-11 01:07:08 +08:00
Roger Ellis
021eb4d038 sm8550-common: Allow ELF prebuilts in PRODUCT_COPY_FILES
* ELF prebuilts were banned in PRODUCT_COPY_FILES starting
   May 11th. See b/156534160 for long-term fix which should
   override this change.

Change-Id: Icd25b40ca4e4285319775046a1b70de30572be07
2023-10-06 23:20:54 +08:00
Dan Willemsen
483b821d58 sm8550-common: Build with overriding commands.
* To allow turning these into errors on other devices,
   and incrementally fix these issue, set BUILD_BROKEN_DUP_RULES.

Change-Id: I93637252a4cbe2e8b37648d5c0c0051a7696e13d
2023-10-06 23:20:54 +08:00
Anton Hansson
1ef32592fb sm8550-common: Set cpu "runtime variant" to cortex-a75
This makes bionic and various art tools that compile/runs cpu-specific
code choose the kryo330 at runtime. It does not affect
build-time compilation.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
2023-10-06 23:20:54 +08:00
Anton Hansson
8269982e41 sm8550-common: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.

Bug: 120773446
Test: make
Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
2023-10-06 23:20:54 +08:00
chaptsand
7fa7447129 sm8550-common: Initial device specific properties
* from dm2qzhx-user-13-TP1A.220624.014-S9160ZHU2AWH1-release-keys

Change-Id: I9ca943ae69f0bf9a71d8fd3dec40c5f40e9edaed
2023-10-06 23:20:54 +08:00
chaptsand
2f72cf973c sm8550-common: init: Update init scripts from S9160ZHU2AWH1
Change-Id: I23d408c9b1845fe563c8b7cbdd3052effe1c0d1e
2023-10-06 23:20:54 +08:00
PRANAY BHARGAV BHAVARAJU
2590d1bf37 sm8550-common: init: Avoid setting permission for /dev/hw_random
Below patch from system/core is setting required access policy
for /dev/hw_random. And CTS test is updated accordingly

https://android-review.googlesource.com/c/platform/system/core/+/2229337
https://android-review.googlesource.com/c/platform/cts/+/2232052

Change-Id: I762dfa3b1e84dee6c49fc178b5b75cf1c134cfb7
2023-10-06 23:20:54 +08:00
chaptsand
5e520fa720 sm8550-common: Update blobs from S9160ZHU2AWH1
* dm2qzhx-user-13-TP1A.220624.014-S9160ZHU2AWH1-release-keys

Change-Id: I613ae499a5fb1bf57a3b45a17d164a9de03f352d
2023-10-06 23:20:54 +08:00
Jiyong Park
c4b96529d6 sm8550-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of APEXes.

Change-Id: I441fa7535c3b8bcb5897337e5c85b02f3e34053e
2023-10-06 23:20:54 +08:00