Commit Graph

2280 Commits

Author SHA1 Message Date
chrisl7 5fd9daca33 vendor: perf-legacy: Remove monaco and taro configs on perf-legacy
[1] - monaco and taro always uses 2.3 hal and only perf component

Change-Id: Idff89e0d56a326b29d30db467c411938fd80ab56
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 13:53:58 -03:00
chrisl7 cecac494a3 vendor: media: Import media_codecs_c2_audio from LA.VENDOR.1.0.r1-20500-WAIPIO.QSSI13.0
Change-Id: I14cb0606c7786b215f91a0cbebe0b6e4183edc6d
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 13:53:58 -03:00
electimon 9e591338e2 common: vendor/keymaster: Include gatekeeper vintf fragment
Change-Id: I55c50119e26989ff1fbed2df7b6798b20fe9cd4f
Signed-off-by: electimon <electimon@gmail.com>
2023-03-14 15:21:55 +08:00
chrisl7 03cc95de77 common: Update config.fs to LA.VENDOR.13.2.0.r1-13100-KAILUA.0
Change-Id: I45080985c66b5b24675bfb9d1a3d5c99f15b0904
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 04:44:34 +00:00
Jake Weinstein 72c649838a common: sepolicy: lahaina: Remove qwesd policy
This is in common sepolicy_vndr now.

Change-Id: I58b8bd8bf7296751fbade8de8fb4eefab688a13e
2023-03-14 01:16:51 -03:00
Jake Weinstein 2613ba50cd common: Remove eID policies from holi and lahaina
These are no longer defined in LA.VENDOR.13.2.0
sepolicy_vndr. We don't use eID anyway, so
remove from common policies too.

Change-Id: Idcf15d1c7aa8c2fb2924bd2c81731d6b034ea84a
2023-03-14 01:16:51 -03:00
chrisl7 c3ae3ca3de common: sepolicy: Import missing sepolicy rules from taro
Change-Id: I2f6f49df4a9113e65c6250801775e452b22c4e90
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 ce7ff0e820 common: sepolicy: Adapt sepolicy to LA.VENDOR.13.2.0.r1-13100-KAILUA.0
[1] - Move partally bengal to sepolicy_vndr, keep 4.19 specifc nodes here
[2] - Keep kona here for now
[3] - Import msmsteppe from taro sepolicy_vndr
[4] - Use neuralnetworks on sepolicy_vndr

Change-Id: Icda5ebce28b97d45c8067f08be98d85313ab1474
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 f04d22ba9f common: dlkm: Update to LA.VENDOR.13.2.0.r1-13100-KAILUA.0
Change-Id: I9f67c42b7a0ed5af6f522de0943ed44102764229
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 41966a047b common: Update generate_extra_images to LA.VENDOR.13.2.0.r1-13100-KAILUA.0
Change-Id: Ia59b82e047341d4b5b8fe37cfc90387fd3e39d99
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 4d6813af3b vendor: init: Remove rawdump definitions on legacy script
[1] - Add on  https://gerrit.aospa.co/c/AOSPA/android_device_qcom_common/+/28048/4

Change-Id: I79510bcddbd298620c6b3f264e83aa10acbc922b
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 7ce8cc2a2a vendor: init: Add missing nodes on early_boot.legacy script
[1] - f9f83796b3
[2] - https://gerrit.aospa.co/c/AOSPA/android_device_qcom_common/+/28047

Change-Id: I8ecf688a99ed57bc1134b7f6b717694b87d62e8c
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 fc290506ad vendor: init: Remove directories for Location services on legacy definition
[1] - Add on LA.VENDOR.13.2.*-KAILUA qcom.rc

Change-Id: I3220be8a81b7e584a655fc6e1a54000d9a6bce63
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 784b3f7af0 vendor: init: Add service charger on legacy.rc
[1] - It was removed in LA.VENDOR.13.2.*-KAILUA

Change-Id: I514bed14c98e592da69e9ee2dc618f3e8ce6157d
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 6c1b6e965e vendor: init: Remove import qcom.factory.rc
[1] - We don't use it

