Commit Graph

248 Commits

Author SHA1 Message Date
Jake Weinstein 229b199bf2 vendor: display: Disable UBWC-P on <6.1 targets
This is not supported on legacy targets.

Change-Id: I520cf65d4415281bb90ae03ba84e7e65bbafdf84
2023-10-08 21:08:23 +00:00
Jake Weinstein b62fe29693 vendor: display: Disable custom content metadata region on <5.15 targets
Pre-8550 devices do not currently support this.

Change-Id: I9aac7cf293ff314eae6fed594a8307f71f682f32
2023-10-08 21:08:15 +00:00
chrisl7 3d521b98af common: Switch to full AIDL wifi
Change-Id: I03513e7a61cff961514be6f962e7414cbeaf09fb
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-10-08 19:41:00 +00:00
jro1979oliver b461b8b895 vendor: init: Chown cgroups nodes
* Perf-hal tries to access the nodes but need permissions as pointed  on the logs:
  E ANDR-PERF-OPTSHANDLER: Cannot open/create foreground cgroup file

Change-Id: I64a8d08a0ebb51013444c4ce3148a0077b006aad
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-24 15:54:05 +00:00
Fabian Leutenegger 4ae64775b5
perf: kalama: Do not allow foreground tasks to run on CPU7
For the same reason as in 7ace9938a4

Change-Id: I22c037bdafb1b6cc24722b128c2e6d135b5f35d5
2023-09-20 10:07:47 +02:00
Mashopy 1eda96183f vendor: media-legacy: Allow to use a custom c2_manifest_vendor.xml
Some devices may have additional Codec2 HAL service forks like OZO Audio, which add another instance on manifest.

AOSP vintf_check will throw an error if there is at least two exact same HAL name and type defined on vintf list with
a different version or interface, hence why TARGET_USES_CUSTOM_C2_MANIFEST flag is needed to bypass this error.

Change-Id: I106d44a176d080c682a6b6c9eecff772119775ef
2023-09-19 14:31:29 +00:00
chrisl7 4f441e3fdd vendor: media: Build android.hardware.media.c2 1.2 vendor interface
Change-Id: Iea967972b9c3a7ea50c5272de893a521ab83df47
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-17 18:26:26 +00:00
chrisl7 8179d459d6 vendor: gps: Build android.hardware.gnss AIDL vendor interface
Change-Id: I7b3ed0037d1d30950cc266410d7e78a00e26eac5
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-17 18:26:15 +00:00
chrisl7 94ed1dbca4 vendor: audio: Build vendor.qti.hardware.AGMIPC@1.0.so vendor interface
Change-Id: Ide51b560400347210bde1eb28774da1a886da646
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-17 18:26:06 +00:00
chrisl7 650c8c000a vendor: audio: Build libsndcardparser
Change-Id: I818a72417634d33cecbfc22d56b5c3c0d6ebf2f7
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-17 18:25:01 +00:00
Jprimero15 47cbb863a6 vendor: charging: Add soong namespaces
Change-Id: Ia12f777feef24a67a3e49c63483fdfb44e46ea31
2023-09-15 23:50:02 +00:00
Adithya R 966ba8a9f9 vendor: Drop 32bit libs from >=5.10 components
They're unused.

Change-Id: I3ce71b0582f75315490596e021ff5d9f101df266
2023-09-14 16:47:59 +00:00
Richard Raya 7d8564f657 common: alarm: Add manifest entry
If already present, remove the manifest entry from the device side; otherwise, this would trigger duplication build errors.

Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
Change-Id: I23df4eb99bbe97a1331cbf0e949a48353d8a8ca8
2023-09-14 00:19:38 +00:00
chrisl7 67c02c3d98 vendor: telephony: Enable Enable IMS single registration for 5.15 kernel version
Change-Id: I5ace3db8fa20ddd65e8932c93adfd3aa4d7a172a
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
chrisl7 504ec1efe8 vendor: telephony: Switch Enable IMS single registration condition to kernel version
Change-Id: I3daa9b0314613f047fa3b17fd642048ebcdfd4c3
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
chrisl7 ced7676636 vendor: bt: Build vendor.qti.hardware.bluetooth.audio-V1-ndk
Change-Id: I67042d84c4fa55c655573d368e7d936a08b3f9d7
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
Fabian Leutenegger beabec3e8e vendor: bt: Add condition to use AIDL QTI bt audio
Change-Id: If2e83082322709c2acdf2b59f22e23722587e2fd
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
Bruno Martins 5ae4df4fef common: telephony: Prepare for non-legacy dataservices
All platforms prior to kalama must use the old rmnet_data driver.

Change-Id: I1dd5e25cdac35bf0e95da004763f58e5590c94ad
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
CHRISL7 61b4962742 vendor: media: fixup! 803ea99
Change-Id: I2538b6d1e8f8558108f1d7533ca8633697a1a187
Signed-off-by: CHRISL7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:42 +05:30
chrisl7 cbd7b38f28 common: Fix bengal and kona conditions to 5.15
[1] - According to 570068bfa0

