Commit Graph

1001 Commits

Author SHA1 Message Date
basamaryan
3df5cd506c
sm6150-common: Commonize sepolicy
Taken from davinci, courbet, surya, sweet, and sweet2

Change-Id: Ie9bd3354d42a36e88004ee77343e0da5397a0eba
2024-10-15 13:25:09 -04:00
Sebastiano Barezzi
46002331ca
sm6150-common: udfps: s/hander/handler
Change-Id: I49726102bf33d54a29f2aae1bea707c9a55694b2
2024-10-15 13:24:47 -04:00
danielml
295458ae00
sm6150-common: Skip building unneeded libraries
Change-Id: I0a34776c3354e37c6ae3d2b9eca9150d902b99fc
Signed-off-by: danielml <daniel@danielml.dev>
2024-10-15 13:23:42 -04:00
Cosmin Tanislav
aaae514afd
sm6150-common: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-10-15 13:23:42 -04:00
Michael Bestas
fc064f59fb
sm6150-common: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2024-10-15 13:23:42 -04:00
Michael Bestas
d0f51f4e2b
sm6150-common: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-10-15 13:20:16 -04:00
Cosmin Tanislav
26e5c87d2b
sm6150-common: skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-09-25 16:58:34 -04:00
Michael Bestas
74074360ac
sm6150-common: fix vendor.qti.hardware.fm@1.0 ELF checks
Change-Id: I43f0824f88c24dd9d039f9075090c17f4266ab2d
2024-09-25 16:58:34 -04:00
Cosmin Tanislav
8fe6a097e5
sm6150-common: Fix com.qualcomm.qti.dpm.api@1.0 ELF checks
Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
2024-09-25 16:58:34 -04:00
Cosmin Tanislav
206042cc95
sm6150-common: Fix vendor.qti.imsrtpservice@3.0 ELF checks
Change-Id: Ia1995d0a3360317843685082e3226ab30f124d09
2024-09-25 16:58:34 -04:00
basamaryan
a87fd82b03
Revert "sm6150-common: Provide partition dependent module names if necessary"
This reverts commit fd47aee8f1.

Change-Id: I673769a67764080e412cabad3442b23bd202a2fa
2024-09-25 16:58:34 -04:00
Aaron Kling
b755799ead
sm6150-common: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-09-25 16:58:34 -04:00
Aaron Kling
0373b442e2
sm6150-common: Enable elf checks
Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
2024-09-25 16:58:34 -04:00
Sebastiano Barezzi
d38034e17b
sm6150-common: Add libcdsprpc_system.so
Needed by some camera libs

Change-Id: I6234d945f89bb3226512402feade3d98e35b9102
2024-09-25 16:58:34 -04:00
basamaryan
fe0852853c
sm6150-common: Add missing 32-bit libraries
Change-Id: I810c3c89e7936cda1910d85c7a49519de23040a2
2024-09-25 16:58:21 -04:00
Bruno Martins
41ebde2e72
sm6150-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-09-16 14:16:53 -04:00
Michael Bestas
489a1fcdad
sm6150-common: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
2024-09-16 14:16:53 -04:00
Aaron Kling
940cae663a
sm6150-common: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-09-16 14:16:53 -04:00
Yumi Yukimura
5f487d9349
sm6150-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-09-16 14:16:53 -04:00
Michael Bestas
190cfed1aa
sm6150-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-16 14:16:30 -04:00
danielml
e091c0a9a5
sm6150-common: Build xiaomi-telephony-stub
To provide the required Xiaomi IMS methods

Change-Id: I1e75476a0d2ed55b5eae2a0a2c6ca4c3c4e2c0f1
2024-08-06 16:26:04 +05:30
Sebastiano Barezzi
31c2bcd4ca
sm6150-common: rootdir: Move from Android.mk
Change-Id: I84413356ca330dd266534f933fe86d2897e9be7e
2024-08-06 14:24:18 +05:30
basamaryan
664dde7f2c
sm6150-common: rootdir: Add missing 'vendor.' prefix to cnss-daemon
Missed in 1a7135d93a

Change-Id: I0a47df69637674379ef5e3bd4a95b228e200e269
2024-08-06 12:46:08 +05:30
basamaryan
64a21b1609
sm6150-common: Update blobs from sweet_k6a OS1.0.6.0.THGMIXM
Change-Id: I2c91be38c045d2897f788463f85edfa29586793d
2024-08-01 22:11:26 +05:30
Michael Bestas
15305da793
sm6150-common: sepolicy: Move common wakeup nodes to qcom sepolicy
These are not device specific and don't belong here.

Change-Id: I47de84155fa4bd81fb67b3d6ba5465b0b5db4437
2024-07-16 12:21:02 +05:30
Andrzej Perczak
2c91f586b8
sm6150-common: 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.

Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
Change-Id: I4d3d19b80bedd7410e638c78909a8a910bc10be8
2024-07-10 13:33:18 +05:30
basamaryan
10bc03f013
sm6150-common: Revert "Preopt SystemUI for AOSP builds."
This reverts commit c027a3e451.

