Commit Graph

234 Commits

Author SHA1 Message Date
Arian
f9363b11e2 sm8350-common: Import public.libraries.txt from haydn V14.0.3.0.TKKMIXM
Change-Id: Ifcd7c40246b8b43d52d151001441bfd09b80f24e
2023-04-16 17:43:25 +02:00
Chenyang Zhong
564e70fb54 sm8350-common: Build 64-bit audio HIDL as well
libnotifyaudiohal.so from the elliptic ultrasonic proximity sensor
needs the 64-bit version of android.hardware.audio@6.0.so.

Change-Id: I8a6df0ed82806e8ea0f63b03b4f5a7b5c483fbbf
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-04-16 17:43:25 +02:00
Satya Durga Srinivasu Prabhala
bb8438e434 sm8350-common: Add UClamp support for lahaina
Sched Tune is deprecated in 5.4 Kernels and is replaced with
UClamp. As Android releases has to support earlier Kernel versions
like 4.14, UClamp isn't made default yet.

Change-Id: If6f4ae0812ae456089273514de58bb0654bb08c7
2023-04-16 17:37:35 +02:00
llololo
2c43d6df60 sm8350-common: Remove A2DP input module in audio policy configuration
No Pixel device support A2DP sink functionality.

Bug: 163050296
Test: A2DP related test.
Change-Id: I269220cf29451ea79362fc004fa073713f72fdb2
2023-03-19 17:12:27 +01:00
Josh Wu
43cf637947 sm8350-common: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2023-03-19 17:12:27 +01:00
Jakub Pawlowski
3334f2e7f1 sm8350-common: Use bluetooth.audio@2.1
bluetooth.audio@2.1 adds new functionalities required for Bluetooth LE
Audio development

Bug: 150670922
Change-Id: Iac2ece0c029a38fef82e81f5ba3ba491163818ef
2023-03-19 17:12:27 +01:00
dianlujitao
f6d9784077 sm8350-common: audio: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2023-03-19 17:12:27 +01:00
dianlujitao
c961ca948b sm8350-common: Remove libbthost_if from product packages
Change-Id: Iccf81b853ad67c47d23868899bf577ca0a1c6dde
2023-03-19 17:12:27 +01:00
AdarshGrewal
c4615e50d6 sm8350-common: Stop building libdisplayconfig.qti vendor variant
Change-Id: I84e3f2506e020c197a3d5be43cb55e7beeddd608
2023-01-21 23:56:23 +05:30
Bowgo Tsai
c423b6dc9d sm8350-common: Removing GSI keys
Those keys will be embedded into VtsSecurityAvb on host side
instead, to verify the GSI image used on the device.

Bug: 149806769
Test: build and checks those keys are removed from
      $OUT/recovery/root/first_stage_ramdisk/avb/
Change-Id: I8a002ba6f1421fb460056ccae6572050bdb0ce3c
2023-01-21 18:07:56 +05:30
Erfan Abdi
ec2683f06c sm8350-common: Add hotword priv app permissions
Change-Id: Ic936e852cb77fe47c0ce69465b7a3717c2619b7e
2022-09-26 23:58:16 +02:00
Bruno Martins
7469b72e89 sm8350-common: Blob out audio HAL extensions
These targets are using prebuilt audio HAL and for some reason,
using the source-built liba2dpoffload breaks A2DP. Just use
prebuilt HAL extensions to avoid mismatches.
Build libtinycompress explicitly as that was built implicitly as
dependency of the audio HAL extensions previously.

Change-Id: I37a5601afdbfdcb81a1053b366fad79fadf4eaa7
2022-09-26 17:12:40 +02:00
Alexander Koskovich
7689e18385 sm8350-common: Update to Boot Control HAL v1.2
Change-Id: I26da6b732fdce8c69c4390effe3d7b727d71adac
2022-09-26 17:12:40 +02:00
Giovanni Ricca
9ff3970ef0 sm8350-common: Update blobs to haydn V13.0.3.0.SKKMIXM
Change-Id: Id056ba050d88849d5bdd56b0e40d0f1f4b67b6c2
2022-09-26 17:11:57 +02:00
Bruno Martins
16a45dcda2 sm6150-common: Move to common fingerprint HIDL
Change-Id: I7cb0a45c865d9dbfd800b1d633f8d5ae613bb1b9
2022-09-25 20:04:30 +02:00
Giovanni Ricca
386e653a19 sm8350-common: Build common iFAA service
Change-Id: Ib777523cbb3cbc29086c8f6ef3cc0c31d49b9405
2022-09-25 20:04:30 +02:00
Sebastiano Barezzi
0a02546854 sm8350-common: Build mtdservice interface lib from source
Change-Id: Ie739f283c4be1b77d57aaee1941ed46957da1d1a
2022-09-25 20:04:30 +02:00
Bruno Martins
bcde8e921d sm8350-common: Switch to source-built mlipay interface
Change-Id: I7daaaffd9fe7a870e42c1d882b52dc93b3231120
2022-09-25 20:04:30 +02:00
Alexander Koskovich
3be792864d sm8350-common: Drop all component overrides
* Qualcomm no longer disables these for targets
   that support RRO, e.g. all QSSI targets.