Change-Id: I930eb52225eded96b951baeb544394043cdef51e
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:42 +05:30
chrisl7 c8c0d6941f common: Fix 5_15 family components condition
Change-Id: Ie7f2f0eaf664db373720dbc1a643755011f7920b
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:39:29 +05:30
Adithya R e93dbca617 telephony: Enable IMS single registration for 5.10 platforms
Change-Id: I5dc429e86ac4601919a0f7875bcf82d8fec3b560
2023-09-08 14:02:48 +00:00
rakegand 1399da11a8 vendor: init: init.target.rc: Move SPU NVM directories creation to earlier stage.
Change-Id:	Ic6d1a83c7fc7a54d6f8d78f91e5f3167dd7017fe
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-08 13:54:27 +00:00
Liron Daniel 49a651739b vendor: init: init.qcom.rc: Move SPU NVM direcroty creation to earlier stage
Change-Id: I85781ef0ce6dcdc7ddc701f16677da9a4e3aafa9
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-08 13:54:15 +00:00
chrisl7 26b8feeb86 vendor: init: Create aospa init script to qcom changes
[1] - Something equivalent to init.target.rc, for some necessary changes without changing the default qcom settings

Change-Id: I9fbbd143689fffd828628be46e2578576a8dd466
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-08 13:54:03 +00:00
chrisl7 6bf2ab532c vendor: init: Restore some lost changes
[1] - c3b2dc1ead
[2] - b28aece006

Change-Id: If1fbdd4280f3befed97c20e76d9740e8aaf665ff
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-08 13:53:09 +00:00
chrisl7 495f5cba37 vendor: media-legacy: Disable MediaC2 codec for SoC that don't support it
* Only 3 SoC support this, msmnile, sm650 and kona, So it's not necessary to keep this here for all other platforms. Also this was causing video playback bug in all chromium based browsers after they went to updated to version 114. or higher[1].

1 - Bug: Go to Chrome or another Chromium based browser and run any non-YouTube video, the video will always load and won't play.

* After removing Codec C2 and trying to play the videos, they worked fine.
* Allow enable with override

Change-Id: Ic8ed85c5b4a8ad6a83f5d0b21e9f75ec9902f786
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-07 16:22:19 +00:00
Jprimero15 e5ab2615b6 vendor: copy charger init from charging component
* not all device are using init component and component should not be dependent into other components just to fully work.

Change-Id: I92aa70c2bdaf92fa93819cb673b7ee67c5d5d1e0
2023-09-03 16:14:51 +00:00
Adithya R 7dd8d1dd61 vendor: Always copy charger init for non-AIDL devices
This also reverts commit f8c928b9e4.

Change-Id: Ieb5e9ad4ec6e22474a79033b2889b229010a0d6f
2023-08-31 12:08:14 +00:00
chrisl7 28dd242add vendor: charging: Update charger_monitor init script
[1] - From holi/lahaina
[2] - Fix Fast charging on holi plataform

Change-Id: I70fddfda7c745064db11771886f3e09ea7f3becd
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-31 12:07:52 +00:00
Pritama Biswas a5efb3e149 vendor: init: Revert "init.qcom: add permission for brightness sysfs for eDP"
This reverts commit 4b011a92d54e402a1ab19bfd4ba19511e5dafa59.

Change-Id: I8b7c554a66532c7451d70f6d343fe70a421464cd
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-31 12:07:08 +00:00
Adithya R 4b832f6436 vendor: init: Revert back to original init.kernel.post_boot-cape.sh
Disabling LPM on production devices?? WHY????

This partially reverts commit f0a254e386.

Change-Id: Iedcd9d04aea1e38c5b2ba86d5ef554762462610c
2023-08-25 17:21:45 +00:00
Andy Hung c2766ea86f vendor: init: audio HAL: Optimize for Spatial Audio
Add CAP_SYS_NICE.
Allow util_clamp_min for Spatializer Effect worker thread.
Reduce glitches caused by core migration.
Reduce power consumption as Spatializer Effect is DSP compute bound.
This change only affects Spatial Audio Effect processing.

