Commit graph

261 commits

Author SHA1 Message Date
Bruno Martins
cc77d18b06 sm8450-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-03-19 23:22:37 +01:00
Bruno Martins
bbce01c4e5 sm8450-common: Allow extracting only firmware images
Change-Id: Icab3f013661304e3a9ec89b0816a8139f6b8e8e5
2024-03-19 23:22:37 +01:00
Michael Bestas
287048e0e8 sm8450-common: Add firmware extraction support
Change-Id: If6cb6334a8f7b2fcc77c8947569eba1b2002190a
2024-03-19 23:22:37 +01:00
Michael Bestas
9dc0c1f103 sm8450-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-03-19 23:22:37 +01:00
EcrosoftXiao
bc979cb043 sm8450-common: audio: Nuke unsupported haptics output configuration
* Fixes Pixel ringtones

Change-Id: Ib81fd4209be8201d13aeea485910169371f82582
Signed-off-by: Bartłomiej Rudecki <ejbtrd@gmail.com>
2024-03-19 23:22:37 +01:00
Alessio Balsini
7a9ef94f78 sm8450-common: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2024-03-19 23:22:37 +01:00
Rick Yiu
817ee62047 sm8450-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-19 23:22:37 +01:00
Bruno Martins
2d6f07b00c sm8450-common: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2024-03-19 23:22:37 +01:00
Bruno Martins
b07068f0f8 sm8450-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2024-03-19 23:22:37 +01:00
Krzysztof Kosiński
c429f740e2 sm8450-common: Add prebuilt protobuf 3.9.1 to vendor partition.
Needed to work around a Qualcomm HAL prebuilt.

Bug: 203713560
Bug: 258322017
Bug: 254854421
Test: Forrest
Change-Id: I4eebc60f10fbea6a66127ed3e08441db32536f78
2024-03-19 23:22:37 +01:00
me-cafebabe
6bfd2920cd sm8450-common: gps: Fix compilation on U
Change-Id: I7ca7e78addd6385289b8449edae8b682839ecc91
2024-03-19 23:22:37 +01:00
Arian
f7693955d8 sm8450-common: Reserve some space on system partitions
Change-Id: Ifa2c030cdeb1d731b114a93fefac20f8bf158048
2024-03-19 23:22:37 +01:00
Luofan Chen
cb98749357 sm8450-common: Import QCC system_ext blobs
Makes the QTI GNSS service happy. Thanks luca020400 for the help.

Change-Id: I6de25b0b3fde6cce3a6cdf95f31c68734d429956
2024-03-19 23:22:37 +01:00
Arian
91e04467c2 sm8450-common: Add qcc-trd back
Change-Id: Icac6fc5c2cc5fcaa20b7f151dd5548834662d843
2024-03-19 23:22:37 +01:00
Arian
67c1569b45 sm8450-common: Drop oss lmkd libs
Change-Id: I36b15feaec0454a6b83b4f6ee2f9e7c5014e7e7d
2024-03-19 23:22:37 +01:00
Arian
8dd7e6a324 sm8450-common: Build qcom soundfx effects from source
Change-Id: Idc4f0c317b2aa69856456dc02693409ddb37b4ec
2024-03-19 23:22:37 +01:00
Arian
d09df83953 sm8450-common: Drop proprietary libdrmutils
Change-Id: Ibfcf6e589207af62f3ce77c435713c27dbed5c1c
2024-03-19 23:22:37 +01:00
Arian
d6c95036c8 sm8450-common: Build qti thermal HAL from source
Change-Id: Iff18a5fb4a5717aa6b77fdd64a87367dccd5df0b
2024-03-19 23:22:37 +01:00
Arian
d6d8afa24e sm8450-common: Cleanup media section and build oss ones
Change-Id: I6fb771855b3e540f6ef27342e5fa84deed4f3fb7
2024-03-19 23:22:37 +01:00
Arian
0cefa8d0c3 sm8450-common: Reorder and cleanup some blobs
Change-Id: I6785858e7378bbf828f1bd2990f21f83f7c5057b
2024-03-19 23:22:37 +01:00
Arian
e9c724fc08 sm8450-common: sepolicy: Drop label of wlan_mac.bin in persist
ueventd wants to load it and neverallows forbid to allow ueventd to access the new type.

