Commit graph

394 commits

Author SHA1 Message Date
Arian
1c57011e7c sm8450-common: Add support for dagda and taranis
Change-Id: I58d40fc90c185b10af38606da4efe3e31cd19bbc
2024-06-02 03:30:25 +02:00
Jens Reidel
ec0869c007
sm8450-common: sepolicy: Drop extcon rules
These live in device/qcom/sepolicy_vndr now.

Change-Id: I33a51a18bdf9fbef01c5c12647646472c4850b32
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-24 13:48:38 +02:00
Jens Reidel
652efb6b64
sm8450-common: power: Set double-tap mode for secondary panel if exists
Change-Id: I20c06b5dbf88b07a330af8af3455318acbdeb276
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-24 13:18:44 +02:00
Arian
4deb89bf9b sm8450-common: rootdir: Drop unnecessary actions from xiaomi_sm8450 specific init
Change-Id: Ib2b8f62f40a9a65b0653787309a337b6719ef200
2024-05-22 02:42:32 +02:00
Arian
5989afabdd sm8450-common: rootdir: Drop cit spkcal copy
Change-Id: I894b3cd651e1923f8c47fa8a491dcdcfad1c3ed5
2024-05-22 02:37:45 +02:00
Arian
4e0999f882 Revert "sm8450-common: rootdir: Add mbnota support"
On MIUI this is used to let updater write to data/vendor/mbnconfig, but we won't do this.

This reverts commit 60894cbcbe.

Change-Id: Ic3535a287ce80bc61541d2fd8dcfb64472db42bf
2024-05-22 02:27:02 +02:00
Arian
58f42d7fd4 fixup! sm8450-common: Move to QTI health AIDL service 2024-05-22 02:13:02 +02:00
Arian
c1be69ec02 sm8450-common: rootdir: Update kernel post boot script from ingot UKQ1.231121.127
Change-Id: I79229b48d77c60ff53c25f9644a086e0d7ce8929
2024-05-22 02:12:20 +02:00
Arian
3b63e5b6d6 sm8450-common: rootdir: Import kernel related scripts from LA.VENDOR.1.0.r1-15600-WAIPIO.0
Change-Id: I3a3f582550f668fced12e84d7ae0ddedac45d712
2024-05-22 02:08:14 +02:00
Arian
fe921f1062 sm8450-common: udfps: Revert usage of low brightness
Unfortunately, on devices like cupid the recognition is
significantly worse with this.

Change-Id: I174e3869e86cb19f69e748372941d5065a54b7a7
2024-05-22 01:54:00 +02:00
Arian
e651d4133a sm8450-common: Don't override nfc services for no nfc skus
apparently disabling the service is sufficient with the new aidl

Change-Id: I5daa7b51b9963785ace45fb7ede8a45e83f44d57
2024-05-22 01:12:18 +02:00
Arian
2bb1b0c9b8 sm8450-common: Remove more nfc related features for non nfc skus
As seen on stock marble vs marblein

Change-Id: If4491113e60908017c33d9eaef102a3922334f7c
2024-05-22 00:37:56 +02:00
Arian
41c5f376cb sm8450-common: Update blobs from diting V816.0.4.0.ULFMIXM
Change-Id: I03465ac2c5939987e42dcfc7a10cddbeb26b4baf
2024-05-21 15:46:33 +02:00
Adithya R
491e4699ab sm8450-common: overlay: Increase refresh rate brightness thresholds
Make some headroom for panels with worse gamma calibration.

Change-Id: Ic599727e98881933c2e101765130d085d1543743
2024-05-19 16:46:22 +02:00
Gil
85414ef27d sm8450-common: overlay: display: add blocking zone
zone1 condition(10 nits) in 120Hz
zone2 condition(15 nits, 5 Lux) in 120Hz

