PRANAY BHARGAV BHAVARAJU
7890290317
vendor: init: Avoid setting permission for /dev/hw_random
...
Below patch from system/core is setting required access policy
for /dev/hw_random. And CTS test is updated accordingly
https://android-review.googlesource.com/c/platform/system/core/+/2229337
https://android-review.googlesource.com/c/platform/cts/+/2232052
Change-Id: I762dfa3b1e84dee6c49fc178b5b75cf1c134cfb7
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-25 21:30:12 +00:00
Alex Sarraf
ada7f8f654
vendor: display: Disable SF client composition cache for <5.4 targets
...
Disable SF client composition cache. Helps with framework
client target fence management.
Change-Id: I73e03e76f51d00fafad38479be00f4005be50665
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-23 16:59:23 +00:00
Yuan Si
151877f57a
media-legacy: Replace LOCAL_COPY_HEADERS with headers lib
...
Change-Id: I4aa16a6aeabc878ae240776e823dff9a776032b3
Signed-off-by: Yuan Si <do4suki@gmail.com>
2023-05-21 16:29:36 +00:00
Cyber Knight
f545a4912f
vendor: perf-legacy: Enable CLO Userspace LMK
...
- This should improve the CLO LMKD experience.
Change-Id: I5def897ceb21202375f470da719194bc45fc4bab
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-05-20 14:13:46 +00:00
Jprimero15
ec0d26d4e2
common: sepolicy: legacy: Unlabel /sys/vm/dirty_ratio
...
* labeled already on b6f0b6ffef
Change-Id: I8dd40a1dd589d3f20e62c66a4d3231ca57dbe815
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-19 15:38:51 +08:00
Jprimero15
900ea29a5d
common: sepolicy: legacy: allow vendor_init to write on watermark_scale_factor
...
* [ 34.822814] type=1400 audit(1684370886.288:56): avc: denied { write } for comm="init" name="watermark_scale_factor" dev="proc" ino=37383 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc_watermark_scale_factor:s0 tclass=file permissive=0
Change-Id: I9878d93608e60d45d611b3fe76120403cb05b875
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-19 04:52:08 +00:00
Juhyung Park
1e233bbfc8
sepolicy: location: fix socket accesses
...
These daemons need connecto vendor_location.
This fixes the following errors:
05-18 17:37:02.904 1487 1487 I LOWI-9.0.0.89.d: [MessageQ_Client] connecting to server [/dev/socket/location/mq/location-mq-s]
05-18 17:37:02.904 1487 1487 E LOWI-9.0.0.89.d: [MessageQ_Client] connect error: 13, [Permission denied]
05-18 17:37:02.904 1487 1487 E LOWI-9.0.0.89.d: [MessageQ_Client] connect failed 3
05-18 17:37:02.904 1487 1487 W LOWI-9.0.0.89.d: [LOWIController] retry count 4
05-18 17:37:02.903 1487 1487 W lowi-server: type=1400 audit(0.0:66): avc: denied { connectto } for path="/dev/socket/location/mq/location-mq-s" scontext=u:r:vendor_location_lowi_server:s0 tcontext=u:r:vendor_location:s0 tclass=unix_stream_socket permissive=0 srawcon="" trawcon=""
Change-Id: Ia5e2a365648f47bc8e6a17baff6e7a580641ffb7
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2023-05-18 19:24:43 +09:00
Juhyung Park
cd16ba98c6
sepolicy: vendor_qti_init_shell: allow R/W to UFS nodes
...
This allows post_boot script to change values related to UFS,
such as clkscale_enable.
Change-Id: I8426971a108755a7f5ecfa87ad1e6bae6a7740ea
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2023-05-18 19:24:43 +09:00
Juhyung Park
4f238d4e15
sepolicy: vendor_qti_init_shell: allow R/W to swap nodes
...
This allows post_boot script to change values related to swap.
Change-Id: I7a72d3d0bcd9b57ac9cb75e9d5f5993ac8802778
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2023-05-18 19:24:42 +09:00
Jprimero15
8ded1d1d3e
common: sepolicy: legacy: allow surfaceflinger to search hal_graphics_composer_default
...
* 05-17 11:51:43.193 W/binder:718_2(718): type=1400 audit(0.0:296): avc: denied { search } for name="667" dev="proc" ino=60796 scontext=u:r:surfaceflinger:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=dir permissive=0
Change-Id: I4b0afddef711247963a98c0b9d48ac1d81a37138
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-18 07:33:48 +00:00
electimon
e1f1099f6d
Revert "vendor: audio: Copy audio_tuning_mixer_tavil to more paths"
...
* Not every device uses tavil based sound card, also
the tuning txt contains settings specific to the
tavil sound card so it makes no sense to copy it
on all devices.
This reverts commit 5bb9c8399f
.
Change-Id: I4fb2b9a9be435cbb8debaff2121aa5a676795eda
2023-05-18 02:42:07 +00:00
Mashopy
994059496a
sepolicy: vendor: kona: Remove duplicate entries
...
Change-Id: Ib9ea4cd6a8b3d57c1c3727f34b3d610307587a33
2023-05-14 19:46:22 +02:00
Naman Jain
2b5c9202c7
vendor: init: ueventd: set permissions to rawdump node
...
move permission setting logic from init rc file to ueventd rc file.
Change-Id: Ifbb555affd9200eb3d2fb3e405fc81a266df9f5e
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:54:40 -04:00
Vamsi Krishna Gattupalli
b4c372fc66
vendor: init: Disable cdsp daemon if cdsp defective
...
To disable cdsp daemon by checking value of node
fastrpc_cdsp_status which is set after checking if
NSP is defective.
Change-Id: Ic97aac8bf1c9fc392f96f9bb94e6f5097ce12700
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:54:19 -04:00
Pritama Biswas
454103512e
vendor: init: ueventd.qcom.rc: add permission for HDMI CEC.
...
Change-Id: I7ee3146aa0d24468061c89ce8702e8c174fbe172
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:53:48 -04:00
Chandan Gera
c5672c3d28
vendor: init: Add Permission for HDMI bridge driver
...
Add Permission for HDMI bridge driver
Change-Id: I6402686d44e7349dbc313f8b53071a7aed5a1d16
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:53:32 -04:00
Anand Abhishek Singh
8a3a1e954b
vendor: init: Remove media related property
...
This property is already set in Video HAl
Change-Id: Id0e062531c07547adf366dd0a3ccaf42e5f0b350
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:53:13 -04:00
Elliot Berman
9563ab65c9
generate_extra_images.mk: Reduce TARGET_NO_KERNEL breadth
...
TARGET_NO_KERNEL currently guards generation of more images than just
boot.img. The other images, such as persist and ramdisk are now guarded
by more appropriate individual flags.
Reduce the impact of TARGET_NO_KERNEL so that a BOARD_PREBUILT_BOOTIMAGE
can be used while still generating persist and ramdisk.
Change-Id: I08f274af62935b6dc5492c230ee517f5655c3c4d
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:52:54 -04:00
chrisl7
329ee1e6aa
vendor: init: Cleanup neo and anorak resources
...
Change-Id: I5f14b0a5a7272bc52b558b0c159af1e21811a3e5
2023-05-14 06:52:41 -04:00
chrisl7
e27d9d435e
sepolicy: Import missing SM8450 sepolicy definition from LA.VENDOR.1.0.r1-21200-WAIPIO.QSSI13.0
...
Change-Id: I17b7efdd84e3f95fd1db796473a1cc2e926619ad
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:52:21 -04:00
chrisl7
0bf43c11b1
vendor: media: Update media-prop to LA.VENDOR.13.2.1.r1-06400-DIVAR.0
...
Change-Id: I22f2f6258b456af3574343e2613530a344636086
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:52:10 -04:00
chrisl7
4eff4e10c0
vendor: perf: Update perf configs to LA.VENDOR.13.2.1.r1-06400-DIVAR.0
...
Change-Id: I11f89cb863b073b25282a534cf5fc0a3c7857bcf
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:51:55 -04:00
chrisl7
f0a254e386
vendor: init: Update kernelscripts to LA.VENDOR.13.2.1.r1-06400-DIVAR.0
...
Change-Id: I6aaa8a02be7967790590092f18b9929f0f4e5b62
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:51:18 -04:00
chrisl7
6b0f2f0e23
common: Fixup! 8c435a57c6
...
Change-Id: I53b76ae0598d882e9a933e1dbdf590bcfd60b3b3
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:51:02 -04:00
Sandeep PR
ed2005e570
vendor: init: ueventd:: Give audioserver permissions for virt-eavb
...
Change-Id: Ic4c20c4a3dd7058f3b711c2dcd63b6904ce725c4
Signed-off-by: Sandeep P R <quic_spr@quicinc.com>
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:50:50 -04:00
Sitong Chen
b5c0a1f060
vendor: init: ueventd: set permissions for virt_sndcard_ctl node
...
gsl_fe needs to access and ioctl with virt_sndcard_ctl node,
set permissions in ueventd.qcom.rc
Change-Id: If8380dbb911ede7b9d2e943402a54613b9547daa
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:50:34 -04:00
Richard Raya
5bb9c8399f
vendor: audio: Copy audio_tuning_mixer_tavil to more paths
...
- These platforms have audio_tuning_mixer_tavil.txt instead of audio_tuning_mixer.txt however there are still checks for audio_tuning_mixer.txt.
- Copy the audio_tuning_mixer_tavil.txt from these platforms to audio_tuning_mixer.txt as well to resolve the log below:
MCS-RT-CTL: Can't open the configuration file /vendor/etc/audio_tuning_mixer.txt
Change-Id: I61e743fc0cb89990b87a10a56b55c244a0ff0362
2023-05-14 06:50:18 -04:00
chrisl7
54d66a119a
vendor: charging: Add condition to use AIDL QTI healthd-ext
...
Change-Id: I55f97b28bd59dfde6c1f7bd758744b128a412aee
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:50:04 -04:00
Richard Raya
f02c874e9a
vendor: charging: Build QTI healthd-ext HIDL interfaces
...
Change-Id: I0f62499fe19ae06fe89201bdf8f344c49b81792b
2023-05-14 06:49:51 -04:00
Richard Raya
0238ca328f
vendor: charging: Move charger service to charging component
...
Change-Id: I7a10d03334711837b1d6f069c59086027e9cf119
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:49:38 -04:00
Mashopy
e6e1d5e363
sepolicy: common: Allow ueventd to search for vendor_persist_wcnss_service_file dir
...
Change-Id: Iecc01d9a61f8f8ccb2646f3a58aeffc1f7b58ee6
2023-05-11 02:09:31 +00:00
Mashopy
1cb09986ee
sepolicy: kona: Fix some sysfs_wakeup node
...
Found by SuspendSepolicyTests.sh
Change-Id: Ic9abc73025f93f2c40d69d92068c2ceabc085999
2023-05-11 02:09:19 +00:00
Gagan Malvi
db9f790ab3
vendor: perf-legacy: configs/sm6150: GameOptimizationFeature: Add MinDDR config
...
Change-Id: Ic2075501f336c94b60627a12e851e06e1a28bf4c
Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
2023-05-10 07:48:32 +00:00
Gagan Malvi
f9c15ac524
vendor: perf-legacy: configs/sm6150: perfboostsconfig: Add app resume boost
...
Change-Id: Ie71387bb0442b67d4a40afadd0ce8755856be252
Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
2023-05-10 07:48:16 +00:00
Gagan Malvi
fa2f0bc421
vendor: perf-legacy: configs/sm6150: Enable IO cgroups
...
Change-Id: I67074fd473d0faba533b12357e171c98fa7f285e
Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
2023-05-10 07:48:02 +00:00
Adithya R
096a1df50a
vendor: perf-legacy: configs/sm6150: Enable IOP v3
...
Change-Id: Ie4865b0c23cdff27da75ec743911a5e4b3899965
2023-05-10 07:47:57 +00:00
chrisl7
803ea991da
vendor: media: Revert 306d32cedc
...
[1] - C2 audio service is requesting AGM and PAL services in the logs, and this is only found in audio-ar.
Then revert bengal to media-legacy
Change-Id: Iab5eb30f8c79976ae4f4a768da4a9228a7d6d1db
2023-04-22 19:15:16 +00:00
chrisl7
754f1688e5
vendor: init: Move qrtr service to legacy.rc
...
[1] - https://gerrit.aospa.co/c/AOSPA/android_device_qcom_common/+/28602
Change-Id: I370c5c37a02714a25f3e80b224456ec86298f6df
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-17 10:42:49 +00:00
Phani Deepak Parasuramuni
9cbf5ca1d2
vendor: init: create device nodes for CMA and DMA
...
Change-Id: Ied8a09d18e989ab265276bd1391bde74d5bda195
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-17 10:38:29 +00:00
chrisl7
8c435a57c6
common: Add crow on 5.15 family
...
Change-Id: I43fa55d084b3479d8438633ebcf1b94b015c2825
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-17 10:37:58 +00:00
Taiyab Haque
6acbf169a5
dlkm: Add support for crow
...
Change-Id: I65491e625f2394bec3552d83a38961a2a9cbf9d6
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-17 10:37:31 +00:00
chrisl7
db2202c52b
sepolicy: qva: Fix vendor_qcc_trd_2 denials
...
Change-Id: Id005c897cb2b1cc77d9aa9eef9304499f29f0070
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-17 10:36:08 +00:00
chrisl7
909a0dfee4
sepolicy: qva: Add missing hvdcp sepolicy definitions
...
Change-Id: I1ddcb79c7d4de6276b65d21a14bed1689267c7a1
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-17 07:35:40 +00:00
Jake Weinstein
86bfaffa80
vendor: media: Declare QConfig 1.0 for 5.4 and VPP 2.0 for 5.4+
...
Change-Id: I22245de3a307e4bb037a2dedc05d3120bd83a1f2
2023-04-15 09:08:06 +09:00
Jake Weinstein
de64015628
vendor: display: 5.4: Add missing binaries
...
Change-Id: I14b03e1522be19ac7052f1dc160e184c42629576
2023-04-14 18:57:55 -05:00
Kunmun
b78d23cf71
system: Update to LA.QSSI.13.0.r1-09700-qssi.0
...
Change-Id: I35e0bec893488703ab8e750972bdb3fc6473a953
2023-04-13 19:04:09 +05:30
Jake Weinstein
f7cfa89c4d
system: bt: Remove prebuilt aptX libraries
...
This is open source in T QPR2.
Change-Id: I775526e30450c31b8ebb2ff4f057e021229a470a
2023-04-12 17:23:00 +00:00
Jake Weinstein
7ace9938a4
perf: msmnile/kona/taro: Do not allow foreground tasks to run on CPU7
...
Gold+ cores use significantly more power than Gold cores.
Only allow top-app tasks to run on Gold+ to save power
and prioritize the most critical threads.
Change-Id: I95e5e18dfe0e5b6818eee1c589a22959bea4868a
2023-04-12 17:20:40 +00:00
Jake Weinstein
d4929d335d
perf: Disable multiple kswapd threads
...
https://lore.kernel.org/lkml/20180403133115.GA5501@dhcp22.suse.cz/
Change-Id: Ifc72726ad3c44bc0838d78031f70971f0677cd0e
2023-04-12 13:51:58 +00:00
Jake Weinstein
74991f5d4f
perf: Wait until post-boot to lower foreground cpuset on lahaina
...
This could regress boot time.
Change-Id: I4ffabfb92b71b5d239c4f185bf9043d0c52c208e
2023-04-12 13:47:31 +00:00