Reason for revert: This is already done in vendor/lineage.

Change-Id: I7961e8e75a7f865da02f4409a40cb86c4d90592f
2024-07-03 01:57:02 +05:30
Sebastiano Barezzi
9a0eaa69db
sm6150-common: Partially revert "Move to QTI health AIDL service"
https://github.com/LineageOS/android_system_core/blob/lineage-21.0/init/init.cpp#L1099

This partially reverts commit 53d51eceb1.

Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
2024-07-03 01:49:09 +05:30
basamaryan
ee4501a185
sm6150-common: Add new QCRIL database
Change-Id: Ideea68864d8fdd083c1e226810812480750f8dc7
2024-06-24 20:29:21 +05:30
Paul Crowley
527f330c63
sm6150-common: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
2024-06-24 20:26:46 +05:30
Bruno Martins
f3e31a2d6f
sm6150-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-06-24 03:00:42 +05:30
Bruno Martins
6d916c791d
sm6150-common: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-06-24 03:00:27 +05:30
Bruno Martins
5255afcd4d
sm6150-common: Declare EGL libs as symlinks during extraction
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-06-24 02:55:26 +05:30
Bruno Martins
ca574868c5
sm6150-common: Declare IMS libs as symlinks during extraction
Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa
2024-06-24 02:55:26 +05:30
Bruno Martins
127a13fd01
sm6150-common: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-06-24 02:55:15 +05:30
basamaryan
2e8c2b8f56
fixup! sm6150-common: Use common libqti-perfd-client and power-libperfmgr
Change-Id: Icaf1b3834090c1666c23fb8d621fbd2ad1971fdc
2024-06-23 18:07:52 +05:30
basamaryan
12c3135ffb
sm6150-common: sepolicy: Allow fingerprint HAL to use vndbinder
Change-Id: Ic6c70a39392e349e0770411f42af15eebc5dfea4
2024-06-22 17:27:09 +05:30
basamaryan
0c3bad3c75
sm6150-common: sepolicy: Allow fingerprint HAL to interact with uevent socket
Change-Id: I11d2388b6c7894917f488334efd2851d5a938cd3
2024-06-22 17:27:09 +05:30
basamaryan
50193c8135
sm6150-common: sepolicy: Add fortsense and sunwave fingerprint rules
Change-Id: Icea6d25bde0cb54e3926b009a7b76c264e44c77e
2024-06-22 17:27:09 +05:30
basamaryan
ea5b035f38
sm6150-common: rootdir: Set missing permissions for goodix and fortsense
Change-Id: I9101f164566deff0062fec976f4ddad8ae5c799f
2024-06-22 17:27:09 +05:30
palaych
87c9d011e8
sm6150-common: init: Set permissions for double tap to wake node
Change-Id: I0244ace82cee4b76a93d36624fe94cc78547860e
2024-06-22 17:27:09 +05:30
Sebastiano Barezzi
176839842d
sm6150-common: sepolicy: Label double_tap sysfs node
Change-Id: Idcff758444a5c89ba20f2ae804a407ee78c445cb
2024-06-22 17:27:09 +05:30
Sebastiano Barezzi
f36cf7a8a9
sm6150-common: Drop power AIDL extension
Change-Id: Ied144ee0f7840ab43499d43f3d0c64dfd414d99f
2024-06-22 17:27:09 +05:30
basamaryan
48c5fdf505
sm6150-common: Update blobs from sweet_k6a OS1.0.5.0.THGMIXM
Change-Id: Icc2cb02efd46b784ed75ce5837e041ab983bb696
2024-06-22 17:27:09 +05:30
basamaryan
caf4fd3282
sm6150-common: Use the common excluded-input-devices.xml
Change-Id: I22da0119acb1df87eb093ab311fa86369817ca8a
2024-06-22 17:27:09 +05:30
basamaryan
c41438c851
sm6150-common: Use the common Xiaomi FCM
Change-Id: I0ca395bc5c23c26e1546d3dd1839592530cc0e3f
2024-06-22 17:26:47 +05:30
x0x00044
c90f1d82bd
sm6150-common: overlay: Remove config_cellBroadcastAppLinks
- This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2024-06-18 02:59:58 +05:30
basamaryan
66942f25c0
sm6150-common: Convert packages allowed to use aux cameras to prop
Change-Id: Ie8c5cc86d3dc4937059432cd42be6dcaa6ac089c
2024-06-18 02:58:10 +05:30
Sebastiano Barezzi
ed6986e80f
sm6150-common: Move to common Xiaomi light AIDL
Change-Id: I00494cd392d19abd97cd65aeb4ec4bd9c9b11352
2024-06-18 02:05:33 +05:30
Michael Bestas
7dc92aba67 sm6150-common: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-17 12:23:25 +02:00