Jake Weinstein
2b26f89854
common: system: Update to LA.QSSI.13.0.r1-10000.02-qssi.0
...
Change-Id: I36448a0b42a903056ca1a52fff4886c474dd3e03
2023-06-17 17:49:34 +09: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
c82350882a
common: sepolicy: legacy: allow qti_init_shell to write on watermark_scale_factor
...
* https://github.com/AOSPA/android_device_qcom_common/blob/topaz/vendor/init/init.qcom.post_boot.sh#L824
Change-Id: I66139b318596d54dcb811620a2c4ecf8950b3b44
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-06-02 13:46:16 +00:00
Jprimero15
ce7c22c056
common: sepolicy: legacy: define wcnss_persist_file
...
Change-Id: I8068109c5abd85d390e9f93877186e991df0af9f
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-31 08:19:25 +00:00
Jprimero15
384d73e77c
common: sepolicy: legacy: define proc_boot_reason
...
Change-Id: I24f29c536503fc45f12b036ec2a96eb2d413ea23
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-31 08:19:25 +00:00
Ahmed Harhash
2751d5571c
sepolicy: vendor: kona: Remove duplicate wakeup entries
...
Change-Id: I013f96dc9d2ec8dfef06f667fc9348e7d11ff3aa
2023-05-29 05:02:25 +03:00
Jprimero15
6c657541a4
common: sepolicy: legacy: More init denial fixes
...
Change-Id: Ia651fe66461e9ca7c915af3c3553c2f23fdaf8ec
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-28 01:30:23 +00:00
Jprimero15
a296eb57a5
common: sepolicy: legacy: More WIFI HAL denial fixes
...
Change-Id: I9f736317b8157838a65e3107d8c6aceb29a045a9
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-28 01:30:04 +00:00
Jprimero15
d41d3eb369
common: sepolicy: legacy: Label QTI GNSS HAL
...
Change-Id: I40207d672743bf367b21cd6f2453a1f8aee69993
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-28 01:29:52 +00:00
Jprimero15
83ca0e2869
common: sepolicy: legacy: allow qti_init_shell to read boot_reason
...
[ 15.742123] type=1400 audit(4539769.653:274): avc: denied { read } for comm="cat" name="boot_reason" dev="proc" ino=14760 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:proc_boot_reason:s0 tclass=file permissive=0
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
Change-Id: I0014b14ae63a11123b827be4e3bcab16cfdb7484
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-28 01:29:41 +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
9db506c58d
common: sepolicy: legacy: Label init.qti.chg_policy.sh
...
* should not be limited to sdm710 and sdm845 because this is needed for charging component
* follow the format of other qti init shell labeling
Change-Id: Ie05fddd1dbf8e5789831f6ec5c7450607705b4f4
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-27 06:51:41 +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
Kumar Anurag Singh
0100f737fd
vnedor: init: ueventd.rc: Add permissions for msm_lsm cdev
...
permissions are required for sthal communication
with kernel module to work.
Change-Id: I6f3daed36d20f70ce0fb789cc9142a4cd5a3923f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-25 21:30:46 +00:00
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