Commit graph

117 commits

Author SHA1 Message Date
Isaac Chen
2ee2381a25 land: Move camera to vendor
* Requires following hex edits:
sed -i "s|/system/etc/camera|/vendor/etc/camera|g" vendor/lib/libmmcamera2_sensor_modules.so
2018-07-08 00:00:40 +08:00
Prateek Chaubey
b1bcffd829 land: switch to msm8937-common 2018-06-28 18:59:40 +02: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
Chongkai Zhu
a018167757 land: Disable inline xattr feature for F2FS formatted /data
* This is causing kernel panics since the latest F2FS updates
   (https://github.com/LineageOS/android_kernel_xiaomi_msm8937/commit/cd14a2cf20c)

Change-Id: I356fe89bd8927acf4ed5cbb037185f81f2e91d3e
2018-02-10 18:24:18 +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
TheStrix
7bff5b2a37 land: Add KeyDisabler
* Use common procfs node for it (/proc/touchpanel/capacitive_keys_enable)

Change-Id: I18fa56ca7f1409df37c15482cd8894345da09c03
2017-12-27 14:41:31 +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
Steve Kondik
57529f46ec land: Give additional cores to background cpuset
* When a device with hundreds of apps is booted up, hundreds of
   apps will spawn their BOOT_COMPLETED receivers which start
   up their background initialization services. Since only one
   core is allowed for these processes, the time for all these
   services to complete is extremely long.
 * To improve this, allow three cores for background processes,
   keeping the fourth for idle wakeups. This ends up producing
   a better thermal profile for the device as well, since the
   small cores are not the aggressor on this SoC.

Change-Id: I98bbf8bf565bd77066ff7726014e6fa5730a4e09
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
Zhao Wei Liew
eafa76a130 land: Add support for top-app cpuset
Change-Id: I8a8540313572a4d109c06d0de11c1dd6a7b50f5a
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
Alberto97
9be5527978 land: fstab: Add zramstreams
Change-Id: I7035f3d8656197310a8b38f138356cfd7a43be2f
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
karthick111
6761adcd9c land: rootdir: Disable core_ctl
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2017-08-07 10:38:52 +02:00
karthick111
0ce4456bbb land: power script based on karate 2017-08-07 10:38:13 +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
karthick111
4f9c0bc174 land: rootdir: Enable power_efficient workqueue 2017-08-07 10:36:00 +02:00
karthick111
af9cbc86bc land: rootdir: Change bt script permission 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
Darshan Manjrekar
88634ecd38 land: Disable corectl & cpusets
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2017-06-27 19:39:30 +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