Commit Graph

1286 Commits

Author SHA1 Message Date
Luofan Chen
1967ec2c79 sm8350-common: gpt-utils: Check ufs device first before checking partition names
- 4b6405a7f0

Change-Id: I51663ff8e074681191ac708fcd7b4d28e890deaf
2023-08-21 13:04:53 +00:00
Bruno Martins
9dae84932c fixup! gpt-utils: Update PTN_SWAP_LIST and handle multiimg(oem/qti)
Change-Id: Iee2dff5e4550239319326e4c707f89006c13ddb8
2023-08-21 13:04:53 +00:00
FlowerSea0208
afa2607ddd sm8350-common: Configure common Powershare HIDL
Change-Id: I1287d066eca7d1a274b491f80166ed68c5b11459
2023-08-12 16:52:07 +08:00
FlowerSea0208
6f2ec9d60e sm8350-common: sepolicy: Add fod_press_status rules
Change-Id: I60d18f2c9ab2f3b7da5c80d9a2b21236dae3d36e
2023-08-12 16:52:07 +08:00
EcrosoftXiao
bc476fbaca sm8350-common: Add Xiaomi dtool HAL
Change-Id: I56af84663e44672c5f0e105be323dea7902e1c75
2023-08-12 16:51:40 +08:00
EcrosoftXiao
e5363bb71f sm8350-common: sepolicy: Address more denials for fp hal
Change-Id: I9a0ad1bc605ea6fd40b8f0a1301129bad1c61fbd
2023-08-12 16:50:49 +08:00
EcrosoftXiao
a06760b18b sm8350-common: sepolicy: Allow hal_fingerprint_default to access vendor_fingerprint_device
Change-Id: I8770a65a01e622f7c541bf88cf4b70c40792a169
2023-08-12 16:50:20 +08:00
Arian
19cbd7ae08 sm8350-common: udfps: Set fod status based on vendor acquired and cancel
Change-Id: I8cbabdfd48576a1afdbf9d2c542ed82a11a4874c
2023-08-12 16:47:22 +08:00
EcrosoftXiao
d52d3b7ff7 sm8350-common: sepolicy: Allow hal_fingerprint_default to creat netlink_socket
Change-Id: Icb8b0619ebee908c241e90c76439895c7026adec
2023-08-12 16:47:22 +08:00
EcrosoftXiao
5ee0ae3439 sm8350-common: sepolicy: Label display drivers
Change-Id: If97042228749352bc804888d8cb31ccf56742542
2023-08-12 16:47:14 +08:00
FlowerSea0208
00327ecb3a sm8350-common: Make the value of screen density overridable
Looks too small on some devices

Change-Id: I0accc5fdd0ad4cb0b466e226cfc9ec4bc96a66d4
2023-08-10 00:01:27 +08:00
FlowerSea0208
7b872cd510 sm8350-common: Add support for mars and star
Change-Id: I8d6b915eb5037180f299f0a4b7beca84575787c5
2023-08-10 00:01:17 +08:00
Giovanni Ricca
19691486d9
sm8350-common: sepolicy: Address mlipay denials
Change-Id: Ie7ed48158db6f5f5facab5dfb2efc8560c83fe49
2023-05-15 11:22:04 +02:00
chaptsand
3364309e72
sm8350-common: sepolicy: Allow platform app to find SoterService
* Fix selinux denied of WeChat fingerprint payment

- E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.soter::ISoter sid=u:r:platform_app:s0:c512,c768 pid=3613 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:vendor_hal_soter_hwservice:s0 tclass=hwservice_manager permissive=0

Issue: https://gitlab.com/LineageOS/issues/android/-/issues/4701

Change-Id: I3176f8e709fb31aec16a31094b78f753d1d16b43
2023-05-14 17:23:42 +02:00
Arian
3213b818ce sm8350-common: Update display blobs from Sony Xperia 1 III (XQ-BC72) 61.2.A.0.410
This matches LA.UM.9.14.r1-20000.01-LAHAINA.QSSI13.0

Change-Id: I27371702f040423d8c349ff5ea8d620849f3703a
2023-04-27 20:28:47 +02:00
Arian
a928936647 sm8350-common: Update display HDR blobs from tundra S3SJS32.1-86-1-4
This matches LA.UM.9.14.r1-19600.01-LAHAINA.QSSI12.0 and is unchanged
up to at least LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0

Change-Id: I8cd347aa31102604916a149c5b956d00735592cd
2023-04-27 20:28:47 +02:00
Arian
5943e273d8 sm8350-common: sepolicy: Label libSNPE.so as same process hal file
Change-Id: I2c8e996fe2b7772e88c925966a6bef04f47d3661
2023-04-25 16:54:44 +02:00
Arian
cb86ec236a sm8350-common: Restructure display blobs sections
* Drop andvanced_sf_offsets.xml as that's only used by
  libcomposerextn.qti.so which we do not include.