Change-Id: I0372817623e8d0e58926fbfb519671c3caa07b86
2022-09-25 20:04:30 +02:00
Sebastiano Barezzi
2c89c465c5 sm8350-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
2022-09-25 20:04:30 +02:00
Alexander Koskovich
5dc6b6d6b4 sm8350-common: Drop support for Snapdragon Camera
* Won't be implemented this cycle (or ever again hopefully).

Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
2022-09-25 20:04:30 +02:00
Alexander Koskovich
805339b928 sm8350-common: Move ueventd.qcom.rc to /vendor/etc.
* This is the preferred location as of Android 12.

Change-Id: I8c7d2230281b6d8da802bf10f88461289849acaf
2022-09-25 20:04:30 +02:00
althafvly
5d7ee38e2b sm8350-common: Inherit launch_with_vendor_ramdisk for vAB
- sm8350 devices have a vendor_boot partition

Change-Id: I5c344890bc12ee769e2f27369a4151b469271a51
2022-09-25 20:04:30 +02:00
LuK1337
6df2c52511 sm8350-common: Build needed HIDL libs into vendor
Change-Id: I1db79176ac103cb7fc8db0fa4b4cfc699e38ad49
2022-09-25 20:04:30 +02:00
Sebastiano Barezzi
8bf715623d sm8350-common: Move to AOSP NXP NFC HAL
* NXP added snxxx support in AOSP

Change-Id: Id1b9cdbe1f29d1ff61af8182ae2f8370e5210426
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2022-09-25 20:04:30 +02:00
Albert Wang
d4649ad077 sm8350-common: Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-09-25 20:04:30 +02:00
Edwin Wong
4bf01b2c30 sm8350-common: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I3adf55199301768bacb38103c3ef4ba24807df2f
2022-09-25 20:04:30 +02:00
linjoey
f4fba783ff sm8350-common: Modify Vulkan and OpenGL version to 2020-03-01
Bug: 191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: I0e598ee8a26cd614dc5076a87c514756ba39d740
2022-09-25 20:04:30 +02:00
Alastair Donaldson
e675ce1d5e sm8350-common: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
2022-09-25 20:04:30 +02:00
hpnightowl
83baf2b384 sm8350-common: Drop audio.a2dp.default
* Building from here:
   https://github.com/LineageOS/android_build/blob/lineage-18.1/target/product/full_base.mk#L35

Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
2022-08-29 01:53:16 +02:00
Arian
c2e6077cdf sm8350-common: Drop audio_configs.xml
Change-Id: I990f5c195adf04a407489c677640ecf0e1f0f48a
2022-08-29 01:53:16 +02:00
Christopher N. Hesse
3162411998 sm8350-common: Enforce vendor tree presence
A compiled build has no chance of booting without the prebuilt
binaries, so fail the build if those are not present.

Change-Id: Iadd43e887d426732e549969ab8deb14194ca818d
2022-08-29 01:53:16 +02:00
althafvly
5f8fe2800b sm8350-common: Use randomly generated camera config [1/2]
Change-Id: Ib3f6f1526e2e0b7db23bb34c5b15aec1b0d338c2
2022-08-29 01:53:16 +02:00
Sebastiano Barezzi
07f2ac935e sm8350-common: Go away Megvii [1/2]
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi

Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
2022-08-29 01:53:16 +02:00
Arian
c1801698e0 sm8350-common: Copy snapdragon color libs config from display HAL
Change-Id: Iac27382024431dd2faf163174064c80de79ed797
2022-08-29 01:53:02 +02:00
Arian
9cce7a6db1 sm8350-common: Copy powerhint.xml from power HAL
Change-Id: I6f8ca59f4ad0ed7324010f657475d020fa76cb2f
2022-08-29 01:24:29 +02:00
Giovanni Ricca
83662ab93f sm8350-common: rootdir: Add shima and yupik kernel post_boot scripts
While at it, update lahaina one from odin V12.5.12.0.RKMCNXM

Apply the following commits to all scripts:
commit a7efe9f3af
Author: Cosmin Tanislav <demonsingur@gmail.com>
Date:   Tue Sep 28 09:15:41 2021 +0300

    sm8350-common: rootdir: remove cpu 7 from foreground tasks

