Commit Graph

134 Commits

Author SHA1 Message Date
Beverly
1850e177bc umi: overlay: Update pixel pitch
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor
DEVELOPMENT
Test: manual

Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2025-01-23 23:36:03 +01:00
LuK1337
0cc9f00781 umi: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2025-01-16 00:18:56 +01:00
Yumi Yukimura
942b31ca6f umi: Switch to lineage common powershare HAL
Change-Id: Ifcbcf780307ea1df4492831ec3981a71966e22cb
2024-10-23 18:50:50 +08:00
luffitys
5f58f7bdc1 umi: extract-files: Fix patching audio.primary.umi.so
Change-Id: I07286ee500441f19ee4c0dec4e9f1620923e87bd
2024-10-14 19:20:52 +02:00
LuK1337
f79e39f267 umi: extract-files: Prevent adding duplicated dependencies
Change-Id: I186c38583670d509d4e0a0c89bc682706036f1ea
2024-09-12 03:37:38 +02:00
Aaron Kling
f5ec4f1836 umi: Re-enable broken dup rules check
All failures of this have been resolved

Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
2024-09-12 03:37:37 +02:00
Michael Bestas
84e02f269f umi: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-09-12 03:37:37 +02:00
Aaron Kling
297219c92c umi: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-09-12 03:37:37 +02:00
Michael Bestas
c19bf10bac umi: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-12 03:37:20 +02:00
Sebastiano Barezzi
5776d71bd2 umi: Fix soname of renamed libraries
Change-Id: Ibdea10aa05af9e8183b72632705b6268ff3b7387
2024-09-12 03:36:14 +02:00
Sebastiano Barezzi
4bd4bbe88a umi: Rename prebuilt audio HAL and libs
Change-Id: Ia46a5ba431767795135f058f092aa38999e860ae
2024-09-11 20:01:55 +02:00
Sebastiano Barezzi
83370c6586 umi: Drop duplicated libcdsprpc_system.so
Change-Id: Id14f410dbd6f4356ec7baf90613c52f6755e63ce
2024-09-11 20:00:50 +02:00
Sebastiano Barezzi
c36b387feb umi: Add missing camera libs
Change-Id: Ide0c36a03d482d93c8293ba669c8baeefa67a327
2024-09-11 20:00:50 +02:00
Michael Bestas
9dc2016a2a umi: Remove unused vendor-qti-hardware-sensorscalibrate.xml
Fixes:
I SystemConfig: Ignore shared library
vendor.qti.hardware.sensorscalibrate-V1.0:
/system/framework/vendor.qti.hardware.sensorscalibrate-V1.0-java.jar
does not exist

Change-Id: Ic420818fba928331e17a914c609fbf6c15af677c
2024-09-11 20:00:49 +02:00
Sebastiano Barezzi
da0f442bc3 umi: Drop 32-bit CamX blobs for good
Change-Id: I93c7b7f2b38940e304e503b6147262c67de81a48
2024-09-11 20:00:49 +02:00
Sebastiano Barezzi
7cf46976e0 umi: Drop proto sensors configs
Change-Id: Ie8377977931f18f0f7f3082c1c4e87a53111c593
2024-09-11 19:59:01 +02:00
Sebastiano Barezzi
3610c5108b umi: Reorder blobs
Change-Id: Ic6711b19d1d7c7b8121582f484138576e098fa0d
2024-09-11 19:58:06 +02:00
Daniel Banacki
c34a664221 umi: proprietary: Ship liba2dpoffload.so from Stock
- Fixes bluetooth calls (A2DP Crash)

Change-Id: Ie19e52ec81dce604a50d5b156f8842eb3f67b1ec
2024-07-07 04:10:03 +08:00
Yumi Yukimura
22c1251601 Revert "umi: Drop thermal configs"
This reverts commit bd3ce9f9c1.

Change-Id: I30016781ceb1f1559952ed9e3c702b4bbad436c2
2024-06-26 21:07:07 +00:00
Michael Bestas
13ad74f911 umi: 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-06-20 15:41:33 +02:00
Sebastiano Barezzi
9146cdc88e umi: Drop selinux context from batterysecret init unit
We do that from sepolicy label

Change-Id: I0aa6778bca6c6175eb41364d4932a1ee868f7b21
2024-06-04 00:18:47 +02:00
Yumi Yukimura
51bd2a5d3d fixup! umi: overlay-lineage: Configure aux camera for Aperture
Change-Id: I508cbf8cac8db8cf9016c8fdcbdba2b8981fd0c9
2024-05-13 13:17:49 +08:00
Sebastiano Barezzi
7b8c071fdc umi: qdcm: Rework calibration profiles
* standard_native -> native
* standard_hdr -> HDR
* video11 -> P3
* standard -> sRGB
* All the other modes have been removed

Validated using the following script:
https://gist.github.com/SebaUbuntu/1d625c5aba3761c366a26e8cf56fc895

Change-Id: I236147693d9ea5f9bc1cde749b217e5ef35b3932
2024-02-29 23:28:45 +08:00
Yumi Yukimura
998a8d63d6 umi: Move QDCM configs to device tree 2024-02-29 05:14:59 +08:00
Yumi Yukimura
0700495360 umi: proprietary-files: Drop non-xiaomi QDCM configs 2024-02-29 04:56:09 +08:00
Bartłomiej Rudecki
c396116ddf umi: overlay: Configure cutout 2024-02-23 17:45:46 +08:00
Yumi Yukimura
e22ce74927 umi: Update blobs to V14.0.5.0.TJBMIXM 2024-02-23 17:45:46 +08:00
Michael Bestas
ea931890ab umi: overlay: Drop deprecated config_udfpsHbmType
Change-Id: Ie5aec6f2046a8eb9f0abb0913b675d291a242c1a
2024-02-07 21:34:09 +08:00
Alexander Koskovich
76c991d86b umi: overlay-lineage: Drop kg_security_container_min_bottom_margin
* No longer used.

