Commit Graph

104 Commits

Author SHA1 Message Date
j7b3y
2cd6ed5947 Revert "Add support for OEM fast charger detection"
This reverts commit 69cc5afe54.
2024-12-18 22:53:34 +09:00
j7b3y
69cc5afe54 Add support for OEM fast charger detection 2024-12-18 22:47:46 +09:00
j7b3y
b58c31a36b cupid: fix path 2024-12-11 15:10:59 +09:00
j7b3y
25e49769c4 cupid: add xiaomi dolby 2024-12-11 13:26:52 +09:00
j7b3y
847825f591 cupid: Show refresh rate stuffs 2024-12-11 13:20:07 +09:00
j7b3y
2a716fe607 cupid: add MiuiCamera 2024-12-11 12:58:58 +09:00
j7b3y
145ccbebeb cupid: add screenoffudfps 2024-12-11 12:44:02 +09:00
j7b3y
9ec5b2a2c2 cupid: add gapps 2024-12-11 12:39:37 +09:00
j7b3y
c189a25a3c cupid: add config_showRefreshRateQsTile 2024-12-11 12:39:00 +09:00
Arian
5c9932f475 cupid: Commonize kernel module load list
Change-Id: I13e6b6c9ab106d91b10d5e25dd92d86698da6bb0
2024-12-05 23:11:26 +01:00
Michael Bestas
10f9287428 cupid: Remove unused Android.mk
Change-Id: I98105c127066f7de7012a1895d19c96356105921
2024-12-04 21:55:14 +01:00
Arian
76c293c0ac cupid: overlay: Drop brightness backlight/nit mapping
The max value probably takes HBM into account.
Despite the comment in config_autoBrightnessDisplayValuesNits
stating that these overlays are necessary, neither stock nor
modern pixels set these overlays. So remove the values instead
of guessing nit values :)

Change-Id: I973016599bd87ba1d18ae027a2b3259b346a4c1b
2024-11-19 22:34:54 +01:00
SianyiHuang
2ca01d63c2 cupid: Config: Update Auto Brightness debounce and ambient threshold setting
Bug: 233283720
Test: adb shell dumpsys display and check debounce and ambien threshold
seting

Change-Id: I36cc5cf257869c37304c6525d1965a61da5bd037
2024-11-19 22:34:54 +01:00
Arian
44ef1d7a7c Revert "cupid: overlay: Increase auto brightness debounce time"
This did not really help

This reverts commit 29e85577aa.
2024-11-19 22:34:54 +01:00
Luofan Chen
2645106122 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
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