commit 52fde070d6
Author: Cosmin Tanislav <demonsingur@gmail.com>
Date:   Fri Sep 24 02:44:34 2021 +0300

    sm8350-common: rootdir: do not touch sleep disabled

commit 30ddf5a818
Author: Cosmin Tanislav <demonsingur@gmail.com>
Date:   Sat Sep 18 02:57:51 2021 +0300

    sm8350-common: rootdir: cleanup

Change-Id: Ibd4e8717b52c35faa4d43ade170dbde58c04ed37
2022-08-29 01:24:29 +02:00
Arian
834d121186 sm8350-common: Don't explicitly build fs_config_files
The fs_config_files for each partition is already added to
PRODUCT_PACKAGES by base_{product,system,system_ext,vendor}.mk.

Change-Id: Ifbadacd5cb20beca70ed8b3accb3baf86a989c92
2022-08-28 15:49:53 +02:00
Arian
7e777df325 sm8350-common: Don't copy audio policy to qssi dirs
This depends on commit [1] which intends to pick a different audio
policy config on value-added system images and use to the regular
audio policy on gsi builds. However we do not provide the regular
config which leads to no usable audio policy config on GSI builds.
Our config does not rely on system value-added features, hence just
copy it to the regular path directly so that the same one will be
loaded on value-added and gsi builds.

[1]: ce8ec8bff5

Change-Id: I2ab532a4e8a120ed0c5495926dcce0a4b56d1f64
2022-04-12 18:11:16 +02:00
TheStrix
fd3b078743 sm8350-common: gps: Disable xtwifi location services
Squashed with:
Author: Michael Bestas <mkbestas@lineageos.org>
Date:   Fri Jan 15 22:14:25 2021 +0200

    sm8350-common: Remove unused gps certificates

    * They are used by xtwifi-inet-agent which we disabled.

    Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8

Author: Arian <arian.kulmer@web.de>
Date:   Thu Apr 1 01:09:38 2021 +0200

    sm8350-common: Remove xtwfi-client and xtwifi-inet-agent

    Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2022-04-02 00:06:02 +02:00
Arian
8cf9c727e7 sm8350-common: Build GPS HAL from source and import proprietary configs
Configs from odin V12.5.12.0.RKMCNXM
slim_daemon is disabled in izat.conf, hence drop it.

Change-Id: Ia1ed33f6250b898d149970389befe8033cc8eaf3
2022-04-02 00:05:33 +02:00
Pig
57738613fb sm8350-common: fingerprint: Add xiaomi fingerprintextension support
Co-authored-by: C457 <android.c357@gmail.com>
Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: Ie9deb0dfcc689034cd3c4b9095e319130ba8d8cd
2022-04-02 00:02:26 +02:00
Arian
19d012f5e5 sm8350-common: Rename and build fingerprint service
Change-Id: I09992ec66ba4b65bb60a23faa74929d385f199fa
2022-04-02 00:02:15 +02:00
Arian
cfe2ce333c sm8350-common: Decommonize NFC configs
Change-Id: I49d0bb5fc61d40eec3d218f5cebabea0217fc621
2022-04-02 00:00:58 +02:00
Arian
29e5b0c186 sm8350-common: Import qti_whitelist
Change-Id: Ic7dc5fecf3d2fc041acdb3c3472f519f3ad573da
2022-04-01 23:43:34 +02:00
Arian
481d55d8a3 sm8350-common: Add telephony system-ext privapp permissions
Change-Id: Iaaab0ff52cd22b3095b56501189d55a68cfdc32b
2022-04-01 23:43:09 +02:00
ItsVixano
da2b8fb66e sm8350-common: media: Import yupik configs
* From odin V12.5.12.0.RKMCNXM

Change-Id: I4282da5b3555e648e1544c91bc4e1f6b6fb284dc
2022-04-01 17:52:48 +02:00
Arian
1f07b44542 sm8350-common: Set ro.media.xml_variant.profiles to choose media profiles
This was introduced with [1] and allows to choose target specific media
profiles without caf changes to frameworks/av. Unset media.settings.xml
so that the new property gets respected and drop copying the lahaina
config as media_profiles_vendor since we don't need a fallback anymore.

[1]: eaac82f33f#

Change-Id: I7ec306bf3dd595c09308ed26c9d3a6db8490c7f0
2022-04-01 17:51:57 +02:00
Arian
e315cf2178 sm8350-common: Import qti media init script from odin V12.5.12.0.RKMCNXM
Change-Id: Iab9a821bb7135b76205ce1a28ddc950ce852a42b
2022-04-01 17:51:57 +02:00
Arian
668fcdbe28 sm8350-common: Import shima_v1 media profiles from odin V12.5.12.0.RKMCNXM
Change-Id: I3a47a0cff5ab167e9295b76e3be839e092e9acd0
2022-04-01 17:51:57 +02:00