Commit graph

357 commits

Author SHA1 Message Date
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
Arian
e914e0a321 sm8450-common: Pin qcc-trd from unicorn V816.0.3.0.ULECNXM
Change-Id: I8bcd84759ec8b66b91994432ea99b18badd62116
2024-04-09 18:36:00 +02:00
Michael Bestas
55bf58a29d sm8450-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
$ sed -i "s/^-\(.*.\(jar\|apk\)\)/\1/g" proprietary-files.txt

Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2024-04-09 18:28:58 +02:00
Arian
9c3ba600e9 sm8450-common: media: Update from V816.0.3.0.ULFMIXM
Change-Id: I179c17d66390be13231c0ce427fe21be3e8f8942
2024-04-09 18:18:54 +02:00
Arian
6e6c6d5141 sm8450-common: Update blobs from V816.0.3.0.ULFMIXM
Change-Id: If178a1a004cfaf4474d9a375912301ef721f7f24
2024-04-09 18:16:58 +02:00
Arian
d1e1993bcd sm8450-common: Drop old bluetooth interface
This is not available and was only necessary for libbluetooth_qti anyway

Change-Id: I0353805cd0827fbfd49ff5892557318041f82497
2024-03-27 00:21:32 +01:00
Michael Bestas
c995b97146 sm8450-common: Build recovery QTI health AIDL service
We have a recovery partition.

Change-Id: I10841b26feea3c214349a20b2eedec74924f993a
2024-03-26 22:39:49 +01:00
LuK1337
eaed048e6f sm8450-common: overlay: Set max network scan search time to 254
Matches value found in stock TeleServiceQcom.

Change-Id: If2b224298ffe731f8ccfd0b4f3b6d8a257b6f968
2024-03-26 22:28:06 +01:00
Cassie
620e1064d1 sm8450-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
2024-03-26 22:27:06 +01:00
Cole Faust
91b704b61d sm8450-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-03-22 09:58:29 +01:00
basamaryan
9cd76f4d2a sm8450-common: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-03-22 09:58:00 +01:00
Tomasz Wasilczyk
7d587a0c43 sm8450-common: gps: Don't include cutils/threads.h
Bug: 289414897
Test: buildserver
Change-Id: I14b99f42feaae7af00cbd17cfe482eb2e5da71e8
2024-03-22 09:49:07 +01:00
Arian
1cd6a1d52f sm8450-common: udfps: Enforce high brightness while enrolling
Change-Id: I960c78fc28ea3053527ab3bb790cc028454b222b
2024-03-20 00:00:13 +01:00
LuK1337
880093b16b sm8450-common: Add debug IMS props to workaround CarrierConfig restrictions
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.

Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
2024-03-19 23:22:37 +01:00
Akhil Jaiswal
9215cdbc2e sm8450-common: config: Update sf duration to 15.6 ms
Change-Id: I5e62a45577035b8329026c426ab5b804b498527b
2024-03-19 23:22:37 +01:00
Alex Sarraf
0971d7fb1d sm8450-common: config: Move from phase offsets to work durations
Use work durations instead of phase offsets.

Change-Id: Ic9dc9eb0e297b58ddd436b084d8a2dcb6e834e26
2024-03-19 23:22:37 +01:00
Arian
573195b6d2 sm8450-common: udfps: Don't try to read with a negative length
Change-Id: If404b671eff00ac8281af2038a113519cd10cc9d
2024-03-19 23:22:37 +01:00
kxxt
705b60c599 sm8450-common: udfps: Enable fod_status on finger down events instead for fpc_fod
Unfortunately, the fpc_fod hwmodule does not send vendor messages
when it starts to wait for fingerprints reliably...

Change-Id: Ie66cbed024ce89092ecbb1bd9c965b35c59199f7
2024-03-19 23:22:37 +01:00
Jens Reidel
a69ce12bcc sm8450-common: Add support for thor
Change-Id: Idfc8a75082078f52cdc0f703be905fbc67028e62
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Arian
3c0204bb3f sm8450-common: udfps: Disable HBM directly on successfull authentication
Change-Id: I336d4079cc41156135b5c68319c11d2ae640f548
2024-03-19 23:22:37 +01:00
Arian
c4781d1137 sm8450-common: overlay: Decommonize brightness overlays
Change-Id: I04d3cf5da8beb42310890ebeb58386eb72e6ced6
2024-03-19 23:22:37 +01:00
Arian
2ab727afe0 sm8450-common: udfps: Change verbose logging to DEBUG
Change-Id: Ic3c4401e61b54445f9acc0d1e53c75c21b6a6ee6
2024-03-19 23:22:37 +01:00
Arian
1c5b35a3c1 sm8450-common: udfps: Inform hwmodule about press coordinates
These coordinates can be from the last press, ideally we would
get the coordinates freshly when fod_press_status changes.