Change-Id: If6919667af8adcb0580380282918e9a3bdf74651
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 de0452f480 vendor: init: Update qcom.rc to LA.VENDOR.13.2.0.r1-13100-KAILUA.0
Change-Id: I06c256f38f1e1fe5f8596ba216b28f150612842f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:31 -03:00
chrisl7 987ae85dae vendor: init: Update kernel-scripts to LA.VENDOR.13.2.2
Change-Id: Ib99b7d73f22ae4f1cd85c76a3074b4f6ffa331ca
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:01:30 -03:00
chrisl7 c0e163c30f vendor: init: Update init.class_main.sh to LA.VENDOR.13.2.0.r1-13100-KAILUA.0
Change-Id: Icb0b6d8c8f9f3d6f6194153b9b2599cf9a471a32
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:01:30 -03:00
chrisl7 9c1ddba304 vendor: init: Update ueventd to LA.VENDOR.13.2.0.r1-13100-KAILUA.0
[1] - Keep fix Invalid section keyword

Change-Id: I6526a55cea8001de109a80bdde72bf00baecb500
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:01:30 -03:00
chrisl7 03cd1790f0 common: Add support to 5.15 family
Change-Id: I19813cbdcb8b3218fbc13e17e25f9ebb9bf5ccb5
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:01:30 -03:00
Jarl-Penguin 4882f293e8 common: sepolicy: legacy: Allow system_app to read fm_radio_device
* This was moved to platform_app in c0d7a5ce1d593f6bc5cb8bef8a108e9ec04cd51d, but AOSP FM app is still system_app

Fixes:
I auditd  : type=1400 audit(0.0:74): avc: denied { read } for comm="android.fmradio" uid=1000 name="radio0" dev="tmpfs" ino=15585 scontext=u:r:system_app:s0 tcontext=u:object_r:fm_radio_device:s0 tclass=chr_file permissive=0

Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I9f662803390697b9456d18a4186ee7d7d6ac2e50
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
2023-03-09 13:13:50 +00:00
Michael Bestas 2e8910f831 common: sepolicy: legacy: Label persist.vendor.camera.debug.logfile
* Used in recent camera HALs

Change-Id: I81ac7c9bf262365a6baabde3fac5ce652c8e683c
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
2023-03-09 13:13:50 +00:00
Sneh Bansal d534610eba vendor: telephony: Enable fetching of QoS parameters for bengal
Enable property that allows fetching of QoS parameters via
IQtiRadio HAL.

Change-Id: I810ca713696296297f1ff12d48a3be0114384489
CRs-Fixed: 3404871
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-08 04:06:49 +00:00
chrisl7 4ed781a187 vendor: wlan/wlan-legacy: Remove ISuppTunnel prebuilt_hidl_interfaces
[1] - 5d7681d6fb

Change-Id: If9713ebb9250ff6684745924ad67c9a82089fd9f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-08 04:01:35 +00:00
Adithya R 9b4ce7e515 common: Set `ro.soc.manufacturer` for qcom devices
All current qcom platforms set QTI as the manufacturer.

Change-Id: I1b41a972f90d9518a110f4cf7843ae71050576fe
2023-03-07 04:35:15 +00:00
Adithya R d88799f3aa sepolicy: Allow NNHAL full read access to {q,x}dsp_device
Required on 5.4 and older platforms.

Change-Id: Ied9eea539b95e21dc1584d671cdfbc59ef73df33
2023-03-07 04:35:15 +00:00
Adithya R 77e52b789a vendor: media: Set netflix revision irrespective of android version
Change-Id: Ibeda8db053ad7989443c16bcd4fa6758c18498cf
2023-03-07 04:35:15 +00:00
Adithya R 29fa00eac2 vendor: media: Move media init scripts here
Change-Id: Ib74bcb2845e2fc342127a56e6b383da439f0e73e
2023-03-07 04:35:15 +00:00
electimon 27bff8be38 common: vendor/qseecomd: Add libtime_genoff
* This blob is loaded by qseecomd's libdrmtime module
  which provides time services for services such as
  keymaster.

