Commit graph

95 commits

Author SHA1 Message Date
Devi Sandeep Endluri V V
0122959010 msm8937-common: Create dpm sockets via init.qcom.rc
-dpmwrapper and tcm unix domain sockets are created
from init.qcom.rc to enable socket communication in
system region.
CRs-Fixed: 2076621
Change-Id: I06dfe50f0547d6b9dc489dba5fbd9cf62c1b66b0
2018-06-29 00:03:00 +08:00
Sahitya Tummala
fb2cbf374f msm8937-common: Set ioprio for rmt_storage service
Earlier, this used to be set from rmt_storage service with
sys_admin capability. But now, that capability is dropped
off and hence, set it here in init scripts.

Change-Id: Ie8a3895c2b63da35d78fb9e571d74b735c969520
2018-06-29 00:03:00 +08:00
Bruce Levy
29c623b15f msm8937-common: Mark rmt_storage as shutdown critical
rmt_storage should not be automatically killed by Android during
shutdown since it is needed to actually process the peripheral
shutdown

Change-Id: I58a29fe86955f0abad944727bb4208dad89f495d
2018-06-29 00:03:00 +08:00
Huaibin Yang
95b673a2dd msm8937-common: rootdir: Use /data/vendor/radio for radio data folder
Use /data/vendor partition to hold vendor radio data. Modify radio
related init rc and scripts.

Change-Id: I6518e276f68d405151b1b124de6a0ca1b759d951
2018-06-29 00:03:00 +08:00
Subash Abhinov Kasiviswanathan
6e3f8d4dbf msm8937-common: rootdir: Move log location out of misc
misc location in vendor belongs to a predefined service and causes
denials due to collisions with that service. Move the logging to
process specific folders within vendor.

CRs-Fixed: 2052618
Change-Id: Ie43dee22d7dea94b87eac73bb5f2dd01f0cb9225
2018-06-29 00:03:00 +08:00
Subash Abhinov Kasiviswanathan
50acdddaea msm8937-common: rootdir: create directory for video dump
Create directory for Dump video inside vendor
data partition (data/vendor/media)

Change-Id: Icabdc8e0d4bb57ec2ba8857068fabea925d7d181
2018-06-29 00:03:00 +08:00
Dhanalakshmi Siddani
2a8e6ec33c msm8937-common: init.qcom.rc: give write permission to audio
- Audio HAL has to write to boot_adsp sysfs entry to unload image
- Add audio group to boot_adsp sysfs to give write permission

Change-Id: Ia3b40384aa42a0ad94d2e3cc1380ff4dd5a128c0
2018-06-29 00:03:00 +08:00
LuK1337
e05a1d3f0d msm8937-common: Update full radio stack to O
* CNE - from vince 8.1.0 OPM1.171019.019
* DPM - from vince 8.1.0 OPM1.171019.019
* QMI - from tissot - OPR1.170623.026
* Radio - from tissot - OPR1.170623.026
* Radio IMS - from tissot - OPR1.170623.026
2018-06-29 00:03:00 +08:00
Rajesh Yadav
ac29a09f9f msm8937-common: Add display file creation rules
Change-Id: I794631f9e624b7a829abb2e7249d3c9309735ca2
2018-06-29 00:03:00 +08:00
Ameya Thakur
bda81e4953 msm8937-common: Update the permission of the kmsg node
pd-mapper needs to be able to write the pd error string to the kmsg
buffer. It runs under the system user.

Change-Id: Ic52682f8151d10c4e6ffdc2b3ed4bc2183ebd6f6
2018-06-29 00:02:59 +08:00
RAJATH R
72bac7fdfa msm8937-common: Removing redundant permission for BT folder
Removing redundant creation and assignment of permission for
data/misc/bluetooth folder from init.qcom.rc file.

Change-Id: I941a53d01675b44fa6a5b59bcd2b72f9e6a11ab7
2018-06-29 00:02:59 +08:00
Gurpreet Ghai
45f02ce6bf msm8937-common: Create folder for Bluetooth logs/dump collection
These changes are to create folder to collect logs and
dump from Bluetooth HAL daemon.

CRs-Fixed: 2051034