Change-Id: I8c0096c96612c8ea8b612696ecf702d7945a1b84
2024-03-19 23:22:37 +01:00
Arian
43650d15a4 sm8450-common: udfps: Use 110 nit fod when the brightness is low
Change-Id: I892c8c5eaef6606a7576722ec1751db2f0a9b2ef
2024-03-19 23:22:37 +01:00
Arian
9b37d1a99e sm8450-common: udfps: Add comments about setFingerDown usage
Change-Id: Ifb0394a887cdabdad20208b5deb2386e7cc7f55a
2024-03-19 23:22:37 +01:00
Arian
ed1d014229 sm8450-common: udfps: Drop unnecessary setFingerDown on cancel
HBM is usually not on when it gets cancelled

Change-Id: I6c2c4836bf9dad627d4f97283b0fe8d2c398908a
2024-03-19 23:22:37 +01:00
Arian
1198676eff sm8450-common: udfps: Defer extCmd until fod ui is ready
This does not work with xiaomi's original display driver,
since partial reads from it are broken and it rejects all
reads whose size is insufficient to get the whole response.
However, the size is not known in prior, so we actually
want to read the header first to determine the actual size
and continue reading then. This requires a kernel side fix
like [1].

To make this work with the stock kernel driver instead,
adjust the parseDispEvent method to read with a larger
buffer directly and decrease the size of the data
according to the header later.

[1]: b80cb5a028

Change-Id: Id8f9ac8ef32462dd00832af12ff60a3610103e2a
2024-03-19 23:22:37 +01:00
Arian
abee51ea08 sm8450-common: udfps: Move HBM requests to fod press status listener
Change-Id: If00769fdd766f62c6e35d0f2c19496197ea218af
2024-03-19 23:22:37 +01:00
Arian
44edf478c1 sm8450-common: udfps: Correct vendorCodes
Change-Id: I39f37f278e39487c21d96e05ee331c4960d5e2be
2024-03-19 23:22:37 +01:00
Arian
6cfbe86b6d sm8450-common: udfps: Improve fod press poll logging
Change-Id: I9999722660f3d56519463c8e3762b9f48ef0208b
2024-03-19 23:22:37 +01:00
Arian
5588bbf3dd sm8450-common: udfps: Use MI_DISP_PRIMARY as touch id
Change-Id: Ie4144887165d56f37c871bb85da56e8c80dfd721
2024-03-19 23:22:37 +01:00
Arian
1328eabc27 sm8450-common: udfps: Enable HBM via disp_feature
Change-Id: I6ffdf1de9b0cf5eb2b479ce3ff66ca4f7e74e17c
2024-03-19 23:22:37 +01:00
Arian
ec8786ca3a sm8450-common: udfps: Keep fod_status enabled during enroll
Change-Id: Ie09efc80c6d4ad06db82c5c693f202f651fd56dd
2024-03-19 23:22:37 +01:00
kxxt
b2dcc1ec15 sm8450-common: sepolicy: Add rules for fpc fod
Change-Id: Ib0cb756a54a3d5416af4f892a0ebb9159a2130af
2024-03-19 23:22:37 +01:00
Arian
bba13b580d sm8450-common: Set radio build profile to u-stable
As seen on unicorn V816.0.3.0.ULECNXM

Change-Id: I86d4dfb5e384f986799257e1c670988823712775
2024-03-19 23:22:37 +01:00
Arian
1875e9bedf sm8450-common: Enable radio ecc_cloud
As seen on unicorn V816.0.3.0.ULECNXM

Change-Id: I52272c6060c257895edd6befc4fecede9d511933
2024-03-19 23:22:37 +01:00
Zhen Kong
f2b2c87a82 sm8450-common: Enable TDES support when Keymaster 4.0 is enabled
Add ro.hardware.keystore_desede to property list to pass
CtsSecurityTestCases TDES related tests.

Change-Id: I02e34e93b52f82546dffc2c4f2cce78671885310
2024-03-19 23:22:37 +01:00
Alex Sarraf
14bf8731ea sm8450-common: display: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

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