Bug: 243757430
Bug: 246905529
Test: Check the refresh rata at zone
Change-Id: Iee9bd842571165785c03ae761780371798fbb758
Signed-off-by: Arian <arian.kulmer@web.de>
2024-05-19 16:44:13 +02:00
Giovanni Ricca
113c4b5bc7 sm8450-common: Build com.android.nfc_extras
Change-Id: Ied33a6ec875e524e36776c923ecd4773e5003653
2024-05-18 14:55:12 +02:00
Arian
5e4d14e637 sm8450-common: Build nxp nfc service from source
Change-Id: Ib2294005a1761570c4dab98b7c1a44728406b428
2024-05-18 14:41:04 +02:00
Arian
9b6867268a sm8450-common: Decommonize NFC configs
Change-Id: I383bb767f333d92f2eeccdf22f97c4d5a3bf6981
2024-05-18 12:11:42 +02:00
Arian
d34af56dba sm8450-common: Update blobs from V816.0.8.0.ULCEUXM
Change-Id: I8c75f28cecb0d7304141b94f3b7299b963797301
2024-05-18 12:11:22 +02:00
Arian
28a32e2b57 sm8450-common: Update QCC blobs from ingot-user 14 UKQ1.231121.127 127 release-keys
Change-Id: I7201e269f0763a4d20ad4c16caaf24e443ace615
2024-05-18 11:42:06 +02:00
Arian
2290bfe433 sm8450-common: Update GNSS blobs from ingot-user 14 UKQ1.231121.127 127 release-keys
Change-Id: I571bb6a0152ed3030c066aa54a59ae14e37427a5
2024-05-18 11:40:01 +02:00
Nilesh Gharde
1a74532ea6 sm8450-common: gps: Remove getCapablities impl from gnss adapter
getCapablities impl is moved to LocAdapterBase
class as for QWES unify. All the adapters should use the
same implementation.

CRs-fixed: 3609221
Change-Id: I0e9f7af1437af47f20e27a9bad94231c594753c7
2024-05-18 11:28:19 +02:00
haohuang
5e81e4bd4c sm8450-common: gps: Add new NLP Session Status data item
Change-Id: Idf5b415fe232dbd098bdae392f40a50e0d11584b
CRs-Fixed: 3494806
2024-05-18 11:28:04 +02:00
Nilesh Gharde
31084d971e sm8450-common: gps: Add group inet for GNSS HAL
Change-Id: Ie82006c06dd85417012c53b91bd691fe143d3a3c
CRs-Fixed: 3210333
2024-05-18 11:27:55 +02:00
Nilesh Gharde
1de9dfed09 sm8450-common: gps: Loc QWES check unify
1 Add context call to get location qwes feature status directly.
2 Add data item to dispatch location qwes feature status.
3 EngineHub uses context call to get location qwes feature status.
4 xtwifi uses data item registration to get location qwes feature
status.

Change-Id: I489b7fadf2b06a4517ac4b362b6ff4d204f94080
CRs-Fixed: 3435284
2024-05-18 11:27:34 +02:00
haohuang
7def8dd105 sm8450-common: gps: Support WiFi RTT position injection for non ES case
Change-Id: I92248c5a95c042c90164308d0617d9197625e6dd
CRs-Fixed: 3432072
2024-05-18 11:26:31 +02:00
haohuang
58ea2a68e5 sm8450-common: gps: Add RSSI/RTT QWES and HW feature bits in ContextBase
Change-Id: I2b6a7d10c367862f8bb76b6a4a5c401e32a3c96e
CRs-Fixed: 3362481
2024-05-18 11:26:01 +02:00
haohuang
04153f1085 sm8450-common: gps: Remove seccomp_policy of xtwifi-inet-client
Change-Id: Ic7b0f42db15aa41a90688590c8953b1e234ebdee
CRs-Fixed: 3324736
2024-05-18 11:25:43 +02:00
Vrutti Patel
341ddf5768 sm8450-common: gps: GNSS adapter: need to check validity of elapsed real time
1: Need to check the validity of elapased real time before
   marking it as valid
2: Increase the allowed time between two get boot time call
   from 10 micro seconds to 2 milli-seconds

