Commit Graph

89 Commits

Author SHA1 Message Date
LuK1337
1a3427d332 cupid: Use common lib_fixups
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
2024-11-07 11:14:47 +01:00
Arian
393c9b4ac5 cupid: Switch to python extract-utils
Change-Id: Ia6ea2ea79cb3bcbcbf06f0e6660ac31ea576b524
2024-10-25 14:58:16 +02:00
Arian
8e4c10e486 cupid: Disable stock fingeprint for now
Change-Id: I8aab2b706e92b6953ec6a1916c1bbf0a8123df6a
2024-10-24 18:54:42 +02:00
Beverly
e3746e59ab 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
53d8d95611 cupid: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
2024-10-24 18:53:22 +02:00
Arian
ede7d43c84 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
148b9c7f38 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
6bd2fb4304 cupid: Update blobs and firmware from V816.0.6.0.ULCMIXM
Change-Id: I94e676cc36614ac2bf13472fc1242885c46f09e5
2024-10-13 14:12:23 +02:00
Arian
d00f8f31ee Revert "cupid: overlay: Commonize config_dozeUdfpsLongPressSensorType"
This reverts commit 0125d58043.
2024-09-30 11:12:17 +02:00
Arian
955d2598a9 Revert "cupid: overlay: Commonize wireless charging overlay"
This reverts commit 29ca39719e928103550f812fdb40b2bdd09d82f9.
2024-09-30 11:12:17 +02:00
Arian
17ee052635 cupid: overlay: Commonize wireless charging overlay
This will be enabled in sm8450-common if the wireless charging
file paths exist.

Change-Id: Ib0437c39e0551eaa7d5b03d9c993495dd8d0fc55
2024-09-30 11:12:17 +02:00
Arian
5422b860cc cupid: overlay: Commonize config_dozeUdfpsLongPressSensorType
A new overlay in sm8450-common enables this based on the
`ro.vendor.sensors.xiaomi.udfps` proprerty now.

Change-Id: Idf0112acf55fa6bfec39a36ec46a514fb02ada33
2024-09-30 11:12:17 +02:00
FlowerSea0208
94c03ad7a1 cupid: Switch to source-built fx.tunnel interface
Change-Id: I1b96a1df3758106b7516ee7b9ac90bd9374f6d1c
2024-09-30 11:12:17 +02:00
Arian
5efe4c65ad cupid: overlay: Drop old config_udfps_illumination_transition_ms
This was removed in commit [1] ("Refactor UDFPS display logic and remove illumination").

[1]: 6eda3a1d1a

Change-Id: I9c727f5afe26a7fc10d51cfeb670fa2944f3a790
2024-09-30 11:12:17 +02:00
Arian
e2f1c23707 cupid: overlay: Commonize config_biometric_sensors
Change-Id: Ia0df1c0ccdef5f504b3971aa443dee9771d19912
2024-09-30 11:12:17 +02:00
Arian
25e7efe548 cupid: Update blobs and firmware from V816.0.5.0.ULCMIXM
Change-Id: I7ae652ec34f28f2a8ccf345687692decc628cee7
2024-09-30 11:12:17 +02:00
Arian
29e85577aa cupid: overlay: Increase auto brightness debounce time
Our light sensor is getting confused when the screen brightness changes
in a rather dark environment and sometimes jumps between 0 and a higher
brightness leading to a raise in brightness, but then the sensor
over-corrects the read brightness and reports 0 again. Try to fix this
by giving the sensor some more time to debounce.

Change-Id: Ice8ad0b4e34af16bc905f84c27bd491378617cae
2024-09-30 11:12:17 +02:00
Arian
6b52015ef3 cupid: Move sensors hals.conf back to vendor repo
sensors.xiaomi is added by common tree now