Change-Id: I1a0f4bc3f5b267e3a62243f9457aabdab10e5cb7
2024-02-07 21:34:09 +08:00
me-cafebabe
6c65d72cf9 umi: Update blobs to V13.0.8.0.SJBCNXM 2024-02-07 21:34:09 +08:00
Sebastiano Barezzi
0035e0064d umi: overlay-lineage: Configure additional camera framerates
[cafebabe] Reconfigure for umi's main camera

Change-Id: I51efca86d2169c01fb96af97ef9fe250e2b221ed
2024-02-07 21:34:09 +08:00
LuK1337
2abffcb880 umi: overlay-lineage: Configure aux camera for Aperture
[cafebabe] Ignore not openable camera IDs on umi

Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2024-02-07 21:34:09 +08:00
Sebastiano Barezzi
c69bb8ad6c umi: Commonize AOSP colors, HDR and WCG props
Change-Id: I926bca8f7653c23aa688ead44e36735ba7ea938c
2024-02-07 21:34:09 +08:00
althafvly
86c0ef247a umi: Add libpiex_shim for com.mi.node.watermark.so
Change-Id: I9e8b125ab5dfaa325db63b02a7fcf51577ee7b0d
2024-02-07 21:34:09 +08:00
Sebastiano Barezzi
37aeee680d umi: Include umi config fragment
Change-Id: Ic595a2905608807bbb070b5c2ccc833fa809b857
2024-02-07 21:34:09 +08:00
Mike Ma
4dd29464bb umi: overlay: Power profile audio & video support
Add power consumed by audio and video hardware to power profile.
Attribute these power to specific app.
Bug: 70531798
Test: PowerProfileTest
Test: BatteryStatsHelperTest
Test: PowerCalculatorTest
Change-Id: I4811efa14ce97983258cd59bfd328181fe95baf4
2024-02-07 21:34:09 +08:00
Bruno Martins
74c2f0648a umi: overlay: Set BT controller voltage in the power profile
This was usually set in frameworks/base, but the overlay has been
deprecated in Android 13.

Change-Id: Ie1dc66c34e562179003e6294241bd5900859248a
2024-02-07 21:34:09 +08:00
Sebastiano Barezzi
0f9cfe32fd umi: TARGET_HAS_FOD -> TARGET_HAS_UDFPS
Change-Id: I1ecdd6933913a68282c0445b5f489c623c780582
2024-02-07 21:34:09 +08:00
Ramii Ahmed
d41a613a89 umi: Update ADSP modules list
* Fixes headphones jack output

Change-Id: I21f995b0f91d9e897f59ae2d3f265eabb31a6ab8
2024-02-07 21:34:09 +08:00
me-cafebabe
80504a158a umi: Update blobs from V13.0.6.0.SJBCNXM
Co-authored-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2024-02-07 21:34:09 +08:00
Sebastiano Barezzi
bd3ce9f9c1 umi: Drop thermal configs
Change-Id: Idad68d7748b2b187e98867597abaa36a9ec6a7f8
2024-02-07 21:34:09 +08:00
me-cafebabe
b34820e23b Revert "umi: Rename ACDBs to Forte to follow common acdbloader"
Common uses Tutu by default now

This reverts commit 361c80125fc03d30b67ada3ab2e2f1abe21340b7.
2024-02-07 21:34:09 +08:00
Sebastiano Barezzi
8c7813a3df umi: Decommonize NFC configs and firmware
Change-Id: Ic12935684be8c5e1d2e695b54467b25faece3abe
2024-02-07 21:34:09 +08:00
Sebastiano Barezzi
b1654bfead umi: Decommonize IPA and charger blobs
Change-Id: Ie4137aa04950a20f17e7d2dd5a74b5b2d98598aa
2024-02-07 21:34:09 +08:00
Alexander Winkowski
e742184d6f umi: Fix AAPT config
According to AOSP docs [1] apps should use xxhdpi resources
for 440 dpi density.

[1] https://developer.android.com/reference/android/util/DisplayMetrics#DENSITY_440

Change-Id: Ib591e11a93b9814fabf772136096bde69e202e77
2024-02-07 21:34:09 +08:00
Sebastiano Barezzi
ae7ab93bed umi: Add copyright header to Android.bp
Change-Id: I7b3bcf8019a98f93f8b6e8039a2a3153b15a306f
2024-02-07 21:34:09 +08:00
Sebastiano Barezzi
432b83ba09 umi: Reorder device.mk
Change-Id: I687dad393226d2a8143e29dda1c9e54efc4a5b0a
2024-02-07 21:34:09 +08:00
me-cafebabe
cd72460f32 umi: Rename ACDBs to Forte to follow common acdbloader 2024-02-07 21:34:09 +08:00
shawnlin
03e8a7cd6c umi: Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103
2024-02-07 21:34:09 +08:00
Georg Veichtlbauer
4b1a4e8d92 umi: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2024-02-07 21:34:09 +08:00