Change-Id: Ifcdfaec976c7f06b2b7c30836c79496a0276c2c9
Signed-off-by: electimon <electimon@gmail.com>
2023-03-06 06:08:58 +08:00
electimon f6ebf68755 fixup! vendor: extract-utils: Use kernel version specific proprietary-files.txt if exists
* Due to the way the checks were added, when $KERNEL_VERSION fails
  to resolve, it will still pick up the proprietary-files.txt of
  the current directory. This is indicated with the output of
  extract-files.sh having extranous slashes and double extraction.

* To solve this we only extract based on kernel version if
   1. $COMPONENT/$KERNEL_VERSION/proprietary-files.txt exists
   2. $KERNEL_VERSION is declared beforehand.
  if not, fallback to classic extraction, which includes
  error handling.

Change-Id: If4bf45b300010d7f665a74abf661d0170c40af44
2023-03-05 18:17:16 +08:00
electimon 918e9bfd43 common: system/audio: Use optional includes
* The audio component provides important configuration,
  we should allow it to be used even if the audio HAL
  isn't at the hardcoded location. This changes also
  matches vendor/audio's optional includes.

Change-Id: Ibbd8797b5352f7889ede0ec618cb40af39ad80cd
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon 6e93bc0b99 common: sepolicy: Move AOSPA specific sepolicies to their own folders
* With this, qcom common sepolicy compiles on AOSP based ROMs.

Change-Id: Ie5e2c5660305a859ebfb0ddbec8fd19be3ac11e4
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon fea0af2f6b common: vendor/media: Add vendor.qti.hardware.vpp interfaces
* This is linked by okinawa camera HAL and belongs
  to the QCOM Media stack

