164 Commits

Author SHA1 Message Date
64886f5410 cmi: overlay-lineage: Enable screen-off UDFPS support 2025-11-27 10:17:55 +00:00
fe5daa7ee0 cmi: Welcome Evolution X 2025-11-17 20:51:59 +00:00
428d93be6d cmi: Spoof BuildFingerprint as Pixel Beta
* It is necessary to pass integrity with the built-in Keybox Importer, as our stock fingerprint is not Valid
2025-11-17 20:51:59 +00:00
c54711f716 cmi: Add namespace for missing module needed by libmialgoengine.so
Module "libmialgoengine" is defined in namespace "vendor/xiaomi/cmi" which can read these 6 namespaces: ["vendor/xiaomi/cmi" "hardware/qcom-caf/common/libqti-perfd-client" "hardware/xiaomi"
"vendor/qcom/opensource/display" "vendor/xiaomi/sm8250-common" "."]
Module "libgrallocutils" can be found in these namespaces: ["hardware/qcom-caf/msm8996" "hardware/qcom-caf/msm8998" "hardware/qcom-caf/sdm845" "hardware/qcom-caf/sm8150" "hardware/qcom-caf/s
m8250" "hardware/qcom-caf/sm8350" "hardware/qcom-caf/sm8450" "hardware/qcom-caf/sm8550" "hardware/qcom-caf/sm8650" "hardware/qcom-caf/sm8750" "hardware/qcom/sdm845" "hardware/qcom/sm7250/dis
play" "hardware/qcom/sm8150/display"]
2025-11-17 20:51:59 +00:00
6d6b982d16 cmi: Move/Add missing files for MiuiCamera
- Move common files to MiuiCamera Package
- vendor/lib64/libarcsat.so is a common file and already included in device/xiaomi/camera
2025-11-17 20:51:58 +00:00
9df4221587 cmi: Add MiuiCamera Package 2025-11-17 16:32:19 +00:00
ad1cad3b6f cmi: Move buildflags > lineage_cmi.mk 2025-11-17 16:32:19 +00:00
9a6601be7d cmi: Drop specific kernel config 2025-11-17 16:32:19 +00:00
4a16c82023 cmi: switch to device extract only 2025-11-17 16:32:16 +00:00
johnmart19
1dea32ded8 cmi: Patch audio library for VNDK 34
VNDK 36 crashing:
Revision: '0'
ABI: 'arm'
Timestamp: 2025-06-19 09:37:19.685329738+0300
Process uptime: 0s
Cmdline: /vendor/bin/hw/android.hardware.audio.service
pid: 1093, tid: 1180, name: HwBinder:1093_2  >>> /vendor/bin/hw/android.hardware.audio.service <<<
uid: 1041
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000040
Cause: null pointer dereference
    r0  00000000  r1  f3cc0730  r2  00000003  r3  00000003
    r4  f418f780  r5  00000024  r6  00000001  r7  00000000
    r8  f3aacbf4  r9  f3f8600c  r10 f418f780  r11 f418f780
    ip  f2166a38  sp  f27ff4f8  lr  f216409f  pc  f2133588

Requires Evolution-X/hardware_lineage_compat@51c1ec2 to work
2025-11-17 16:32:16 +00:00
Demon000
6ab2148f84 cmi: Support UDFPS on AoD 2025-11-17 16:32:06 +00:00
Sebastiano Barezzi
f696869498 cmi: Move to the new libinit implementation
Change-Id: I4207a94ff62f0c515c91e186f0ace348c6db7b1d
2025-10-28 02:26:39 +01:00
Flicker372
671fbc3c83 cmi: Use simpler powershare path
* Fix SystemUI crash
* Soong function can't accept ","

Co-authored-by: Alcatraz323 <alcatraz32323@gmail.com>
Change-Id: I16f9ec2094575b63f77556f6a12d69428bb29e37
2025-07-17 07:55:12 +02:00
Bruno Martins
820e726b5d cmi: Set vendor init lib via soong config
Change-Id: I8f7e6b987bee58dbf09ca9ad7cfd5a7e99e19c3b
2025-06-14 01:06:00 +02:00
Yumi Yukimura
b1bcd172da cmi: Drop TARGET_RECOVERY_DEVICE_MODULES
* It's deprecated on 15 QPR2
* Building a library as module doesn't get it executed? and libinit
  still does its job in recovery mode without migrating this

Change-Id: I7be000356fe7d7bd099615d334892d1686bece0e
2025-06-14 01:05:45 +02:00
Michael Bestas
607f82b837 cmi: Migrate powershare to soong_config_set
Change-Id: I2489e8d95d968556a854d7b8314f098d37c382b7
2025-05-01 11:17:06 +01:00
Bruno Martins
21e9adac94 cmi: Switch to PowerShare AIDL
Change-Id: I97400638493a3b9d5a3b87fa6831c9affc7c3def
2025-04-26 14:54:11 +01:00
LuK1337
5548fe7a04 cmi: Enable elfchecks for camera libs
Reference: I23190f0b83c9e28aa2624a7575544b0eaf5c83c8
Change-Id: I18b0b07bf3a435dd449106653e3ca458b4f07b69
2025-04-04 01:04:40 +02:00
LuK1337
620fe18f9f cmi: Switch to py extract utils
Change-Id: Ia13b728464495ff208ca1a706847b11af5c93ae8
2025-04-04 00:14:19 +02:00
Sebastiano Barezzi
7aa883be4b cmi: Remove duplicate blobs
Change-Id: If40c51b2ba1fff9d411c6c9af106640720f33ee2
2025-04-03 01:28:53 +02:00
Michael Bestas
5962108d53 cmi: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2025-04-03 00:53:50 +02:00
basamaryan
7d3312b220 cmi: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
2025-01-23 23:22:04 +01:00
Beverly
a4631fc4c3 cmi: 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:22:04 +01:00
LuK1337
1c030e2fa1 cmi: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2025-01-23 22:38:18 +01:00
Yumi Yukimura
e0467b52a4 cmi: Switch to lineage common powershare HAL
Change-Id: Ifcbcf780307ea1df4492831ec3981a71966e22cb
2024-10-23 18:51:19 +08:00
luffitys
da2bbc8473 cmi: extract-files: Fix patching audio.primary.cmi.so
Change-Id: I07286ee500441f19ee4c0dec4e9f1620923e87bd
2024-10-12 21:34:24 +02:00
luffitys
f81fd46e5d cmi: overlay: Import device brightness overlays
Change-Id: Id1eb627fa2fdc579c849d5ee0123dee51f396c0b
2024-10-08 17:33:05 +02:00
LuK1337
4b6f854353 cmi: extract-files: Prevent adding duplicated dependencies
Change-Id: I186c38583670d509d4e0a0c89bc682706036f1ea
2024-09-12 03:22:57 +02:00
Aaron Kling
70be9c3280 cmi: Re-enable broken dup rules check
All failures of this have been resolved

Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
2024-09-12 03:22:57 +02:00
Michael Bestas
7f83ed7287 cmi: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-09-12 03:22:57 +02:00
Aaron Kling
42f4400ec0 cmi: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-09-12 03:22:57 +02:00
Michael Bestas
b152960366 cmi: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-12 03:22:15 +02:00
Sebastiano Barezzi
0df53c1d60 cmi: Fix soname of renamed libraries
Change-Id: Ibdea10aa05af9e8183b72632705b6268ff3b7387
2024-09-12 03:21:05 +02:00
Sebastiano Barezzi
4f744be1a3 cmi: Rename prebuilt audio HAL and libs
Change-Id: Ia46a5ba431767795135f058f092aa38999e860ae
2024-09-11 17:00:54 +02:00
Sebastiano Barezzi
6808a88f23 cmi: Drop duplicated libcdsprpc_system.so
Change-Id: Id14f410dbd6f4356ec7baf90613c52f6755e63ce
2024-09-11 17:00:53 +02:00
Sebastiano Barezzi
dd7ae0aba9 cmi: Add missing camera libs
Change-Id: Ide0c36a03d482d93c8293ba669c8baeefa67a327
2024-09-11 16:24:33 +02:00
Michael Bestas
ea8b8e2459 cmi: 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 15:09:12 +02:00
Sebastiano Barezzi
38814d8e08 cmi: Drop 32-bit CamX blobs for good
Change-Id: I93c7b7f2b38940e304e503b6147262c67de81a48
2024-09-11 15:07:11 +02:00
Sebastiano Barezzi
2a4c9210a7 cmi: Drop proto sensors configs
Change-Id: Ie8377977931f18f0f7f3082c1c4e87a53111c593
2024-09-11 15:02:36 +02:00
Sebastiano Barezzi
20ad9db0d0 cmi: Reorder blobs
Change-Id: I705d8129610e8b9151f16423398f07f9443eff86
2024-09-11 15:01:43 +02:00
luffitys
23cd86a319 Revert "cmi: Kang misound_res.bin from munch"
This reverts commit bf6b21c800.

Change-Id: I253816f9d09f4989d6e5b513399926404575dc2a
2024-07-28 21:50:45 +02:00
yarpiin
bf6b21c800 cmi: Kang misound_res.bin from munch
Helps with excessive bass distortion

From V816.0.2.0.ULMMIXM

Change-Id: I612f7f7201cd0508265e2d624b1a66de8d2f351f
2024-07-10 02:33:48 +02:00
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