126 Commits

Author SHA1 Message Date
yarpiin
8e1ff24b32 cupid: include Evolution build flags 2025-05-06 21:58:09 +01:00
yarpiin
b2924483f2 cupid: Change PRODUCT_MODEL to Xiaomi 12 2025-05-06 21:58:09 +01:00
yarpiin
9e896f49a1 cupid: add evolution.dependencies 2025-05-06 21:58:09 +01:00
ccfries
c10ce86331 cupid: Set VENDOR_SECURITY_PATCH To PLATFORM 2025-05-06 21:58:09 +01:00
Erfan Abdi
6012aee434 cupid: remove unwanted packages 2025-05-06 21:58:09 +01:00
Slawek
816071d898 cupid: parts: drop Thermal profiles 2025-05-06 21:58:09 +01:00
Chaohui Wang
e75c44bca2 cupid: parts: Migrate to CompoundButton.OnCheckedChangeListener
Switch and SwitchCompat are both CompoundButton.

Using CompoundButton in Java will helps migration in the future.

Bug: 306658427
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
Change-Id: I85a70d4c504d8584030ea4a058f30d74206ab835
2025-05-06 21:58:09 +01:00
Peter Kalauskas
f43ee5182b cupid: parts: Enable use_resource_processor for all sysui deps
This will make the build faster

Test: m checkbuild
Bug: 295208392
Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e
2025-05-06 21:58:09 +01:00
Adithya R
f1a75fd99d cupid: parts: Fix thermal profile screen state handling 2025-05-06 21:58:09 +01:00
EmanuelCN
3fa6e860e2 cupid: parts: Checkout thermal profiles to xiaomi-sm8250 implementation 2025-05-06 21:58:09 +01:00
Arian
f8510853d4 cupid: parts: Import from xiaomi_sdm845-common
e261035d91/parts

Change-Id: I442f48780ca020f3e420ee4ccaf8ac07b05457cb
Signed-off-by: Anush02198 <anush.4376@gmail.com>
2025-05-06 21:58:09 +01:00
yarpiin
685d9bd793 cupid: set screen density to 380 2025-05-06 21:58:09 +01:00
gotenksIN
7f46a06cee cupid: overlay: Add PixelSetupWizardResTarget 2025-05-06 21:58:09 +01:00
Adithya R
6c856db12d cupid: Update display ids after display-drivers change
Recent kernel change in the display driver [1] caused a change in
display hardware port id which resulted in a change in display id.

[1]: 0a3ce41964

Change-Id: I58d3cb151ce3683643c6094758bee0a66bfa8cd5
2025-04-16 16:59:20 +02:00
Arian
58ffc1f96b cupid: Drop unused xiaomi mdss display config
Change-Id: I2e203ccb65533a7e75b34014235d51f3a5ddc689
2025-04-16 16:59:20 +02:00
Arian
03edd99f71 cupid: Update blobs and firmware from OS2.0.1.0.VLCMIXM
Change-Id: Ibfcb505e3416f42069c000cea33f3ec2433010dc
2025-04-16 16:59:20 +02:00
Arian
6ff3cd7f82 cupid: Enable ultrasound proximity sensor in audio hal
Change-Id: I7db1afd5ab2686e1f0c70e61ba1afe6fd3ba33ff
2025-04-16 16:59:20 +02:00
Arian
4215c2ed96 cupid: audio: Remove unsupported ultrasound device key vectors
Change-Id: I71c6aaa29c75a7f2b60f859dd9b87e60cc69dd4a
2025-04-16 16:59:20 +02:00
Arian
a31f405bf0 cupid: audio: Add ultrasound rx stream usecase key vector
Change-Id: I76202e2151ab543ce8fe128b861facbb2c23951a
2025-04-16 16:59:20 +02:00
Arian
816d08e821 cupid: audio: Enable and configure external echo cancellation
Change-Id: I6d68ab8aa5633880fa9da913e7939ef1fb67a744
2025-04-16 16:59:20 +02:00
Arian
b3faac3470 cupid: audio: Use EC enabled streams for hotword capture and single mic in lp mode
Change-Id: I19967f88338a57d6318b5e2bfb2260a4c6a58ce7
2025-04-16 16:59:20 +02:00
Arian
4418b8d573 cupid: audio: Use separate calibration for bluetooth a2dp low latency
Change-Id: If9dfdb8bffe8c77a9826015c0091539158a5425a
2025-04-16 16:59:20 +02:00
Arian
dbd478c59f cupid: audio: Switch handset, speaker and wired audio out to 24bit
Change-Id: I3b9274ee907ea5597c5a1afc74f2cde0145a7a5b
2025-04-16 16:33:51 +02:00
Arian
786b7af18a cupid: audio: Use default handset mic for raw streams
Stock removed the handset-mic-unprocessed snd_device_name from
raw handset mic usecase, thus falling back to the default handset
mic.

