Commit Graph

2447 Commits

Author SHA1 Message Date
Jake Weinstein 385b4abeb5 system: telephony: Update to LA.QSSI.14.0.r1
Updating to Xiaomi Nuwa

Change-Id: I679774901ba0e884ab03b51c320191e2ed2c4225
2023-10-11 20:23:08 -05:00
chrisl7 5229813bad system: Update blobs to LA.QSSI.14.0.r1
Skipping telephony for now. Using
blobs from Nothing Pong.

Change-Id: I10dc7448c61cd9a3d7e222316285e3440d5527cc
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-10-11 20:22:31 -05:00
chrisl7 25f53d360f common: Allow overriding the PRODUCT_MAX_PAGE_SIZE_SUPPORTED value
Change-Id: I1fb4f7b2c6cae00c12841dab9f71dec537a193f3
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-10-10 16:34:33 +00:00
Roopesh Nataraja e791149f44 common: Opt out of 16K alignment changes
As 16K alignment is not a mandatory requirement in Android 14,
opt out of it by setting PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 4096

Change-Id: I1555e39dc1c0127b8dd77928d1f09ad37a051395
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-10-10 16:32:37 +00:00
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
Sanghoon Shin 88bd54df76 qcc: add new AID
To switch from vendor_qtr to vendor_qcc.

This is to sharing data file access between QDMA native processes
and protect data file from 3rd party access.

CRs-fixed: 3303809
Change-Id: I242420395f59fc5fb89f3494be71f600c24a2009
2023-10-08 21:07:48 +00:00
Gurkaran Singh 0bf8d1cbcd system: wfd: Disable non-WDS VDS for HWC
Disable non-WDS virtual display use cases for HWC.

CRs-Fixed: 3415707

Change-Id: Id826c182593442878ba124a0bf8a210e3456d3e4
2023-10-08 21:07:32 +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
madmax7896 e1978ee786 common: sepolicy: kona: Remove duplicated entry
* Already declared in sepolicy_vndr

Change-Id: Ic8f9a538dfab4d9164081ed172a8df0232179b45
2023-09-18 21:28:30 +05:30
chrisl7 36b5d9dc90 sepolicy: qva: Kill trinket sepolicy in qcom/common
[1] - sepolicy_vndr added in LA.VENDOR.13.2.0.r1-19600-KAILUA.0

Change-Id: I9f62383171699adc70178f5500a2ce9ad319d7d1
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-17 19:37:05 +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
Adithya R b99d58dcbb dlkm: Use separate modules list for recovery
This expects device/foo/bar-kernel/modules.load.recovery

Change-Id: I364881cf8392e4c589752963cac5a2a2cae5c8d9
2023-09-17 18:24:34 +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
Mashopy dee693aa36 sepolicy: qva: kona: Fix KineticsXR controller debug property
Kona is able to compile again in userdebug builds

Change-Id: Ia84873a15aff6ec4bba59dc71d40ac9e1ca32af7
2023-09-13 22:33:13 +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 8f99859250 sepolicy: bengal: Add pwr and powermodule sepolicy rules
[1] - From Kalama

Change-Id: Idff6ec9ce21ac4dc02b6ebfebc72dfdb0067fa8e
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
chrisl7 4a249ab6a6 sepolicy: Label qrtr-lookup
Change-Id: Ia8646d38855bb0bf3509f844162b7709856be350
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
chrisl7 832198bad4 common: Enable dlkm based in kernel version
Change-Id: Iadb203d47d42b3c23c6051e637e43cc776b99742
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
Fabian Leutenegger 6724d351c8 dlkm: Add kalama in-list
Change-Id: I4104f7a9e1fd0f4d0818b5f4c5552c7399acce26
2023-09-10 10:51:43 +05:30
chrisl7 a37bf97a34 dlkm: Add bengal in-list
Change-Id: I7c0c27082e58354d95bcf2c7ac8d2b256462770a
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
chrisl7 4246a3ba6f dlkm: Add support to system_dlkm kernel modules build
[1] - From LA.VENDOR.13.2.1.r1-06400-DIVAR.0
[2] - Adatp to AOSPA

Change-Id: I73700239b00a496f753cdee69c11d8237f6e3a85
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
CHRISL7 f984717927 common: Skip MASTER_SIDE_CP_TARGET_LIST to 5.4 >>> kernel version
Change-Id: Ifcc94d189820ce494519741f72e7ef02418c814d
Signed-off-by: CHRISL7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:42 +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
padarshr 39dfc7241b common: Define the partition source order for product/build properties pickup
Define ro.product.property_source_order to
"odm,vendor,product,system_ext,system".
Build/product properties like
ro.build.[description|display.id|product],
ro.product.[brand|device|manufacturer|model|name] and
ro.build.fingerprint would be picked up from the partitions
in the above defined order.

Change-Id: If5e7a1e627723623d04b88adda6bb60bb1e6dd84
2023-09-10 10:19:23 +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
Kunmun 49e886f064 Revert "common: sepolicy: Add back vendor/vm-system sepolicy rules"
This reverts commit a418e39350.

Reason for revert: Already present in sepolicy_vndr hence conflicts with the build and don't really seem any point in having it.

Change-Id: I6ef50d7e7e57c7478b42526cb6aa386ece78c639
2023-09-03 06:56:19 +00:00
Jprimero15 3fc6f16cd1 common: sepolicy: legacy: wfd_vendor_debug_prop -> vendor_wfd_vendor_debug_prop
* Fixes build error on userdebug and eng.

Change-Id: I38ffaa1448c410196a7c69e80e28b985604f79d8
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-09-01 12:49:25 +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