Machad3x
74cf97bdb2
sm8550-common: Define missing HALs in FCM
...
The following HALs in device manifest are not declared in FCM <= level 7:
android.hardware.biometrics.fingerprint.IFingerprint/default (@4)
android.hardware.bluetooth.audio.IBluetoothAudioProviderFactory/default (@4)
android.hardware.power.IPower/default (@5)
android.hardware.sensors.ISensors/default (@2)
android.hardware.usb.gadget.IUsbGadget/default (@1)
android.hardware.wifi.IWifi/default (@2)
android.hardware.wifi.hostapd.IHostapd/default (@2)
android.hardware.wifi.supplicant.ISupplicant/default (@3)
COMPATIBLE
2025-07-15 21:30:46 -03:00
Adithya R
41bb446a75
sm8550-common: sepolicy: Allow system_server to write to tmpfs and zygote tmpfs
...
This denial is hit frequently on some device(s):
W CachedAppOptimi: type=1400 audit(0.0:146): avc: denied { write } for dev="tmpfs" ino=3073 scontext=u:r:system_server:s0 tcontext=u:object_r:zygote_tmpfs:s0 tclass=file permissive=0
W CachedAppOptimi: type=1400 audit(0.0:7910): avc: denied { write } for dev="tmpfs" ino=1108 scontext=u:r:system_server:s0 tcontext=u:object_r:tmpfs:s0 tclass=file permissive=0
Change-Id: I6a08aa2c042f2d10fdeeefcd1f5f65ac844adf11
2025-07-15 21:30:46 -03:00
Machad3x
50972758d9
sm8550-common: Address some binder call denials to system_app
...
W com.android.settings: type=1400 audit(0.0:4743): avc: denied { call } for comm=4173796E635461736B20233130 scontext=u:r:system_app:s0 tcontext=u:r:hal_fingerprint_default:s0 tclass=binder permissive=0
W com.android.settings: type=1400 audit(0.0:4744): avc: denied { call } for comm=4173796E635461736B20233130 scontext=u:r:system_app:s0 tcontext=u:r:hal_audio_default:s0 tclass=binder permissive=0
W com.android.settings: type=1400 audit(0.0:4745): avc: denied { call } for comm=4173796E635461736B20233130 scontext=u:r:system_app:s0 tcontext=u:r:hal_camera_default:s0 tclass=binder permissive=0
W com.android.settings: type=1400 audit(0.0:4746): avc: denied { call } for comm=4173796E635461736B20233130 scontext=u:r:system_app:s0 tcontext=u:r:vendor_hal_gnss_qti:s0 tclass=binder permissive=0
W com.android.settings: type=1400 audit(0.0:4747): avc: denied { call } for comm=4173796E635461736B20233130 scontext=u:r:system_app:s0 tcontext=u:r:hal_health_default:s0 tclass=binder permissive=0
W com.android.settings: type=1400 audit(0.0:4748): avc: denied { call } for comm=4173796E635461736B20233130 scontext=u:r:system_app:s0 tcontext=u:r:hal_memtrack_default:s0 tclass=binder permissive=0
W com.android.settings: type=1400 audit(0.0:4749): avc: denied { call } for comm=4173796E635461736B20233130 scontext=u:r:system_app:s0 tcontext=u:r:hal_power_default:s0 tclass=binder permissive=0
2025-07-15 21:30:46 -03:00
Bruno Martins
04419dcc81
sm8550-common: init: Override QTI audio rpc daemon service definition
...
The rpc daemon doesn't support loading ADSP libs from odm partition,
therefore locally set environment variable ADSP_LIBRARY_PATH to allow
that to happen, just like stock does.
Just as a sidenote, during early bringup phase the quick workaround
was to move the relevant blobs from odm to vendor, but then ditched
in favor of copying the stock script. Now, instead of copying it,
simply override the service definition and avoid one duplicate copy
rule.
Change-Id: Ic78536afda4f86ea589e57adf496b4db8256aea1
2025-07-15 21:30:46 -03:00
AdarshGrewal
9305a597e2
sm8550-common: Sync vsync work duration with gs201
...
Change-Id: I2afe6670b5826500d0036a31e5161032507313a4
2025-07-15 21:30:46 -03:00
Machad3x
44a9deba14
sm8550-common: sepolicy: Address Health HAL denials
...
02-08 08:14:53.013 1301 1301 W android.hardwar: type=1400 audit(0.0:5781): avc: denied { read } for name="type" dev="sysfs" ino=131672 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
02-08 09:37:59.333 1312 1312 W android.hardwar: type=1400 audit(0.0:4052): avc: denied { open } for path="/sys/devices/platform/soc/9c0000.qcom,qupv3_i2c_geni_se/9a0000.i2c/i2c-38/38-0066/max77705-charger/power_supply/max77705-charger/type" dev="sysfs" ino=132029 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
02-08 09:37:59.333 1312 1312 W android.hardwar: type=1400 audit(0.0:4053): avc: denied { open } for path="/sys/devices/platform/soc/9c0000.qcom,qupv3_i2c_geni_se/9a0000.i2c/i2c-38/38-0057/power_supply/pca9481-charger/type" dev="sysfs" ino=122512 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
02-08 09:37:59.333 1312 1312 W android.hardwar: type=1400 audit(0.0:4054): avc: denied { open } for path="/sys/devices/platform/soc/9c0000.qcom,qupv3_i2c_geni_se/9a0000.i2c/i2c-38/38-0066/max77705-charger/power_supply/max77705-otg/type" dev="sysfs" ino=132066 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
02-08 09:37:59.333 1312 1312 W android.hardwar: type=1400 audit(0.0:4055): avc: denied { open } for path="/sys/devices/platform/soc/9c0000.qcom,qupv3_i2c_geni_se/994000.i2c/i2c-37/37-0038/power_supply/mfc-charger/type" dev="sysfs" ino=118249 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
02-08 09:37:59.333 1312 1312 W android.hardwar: type=1400 audit(0.0:4056): avc: denied { open } for path="/sys/devices/platform/soc/9c0000.qcom,qupv3_i2c_geni_se/9a0000.i2c/i2c-38/38-0066/max77705-fuelgauge/power_supply/max77705-fuelgauge/type" dev="sysfs" ino=130125 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
02-08 09:37:59.337 1312 1312 W android.hardwar: type=1400 audit(0.0:4057): avc: denied { open } for path="/sys/devices/platform/soc/9c0000.qcom,qupv3_i2c_geni_se/9a0000.i2c/i2c-38/38-0066/max77705-charger/power_supply/max77705-charger/type" dev="sysfs" ino=132029 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
22
2025-07-15 21:30:46 -03:00
EmanuelCN
8ed6c916ef
sm8550-common: Override cgroups.json & task_profiles.json
...
* In order to allow uclamp kernels to place tasks correctly
2025-07-15 21:30:46 -03:00
Giovanni Ricca
101a25dd2d
sm8550-common: Copy audio policy volumes from AOSP
...
> audio_policy_volumes.xml: Contains extra volume streams.
Change-Id: I491d015dd0e64bc778fa3ba0d54b76d4efc876ac
2025-07-15 21:20:03 -03:00
Mezaque Silver
40bf1728d9
sm8550-common: Add audio AIDL entries
...
Change-Id: If85ffc885edbd7aa4414ed3e61fce0e9eac21339
2025-07-14 13:41:28 -03:00
Machad3x
469d576313
sm8550-common: Decommonize bluetooth blobs
...
* Fix bluetooth issues for some devices
Change-Id: I21b8e5f5491fe70bdf2ac2eaff2343b54ea2a553
2025-07-14 13:34:21 -03:00
luk1337
cf3367a189
sm8550-common: Reserve more space on /product
...
Change-Id: I25884eb89ea7d4cbe2b82504c21c83c8513095aa
2025-07-12 08:37:46 -03:00
Michael Bestas
1605860032
sm8550-common: Inherit common partition reserved sizes
...
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2025-07-12 08:37:46 -03:00
Grace Chen
fac1184b5c
sm8550-common: overlay: Config overlay to support 2 physical slots
...
Bug: 197989438
Test: Confirm sim configuration.
Change-Id: I3972e0456d8034517cc4224ef786a9292439a8b9
2025-07-12 08:37:46 -03:00
Bruno Martins
d27d73e659
sm8550-common: Copy original card-defs and usecaseKvManager configs
...
This also introduces CONFIG_HAL_SRC_DIR and CONFIG_PAL_SRC_DIR
for copy rules simplification.
Change-Id: I55868a6353fe508552dade2df901bcd3bf9b3189
2025-07-12 08:37:46 -03:00
Kamesh Relangi
e8baf13a49
sm8550-common: Remove qcrild start/stop from the framework init script
...
Change-Id: Ie5d2c6ae27855c88af622f946e07c14c5704a1da
CRs-Fixed: 3784386
2025-07-12 08:37:46 -03:00
Shrikara B
d16ec83d2d
sm8550-common: init: Set media_variant properties
...
Set system side media_variant properties based on
target_variant property. This is done in vendor_init
context since media_variant properties can only be
set by vendor_init.
Also, set the target_variant property for kona in
early_boot script.
Change-Id: I0aee83dacd1888867c90c8bf8e340e265ec203f7
2025-07-12 08:37:46 -03:00
Rajat Yadav
3f35a40a8e
sm8550-common: init: Add a vendor directory for audio data collector
...
Add /data/vendor/audio/audio_collector sub-directory for audio use.
Change-Id: Ic3236611fb5bb15b666034e1579a44ed8372d2cd
2025-07-12 08:37:46 -03:00
Anjelique Melendez
880748ed9e
sm8550-common: ueventd: Add group permissions for LED repeat and hw_pattern sysfs
...
Add group permissions for LED device pattern trigger's repeat and
hw_pattern sysfs files.
Change-Id: I95492e7305107776c3dc0f610ea6fec5c5a6d12d
2025-07-12 08:37:46 -03:00
Wesley Cheng
aa886490f3
sm8550-common: ueventd: Modify DWC3 MSM mode file settings
...
In order for the USB HAL to issue a USB port reset, the ownership for the
mode sysfs path needs to be under the system usb group.
Change-Id: I8c330206c40b9c355fbe2f9beba0dde406026912
(cherry picked from commit 9daea1b9f6ce27f72e5b8e2a05bb7ae30acdb49d)
2025-07-12 08:37:46 -03:00
Wesley Cheng
88ce57ae4e
sm8550-common: ueventd: Modify USB root hub authorize setting
...
Change the ownership of the authorize file to allow the USB bus reset audio
recovery mechanism in the USB HAL to work. This only modifies the
ownership of the USB root hubs that are present on the system. For all
other connected devices, the default ownership is fine, as the recovery is
only allowed on direct connection to the USB root hub.
Change-Id: Idbce78b52054f75c09891aa1c1c827dda60f1d0a
2025-07-12 08:37:46 -03:00
Jack Pham
e46e4d58f4
sm8550-common: ueventd: Change ownership of USB device power control settings
...
Change ownership of USB devices' power autosuspend, control and wakeup
file nodes to system user and usb group. This allows the USB HAL
running as non-root to dynamically enable autosuspend for enumerated
devices.
Change-Id: I92806107a46ea0256cef5f211e7ea910541f1705
2025-07-12 08:37:46 -03:00
Anjelique Melendez
bca43271cb
sm8550-common: ueventd: Add group permissions for haptics class sysfs files
...
Add group permissions for haptics class visense_enabled and
primitive_duration sysfs files.
Change-Id: I1796b991bb79b4da8b524e35612a3f1928db7d83
2025-07-12 08:37:46 -03:00
Jack Pham
d40dd074e5
sm8550-common: ueventd.qcom.rc: Reassign Type-C sysfs node ownership
...
Assign the /sys/class/typec/port0 entries for data and power
role switching to system / usb ownership to allow the USB HAL
to run as non-root and write to these nodes.
Change-Id: I6317a5e6ef99179570e87705cd43a8fa667f0d03
2025-07-12 08:37:46 -03:00
Phani Deepak Parasuramuni
6c57ca3875
sm8550-common: Add ipa_events node permissions
...
Change-Id: I448bfeb9e575b1c8acc929b7eefb3ad4ae024ef1
2025-07-12 08:37:46 -03:00
Huang Yiwei
6d7fec7bc8
sm8550-common: ueventd: Update RemoteProc state user and group
...
Update RemoteProc state user and group, so system health monitor
service can trigger a RemoteProc restart.
Change-Id: I63da50a498d15e9c98607b277a26812513553219
2025-07-12 08:37:46 -03:00
Umesh Vats
5093a04945
sm8550-common: UWB: Update Q2SPI device user and group
...
Updated user and group for Q2SPI UWB device.
Change-Id: I50b19e83c54a103d03707f910b62a9bc14407114
(cherry picked from commit 01d6f18dd892ce96e1ee672fb2fc831959e8aae6)
2025-07-12 08:37:46 -03:00
Shashank Sivakumar
8ff5de79ea
sm8550-common: Add permission for gunyah node
...
For AVF, the permission for the /dev/gunyah node is set in the ueventd
file.
Change-Id: Id8ce809c744bac4be70f8bbfd65c39f3703d82fa
2025-07-12 08:37:46 -03:00
Ekansh Gupta
b6045c7473
sm8550-common: ueventd: Add fastrpc upstream driver device permissions
...
Add rwx permissions for fastrpc upstream device node.
Change-Id: I9d178f8af63406d8aebfc19556d4604ee9ff3dc1
2025-07-12 08:37:46 -03:00
Chris Goldsworthy
2a76ca1a8c
sm8550-common: ueventd: Add ueventd policies for the SMMU proxy device
...
Add ueventd policies for the SMMU proxy device.
Change-Id: I88037bb152bc4daf74e6b2c3f95214145425cb3d
2025-07-12 08:37:46 -03:00
Himanshu Shukla
a022e23089
sm8550-common: Add device node for IMS
...
Desc: Add device node for Data Channel sub wise
Change-Id: I2a77d860f347c7217876cd69b0eadd0510ca0d0c
2025-07-12 08:37:46 -03:00
Satish Kumar Kodishala
efd4682f7f
sm8550-common: Add permissions for btfmswr node
...
Add permissions for btfmswr node to be
able to access from FTM.
CRs-Fixed: 3794899
Change-Id: Ib4d5f0fbba261439ed931aae4e73b21ca43bc9c6
2025-07-12 08:37:46 -03:00
Rama Krishna Nunna
293b201063
sm8550-common: ueventd: Add UBWCP permission for Camera
...
- Add permission for the new ubwcp device.
Change-Id: I9e5954cdd40391b9f98531a78fa5cf1d0abc32a3
2025-07-12 08:37:46 -03:00
Vineet Kandunuri
7d3cc01ee0
sm8550-common: Remove vendor sensors initialization from early-boot.
...
Change-Id: Iec7612a723efe4015a0bab440b90ea380a52f75d
2025-07-12 08:37:46 -03:00
Arthur Shuai
0f793b9c5d
sm8550-common: Add verity_update_state on early-boot.
...
Change-Id: I25f802ce6cd6dfc032a9f759478e23db2553f510
2025-07-12 08:37:46 -03:00
Benergy Meenan Ravuri
8099fbfa17
sm8550-common: Move soc model property to qcv utils
...
Move soc model property to qcv util
Change-Id: I51f698e662fee1db731e1781965e8736b60f6364
CRs-Fixed: 2937993
2025-07-12 08:37:46 -03:00
Luka Panio
5d221e1312
sm8550-common: Decommonize blobs
...
* Mssing from q5q
Change-Id: Id9f748bc34d62ae25a28e11988ac94f6180b678a
2025-07-12 08:37:46 -03:00
mifl
4ea48348d0
sm8550-common: Remove duplicate audio flag.
...
TARGET_USES_QCOM_MM_AUDIO is enable by default.
https://review.lineageos.org/#/c/180752/
Change-Id: I098e441ee8999246312bb49bd94be5da5c9dd5b9
2025-07-06 23:18:27 -03:00
Chris Goldsworthy
f3714825da
sm8550-common: init: Remove redundant mlock() limit setting
...
The per-process limit for the mlock() family of system calls only
needs to be set in one group of config files. Remove from here as it
is being set in init.qcom.rc .
Change-Id: Ia7d46800eabe2954e3e2618a38ff180c88fee348
2025-07-06 23:18:27 -03:00
Chris Goldsworthy
5f2aba5bc6
sm8550-common: init: Reduce mlock() limit to 64 KB
...
Reduce the per-process limit of the mlock() family of system calls to
64 KB on account of a new CTS requirement.
Change-Id: I211668956bb6098e87cb7ef68bb7f1510d93d76f
2025-07-06 23:18:27 -03:00
Sai Priyanka Thirukkovela
351effd9f3
sm8550-common: Add head_tracker to permissions for spatial audio
...
copy android.hardware.sensor.dynamic.head_tracker.xml to
permissions for dynamic spatial audio
Change-Id: I69a3802deadba3479f8c2a7c07fdeef73e9cb6b8
2025-07-06 23:18:27 -03:00
Bruno Martins
e3c2aef14d
sm8550-common: Build QSPA AIDL HAL
...
Change-Id: Ibd11c9d6c168aeb6a78bfc8166b1f320b0d0cfa1
2025-07-06 23:18:27 -03:00
Bruno Martins
ac77d67ad9
sm8550-common: Move and recategorize compat matrix and manifest flags
...
Qualcomm also sets these in (common) product makefiles.
Change-Id: I7139cba92454106fbca5f6105b966a43e70fe9d6
2025-07-06 23:18:27 -03:00
Bruno Martins
21be573430
sm8550-common: Build more audio blobs from sources
...
Change-Id: I6c05826778c05ef14f7e4fbdbf40a1cd73e68bf5
2025-07-06 23:18:27 -03:00
Lorenzo Colitti
918acecd1b
sm8550-common: Delete dhcpcd init entries, since dhcpcd is no more.
...
Bug: 27192644
Change-Id: I1aa25190c07f027884421d91c1e93f214493382d
2025-07-06 23:18:27 -03:00
Ethan Chen
c7d9f66130
sm8550-common: Remove wigig components
...
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
2025-07-06 23:18:27 -03:00
Bruno Martins
1c8d576d3b
sm8550-common: Don't explicitly build libwpa_client
...
ELF checks have been enabled.
Change-Id: I4966370aef38f9e9459ba5813c598798b001d6ba
2025-07-06 23:18:27 -03:00
Nolen Johnson
44ed3fa211
sm8550-common: Don't declare BOARD_VENDOR
...
* Only matters when it differs from the device OEM.
Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2025-07-06 23:18:27 -03:00
Mezaque Silver
6a16d964f7
sm8550-common: Update blobs from S9160ZHS6DYF1
...
Change-Id: I54735b2af53fae71476a2cc09a93e82a725f592c
2025-07-06 19:20:56 -03:00
chaptsand
5eee35d65f
sm8550-common: Update blobs from S9160ZHU6DYD9
...
Change-Id: Ib58a411bbcace692d4cbbd6773f352a18ed0ec4a
2025-05-12 22:54:49 +08:00
chaptsand
f8852e9c4e
sm8550-common: Enable Remote Key Provisioning (RKPD) support
...
E keystore2: IGetRegistrationCallback failed: 'RemoteException: RKP is disabled. System configured with no default URL.'
W keystore2: Error occurred while trying to access IRegistration service.
Caused by:
- GetRegistrationCallback failed: "RemoteException: RKP is disabled. System configured with no default URL."
- Failed to get registration
keystore2: Have a great day!
Change-Id: I1cc2b5e645b076cb9e4445a9b16c7e28045f5427
2025-04-28 16:28:26 +08:00