Change-Id: I047c2513af7ebbc31242432a08e4f6ae5867e021
2025-04-16 16:33:51 +02:00
Arian
b72f1f9ca8 cupid: audio: Use speaker-dmic-endfire for calls
Change-Id: I81a87ad8221cb1863deb09c0f50d83c3ad65c0a1
2025-04-16 16:33:51 +02:00
Arian
0b7f2bfde8 cupid: audio: Use handset-dmic-endfire as default handset mic
Change-Id: I660137cd50f8d585b852d59cc2bfd001b8f208f6
2025-04-16 16:33:51 +02:00
Arian
7ff841ac5f cupid: audio: Use deep buffer calibration for voice recognition streams
Stock doesn't use the voice recognition stream and supposedly our acdb data
does not include these streams, leading to the stream failing to open.
04-11 00:28:40.627  1280  5170 E ACDB    : hardware/qcom-caf/sm8450/audio/graphservices/acdb/src/acdb_command.c:AcdbCmdGetGraphAlias:4253 Error[19]: Unable to find the graph key vector

Change-Id: I805b6f69cd914a16212c6494b12d41cb9598085b
2025-04-16 16:33:51 +02:00
Arian
e7266f8549 cupid: audio: Change backend of some devices to tdm
Change-Id: I784d6bd1f1931c04da7f26babc84d66f160fc0d1
2025-04-16 16:33:51 +02:00
Arian
4bfe041267 cupid: audio: Apply xiaomi mixer path changes
Change-Id: I50c31ae1602084ff03d58a7081f2bde92f0b2e64
2025-04-16 16:33:51 +02:00
Arian
9aa0369c8d cupid: Import audio configs from LA.VENDOR.1.0.r1-26900-WAIPIO.QSSI15.0
Change-Id: Ie7e6f1c3a41d6b800ae3501c4afff8e898ff8dad
2025-04-16 15:59:44 +02:00
Arian
101d946f7e cupid: Move acdbdata to waipio_mtp and add missing ones
Change-Id: I36c33a2ebb2b575f7a884fdb05809e5e6a823c40
2025-04-16 15:59:44 +02:00
Arian
0167cc2142 cupid: Drop prebuilt audio configs and blobs
Change-Id: Id1053065fd5166ee92e3017a1a6469cc7617cdf6
2025-04-16 15:59:43 +02:00
Arian
34c5186400 cupid: overlay: Commonize several auto brightness configs
Change-Id: I9264b45c3d73eab4f49ec2ef4c502c5644fcd751
2025-04-07 12:23:16 +02:00
linpeter
a0b6751975 cupid: overlay: remove redundant brightness config
This config_screenBrightnessNits/config_screenBrightnessBacklight are not used
when we have the displaydeviceconfig (ddc) exist in screenBrightnessMap.