Change-Id: I8cf246860cfc40bdf1706dec79ab5f2df0ba1881
2024-03-19 23:22:37 +01:00
Arian
b9f9cf202f sm8450-common: sepolicy: Reduce mi_thermald permissions in sysfs
Change-Id: I0d16f1a1ed73c5089d9dc116e24b61d58da47b7a
2024-03-19 23:22:37 +01:00
Arian
f38ee92bb5 sm8450-common: sepolicy: Grant audio hal permissions on persist audio files
Change-Id: Ib0bc16d2b2bcf106c14ae0cb6ea3995ea4f71664
2024-03-19 23:22:37 +01:00
Arian
0907c59cfe sm8450-common: Build sensorsservice interface for vendor blobs
Change-Id: I14e9cc63e0d65ee7bf448570e865f88ec5c8bb69
2024-03-19 23:22:37 +01:00
Arian
d47704fb1f sm8450-common: Decommonize audio HAL completely
Change-Id: Ib62ed1172a7b637da796d202227dd8256b51c3b2
2024-03-19 23:22:37 +01:00
Arian
85ffa055a6 sm8450-common: Copy audio configs and sensor permissions to all supported sku's and cleanup cape sensors
Change-Id: I35c4b7439e4ab8d6636c49e454f0ca6de4a265d7
2024-03-19 23:22:37 +01:00
Arian
8453ef4ebb sm8450-common: Decommonize mixer_paths and move some configs to vendor repo
Change-Id: I3ad6cf1f338bd26154d21dcfc301a463e3e63792
2024-03-19 23:22:37 +01:00
Arian
2bd79eea6f sm8450-common: Decommonize AGM
Change-Id: I21baf58f88ba257d5c7bc3f5e59ff97625c3d2ed
2024-03-19 23:22:37 +01:00
Arian
55c3480376 sm8450-common: Decommonize touch_report
Change-Id: I736005f3758606951450879b482b9ea095b9d6e4
2024-03-19 23:22:37 +01:00
Arian
17a09cc790 sm8450-common: Cleanup audio properties again
Change-Id: I1750d6a04d02d4a34c0bd18741e7ac31ee2a7c55
2024-03-19 23:22:37 +01:00
Arian
0a00ab82e5 sm8450-common: Remove system wifi properties
Change-Id: I18bcd2dc247d2c7766626ed43b74cb5eabccb72c
2024-03-19 23:22:37 +01:00
Arian
7bfc345a72 sm8450-common: Cleanup wfd properties
Change-Id: Idbcd6fa9d306ffde7c23709e6c43b50baa7081cb
2024-03-19 23:22:37 +01:00
Arian
8b7dde1505 sm8450-common: Don't enable ramdumps
Change-Id: I1d6ecc4f0f8a14f4bbbacdd148276c2aa7f9dec4
2024-03-19 23:22:37 +01:00
Arian
a75e1eb4fa sm8450-common: Drop unused sytem NFC property
Change-Id: I65d9b27b51a4209c7cf2c088e8dc91f39060f304
2024-03-19 23:22:37 +01:00
Arian
14c3ba4b09 sm8450-common: Cleanup media properties
Change-Id: I1a5fc2eff5502e764919375aab0fb38f987a3931
2024-03-19 23:22:37 +01:00
Arian
993d86fb09 sm8450-common: Cleanup system graphics properties
Change-Id: Iac61679b5c7f4ac78b51b09825b1846cdc273413
2024-03-19 23:22:37 +01:00
Arian
84bb690a3b sm8450-common: Update dpm property
Change-Id: I4cd06c478d71ca3878893a9af06bfce884368636
2024-03-19 23:22:37 +01:00
Arian
8683899800 sm8450-common: Drop persist.vendor.radio.hidl_dev_service
Change-Id: I6464fae8104e7bea54cadb81c127409d1e02da34
2024-03-19 23:22:37 +01:00
Arian
804358f3de sm8450-common: Drop zygote critical window property
Change-Id: I9abc3127b20166e67b3e7d51810a78c7fb493b66
2024-03-19 23:22:37 +01:00
Arian
27f632079c sm8450-common: Cleanup wifi properties
Change-Id: I3277816bbbb133cc24951d674f837ea7868bbb77
2024-03-19 23:22:37 +01:00
Arian
7657f46f31 sm8450-common: Cleanup vcb properties
Change-Id: Ic04286d6afb426e7257447fb36771038c532b81e
2024-03-19 23:22:37 +01:00
Arian
4e1ddaa7e9 sm8450-common: Drop default usb config from vendor.prop
Change-Id: I95771674d0fae0a98320e66c4813cdf9def7a464
2024-03-19 23:22:37 +01:00
Arian
23f69dacdb sm8450-common: Cleanup radio properties
Change-Id: I983fb0859dc5ea9494c5e0ec3414307caee1f263
2024-03-19 23:22:37 +01:00
Arian
9bd88168a9 sm8450-common: Drop QSPM property
Change-Id: Ie9778b272e7e1bb60c33c8ac645f40854b395096
2024-03-19 23:22:37 +01:00
Arian
57fba763ac sm8450-common: Drop QFP property
Change-Id: Ia6cda1b7cb227d1af5bcf5d44b85681dbdf26899
2024-03-19 23:22:37 +01:00
Arian
5ce1a28b53 sm8450-common: Don't enable qcomsysd
Change-Id: Id3960daa4a78bc63072c1b7f0a10559ac8e37625
2024-03-19 23:22:37 +01:00
Arian
bb678c7312 sm8450-common: Cleanup perf properties
Change-Id: Ifc8dcca4866321074935bf20a2272545e50e80f4
2024-03-19 23:22:37 +01:00
Arian
2be8dea40c sm8450-common: Drop NFC properties
Change-Id: I30bde55c639a5a794bbcedc5348c698a0ce6ffb0
2024-03-19 23:22:37 +01:00
Arian
84adac3a66 sm8450-common: Drop shutdown waittime property
Change-Id: Ib356a43820e890f998fe3694f8ca3721a895f0cc
2024-03-19 23:22:37 +01:00
Arian
05a2c7043c sm8450-common: Cleanup media properties
init.qti.media sets vendor.mm.enable.qcom_parser already

Change-Id: Idf95637f734806407dc0ca8dff6025e89aafcd30
2024-03-19 23:22:37 +01:00