* Move QDCM blobs to postprocessing section

* Move libhdr_tm to a seperate section for future blob updates

Change-Id: I40dcd9d5a466ccac61ea04fbb45e0665154a0710
2023-04-16 17:49:30 +02:00
Bruno Martins
e86ecfdac5 sm8350-common: Unset DEXPREOPT_GENERATE_APEX_IMAGE
This was missed in commit Ib2cea88499cf08274d620d9d85ffcafc31fee868.

Change-Id: I8a130456021da1532279c3f0ac0ca0110e68b9b4
2023-04-16 17:49:30 +02:00
Arian
07b6eb7639 sm8350-common: Move to common sensors multihal
Change-Id: Iba4df5ebb5d653cb2d3f68fce9e682d946d20935
2023-04-16 17:43:25 +02:00
Bruno Martins
88fdfc318a sm8350-common: sepolicy: Remove duplicate lahaina wakeup nodes
Needed after I53aad29624e904b092c3cf73d498c735cf2f1b3e

Change-Id: I245c50c6e5c5d93a58cb4fe11e8e3aef3003ae29
2023-04-16 17:43:25 +02:00
Arian
2a641ef6ff sm8350-common: sepolicy: Label camera libraries as same process hal files
Change-Id: If04a525677e9e137dacb4fd759eb6d1d5d2776ba
2023-04-16 17:43:25 +02:00
Arian
6766cd911e sm8350-common: Build graphics allocator 3.0 interface to vendor
Some camera libraries depend on it

Change-Id: I0f4638c3f383f236e813457fc88fc1c33aaa0dfc
2023-04-16 17:43:25 +02:00
Arian
749023b822 sm8350-common: hidl: Add cameraperf to framework compatibility matrix
Change-Id: I4a7894cab884f775eb8c5a69180fdd065ebcb465
2023-04-16 17:43:25 +02:00
Arian
08a574b256 sm8350-common: sepolicy: Add camera perf and postproc hwservice
Change-Id: I5e054952a9739c1363294564296a26adcf3c8d8a
2023-04-16 17:43:25 +02:00
Arian
b201a744cb sm8350-common: Switch to camera.xiaomi.so
Change-Id: Ia179063af33484349a8c2224d327fb326e6d54bc
2023-04-16 17:43:25 +02:00
Arian
f9363b11e2 sm8350-common: Import public.libraries.txt from haydn V14.0.3.0.TKKMIXM
Change-Id: Ifcd7c40246b8b43d52d151001441bfd09b80f24e
2023-04-16 17:43:25 +02:00
Chenyang Zhong
794542baa6 sm8350-common: sepolicy: Set sensor HAL as a client of audio HAL
Elliptic ultrasonic proximity sensor's libnotifyaudiohal looks for
the audio HAL during elliptic's activate().

avc:  denied  { find } for interface=android.hardware.audio::IDevicesFactory sid=u:r:hal_sensors_default:s0 pid=970 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:hal_audio_hwservice:s0 tclass=hwservice_manager permissive=0

Change-Id: Ibcd6693acb49c810e8ce1f0ea86cf2238ad10a70
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-04-16 17:43:25 +02:00
Chenyang Zhong
564e70fb54 sm8350-common: Build 64-bit audio HIDL as well
libnotifyaudiohal.so from the elliptic ultrasonic proximity sensor
needs the 64-bit version of android.hardware.audio@6.0.so.

Change-Id: I8a6df0ed82806e8ea0f63b03b4f5a7b5c483fbbf
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-04-16 17:43:25 +02:00
Arian
69c455766c sm8350-common: Decommonize camera blob fixups
These blobs are in device specific proprietary-files

Change-Id: I315ae10b7bca1a9b81e6b77bbf78889db959f362
2023-04-16 17:43:25 +02:00
Bruno Martins
1ee719bb6d sm8350-common: Drop custom APM flag along with no-op audio flags
Custom audio policy manager is hard disabled by CAF
for 2 years now. Remove as well the audio feature flags
that were used to configure it.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2023-04-16 17:43:25 +02:00
LuK1337
0dcd3f38d1 sm8350-common: Sort blobs list /w sort-blobs-list.py
Change-Id: I197c6353dc50baf4ee76ed6ebf083dc00879bd96
2023-04-16 17:43:25 +02:00
Giovanni Ricca
dcfd80bbdf sm8350-common: media: Sync media configs from haydn V14.0.3.0.TKKMIXM
Change-Id: Id00ae3eb328ceac73e65349b3abc97fb8ffef75f
2023-04-16 17:43:25 +02:00
Giovanni Ricca
6c44bff5f7 sm8350-common: rootdir: Sync rootdir from haydn V14.0.3.0.TKKMIXM
Change-Id: Ibbaf1fd6ac6e45b71c66b79a95fa2c936cd3e695
2023-04-16 17:43:25 +02:00
Giovanni Ricca
cb4f0321cc sm8350-common: wifi: Disable Target Wake Time
* From haydn V14.0.3.0.TKKMIXM