Change-Id: I065cd7b91c8b69ff69e026d8bd206749f3fd92b3
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon f4b943ae2f common: vendor/init: Move early/post_boot scripts from soong
* Since legacy variants are copied out to the same place
  it causes 2 install targets for the respective install
  path, thus causing the following error:
  error: overriding commands for target `out/vendor/bin/init.qcom.post_boot.sh'

Change-Id: I246da97954566de2c07393eb320df7d96297b280
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon 837c8db971 common: vendor: Introduce display vendor module
* This commit introduces common SDM stack for
* 4.14, 4.19, 5.4, future commits will add
* 5.10 and other kernel versions as needed

* CAF Tags
* 4.14: LA.UM.9.11.r1-04900-NICOBAR.QSSI12.0
* 4.19: LA.UM.9.12.r1-15100-SMxx50.QSSI13.0
* 5.4: LA.UM.9.16.r1-09800-MANNAR.QSSI12.0

TODO: Check compatibility with HALs
Change-Id: Ie6732cc3ebfabf14c1b22955179cda3c9ca476d0
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon 4191856d66 vendor: extract-utils: Use kernel version specific proprietary-files.txt if exists
Change-Id: I008dadb63a7530a2290545f42ced6dc9d27cdc36
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon e96355ded8 common: vendor: Introduce qseecomd module
* Based upon LA.UM.9.16.r1-09800-MANNAR.QSSI12.0,
  qseecomd module provides qseecomd stack for devices
  on >5.4 kernels using DMABuf.

[TODO: Evaluate enabling this component on ALL]
Change-Id: I3b1c7a95193e296a173dc6e628e42ab66a96483f
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon bfd3ea7a5e common: vendor: Introduce keymaster module
* Based upon LA.UM.9.12.r1-13500.01-SMxx50.QSSI12.0,
  keymaster module provides keymaster/gatekeeper blobs
  specifically version 4.1 which is compatible with devices
  that use 4.0.

[TODO: Evaluate enabling this component on ALL]
Change-Id: I216b047ce7c3bcab5ba25eeb8c359c0d4cee5865
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon cfdbb08e0e common: vendor: Introduce qseecomd-legacy module
* Based upon LA.UM.9.12.r1-13500.01-SMxx50.QSSI12.0,
  qseecomd-legacy module provides qseecomd stack
  for devices on <5.4 kernels. Newer devices use
  DMABuf and are therefore not compatible with
  these blobs.

Change-Id: Ia23e5a797fe1f322bb98f79e324d09e452bcfe85
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon 848c5d4808 common: vendor: Introduce dsprpcd module
* Based upon LA.UM.9.12.r1-13500.01-SMxx50.QSSI12.0,
  This module contains *dsprpcd services with
  a selector to enable the correct services

[TODO: Evaluate enabling this component on ALL]
Change-Id: I79aaa8fd359ba4c8450f5896b9cfb873cec1f468
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:31 +08:00
electimon 567a41944c common: vendor: Introduce charging module
* Based upon LA.UM.9.12.r1-15100-SMxx50.QSSI13.0,
  This module contains userspace charging blobs
  typically provided to OEMs as prebuilts.

[TODO: Evaluate enabling this component on ALL]
Change-Id: I380ac70e40bc7dc8317d13ed7bee01e8c1125a68
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 01:00:18 +08:00
chrisl7 7f06544cb0 vendor: telephony Enable singlereg.feature for all 4.14, 4.19 and 5.4
[1] - It appears that Qualcomm has enabled this for all through IQtiRadio 2.7 in descending order, starting with 9.16, 9.15, 9.14...
      all our latest bsp are with IQtiRadio 2.7, so enable it

[2] - Fix IUceService logspam

Change-Id: I24bb664bda3559751b7e3757420be4d290765a59
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-27 00:00:00 +00:00
chrisl7 fa6e9e79db vendor: media: Add missing C2 blobs
Change-Id: I90e12edcf99ab217bb42e1cfc25a84a287092cea
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-26 23:53:16 +00:00
Jake Weinstein 6e2b66614e vendor: Introduce wlan-legacy component
LA.VENDOR.1.0 cnss-daemon breaks Wi-Fi on older
SoCs.

Change-Id: I8e50fe07983381a52297e5a7e6b384662e43bd82
2023-02-25 02:09:12 +00:00
electimon e6f634e232 common: vendor/init: Fix post boot settings for sm6150
* Set the correct governor for memory lat/bw devices

Change-Id: I8cab823492186474b75930191892ee89372bb278
Signed-off-by: electimon <electimon@gmail.com>
2023-02-23 19:19:01 +00:00
Jake Weinstein 83a2e71da4 vendor: media-5.4: Drop C2D2 libraries
These are already in adreno-6xx-legacy, which
is used for 5.4 again due to Chrome flickering
in the newer Adreno libraries.

Change-Id: I297e7b2478e2ef66887f3949bcd85ea49c24ac2f
2023-02-24 02:33:24 +09:00
Omkar Chandorkar 181a629d1e sepolicy: address hub denials
- fixes `02-05 18:56:02.829  6540  6540 W TcmReceiver: type=1400 audit(0.0:75): avc: denied { connectto } for path="/dev/socket/tcm" scontext=u:r:hub_app:s0:c512,c768 tcontext=u:r:vendor_dpmd:s0 tclass=unix_stream_socket permissive=0 app=co.aospa.hub`

Change-Id: I6cef7dbbef2bbe776b3eb26dc45772f1579b75b3
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2023-02-17 05:43:49 +00:00
Ahmed Harhash 1c9e2c17c2 common: sepolicy: kona: Drop qtr_sdk_use policy
Change-Id: Iab055b6fd5c1c8343272d5286c71886ac61105a1
2023-02-16 18:34:09 +00:00
Jake Weinstein 82fe1b8dff common: sepolicy: lahaina: Add more wakeup nodes
Test: SuspendSepolicyTests.sh on Nothing Phone (1).

Change-Id: Ifd6de26fd53571e156a8f649350729063097b1e5
2023-02-16 02:23:42 +00:00
Pavan Kumar M 8bb35d5a51 common: sepolicy: Add sepolicy rules to run imsdaemon on bengal
Change-Id: I29a810f7daf1aa147261b08b4005ee6edb06267a
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-15 20:20:12 +00:00