Change-Id: Ib930a80aab1354ad1463a02febf71eba922e2df8
2018-06-29 00:02:59 +08:00
Prateek Chaubey
abaad87b3f msm8937-common: Move proprietary binaries to vendor 2018-06-29 00:02:59 +08:00
Luca Stefani
493cebbb09 msm8937-common: Remove fingerprint service
* Biometrics HIDL HAL impl to be added per device

Change-Id: I1a265388ef44b4eb9a1e4713fa9ccc22a20c2c36
2018-06-29 00:02:59 +08:00
Luca Stefani
c555a5ad74 msm8937-common: Remove references to hostapd
* No longer used.
* It lives in it's own rc extension now

Change-Id: I0c53cbb1ba2610aac4349b6a0e66e23c75871d27
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Bruno Martins
34640e453b msm8937-common Update second RIL daemon service
* Match the new changes introduced in O

Change-Id: I43c6fa60214ce91d6a149f15416a9f3170abfdd5
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Roshan Pius
c9d0f8fef4 msm8937-common: Change ownership of wifi firmware reload sysfs paths
This will let the wifi hal run as "wifi" user and not need root
permissions to access this path for firmware reloads.

Bug: 33435250
Test: Compiles.
Change-Id: I84a38cea5e0f729147c3191c3485a3738d7838ef
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Roshan Pius
4d45d61892 msm8937-common: Move wpa_supplicant to vendor partition
Bug: 35684372
Test: Compiles
Change-Id: I1bf1355c22f5fc4f6a68032f3b30cced91d0bfed
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Christopher Wiley
2d5f0f2f68 msm8937-common: wifi: Do not define superfluous wpa_supplicant service
Bug: 30816535
Change-Id: Iab4e212b1c2dcbb97e73945e6b807b37174e0ae0
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Isaac Chen
bc63340ec5 msm8937-common: Import device specified init script
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:01:35 +08:00
Prateek Chaubey
8600353606 msm8937-common: Remove obvious device specific files 2018-06-29 00:01:11 +08:00
Michael Bestas
0747b0f1c2 land: Switch to config based tcp buffer sizes
* Update overlay values from init.qcom.rc values
* Remove init.qcom.rc deprecated properties
* Add entry for wifi TCP buffers

Change-Id: If5e4e60096a65119d2ec3a9a0abf24cfbca5b199
2018-02-14 17:51:54 +01:00
Prateek Chaubey
8b2ee0fab3 land: ramdisk: Update from LA.UM.5.6.c1-02300-8x37.0
* restored init.target.rc
* removed old paths and services

Change-Id: Iac7ddd97989d76132a7ab252586b980976282550
2018-02-14 17:51:02 +01:00
Prateek Chaubey
91aa4f87bb land: remove dead services
Change-Id: Ib3dd89c42fb86ac7ef1f74827273c02083ade540
2018-01-28 14:39:57 +00:00
Darshan Manjrekar
efa789bf52 Revert "land: Shim old camera client to ims-camera"
This reverts commit d07a59e651.
2018-01-11 18:39:10 +05:30
Darshan Manjrekar
37c9f53270 land: rootdir: Add cpuset for leftover bins 2017-12-09 14:08:36 +05:30
Bruno Martins
f4645e088c land: Grant rmt_storage proper unix perms
Do not grant DAC override permission which would allow this daemon
unix permissions to everything.

avc: denied { dac_override } for pid=2664 comm="rmt_storage" capability=1 scontext=u:r:rmt_storage:s0 tcontext=u:r:rmt_storage:s0 tclass=capability permissive=0

Change-Id: Ib02b4aedab479f5ad8aca3a2100b5c489397002a
2017-12-09 14:02:28 +05:30
Jeff Vander Stoep
9d9aa46c82 land: Grant netmgrd proper unix perms
Do not grant DAC override permission which would allow this daemon
unix permissions to everything.

avc: denied { dac_override } for capability=1 scontext=u:r:netmgrd:s0 tcontext=u:r:netmgrd:s0 tclass=capability

Adding
wifi group to access
/data/misc/net/rt_tables
-rw-r--r--  1 system wifi   130 2016-05-11 09:58 rt_tables

wakelock group to access:
/sys/power/wake_lock
-rw-rw----  1 radio  wakelock 4096 1970-01-19 15:03 wake_lock

radio/inet groups to access
/dev/socket/netmgr/netmgr_connect_socket
srw-rw---- 1 radio inet    0 1970-01-19 15:03 netmgr_connect_socket