Change-Id: If2f7ddb23ce72cb52f294ff44353f5c9a9421a9c
CRs-fixed: 3281559
2024-05-18 11:25:11 +02:00
Arian
7de395884a sm8450-common: Add libgame_enhance blob
Change-Id: I5623900d800d33a5ed3cd8701ffa91db165110be
2024-05-18 11:05:22 +02:00
Arian
8688897ecf sm8450-common: Update display blobs from ingot-user 14 UKQ1.231121.127 127 release-keys
Change-Id: I397c50f4529fbba33c5aeabfe8f8bbca6063725c
2024-05-18 11:05:22 +02:00
Jens Reidel
496915fa0a sm8450-common: Add support for zizhan
Change-Id: Ief5bc5351dcf8f11c7daa9d3a5f11470a25dc1bc
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-18 11:05:22 +02:00
Arian
48b5e99211 sm8450-common: Decommonize libssccalapi@2.0
Change-Id: Ib55e9fb698af6f2cef20612eaacf7fb1b215bd3f
2024-05-18 11:05:22 +02:00
Jens Reidel
97d9ac1d53 sm8450-common: Add sepolicy rules for ziyi battery
Change-Id: I7433f54fd047aaecae485614a42db1c736018959
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-18 11:05:22 +02:00
Jens Reidel
810255e006 sm8450-common: Add support for ziyi
Change-Id: If606dde1ce83461a438951cc41eff1d1e6c7f639
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-18 11:05:22 +02:00
Jens Reidel
5a3495e9ab sm8450-common: Extract diwali media configs
Change-Id: Ic8a2de453aaef262c9c3994cacd2910faf2007c8
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-18 11:05:22 +02:00
Jens Reidel
f8535a90d0 sm8450-common: Build qca6750 module in addition to qca6490
Change-Id: I5ea957dc2ddb9742bb929595570ca7e63cd1476c
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-18 11:05:22 +02:00
Jens Reidel
1133744236 sm8450-common: Add qca6750 config
Change-Id: Ieb4a5d880906726d284905f72f38cf3a14178f01
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-18 11:05:22 +02:00
Arian
4bfd3e8d1f sm8450-common: udfps: Fix wrong debugging
Change-Id: Ifca3216aed85983d97b019e2c700cf0964fb8e39
2024-05-18 11:05:22 +02:00
Arian
7973ed6a5d sm8450-common: media: Update from V816.0.4.0.ULLMIXM
Change-Id: I32a5f1cf94e6bc9609bb6baa05acf7413f431d72
2024-05-18 11:05:22 +02:00
Arian
909956cadd sm8450-common: Import libmisight for vpp
Change-Id: Iae9e08c64563dbd6214dc4df7ece6db645c9b4c4
2024-05-18 11:05:22 +02:00
Arian
dc81c8c0ac sm8450-common: udfps: Only disable fod_status until suspend
Change-Id: If4d9084cbcc8670c7636fddd143807cb6b067f22
2024-05-18 11:05:22 +02:00
Arian
d244058448 sm8450-common: wlan: Get rid of xiaomi changes to WCNSS config
Partially revert "sm8450-common: Update blobs from unicorn V816.0.3.0.ULECNXM"
This partially reverts commit 3ce1e37a01.

Change-Id: I34c2ad4d955008e143b3091de766600c10612d12
2024-05-18 11:05:22 +02:00
Arian
2875d02e19 sm8450-common: Update blobs from V816.0.4.0.ULLMIXM
tunings.txt got removed from vendor, blobs only reference /mnt/vendor/persist/vpp/tunings.txt

Change-Id: Ic572965155a57b6815c7418fb5d368dc9268a960
2024-05-18 11:05:22 +02:00
Arian
eeed964b90 sm8450-common: audio: Don't advertise unsupported BT A2DP formats in audio policy config
Android 13 QPR1 does not seem to like advertising unsupported codecs here.

Change-Id: I23a7f626a268a0c89199aaa5899df9b812d85ae2
2024-05-18 11:05:22 +02:00
Arian
f163816908 sm8450-common: audio: Move bluetooth A2DP back to primary audio module
Partially revert "sm8450-common: audio: Enable AOSP bluetooth audio HAL v2"
This partially reverts commit 73270a0aa6.

Change-Id: I8c319c9ae13a179955c6271acf1cea27b5c4137b
2024-05-18 11:05:22 +02:00
Arian
daee512c19 sm8450-common: Update patched telephony apks from V816.0.3.0.ULFMIXM
Change-Id: I1dbfc8dd1fb62239a86b4597bbd5934045875ce5
2024-05-18 11:05:22 +02:00
Arian
3cbb740965 sm8450-common: Drop unused qti-telephony-common.jar
We don't use injection currently

Change-Id: Ia4579c73ab5b0431b4038167fc0ff2a348aecd66
2024-05-18 11:05:22 +02:00
Michael Bestas
e9ca57e2e7 sm8450-common: overlay: Enable battery cycle count
Change-Id: I92bc8363e1c9e2ad54c29a0a30dce992e25f697d
2024-04-09 18:47:03 +02:00
Jens Reidel
867459e8ee sm8450-common: Use libgrpc++_unsecure from stock
Change-Id: Ia7ff661ce3508e325962c4791a1966280beff8a6
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-04-09 18:41:05 +02:00