Commit Graph

122 Commits

Author SHA1 Message Date
Daniel Banacki
ffe1dd7a6a cmi: proprietary: Ship liba2dpoffload.so from Stock
- Fixes bluetooth calls (A2DP Crash)

Change-Id: Ie19e52ec81dce604a50d5b156f8842eb3f67b1ec
2024-07-05 21:30:57 +02:00
Daniel Banacki
4d50365069 cmi: proprietary: Drop indian thermal profiles
- cmi_global doesn't have those profiles

Change-Id: Id5129a8132884a138f5aeba01079325bde29704b
2024-07-05 21:30:47 +02:00
Daniel Banacki
2f13cb70b8 cmi: Update to cmi_global V816.0.2.0.TJAMIXM
Change-Id: Id4272bc4343553883dd2a23d48fd7ade408b0d4e
2024-07-05 21:15:12 +02:00
Daniel Banacki
95ec80d26a cmi: audio: Switch to cmi mixer paths overlay
Change-Id: Ic50341a433d524fe4c95fd098808dfda39e748ad
2024-07-05 21:14:56 +02:00
Daniel Banacki
6c25adb795 cmi: overlay: Switch to cmi battery capacity
Change-Id: I89929a3cf374a485d5d7357bfadc0bb1dc048504
2024-07-05 21:14:12 +02:00
Daniel Banacki
0c5ea95d02 umi: Refactor umi -> cmi
Change-Id: I77ecd8e8714d6dd920e702f3a33652fa5716a674
2024-07-05 21:13:12 +02: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
Jaideep Sharma
d555cb0fc0 umi: provide support for callscreening for kona/lito.
- missed on a12 update

add support for callscreening support in audio_policy_configuration
- add mixer paths related to proxy ports needed in call_screening

Change-Id: Ib0c220fa44c23454e71e772bfa406bd82c06b90d
2024-02-07 21:34:09 +08:00
Midas Chien
5d55942394 umi: props: add display fps deferral
The FPS deferral property allows deferring clock/bandwidth votes
when switching from high refresh rate to low in case hardware
takes some extra time to change refresh rate.

Bug: 152468927
Bug: 154607334
Test: 60/90 switching, no noise line
Test: systrace to check vsync period
Change-Id: I47284578d13c203b14b3213081faf258dd9a542b
2022-05-22 03:15:57 +08:00
me-cafebabe
1ecdeaa8d0 umi: Differentiate FOD position values for hwlevel P0.1 and P1
According to stock init.umi.rc
2022-05-22 03:15:57 +08:00
TheScarastic
9ec86d7214 umi: Setup udfps overlays
* FOD radius = MIUI radius value / 2
 * FOD x position = MIUI x position value + (MIUI radius value / 2)
 * FOD y position = MIUI y position value + (MIUI radius value / 2)
 * FOD enroll progress radius = (MIUI radius value / 2) + 5

[cafebabe note: Use /vendor/build.prop values for now]

Change-Id: Ie8add9eb4958bbb55d83d4d2809eb53b1822d15e
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2022-05-22 03:15:57 +08:00
me-cafebabe
c6050f4408 umi: Enable xiaomi powershare HAL 2022-05-22 03:15:57 +08:00
Sebastiano Barezzi
c106e33792 umi: Go away Megvii
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi

Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
2022-05-22 03:15:57 +08:00
me-cafebabe
e620bc163f umi: Update to Android 12 blobs
Also reorder proprietary-files.txt with reorder-libs.py in common tree

Co-authored-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2022-05-22 03:15:56 +08:00
shawnlin
01fa1eb93a umi: Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.

Bug: 186604541
Test: make
Change-Id: I36d869866ed03d3996b7b0d8cc6d3f6bb6ab624d
2022-05-22 02:57:52 +08:00
Sebastiano Barezzi
46eb9dae7e umi: Patch vendor.qti.hardware.camera.postproc@1.0-service-impl.so
The modified library NOPs out the instruction to change binder
threadpool, allowing the library to load and camera to work on S.

Change-Id: I1ef0ed29e4a2eb820826e5d7df1fa53c9e3df584
2022-05-22 02:57:52 +08:00
Sebastiano Barezzi
2da1672af6 umi: Drop prebuilt 64bit audio HAL
Change-Id: I44f1093edabd53109266a618b3d185617edfcfaf
2022-05-22 02:57:52 +08:00
me-cafebabe
5e8b6067d8 umi: rootdir: Set FOD Posititon based on HW revision
Values are from stock init.umi.rc
2022-05-22 02:57:52 +08:00
me-cafebabe
7589dce6ef umi: prop: Update surface_flinger props from stock 2022-05-22 02:57:52 +08:00