Change-Id: I7ed6a98dd85bf7efa8cab0b8a0851217f030ba8b
2017-12-09 14:02:28 +05:30
Bruno Martins
1fb2e3443e land: Update ril-daemon service
* Match ril-daemon in rild.rc

Change-Id: I344adb56507775fd5bf20d54046c614f93b57de3
2017-12-09 14:02:28 +05:30
Prateek Chaubey
510215bf86 Revert "land: Add IMS shim"
This reverts commit 3eadfb53b7.
2017-08-15 16:47:28 +02:00
Naveen Ramaraj
9e486dbf7b land: Drop NET_RAW and NET_ADMIN from qti
The privileges are redundant and the daemon no longer requests them

Bug: 28340421
Change-Id: I7cf7b7031ca73702c93c61d3c869ee5987a26c2a
2017-08-15 13:49:06 +02:00
karthick111
7a6ba7a338 land: rootdir: Remove net_raw & net_admin from ims* 2017-08-15 13:49:06 +02:00
Ethan Chen
f59a29ebca land: Use cpusets for all services
* Move more services to system-background
* Move camera to camera-daemon

Change-Id: Icdb634c9b69083b6a58dbef8d9045e332cd3d2a3
2017-08-15 13:49:06 +02:00
Prateek Chaubey
7069b2a85e land: Fix Fingerprint 2017-08-07 10:38:52 +02:00
karthick111
4af68972eb land: rootdir: Cleanup services 2017-08-07 10:38:52 +02:00
karthick111
8ddcba284a land: Enable zram 2017-08-07 10:38:52 +02:00
Willi Ye
d07a59e651 land: Shim old camera client to ims-camera
Change-Id: I1b52f72beb953bd957952b5b7a660c269c2ef4b3
2017-08-07 10:38:52 +02:00
karthick111
8ee9910310 land: Releasetool extension to remove fp blobs 2017-08-07 10:38:52 +02:00
Darshan Manjrekar
a63bb106bf land: Clean up unused stuffs
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2017-08-07 10:36:00 +02:00
Darshan Manjrekar
101241fd31 land: Set FP vendor through boardid
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2017-08-07 10:36:00 +02:00
Darshan Manjrekar
8c1d65a22f land: disable goodix for now 2017-08-07 10:33:28 +02:00
Darshan Manjrekar
b2c155e964 land: Update init.qcom.rc 2017-08-07 10:32:10 +02:00
Darshan Manjrekar
7663c0336e land: start FP
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2017-07-16 13:24:34 +02:00
Darshan Manjrekar
4eeea3ebb2 land: Cleanup ramdisk
* Remove FOTA.
* Remove NFC.
* Make fpc dirs.
* Disable CPUSET.
* Attempt to fix FPC & GDX.

Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2017-07-14 20:29:41 +02:00
karthick111
33532e0f8c Revert "land: Run restorecon_recursive on /data/misc/sensor"
This reverts commit 79496ffe18.
2017-06-28 19:42:31 +02:00
LuK1337
ef5e484d7b land: Add libc hax for camera
* See : https://review.lineageos.org/#/c/1170/

Change-Id: I040c3023f81322140d153cb14be9578457777ac2
2017-06-27 19:27:41 +02:00
Alberto97
3eadfb53b7 land: Add IMS shim
Change-Id: I96d0a5ef9391cdf7b211e62300391eb8b931a712
2017-06-27 19:26:29 +02:00
Ricardo Cerqueira
cd719e44db land: fm: Use the FM service states to control state
Instead of using the BT state, trigger control operations from the
actual FM service state

Change-Id: Ib8edd47e8dd2ac7393ca3f0c8b903148bea743d6
2017-06-27 14:20:03 +02:00
Abhimanyu Garg
f21daa6c76 land: init.qcom.rc: create iop socket
Create the socket for IOP so we can remove the old socket paths.

Change-Id: I03fe5d882e7dcb3152e92b3d1078794263fda944
2017-06-27 14:20:03 +02:00
Banajit Goswami
4e355a444b land: init.qcom.rc: Update ownership for WDSP sysfs node
Sound trigger HAL needs to write to the WDSP sysfs
node to load WDSP image. Update ownership from root
to media:audio for this node.

Change-Id: Iefe889ffd21bba154875f71cf55f4a571d88f9fb
2017-06-27 14:20:03 +02:00