Change-Id: I4b2c2328eca3d23e4ad1ac95abf151793f07e6ab
2023-04-16 17:43:25 +02:00
Arian
ce5bf61978 sm8350-common: Patch ims.apk
Patched to remove com.qti.permission.BIND_QTI_IMS_SERVICE and
Landroid/telephony/TelephonyBaseUtilsStub;->isMiuiRom()

Full patch: https://paste.myself5.de/zitiketuto.diff

Change-Id: I1ecff29d7089bffa50d41acb6b55c6d8e36d1d9c
2023-04-16 17:43:25 +02:00
AdarshGrewal
7f3d4cc88d sm8350-common: Update from haydn V14.0.3.0.TKKMIXM
Change-Id: I319efc1d4ae76192c8314b37b65db72cdfb1ba04
2023-04-16 17:43:25 +02:00
AdarshGrewal
f3e0c86da3 sm8350-common: sepolicy: Label more wakeup nodes
Change-Id: Iba883ad3a4c35bc59222571c7a0069dc47d34d59
2023-04-16 17:43:25 +02:00
Giovanni Ricca
4c87687fcd sm8350-common: configs: Add camera-daemon hint
* From haydn V14.0.3.0.TKKMIXM

Change-Id: Ie513762d0702e06a274ed6cb4915a7a34f281292
2023-04-16 17:43:21 +02:00
Kishor Krishna Bhat
9ab46944ba sm8350-common: Remove frozen and unfrozen cgroup
Removed frozen and unfrozen cgroup configuration which
are outdated and are also not required. This passes
testFreezerKillExitCode test case.

Change-Id: I8fef53a3b957d529cd6ace75e648ce8a5847e046
Signed-off-by: Kishor Krishna Bhat <quic_kishkris@quicinc.com>
2023-04-16 17:37:35 +02:00
Satya Durga Srinivasu Prabhala
bb8438e434 sm8350-common: Add UClamp support for lahaina
Sched Tune is deprecated in 5.4 Kernels and is replaced with
UClamp. As Android releases has to support earlier Kernel versions
like 4.14, UClamp isn't made default yet.

Change-Id: If6f4ae0812ae456089273514de58bb0654bb08c7
2023-04-16 17:37:35 +02:00
Woody Lin
da882c6a8c sm8350-common: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2023-04-16 17:37:35 +02:00
Nate Jiang
fa14a03e39 sm8350-common: Enable set channel on NDP setup
Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922
2023-04-16 17:37:35 +02:00
Les Lee
2642071b14 sm8350-common: wifi: Configure correct overlay configuration.
ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
2023-04-16 17:37:35 +02:00
Georg Veichtlbauer
678df67d35 sm8350-common: Drop config_setColorTransformAccelerated
It's now enabled by default

Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2023-04-16 17:37:35 +02:00
Michael Bestas
88d8ff6808 sm8350-common: overlay: Update multiple vibration strength levels overlay for 13
Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852
2023-04-16 17:37:35 +02:00
Nolen Johnson
bc2fe835fb sm8350-common: QCOM healthd is globally tracked now
Change-Id: Idf139e0a42372fb78695b0bffaba3909929299ad
2023-04-16 17:37:35 +02:00
Pirama Arumuga Nainar
886c8c28e4 sm8350-common: gps: Fix -Wbitwise-instead-of-logical
Bug: http://b/215753485

Reported by clang-r445002

error: use of bitwise '|' with boolean operands [-Werro
r,-Wbitwise-instead-of-logical]

  if (gnssCbIface != nullptr || gnssCbIface_2_0 != nullptr| gnssCbIface_2_1 != nullptr) {
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                          ||

Test: build with clang-r445002
Change-Id: I9410eb5208227dd70bd036aee02fb2aeb912f266
Merged-In: I9410eb5208227dd70bd036aee02fb2aeb912f266
2023-04-16 17:37:35 +02:00
Edwin Moquete
2218390115 sm8350-common: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: LineageOS/android_packages_modules_Bluetooth@cf25e33

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2023-03-19 17:12:27 +01:00
Alexander Koskovich
a25e493da9 sm8350-common: Add Bluetooth power overlays to sysprops
* These are moved to sysprops in Android 13.

   976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2023-03-19 17:12:27 +01:00