Commit Graph

63 Commits

Author SHA1 Message Date
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
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
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
Mezaque Silver
6a16d964f7 sm8550-common: Update blobs from S9160ZHS6DYF1
Change-Id: I54735b2af53fae71476a2cc09a93e82a725f592c
2025-07-06 19:20:56 -03:00
Zun Qiao
5d9c711014 sm8550-common: init: Add permission for HDMI-IN bridge UXE
Add permission for HDMI-IN bridge UXE

Change-Id: Id540007a14d6e3a9e2623b7a5a9118d120c8dd83
2025-04-25 21:35:54 +08:00
Anand Jha
23700856e2 sm8550-common: init: Remove vendor.ril-daemon commands
Remove legacy rild vendor.ril-daemon services
commands as they are not used now.

Change-Id: Ib1a88d34dc73ff72f553b923e75ef084dd5d56f1
CRs-Fixed: 3890152
(cherry picked from commit 283febfaf0c1b85017f7efdd8ae35dbea73c2e89)
2025-04-25 21:35:54 +08:00
Zun Qiao
d7b86c9a8d sm8550-common: init: Add permission for DP bridge driver
Add permission for DP bridge driver

Change-Id: I5e31e61caac8b3b2f9cea6ce633136c1728ba343
2025-04-25 21:35:54 +08:00
luk1337
8413bf14e1 sm8550-common: init: Add formattable flag for /data fstab entry
Otherwise it results in broken data wipe in recovery.

Change-Id: I42bde849dc872f1d4d282c8bda3a87703c0eeebe
2025-03-27 23:41:54 +08:00
chaptsand
3d3629c638 sm8550-common: Update blobs from S9160ZHS4CXJ1
Change-Id: Icb9f1009167ee85452c87230157386dcd251e54b
2024-10-16 18:28:18 +08:00
chaptsand
11a7981ee5 sm8550-common: Using QTI USB init scripts
Change-Id: If7271d021916a9cb035a2bce734668fada3099f2
2024-10-16 05:57:44 +08:00
chaptsand
f32a033a43 sm8550-common: init: Add bind mounts for vendor firmwares
Change-Id: Ief17362b1a1e942fad64ddbb31d8861dce1852ad
2024-09-18 23:54:41 +08:00
chaptsand
c7c160757b sm8550-common: Enable double tap to wake
Change-Id: Ia18f6cca9dd29d7c702a4df11cdd67cb580ba56a
2024-09-15 13:34:42 +08:00
Bruno Martins
2a39ee573e sm8550-common: init: Enable powerhint parsing after boot completion
Change-Id: Ie065f234bfd949264b962bae80e400a446f65b80
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-09-15 13:34:28 +08:00
Wei Wang
31fa8d1612 sm8550-common: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2024-09-15 13:34:28 +08:00
chandu078
ad71570f97 sm8550-common: Switch to 64 bit only builds
Change-Id: I0e730663a0e1ad8b18cfa1163b94edf0acd64fff
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2024-08-31 19:51:29 +08:00
Mezaque
f7b02c8399 sm8550-common: Nuke vm-persist and qmcs from fstab
* E init    : [libfs_mgr] Skipping '/dev/block/bootdevice/by-name/qmcs' during mount_all
* E init    : [libfs_mgr] Skipping '/dev/block/bootdevice/by-name/vm-persist' during mount_all

This fixes the slow boot problem

Change-Id: Ic35ae826d940f9521df443b6616122a1793711cf
2024-07-29 17:17:30 +08:00
Paul Crowley
0cc67f6fe0 sm8550-common: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
2024-07-25 00:00:18 +08:00
chaptsand
eb3e1e5343 sm8550-common: Build AIDL fingerprint HAL
Change-Id: Icafb53447a132517b916b83429753ab6d5810dab
2024-07-24 00:00:48 +08:00
chaptsand
14f9a37725 sm8550-common: Configure RAM Plus
Change-Id: I19387c70498ca93f155329fdaf4c4f27a167f88f
2024-04-06 16:07:27 +08:00
chaptsand
8f2ff23c0f sm8550-common: Setup prebuilt NXP NFC stack
Change-Id: Iec022b01aa57973b7f1c54f7384e4d2c6b85b506
2024-04-06 16:07:27 +08:00
chaptsand
edd289d7db sm8550-common: init: Import changes from S9160ZHS2BXAF
Change-Id: If35c0ce7a4720ef5ebf3c405e33ae3209f529d96
2024-04-06 16:07:27 +08:00
chaptsand
4f23356c79 sm8550-common: init: Checkout to LA.VENDOR.13.2.0.r1-22400-KAILUA.QSSI14.0
Change-Id: I02932f3da7923dfc8b4fcdc04f98f89cbb610c69
2024-04-06 16:07:27 +08:00
rakegand
f01ee5ef27 sm8550-common: init: Move SPU NVM directories creation to earlier stage.
Change-Id:	Ic6d1a83c7fc7a54d6f8d78f91e5f3167dd7017fe
2024-04-06 16:07:27 +08:00
chaptsand
3d8c0f4e8c sm8550-common: init: Import mdm-helper launch script
Change-Id: I275c639f6dde12a29f0006c5fca8de46a0fda89a
2024-04-06 16:07:27 +08:00
quic_farenl
fa4495acb8 sm8550-common: init: Enable MDM Helper on kalama
Change-Id: I6531e7227d38e1c472fb646dce63bf00b545d009
2024-04-06 16:07:26 +08:00
Minghao Zhang
46195b2ddc sm8550-common: init: Add Init-Service for fan service on Kalama HHG
Add service to control fan speed and could be enabled by setting
property.

Change-Id: I17037028c506095210ee89002413adc920c29147
2024-04-06 16:07:26 +08:00
chaptsand
445eb40afe sm8550-common: Import Samsung changes over USB scripts
Change-Id: I57b0f0e3e795886132c3ea0d8fb0af5b0cfbe78d
2024-03-30 23:25:46 +08:00
chaptsand
34a3e80503 sm8550-common: Import USB scripts from vendor/qcom/opensource/usb/etc
Change-Id: Idaba4e9f46a6723a4bd5a4b7cdd47ee992ce392d
2024-03-30 23:25:46 +08:00
Adithya R
56dccb45e6 sm8550-common: init: Remove cnss_diag service
Change-Id: I759ca58e3a59ac6b8a113deb0a4e149a43a89225
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-03-11 00:00:16 +08:00
ZVNexus
058c94184d sm8550-common: init: Remove QCOM system daemon service
* For factory use only and has real performance costs.

Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2024-03-11 00:00:15 +08:00