Change-Id: I541b656304bfde478966c84115d94bc989742149
2024-09-30 11:12:17 +02:00
Michael Bestas
f41063febf cupid: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-30 11:12:17 +02:00
Michael Bestas
df83f1d8bc cupid: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2024-09-30 10:40:43 +02:00
Arian
70c76d2844 cupid: Disable ELF checks for some camera libraries
Change-Id: I8afe754199dbbf33d801238be9ab87af6c88945b
2024-09-30 10:40:31 +02:00
Cosmin Tanislav
56ed935761 cupid: Skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-09-30 10:40:31 +02:00
Arian
ccb307baf9 cupid: Disable elf checks for some audio libraries
Change-Id: I86ddbf339ff56fb543910458d40cff933abcb0a0
2024-09-30 10:40:30 +02:00
Arian
8b7606cd1f cupid: Commonize most audio blobs
Change-Id: Ie6c95ede7e4c3243799207120c0474bb0cabeccd
2024-09-30 10:33:25 +02:00
Arian
c01516521a cupid: Rename audio.primary.taro to audio.primary.taro-cupid to avoid conflicts
Change-Id: I1d7012df4acc1e3b9180eb8523ebe77ffc8a35e9
2024-09-30 10:33:21 +02:00
Arian
9ae97c633b cupid: Fix sonames of extracted blobs
Change-Id: Ia4327e5b64e705da6dff6da01d2c9f16dfd609c5
2024-09-30 10:26:20 +02:00
Arian
fc15279392 cupid: Provide a unique module name for camera libQnnHtpAltPrepV69Stub
Change-Id: Ib2c2549a2ba874a6744cd184add9e16acb1d162c
2024-09-30 10:24:58 +02:00
Aaron Kling
0c63ac0f34 cupid: Add vendor soong imports to extract
Change-Id: I7b290a9412bd11bb5577ce634a0291ffca40b283
2024-08-29 18:57:30 +02:00
Bruno Martins
dccff436c4 cupid: overlay-lineage: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2024-08-27 19:31:40 +02:00
Arian
71cfb1653c cupid: Decommonize building powershare hal
Change-Id: I9d9e2ad2e7d758085c573e4d4cb7f747fb0e4cfc
2024-08-27 19:25:14 +02:00
Arian
a5106feb0e cupid: Commonize audio related media_codecs
Change-Id: I10207af8c2490df8dad2db335fdf0def83e4c006
2024-08-21 17:24:59 +02:00
Arian
084e369ba5 cupid: Patch libcamximageformatutils to get rid of ndk_platform qti display config dependency
Change-Id: Ia242857a302860ea4faa2a45656b95c81cf78a33
2024-08-21 15:43:19 +02:00
Josh Tsuji
b1b2b1db0a cupid: overlay: Add physical button/sensor locations
Bug: 181020504
Change-Id: Ifb45b7daeb07246dbc3a80c36c21e40ead87e674
Test: these were physically measured on device
2024-08-21 11:38:52 +02:00
Omkar Chandorkar
11bd973373 cupid: overlay: Move UDFPS enroll radius to settings
- required after LineageOS/android_packages_apps_Settings@af35c7c

Change-Id: I79ecd91513df0d195e1d15d20b4438d1b283743f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2024-08-21 11:36:20 +02:00
Sebastiano Barezzi
895d86ce9d cupid: 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 d76540d345.

Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
2024-08-15 00:25:07 +02:00
Arian
39d6c2aef9 cupid: Remove unused adreno firmwares
Change-Id: I352c4841e38c79caf25848a34fc0f13733093ab0
2024-08-12 15:18:35 +02:00
Arian
fce6236ba6 cupid: Drop prebuilt libmemunreachable.so
That's already build implicitly from source as a dependency of android.hardware.audio@7.0-impl

Change-Id: I00407fef7a9bceada953d04d4b024107a070ccc0
2024-08-12 15:14:59 +02:00
Arian
fc0122afcd cupid: Drop some audio libs which are built from source now
Change-Id: Iec844207b53de1d5bcc95dedbff0b2decc5c081b
2024-08-12 15:10:30 +02:00
Arian
dfbb18b81c cupid: Get rid of 32 bit blobs
Change-Id: Ia92a7aa8292b2d5aaca7075f6613bf65484b3f43
2024-08-12 15:05:48 +02:00
Arian
e3bf33bea2 cupid: Don't provide a module for libssccalapi@2.0
Change-Id: I50e798402773b571e8324bbf29263a64764a3543
2024-08-12 15:04:01 +02:00
Arian
f8784a91d3 cupid: Update blobs and firmware from V816.0.4.0.ULCMIXM
Change-Id: I6489a62724494ad03206e224070e8d007a9eb101
2024-08-08 11:53:58 +02:00
Michael Bestas
7b68899b12 cupid: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2024-08-01 00:01:19 +02:00
Arian
09864a69ce cupid: Drop xiaomi citsensorservice and enable light sensor notifier
Change-Id: I896f31b925976bbe51d42a7c39d698793fba6cd7
2024-07-28 19:31:53 +02:00
Arian
c9ed22e3d8 cupid: Update fingerprint and blobs from V816.0.9.0.ULCEUXM
Change-Id: I17bddbc3fced82840037ac90dccac865b2618a53
2024-07-02 18:05:55 +02:00
Omkar Chandorkar
149e205b3c cupid: overlay: Enable secure NFC functionality
Change-Id: I4e9acc7d8ec14237512aadf100d564984aa5a896
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-05-22 01:42:22 +02:00
Arian
e3b388731b cupid: Add missing kvh2xml.xml
Change-Id: Ia02223fb16e8f970f547398aee48659b22eb377e
2024-05-21 13:48:06 +02:00
Arian
1a4da907ae cupid: Decommonize NFC configs
Change-Id: Ifab750ae0db648bc7e5a7125fb85efd9f29fe4dc
2024-05-18 14:45:38 +02:00
Arian
26c28f1c69 cupid: Decommonize libssccalapi@2.0
Change-Id: Iece45cb6136ba89e8d6f55f920239978a142f7e5
2024-05-18 10:53:48 +02:00
Arian
22e24b04be cupid: Set stock fingerprint and friends
Change-Id: Ie553fd84416202fc63062ab3134cb08e25623d13
2024-04-21 21:51:04 +02:00
Arian
43a6a61517 cupid: Update blobs from V816.0.7.0.ULCEUXM
Change-Id: Ib96f065fc46e6b2c66b2c4a74b4dc98ec63a3257
2024-04-21 21:50:54 +02:00