Bug: 177140883
test: check brightness table
Change-Id: I7855602652a39288965e7510084d98d4d040312d
2025-04-07 12:23:16 +02:00
LuK1337
a87d7c253e cupid: Enable elfchecks for camera libs
Reference: I23190f0b83c9e28aa2624a7575544b0eaf5c83c8
Change-Id: I18b0b07bf3a435dd449106653e3ca458b4f07b69
2025-04-07 12:23:16 +02:00
Bruno Martins
d4825f6804 cupid: Shim camera libs
Change-Id: Id4bec2bc8bf5da014a69e1953bdb36bc85d11f1e
2025-04-07 12:23:16 +02:00
Arian
38567448ba cupid: Update blobs and firmware from V816.0.10.0.ULCMIXM
Change-Id: I6ab515d1e0940bcf40230f9f067a75f4138bfb41
2025-01-14 19:42:47 +01:00
Arian
66148e3085 cupid: Update blobs and firmware from V816.0.8.0.ULCMIXM
Change-Id: I568444bfc6d79468e269ee43ba57bc708642d6aa
2025-01-07 18:55:28 +01:00
LuK1337
1cc3b6dce6 cupid: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2025-01-07 18:52:35 +01:00
Arian
17522fe942 cupid: Patch goodix_fod module to poll a different fod path
Change-Id: I9ccba016a66ef4809441ff1854c3ac8bd3f68db3
2025-01-07 18:50:05 +01:00
Arian
2efe90545f cupid: Commonize kernel module load list
Change-Id: I13e6b6c9ab106d91b10d5e25dd92d86698da6bb0
2024-12-05 23:11:26 +01:00
Michael Bestas
1943217621 cupid: Remove unused Android.mk
Change-Id: I98105c127066f7de7012a1895d19c96356105921
2024-12-04 21:55:14 +01:00
Luofan Chen
01a2167373 cupid: overlay: Nfc: Add targetName and move to vendor
The overlay policy of the NFC package requires the RRO to be in
vendor/system/product partition, but not odm partition, and the name
"NfcCustomization" should be specified.

Test: Open NFC setting and verify that the secure NFC setting ispresent
Change-Id: Ibc9f4f7167986af386d109079538ebcdf7c0b7a2
2024-11-14 10:33:17 +01:00
LuK1337
f8ebfbb717 cupid: Use common lib_fixups
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
2024-11-07 11:14:47 +01:00
Arian
14f2b51384 cupid: Switch to python extract-utils
Change-Id: Ia6ea2ea79cb3bcbcbf06f0e6660ac31ea576b524
2024-10-25 14:58:16 +02:00
Beverly
b5562ef34e cupid: overlay: Update pixel pitch
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Test: manual

Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2024-10-24 18:54:26 +02:00
basamaryan
76294552a6 cupid: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
2024-10-24 18:53:22 +02:00
Arian
b7bcd3fc52 Revert "cupid: Rename audio.primary.taro to audio.primary.taro-cupid to avoid conflicts"
This reverts commit c01516521a.

Change-Id: I6300bdf18f59131eb7400997b5bcabe0b7d3a831
2024-10-17 09:59:21 +02:00
Arian
a4dd078e83 cupid: Remove 32-bit libQnnHtpAltPrepV69Skel from vendor/lib64/camera
The file is a elf32-little file but it is copied to lib64.
Extract-utils now declares the target as android_arm due to that,
causing issues in combination with compile_mutilib being set to 64.
libQnnHtpAltPrepV69Skel is also in vendor/lib/rfsa/adsp and it's
module name is the same (which the build system seems to accept?)
which lead to the module not being present in the end since a few
weeks anyway.

Change-Id: I9a470479697a7d66af0066197ce0bbfc383f973e
2024-10-13 17:05:42 +02:00
Arian
63b7ba348a cupid: Update blobs and firmware from V816.0.6.0.ULCMIXM
Change-Id: I94e676cc36614ac2bf13472fc1242885c46f09e5
2024-10-13 14:12:23 +02:00