ro.boot.hardware.revision is used in fastbootd UI, getvar hw-revision
output and Settings app.
Set based on the SKU version so external tools can use it to flash
the correct firmware variant and show the HW variant in Settings.
Change-Id: Ia3a6bfdca9dc60d86fb81e5bac526813e037d13e
- According to arter97 it is a regression.
- Currently limiting to Uclamp devices to monitor regressions
This reverts commit a48b2eecf0.
Signed-off-by: Ghosuto <clash.raja10@gmail.com>
Making these partitions erofs saves ~641MB, which lets us reserve
significantly more space on /product.
Change-Id: I88984f6137c0bc9f01da742a7a485445c2162157
Add haptics node permissions for audio hal to read the haptics
V and I Scale trim register values stored in haptics sysnode.
Change-Id: I07e1e0ebee6d1af47255159fcc5969f05d3ef273
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Add permissions for btfmswr node to be
able to access from FTM.
CRs-Fixed: 3794899
Change-Id: Ib4d5f0fbba261439ed931aae4e73b21ca43bc9c6
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Update RemoteProc state user and group, so system health monitor
service can trigger a RemoteProc restart.
Change-Id: I63da50a498d15e9c98607b277a26812513553219
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Add group permissions for haptics class visense_enabled and
primitive_duration sysfs files.
Change-Id: I1796b991bb79b4da8b524e35612a3f1928db7d83
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Desc: Add device node for Data Channel sub wise
Change-Id: I2a77d860f347c7217876cd69b0eadd0510ca0d0c
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
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)
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Updated user and group for Q2SPI UWB device.
Change-Id: I50b19e83c54a103d03707f910b62a9bc14407114
(cherry picked from commit 01d6f18dd892ce96e1ee672fb2fc831959e8aae6)
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Add group permissions for LED device pattern trigger's repeat and
hw_pattern sysfs files.
Change-Id: I95492e7305107776c3dc0f610ea6fec5c5a6d12d
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
For AVF, the permission for the /dev/gunyah node is set in the ueventd
file.
Change-Id: Id8ce809c744bac4be70f8bbfd65c39f3703d82fa
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
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
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
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
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
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
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
- Add permission for the new ubwcp device.
Change-Id: I9e5954cdd40391b9f98531a78fa5cf1d0abc32a3
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Add entry for the sysfs dynamic_disable at
/sys/bus/platform/devices/a600000.ssusb which is written by
UsbSecure.cpp in userspace and read by dwc3-msm-core.c in kernel to
enable/disable USB peripheral.
Change-Id: Ia37a89a756c1edf2a8c9c2a1057df523b098231c
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Trust zone GPT service listener needs to access UFS LUN4 BSG device to
perform raw partition access, hence its change owenership so that it can
be accessed without root permissions.
Change-Id: I97fac4c47c537a07d3e5fc3920e9e13a7fe5d092
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
The UFS clkscale, clkgate and ah8 had been disabled during boot
time and enabled them back after boot completion to help reduce
the total boot time.
However, in power-off charging mode, due to UFS LPM being disabled,
the overall power consumption increases. If charging with 500mA SDP,
the input current would not enough to supply system power consumption.
This change is to eanble back UFS LPM on power-off charging mode.
Change-Id: If48a15b39505ac3f12b902aad85dca553c3001a2
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Disable cdsprpcd daemon for ravelin soc_ids
as the CDSP subsystem not supported.
Change-Id: I698670219ffc88a8d3d07e5cd60c52e3a1050e1e
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
On CAF, the ro.media.xml_variant.codecs is used for both codecs and
profiles.
media_profiles_vendor.xml does not exist on stock, even if
media.settings.xml is set to /vendor/etc/media_profiles_vendor.xml.
Setting media.settings.xml on CAF shortcircuits the loading to
check /vendor/etc/media_profiles + ro.media.xml_variant.codecs + .xml.
Setting ro.media.xml_variant.codecs on CAF makes it load
/vendor/etc/media_codecs + ro.media.xml_variant.codecs + _vendor.xml.
ro.media.xml_variant.codecs is set by init.qti.media.sh.
Setting ro.media.xml_variant.profiles on AOSP makes it load
/vendor/etc/media_codecs + ro.media.xml_variant.profiles + .xml.
Remove all unused media codecs, and switch to stock media codecs
while using AOSP logic by renaming media_codecs_cape_vendor.xml to
media_codecs_cape.xml.
Change-Id: Ibbea90ecb63b0cb611d50fbb6e7cbfa5f2d4d9d6
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
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
Signed-off-by: Chandu078 <chandudyavanapelli03@gmail.com>
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
Signed-off-by: Chandu078 <chandudyavanapelli03@gmail.com>
needed for using EdgeTpu.
Due to this code goes to AOSP, please see CL details and test result in
b/289097511#comment24.
Bug: 289097511
Change-Id: Ie0969309346cd85b4bb8ac71860a529710c73345
While implementing the capo nanoapp for audio configuration, we met
some chre socket connected error due to the access group denied.
Add context_hub group for audio hal to connect chre socket.
go/capo-algo
Bug: 141128522
Bug: 149069556
Test: FULL build with audio hal part and local prebuilts nanoapp.
Test: Audio HAL communicates normally with CHRE socket.
Change-Id: Iea84411682f4c3e08f8b37a5b21818b0e9b04983
time_daemon starts from its own init rc
init: processing action (ro.crypto.state=encrypted && ro.crypto.type=file && post-fs-data) from (/vendor/etc/init/init.time_daemon.rc:7)
init: starting service 'time_daemon'...
Fixes:
ignored duplicate definition of service 'time_daemon'
Change-Id: Ia92d88eb2ec9696bc8ce075e74833cde572cb1e1