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
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
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)
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
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
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
Update RemoteProc state user and group, so system health monitor
service can trigger a RemoteProc restart.
Change-Id: I63da50a498d15e9c98607b277a26812513553219
Updated user and group for Q2SPI UWB device.
Change-Id: I50b19e83c54a103d03707f910b62a9bc14407114
(cherry picked from commit 01d6f18dd892ce96e1ee672fb2fc831959e8aae6)
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
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
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)
* 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
No longer needed now init listens for property changes on a
separate thread.
Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288