Commit Graph

20 Commits

Author SHA1 Message Date
David Ng
15d42bb317 sdm845-common: config.fs: Add sys_boot cap to peripheral manager
Enable sys_boot capability to allow system reboot
to peripheral manager.

Change-Id: I04b67543c4d2e541b9699b6faa3337b2638b3257
2020-04-04 15:31:28 +01:00
argraur
f0a88a841e sdm845-common: IGnss: update to 2.0
Signed-off-by: argraur <argraur@gmail.com>
Change-Id: I91f04e346f23ead5f1e10a3945b14654a8fad9e1
2020-02-02 10:09:14 +00:00
Ram Chandrasekar
0995cea420 sdm845-common: config.fs: init: Add AID_VENDOR_THERMAL for thermal-engine
Add AID_VENDOR_THERMAL group, so that the clients of thermal-engine can
be in this group to gain access to thermal-engine sockets.

Change-Id: I10faf04ce1e26bbeb893e934d5d405d8815f452a
2020-02-02 10:09:14 +00:00
Brandon Solis
1dc351a163 sdm845-common: Update user for ims daemons
Change user for imsdatadaemon, imsrcsd,
ims_rtp_daemon
from AID_SYSTEM to AID_RADIO

Change-Id: I8ee1c4ff182af0d9b4ebf028e3096cfa88118287
2019-10-06 18:01:07 +02:00
Vinay Verma
1290b7c621 sdm845-common: Change ownership of /vendor/firmware_mnt/image
Reset ownership of /vendor/firmware_mnt/image to system system
as /vendor/firmware_mnt is mounted with same owner and group.

Change-Id: Ibebf44e80f4695c85be9f870fd345ed5e0937f3d
2019-09-11 12:25:34 +01:00
Bruno Martins
b6655da618 sdm845-common: Remove wcnss_filter and all references to it
* No longer needed with QTI BT stack

Change-Id: I6c30349e177613adf943f20d1f27bcd0b936911d
2019-08-05 23:11:45 +02:00
1nfrag
8d02a0b912 sdm845-common: Set caps for Broadcom GNSS stack
Change-Id: Id166772ab3242d508c8bd214e4c9a3b92dc0fae5
2019-08-01 00:28:53 +01:00
Bruno Martins
44db04e12a sdm845-common: Import QCOM init scripts
* Stripped down version of the scripts based on tag
   LA.UM.7.3.r1-06700-sdm845.0.

Change-Id: Idb2b998bdb09ccebacbc965e4c30ff5a5a9cb478
2019-08-01 00:25:02 +01:00
LuK1337
fb3ca78330 sdm845-common: Don't set custom file attributes for cnss-daemon
* CAF only sets them for /system/bin/cnss-daemon which doesn't exist.
* Fixes: cannot execve('/vendor/bin/cnss-daemon'): Permission denied

Change-Id: I74dd2fc53f5e0c5f5658328aac21ca14c6fe0828
2019-05-18 14:55:07 +01:00
Harikrishnan Hariharan
be0fd16758 sdm845-common: Start loc_launcher as gps user
Start loc_launcher as gps user and set uid/gid of loc_launcher
to gps and enable SETUID and SETGID caps for loc_launcher, so
that we can start loc_launcher as gps user instead of root and
still have capabilities for SETUID and SETGID. Also remove not
required permissions groups for loc_launcher.

Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c
CRs-Fixed: 2192881
2019-05-15 09:58:23 +02:00
Shaikh Shadul
96d21d9097 sdm845-common: config.fs: Add mapping for sensors daemon
Set filesystem configuration for sensors daemon binary.

Change-Id: I499ad9b987a43e79b8037da5761e14e97b2ef9c9
2019-02-22 22:11:03 +00:00
Baili Feng
581f14a21f sdm845-common: Allow xtwifi-client to access wake alarm
Add WAKE_ALARM for xtwifi-client
CRs-Fixed: 2109587

Change-Id: If42eb7f0890d32511e5082498f8edb9c11b72d52
2019-02-22 22:11:03 +00:00
Lalit Kansara
3d2317d0e3 sdm845-common: Prefix AID with VENDOR_
Change-Id: I560eb0fb5ca248b20765fe564139c1f7cc1dbc93
2018-09-09 01:55:46 +01:00
David Ng
27a9d74bf3 sdm845-common: config.fs: Specify firmware image files as system:system
Explicitly specify firmware image files legacy /firmware/image/*
as system:system and new /vendor/firmware_mnt/image/* as root:system

For normal boot, this is a no-op as /firmware|/vendor/firmware_mnt
is a mount point.  This change is only for development when
firmware is read-writable and allows changes via "adb push".  This
match the underlying FAT fs mount ownership of system:system or
root:system so adb push's chown will not error out.

Change-Id: I90e7528bcd21cca449cc5637d20af8dc9ccf7d3c
2018-09-09 01:54:47 +01:00
Bruno Martins
5077019bcd sdm845-common: Clean up AID/fs configuration file
* Reflect the fact that all blobs are shipped in vendor

Change-Id: Ie1846f7dbf65ddc2dc9fe8c35d23a77b41ac4fc2
2018-07-16 11:06:12 +01:00
Ankit Jain
f7c19e3f3c sdm845-common: config.fs: Add AID_RFS and AID_RFS_SHARED
Change-Id: I23adbffbe22ff622d0a6fb82290380d86c29d0e4
2018-07-16 11:58:33 +02:00
Devi Sandeep Endluri V V
805ab4701e sdm845-common: ims-rcs: Added wake_alarm capabiltiy
- imsrcsd starts alarm timers hence needs
  WAKE_ALARM capability.

Change-Id: I0e72998bab6b17ca6222e5a931d26275fa784e97
2018-07-16 11:58:16 +02:00
Mike Cailean
34fc1b5299 sdm845-common: Added BLOCK_SUPSPEND capability for xtwifi-client
Added BLOCK_SUPSPEND capability for
xtwifi-client in order to hold/release
wakelock

Change-Id: I4cf25ebe74c3f180cf2ed486fd51c13500c9bbc2
CRs-fixed: 2089569
2018-07-16 11:58:05 +02:00
Mike Cailean
c3bc5918f5 sdm845-common: config.fs: Add pd-mapper and xtwifi-client mapping
Set the fs configuration for pd-mapper and xtwifi-client
binaries.

Change-Id: I3fc60005f3bfaaff7d9dbf2ea48bf8638c426950
2018-07-16 11:57:47 +02:00
David Ng
01898c1102 sdm845-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2018-07-16 11:57:14 +02:00