Commit graph

66 commits

Author SHA1 Message Date
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
Subbaraman Narayanamurthy
a37b12a582 land: Change the permission for persist
Some of the directories under persist need to be accessed by
daemons which are running with root access. Currently only
system is allowed to access or create files under /persist.
Change the permission for persist to allow root to access and
create files.

CRs-Fixed: 1018233
Change-Id: Icbdbf5ddc329ff9627f6bcf79445b98aae942956
2017-06-27 14:20:03 +02:00
c_rrajiv
db2813351f land: cnss_diag: Restart cnss_diag during decryption
On first boot all services which belonging to main class
will get killed to perform encryption. Later on these services
will get restarted. Since cnss_diag is defined as one shot,
need to start service back at the time vold.decrypt property
is set.

Change-Id: Ib673398b892f6301b69cf4cff6e8cf17ada4620c
CRs-Fixed: 1041549
2017-06-27 14:20:03 +02:00
c_rrajiv
eba1de4fea land: cnss_diag: Update the requisite user / group preferences
This commit adds / updates the required user and group
preferences.

CRs-Fixed: 1047562
Change-Id: I74ed7fcbd73cddf06895e70234892d939a5b4ac4
2017-06-27 14:20:03 +02:00
Yuanyuan Liu
d2617443b0 land: init.qcom.rc: Add rule of stop cnss-daemon during device shutdown
Stop cnss-daemon when device shutdown. This is required by
peripheral manager as cnss-daemon vote for modem when service is
started. It needs to release vote when device shutdown.

Change-Id: I48c8bcab673280ab5f725ffdb4625994f2078b8f
CRs-Fixed: 1051868
2017-06-27 14:20:03 +02:00
Brinly Taylor
d4813acfc3 land: create directory for netmgr logging
* Needed for RIL to function.

Change-Id: Iaad382a04bada742fec35545a016b2a1e51938a4
2017-06-27 14:20:03 +02:00
Mao Jinlong
63ba9727f0 land: rootdir: init.qcom.rc: groups of charger must be in the same line
Groups of charger must be in the same line otherwise there will be
issue when parse the group.

Change-Id: I03fc9fcc0ea91476de71605e3f500ea09b88b412
2017-06-27 14:20:03 +02:00
Brinly T
6e7b6741cf land: Set permissions for fw_name for sound trigger HAL
Change-Id: Id05d28e194d7d5f5e56b1194e4e534b738e532b9
2017-06-27 14:20:03 +02:00
Hardik Kantilal Patel
275bcb3fb3 land: rootdir: init.qcom.rc: Start cnss-daemon with system privilege
Start cnss-daemon with system level permission. Add
required group as part of init script for cnss-daemon
service.

Change-Id: Icc685e9c2734ff0552d5912eb18471456774fcc8
CRs-Fixed: 1024366
2017-06-27 14:20:03 +02:00
Mao Jinlong
40353a9f75 land: rootdir: init.qcom: create /persist/time needed by time_services
Add /persist/time dir to save delta time for time_services.

CRs-Fixed: 1050321
Change-Id: I7f979266c1d3cbcd94f09c3d0b8638578f061063
2017-06-27 14:20:03 +02:00
Susheel Yadagiri
24dfc79ead land: rootdir: DPM: add readproc to supplementary group for dpmd
added readproc supplementary group for dpmd to allow
proc/pid/ access

Change-Id: I9d77968adedbba18e9ad0dfde4171833fe33eda3
CRs-Fixed: 997493
2017-06-27 14:20:03 +02:00
karthick111
d7ca5a1a58 land: rootdir: writepid cpuset for services
Signed-off-by: karthick111 <karthickrko61@gmail.com>
2017-03-21 10:58:40 +01:00
karthick111
79496ffe18 land: Run restorecon_recursive on /data/misc/sensor
Signed-off-by: karthick111 <karthickrko61@gmail.com>
2017-03-20 10:24:41 +01:00
FireLord1
479aff3bd5 Revert "land: make rild entry and update rild2 from latest aosp"
This reverts commit d8957646af.

