Commit Graph

1286 Commits

Author SHA1 Message Date
Adithya R
fa85b261c2
sm8350-common: parts: Fix thermal profile screen state handling 2024-10-12 20:28:22 +05:30
EmanuelCN
f407164d2e
sm8350-common: parts: Checkout thermal profiles to xiaomi-sm8250 implementation 2024-10-12 20:28:21 +05:30
truly-irham
8d1447e38e
sm8350-common: Address sepolicy denial for per-app thermal profile parts 2024-10-12 20:28:21 +05:30
Arian
e814155dd7
sm8350-common: parts: Import from xiaomi_sdm845-common
e261035d91/parts

Change-Id: I442f48780ca020f3e420ee4ccaf8ac07b05457cb
Signed-off-by: Anush02198 <anush.4376@gmail.com>
2024-10-12 20:28:20 +05:30
danielml
534f6ab3ee
sm8350-common: Fix vendor.qti.diaghal@1.0 elf checks
Change-Id: I6336f5a2fda3721e03bfc21030a9b1092d0c9828
2024-10-12 19:05:48 +05:30
Karan Parashar
188c51d13c
[DNM] sm8350-common: Prepare for MIUICamera
Change-Id: I418d5b7de7f155b6ab601a4d7ac1a61b61ee4ca6
2024-10-12 19:05:47 +05:30
Hridaya Prajapati
f0cc841d25
sm8350-common: Use clang-r487747c for kernel compilation
Change-Id: If6963c0729d4b6cf63f4a5f13e8603f1c156da2f
2024-10-12 19:05:47 +05:30
Adithya R
871c8a82ae
sm8350-common: Add blobs for QTI diag services support
Required for apps like Network Signal Guru.
2024-10-12 19:05:46 +05:30
Xin Li
746cae95bb
sm8350-common: overlay: Turn on screen on unplug
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I9d49a6bcdaaf2defa4d8c9c3528110b25e266653
2024-10-12 19:05:46 +05:30
Karan Parashar
9c607cdb61
sm8350-common: overlay: Enable force LTE_CA toggle
Change-Id: I79715f210feb4958b5bb8d4b67b099eb4e577401
2024-10-12 19:05:45 +05:30
Karan Parashar
1729643874
sm8350-common: overlay: Disable pocket mode lock
Change-Id: I85ee0637f65e0ba11b7b57ff2461ad769bf946b3
2024-10-12 19:05:45 +05:30
Michael Bestas
299eb63dac sm8350-common: Enable ELF checks for libwfdmmsrc_proprietary
Change-Id: I7eecffc5481b44451094a6816e50436ad084db7a
2024-10-01 04:49:34 +08:00
Sebastiano Barezzi
7609be9cd2 sm8350-common: udfps: s/hander/handler
Change-Id: I49726102bf33d54a29f2aae1bea707c9a55694b2
2024-09-30 03:57:08 +08:00
FlowerSea0208
c5cb0e5f61 sm8350-common: udfps: Ensure fod_status is always enabled during enroll
Change-Id: Id4a51e4fd7421d57001e0d4384b03b2c2a2887ae
2024-09-30 03:57:08 +08:00
Arian
077d9235e0 sm8350-common: udfps: Update vendorCodes
Change-Id: I39f37f278e39487c21d96e05ee331c4960d5e2be
2024-09-30 03:56:32 +08:00
Arian
5c97801789 sm8350-common: udfps: Notify goodix HAL on fod_press_status changes
Modern fingerprint.goodix_fod.so has moved the polling of this out of the hal and replaced it with extCmd 1.

Change-Id: I7cf01bd8af2e782646195afbb276e14a9f6690cc
2024-09-30 03:56:32 +08:00
Aaron Kling
a61c4fe556 sm8350-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-09-30 03:56:32 +08:00
FlowerSea0208
f0ff526336 sm8350-common: Import missing 64-bit wfd lib
Change-Id: I53a78dc406f79324c14e0e96bc6e92ec778602a0
2024-09-30 03:56:32 +08:00
FlowerSea0208
a8fef1837d sm8350-common: Import missing 32-bit blobs
Change-Id: If64f0cac3e90900a77e0a6a74fa9b50bcb45bd28
2024-09-30 03:56:32 +08:00
FlowerSea0208
8d14517ec8 sm8350-common: Decommonize citsensorservice
Change-Id: If086a47845ebc06f81576aed81dad2c0d842a4d5
2024-09-30 03:56:32 +08:00
Michael Bestas
7c3234f4c2 sm8350-common: extract-files improvements
Change-Id: I517698ca3b5a93e10a5b167417631c7f8d0ab9e2
2024-09-30 03:56:32 +08:00
Michael Bestas
63e1073306 sm8350-common: Patch libwfdservice to resolve duplicate dependencies
Fixes:
error: module "libwfdservice" variant
"android_arm_armv8-a_cortex-a76_static": depends on multiple
versions of the same aidl_interface:
android.media.audio.common.types-V2-cpp-source,
android.media.audio.common.types-V3-cpp-source

Change-Id: I8086a80fcc238d6b03d16640ee2c4e134129bbab
2024-09-30 03:56:32 +08:00
Michael Bestas
94360ffa5a sm8350-common: Work around using prebuilt HWC
After enabling ELF checks and switching prebuilts to modules,
the init and vintf files are no longer automatically built.