Test: instrumented
Test: adb shell 'uclampset -a -p $(pgrep -of android.hardware.audio.service)'
Test: adb shell cat "/proc/$(adb shell pgrep -of android.hardware.audio.service)/status"
Test: adb shell 'ps -Tl -p $(pgrep -of android.hardware.audio.service)'
Bug: 181148259
Bug: 260918856
Bug: 261228892
Bug: 261686532
Bug: 262803152
Change-Id: I59ea99e8a1720f61954747f6c29e14cfea9a0f56
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-07-22 16:17:12 -04:00
Andy Hung c2afed343c vendor: init: audio HAL: Enable RT priority inheritance
Test: instrumented
Bug: 181148259
Bug: 260918856
Change-Id: If56e449a9c6f1a49e372591893d8714534574e3a
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-07-22 16:16:19 -04:00
Suren Baghdasaryan 65e91c922a vendor: init: Replace direct pid writes with setting task profiles for audio interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Signed-off-by: CHRISL7 <wandersonrodriguesf1@gmail.com>
2023-07-22 16:15:14 -04:00
Jprimero15 94991550b0
vendor: gps-legacy: Fix soong namespace path
Change-Id: Ic3aef0bc9f96dacb2972717270373f1ffc638e2f
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-07-07 15:30:08 +08:00
Prashant Beniwal ad9b662205 vendor: init: Update lineptr_value drm sysfs config node
Change-Id: If13225c6d1eeaca83b670cb1239aefff781dbc43
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-06-26 13:06:20 +00:00
chrisl7 860c085143 vendor: Introduce gps-legacy component and vendor proprietary
[1] - Qualcomm is using the exact same hal and GPS blobs for all SoC with A11 GRF, so we will define this as Common
[2] - Use HAL and Blobs from LA.UM.9.15.2.r1 because it updates faster than other platforms
[3] - HAL and blobs from LA.UM.9.15.2.r1-06600-KAMORTA.QSSI-13.0

Change-Id: Ia4c40020ff9155f178fd52e307ef278806f40046
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-06-24 15:52:24 +00:00
Immanuel Raj e7171e0a2d vendor: telephony: Conditionlly set `advancedscan` prop to legacy platforms
Ref: https://git.codelinaro.org/clo/la/platform/vendor/qcom/falcon_64/-/blob/LA.UM.11.2.1.r1-02600-sdm660.0/sdm660_64.mk#L483
Change-Id: Ie9d6e3278bc1324a4fc6c590141437b3f728efbb
2023-06-22 19:25:45 +00:00
BladeRunner-A2C f8c928b9e4
vendor: init: Add charger service back to legacy qcom init
Fixes offline charging for devices that aren't using charger component

Partially reverts 0238ca328f.

Change-Id: Ib23dac9c20f160ebf1d5f8ae9ab4bff1beadd55d
Signed-off-by: BladeRunner-A2C <john.smith@unused.email>
2023-06-22 21:35:11 +06:00
chrisl7 9e90b95e0c vendor: alarm: Fix power_off_alarm on offline charging
[1] - Qualcomm doesn't enable this by default on some platforms, so some OEMs like Xiaomi and OnePlus add this to fix it.

Change-Id: I7c786e090d96d6c5b71eaa4a18222434167a59dc
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-06-22 02:29:56 +00:00
chrisl7 5d404e2955 vendor: wlan/wlan-legacy: Clear all unnecessary conditions and stuff
Change-Id: I1fdae38147a6b2a3d7d4326fb0d31894b1d12338
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-06-22 01:51:25 +00:00
chrisl7 71f3d3fde0 vendor: wlan/wlan-legacy: Remove soong condition to IPACM
[1] - We already have the component conditions for this

Change-Id: I10e0a72c0d9b32cfeab709d98b94125a7fade286
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-06-22 01:49:34 +00:00
Alexander Koskovich c2c40e1539 common: overlay: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2023-06-21 08:07:04 +00:00
BladeRunner-A2C 83542ae86f fixup! vendor: display: Disable SF client composition cache for <5.4 targets
Change-Id: I25f6f4ff9bd52a8f30205a88f392f0d87c5dff83
2023-06-18 19:25:43 +00:00
electimon ed1167bf41
common: Introduce alarm component
* Based upon LA.UM.9.14.r1-21000-LAHAINA.QSSI12.0
             LA.QSSI.13.0.r1-09700-qssi.0

Change-Id: I7085e5686c6cc2d63a62f84557bc1bac3d579e67
Signed-off-by: electimon <electimon@gmail.com>
2023-06-08 19:49:10 +09:00
Pritama Biswas 4b413f61dd vendor: init: Add permission for brightness sysfs for eDP
Change-Id: I211ba4f0bb6b2fbfe30009e4cd7d38581a451e67
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-06-04 13:46:12 +00:00
Jprimero15 540f8fe0bf common: components: Drop QCOM WFD legacy
* Does not work on A13 anymore
* legacy devices should use AOSP WFD instead.

Change-Id: I05b834b39720bb2b224eaaab24bb76cf9136ddb9
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
2023-05-28 01:28:22 +00:00
electimon 0e822f7572 common: vendor/display: Only copy feature enabler rc for lahaina
test: Observe no crashing on holi due to missing QSEE app.
Change-Id: Ia56f3e13c99a4f90f6fecd9888ee429e444b2fa3
Signed-off-by: electimon <electimon@gmail.com>
2023-05-27 07:42:08 +00:00
Jprimero15 15172436cc common: vendor/init: Don't configure QTI Bservice here
* even with 2gb ram this is too agressive.
* let it be configured on perfconfigstore only because we can also set it per ram size there.

example:
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Ram="3" />

Change-Id: I94b98ebc400ac52eef735e6fcbf9ffd5d9eb9265
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-26 23:41:06 +00:00