Signed-off-by: FireLord1 <firelord.xda@gmail.com>
2017-03-20 01:44:10 +05:30
Ricardo Cerqueira
9e59bc52dc 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
Signed-off-by: PrateekChaubey <prateekchaubey123@gmail.com>
Signed-off-by: karthick111 <karthickrko61@gmail.com>
2017-03-19 16:33:31 +00:00
FireLord1
d8957646af land: make rild entry and update rild2 from latest aosp
Signed-off-by: FireLord1 <firelord.xda@gmail.com>
2017-03-18 14:49:59 +05:30
FireLord1
7c89d73ca6 land: Prevent permission denied error for telephony
Signed-off-by: FireLord1 <firelord.xda@gmail.com>
2017-03-18 14:32:35 +05:30
Pavlin Radoslavov
cc3a6170aa land: Use GID "wakelock" to control access to kernel wakelock
Bug: 25864142
Change-Id: Ief59e26ce63b341115d42d0145a43a845b1645da
2017-03-18 06:58:14 +01:00
Abhinav Kannan
dbc89d34e7 land: add system group to netmgrd process
To allow netmgrd to acquire wakelocks correctly
we need to ensure that it belongs to system group

Bug: 24546055

Change-Id: I00b9effa7351f1cd8ef9fc062de12b5276254801
2017-03-18 06:56:34 +01:00
karthick111
7a4676e0e4 land: Add perfd to root group
Signed-off-by: karthick111 <karthickrko61@gmail.com>
2017-03-18 05:25:44 +01:00
Varun Garg
c67fce9d85 land: Add perfd to readproc group
Adding perfd to readproc group, to allow
read/write access on /proc node.

Change-Id: Iab12fa67239ea831362b18d2892c4f77670a9cad
2017-03-18 05:24:55 +01:00
Nick Kralevich
8c261a3002 land: remove /mnt/sdcard symlink
Change-Id: I14eab85d45b20e13502bba17b78e4792f85d2e35
2017-03-18 05:16:54 +01:00
Lorenzo Colitti
3708bb8144 land: Delete dhcpcd init entries, since dhcpcd is no more.
Bug: 27192644
Change-Id: I3a682a96bb14977678159c5bd6ee361b92763905
2017-03-18 05:14:51 +01:00
karthick111
6c419b457d land: rootdir: Specify seclabel for bluetooth_loader
Signed-off-by: karthick111 <karthickrko61@gmail.com>
2017-03-18 05:07:36 +01:00
Zhao Wei Liew
a2147a976e land: Reduce WPA and P2P debugging
Change-Id: I8bfc377497a9d244cbcd973221cfc4c81ecd1cf1
2017-02-12 13:15:25 +08:00
Zhao Wei Liew
8aceaa92ed land: Get rid of the fm_dl service
Use the TARGET_QCOM_NO_FM_FIRMWARE flag instead to skip everything.

Change-Id: Ib6c7d24af12aadec196df6c245cd8ec686eae154
2017-02-12 07:26:25 +08:00
Zhao Wei Liew
05a90f857f land: Run wcnss_service only once
Change-Id: If221bd85cbfb3b98ccc54dfe058cbf9d84b0e17f
2017-01-03 10:58:05 +08:00
Zhao Wei Liew
2f8822331b land: Set subsystem restart to related
Xiaomi used to do this in the kernel, but it is broken in the
OSS kernel due to missing definitions.

Remove the broken kernel code and do it in userspace instead.

Change-Id: I5822cc209d969f3ada898d1bfbdace9bfdfce177
2017-01-02 14:08:06 +08:00
Zhao Wei Liew
e8c7238977 land: Stop mounting /oem
We don't need this in CM.

Change-Id: I05bb818423a033f0b61938c7f9c4be3cb67447ee
2016-12-28 19:19:36 +08:00
Zhao Wei Liew
b500fdf6da land: Update FP sensor ramdisk config
MIUI version: miui_HM3SGlobal_6.12.15_9ae6840ff8_6.0

Change-Id: Ia8eefdfe95db735d2019c5f7bab905b00623616d
2016-12-23 09:59:28 +08:00