Change-Id: I48fcab53a7c8128b18e1399d9afadcfd5c85b116
2024-09-30 03:56:32 +08:00
Cosmin Tanislav
b4a1eb3456 sm8350-common: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-09-30 03:56:25 +08:00
Michael Bestas
02cbb9f2ae sm8350-common: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-09-29 05:43:16 +08:00
Cosmin Tanislav
e575f6b7bd sm8350-common: skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-09-29 05:43:16 +08:00
Michael Bestas
efbdac36c4 sm8350-common: fix QCOM WFD ELF checks
Change-Id: If3d64c1cfa8fb6d30ca29a3260d2ebe51c9ffd2f
2024-09-29 05:43:16 +08:00
Cosmin Tanislav
e504df28aa sm8350-common: fix vendor.qti.imsrtpservice@3.0 ELF checks
Change-Id: Ia1995d0a3360317843685082e3226ab30f124d09
2024-09-29 05:43:16 +08:00
Cosmin Tanislav
ef279d53ca sm8350-common: fix com.qualcomm.qti.dpm.api@1.0 ELF checks
Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
2024-09-29 05:43:16 +08:00
Aaron Kling
76c579f4c4 sm8350-common: Enable elf checks
Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
2024-09-29 05:43:16 +08:00
Aaron Kling
ee3e950db2 sm8350-common: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-09-29 05:43:16 +08:00
danielml
b1e890a14c sm8350-common: Build xiaomi-telephony-stub
To provide the required Xiaomi IMS methods

Change-Id: I1e75476a0d2ed55b5eae2a0a2c6ca4c3c4e2c0f1
2024-09-29 05:43:16 +08:00
Michael Bestas
bd2715b97b sm8350-common: Remove media_codecs_google_c2*
AOSP codecs can be used by default and it is not necessary to include
them device side.

Change-Id: I8227b06f0466b614f12fa9008402b92461ea3dd0
2024-09-29 05:43:16 +08:00
Michael Bestas
ea76fc4476 sm8350-common: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
2024-09-29 05:43:16 +08:00
Aaron Kling
fffbda7ca3 sm8350-common: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-09-29 05:43:16 +08:00
AdarshGrewal
94686364bb sm8350-common: Update blobs from haydn V816.0.6.0.UKKMIXM
Change-Id: I0a3666c7354a45e570654cb2253a070c9e7596a6
2024-09-29 05:42:27 +08:00
Manish Kushwaha
0b7eed4b7d sm8350-common: Migrate sensor HAL to AIDL interface
Bug: 247478991
Test: tested on-device (P23) ab/P46941077
Test: `sensor_test -ahal list` and `sensor_test list`
Test: `sensor_test -ahal sample -s0` and `sensor_test sample -s0`

Change-Id: I40f6ab6b7780c53cd638a1f77c95f6c324dc2d15
Signed-off-by: ralph950412 <ralph950412@gmail.com>
2024-09-28 15:53:14 +00:00
Sebastiano Barezzi
6ec43311ae sm8350-common: 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 4aca996701.

Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2024-09-13 20:41:07 +05:30
Sebastiano Barezzi
4e4a00634b sm8350-common: Drop SDM LiveDisplay service
* We switched to AOSP colors so messing with color calibration will
  confuse QDCM

Change-Id: Ia22c4c06e922d1b7f9c60b257299634333cc3fe4
2024-09-06 13:37:18 +00:00
Michael Bestas
33ad994764 sm8350-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-01 16:49:04 +02:00
Sebastiano Barezzi
3969a26b43 sm8350-common: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
2024-09-01 16:49:04 +02:00
FlowerSea0208
0ced5f6337 sm8350-common: Switch to common lineage Powershare hal
Change-Id: Iadddff9dbe9cf86e8510ddae165ddb04bcabe01d
2024-09-01 13:51:08 +00:00
Bruno Martins
6cffdc06c9 sm8350-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-09-01 12:23:19 +02:00
Bruno Martins
e26c0df9a9 sm8350-common: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-09-01 12:23:14 +02:00
Bruno Martins
93dc474cbe sm8350-common: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-09-01 12:22:55 +02:00
Giovanni Ricca
8bbef8abc5
sm8350-common: sepolicy: Remove commonized labels
* Required after If62b9db9535355111689cb0c64b093f93d36bc35

Change-Id: Ied07e42479327b2d594370a6537329c20f48e58f
2024-07-16 20:27:25 +02:00
Giovanni Ricca
fb29102341
sm8350-common: Import missing IMS lib
Change-Id: I9c6cd5e9d493fcee5a2b8d6fa3c097f253d46382
2024-06-20 22:20:28 +02:00
Michael Bestas
111a9bbf28
sm8350-common: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-20 22:20:26 +02:00
Chirayu Desai
9ee014a60e
sm8350-common: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true"
or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports
userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
2024-06-20 18:16:01 +02:00
Arian
41d4ea3a7c sm8350-common: Update blobs from V816.0.2.0.UKKMIXM
Change-Id: I1bf5bed6b285e61d7cc3f9f16349fdd974061b48
2024-05-20 18:02:56 +02:00