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
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
Tim Murray
c2448db256
land: Add camera-daemon cpuset
...
cameraserver needs to live in its own cpuset on M/S.
Change-Id: I1f04ed17d52dffb29d8b379e387c07d0f6ab3ea6
2017-03-19 05:28:21 +01: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
8a1f0b9b23
land: let external have own format to mount and mark rw to data
...
Signed-off-by: FireLord1 <firelord.xda@gmail.com>
2017-03-18 14:43:48 +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
Darshan Manjrekar
ba354858fc
Disable force encryption
2017-03-18 14:26:19 +05:30
karthick111
8ffd29141e
land: Add support for top-app cpuset
...
Signed-off-by: karthick111 <karthickrko61@gmail.com>
2017-03-18 07:05:52 +01:00
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
Ravinder Konka
12b03f7680
land: init: Set rps mask value to 2
...
Enable rps with the mask value of 2 during the time of initialization.
Change-Id: I0f932f6e5e8372d638be2c90778bdd0bae159e76
CRs-fixed: 902473
2017-03-18 05:20:58 +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
Pavankumar Kondeti
92505e3728
land: don't load core_ctl module
...
core_ctl is now statically built with in the kernel. No need to
load it.
Change-Id: I7635d6f136ac2c791af8c49989f2db768385d6c3
2017-01-02 21:55:15 +08:00
Zhao Wei Liew
dfad696d54
land: Reformat fstab for neatness
...
No functional change.
Change-Id: Ibd04b9764c16fe2830d097748235648f15c6ee7d
2017-01-02 19:29:02 +08:00
Zhao Wei Liew
195915442a
land: Run fsck on /cache and /persist
...
These are writeable partitions, so we should fsck them.
Change-Id: If575e4aa665ae4007211731d86f1687dc22640b8
2017-01-02 19:25:39 +08:00
Zhao Wei Liew
43522be692
land: Disable atime on /data and /cache
...
Simple RO operations will touch the atime value, triggering writes.
This is bad for performance and flash lifetime.
Change-Id: I80626c8b60fbafe16cc833975cea22684343c6d0
2017-01-02 19:22:42 +08:00
Zhao Wei Liew
28693e9528
land: Remove barrier=1 EXT4 mount option
...
This is the default.
Change-Id: Ic7f2dc20882a61b2513d8516e84a3ad74653c934
2017-01-02 19:20:41 +08:00
Zhao Wei Liew
62db76181e
land: Enable F2FS support
...
Change-Id: I4a1b3eb2e18be583a4089c70943572ec19dc86a1
2017-01-02 19:14:26 +08:00
Zhao Wei Liew
49dfd1f02d
land: Switch to BFQ after boot
...
LineageOS has several UX improvements making use of BFQ's
cgroups interface. Switch to BFQ once boot is complete
to take advantage of these improvements.
Change-Id: I63299e8d2c27b207af3427ac184a2a4ff4da25f5
2017-01-02 16:49:31 +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
padarshr
140482ddf9
Add 'misc' entry in fstab.qcom
...
This change is to add misc partition entry in
fstab.qcom. This is used by uncrypt module to
write into this partition, which is then read by
recovery mode to perform appropriate action.
Change-Id: I5bdd335812085cb3d27c81d0e4325f5cd2160669
2017-01-01 13:02:53 +08:00
Zhao Wei Liew
cddbe38091
land: Remove fstab 'check' warning
...
This is obsolete as we already make use of 'check'.
Change-Id: I6685cd80722b60b295d40a9f2d057c344550d42b
2017-01-01 10:07:01 +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
Franco Rapetti
c753cb1b98
land: Allow system access to the IR blaster nodes
...
This fixes the IR blaster.
Change-Id: Iccd76cde5d0286b5c2cf9ddeb131f9a22205f427
2016-12-07 18:28:45 +08:00
Zhao Wei Liew
995de1847f
land: rootdir: Clean out init - part 2
...
Change-Id: I3819d3964f7e482fd8d0455a363399d4fc6bd83a
2016-11-11 16:18:06 +08:00
Zhao Wei Liew
a29e7c7eb5
land: Clean out bluetooth scripts
...
Change-Id: I4cd132cf99664e085053a6d2a660e03a3ee0fdda
2016-11-11 16:17:48 +08:00
Zhao Wei Liew
ae19300740
land: Properly set up low power modes on charger
...
We don't need all of the other stuff. Just disable all cores
and enable LPM.
Change-Id: I4721f9a5aa57d0523f37f7352ade8b9a2919b0d9
2016-11-11 06:59:46 +08:00
Zhao Wei Liew
f0906fbf4c
land: Set up low power modes on recovery
...
Change-Id: I3f79b5277936e4d3f0b5c0b134ea4211ab3cf920
2016-11-11 06:57:07 +08:00
Zhao Wei Liew
1db73983eb
land: Set up low power modes earlier
...
The device can get quite warm
while booting, especially duirng dexopt.
Change-Id: I0d843838b1e81fdf125ac8af65892b31124ae58d
2016-11-11 06:51:47 +08:00
Zhao Wei Liew
52b350fd29
land: Remove broken zRAM config
...
Will revisit.
Most likely MIUI's 'memory optimizations' do this
instead of using the traditional init scripts.
Change-Id: Ie168d05fa3f9fd1f5d2d995559a0bcc5cb2745d5
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
5d030db5a8
land: Allow system to write to LED blink files
...
Change-Id: I74c69b9790097f8a49b7f4db888755df09b031f3
2016-11-09 09:23:47 +08:00
Zhao Wei Liew
c98b80097b
land: Clean up init - part 1.5
...
* Remove duplicate perfd definition
* Remove invalid options
Change-Id: I7ec3a5a921f18fc280d181f199a5c587fe269096
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
7da45d1c38
land: fstab: Remove non-existent flag 'resize'
...
Change-Id: Id74edbcd6015da50e262ba5138d516594be9103a
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
f8fba85af1
land: Get rid of qti.ims.sh dependency
...
Change-Id: Icadb27a4e8db723c56f1cc67f6fcc7af750b138f
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
411294e83f
land: Check reboot reason when setting alarm_boot prop
...
Originally in early_boot.sh
Change-Id: If2ce845a28d363a2336f61cf3debac659f953172
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
36a430bf60
land: Slightly clean up init scripts
...
* Merge init.target.rc into init.qcom.rc
* Re-organise init triggers based on actual init sequence
* Clean up a little bit of whitespace
* Remove services for daemons not even present in stock
Change-Id: I6682040cfbc2aabe3886bd64f4277cc99172a7bf
2016-11-07 11:54:57 +08:00
Zhao Wei Liew
653524eee9
land: Simplify init.qcom.sh
...
Change-Id: I11e862abfb222e514afe042047924dc737592f85
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
43bb34fc21
land: Move cpuset config to power script
...
Change-Id: I9debac486fd9e15aa526538e84c1fbf7037897e6
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
a1ec7ac7db
land: Remove redundant preload
...
This is correctly handled by a board flag instead.
Change-Id: I0842a4a05965928a822717bd145c96ca496d98df
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
e3700b5f8b
land: Clean up some setprops
...
* Move them to product/
* Remove obsolete ones
Change-Id: Id0159c636f515e53a0779d9bde2923c4d3492e88
2016-11-03 18:29:13 +08:00
Zhao Wei Liew
8ccdb7d6be
land: Remove dependency on QCOM post-boot shell script
...
Refactor all the relevant stuff to init.qcom.power.rc
Change-Id: I6a4a60a8da01e392885ce302300ab0a25d8b30ad
2016-11-03 14:52:10 +08:00
Zhao Wei Liew
515c28fb0d
land: Format /data and /cache on boot if unformatted
...
Change-Id: I06a8cd48aa55f23e99d50dfebf97a9ae1c752632
2016-11-02 20:55:31 +08:00
Zhao Wei Liew
f1d6c83d5d
land: fstab: Remove discard mount option
...
Android has periodical TRIM.
Change-Id: Ib48cf718cb50f3c200f426975246872fbb559436
2016-11-02 20:24:56 +08:00
Zhao Wei Liew
ebb875566f
land: Mount partitions in fstab
...
Change-Id: Idb393988181e4cd4be840a4079b16ba45e6809c6
2016-11-01 18:05:25 +08:00
Zhao Wei Liew
84a127fdcb
land: Stop mounting /cust
...
This is only for MIUI customisations.
Change-Id: I610b3a05ddd8eb15043d8337da5dec25b04f9c2e
2016-11-01 17:38:36 +08:00
Zhao Wei Liew
b5797934fc
land: Add FM support
...
Change-Id: I5242695322946da1a526650cbb39de46cbacf677
2016-11-01 14:26:53 +08:00
Zhao Wei Liew
148b670d9a
land: Enable zRAM
...
Change-Id: I6edebe7668195de8bcb52cf7fe8fc807e083b247
2016-11-01 14:13:59 +08:00
Zhao Wei Liew
2ecbcc8276
land: Start sensors and set relevant perms
...
Change-Id: I379465f7a0bb1a8b5539861672c87d6dbcb2ffe5
2016-10-31 22:46:04 +08:00
Zhao Wei Liew
da5ee5a596
land: Set missing display perms and property
...
Change-Id: I7d710f0b5a70e776304c0d104fd0b5ce6d375fc0
2016-10-31 22:39:12 +08:00
Zhao Wei Liew
32f30a62b0
land: Start relevant services on class main
...
Change-Id: I7e287b17f44a49244d3c2a8f4f98f03a0157e068
2016-10-31 22:27:04 +08:00
Zhao Wei Liew
63b61111e2
land: rootdir: Refactor post-boot power configuration
...
This makes it such that we can be more versatile in applying
our power configuration (recovery, different init triggers, etc.)
This will not be included in init.qcom.rc until this is verified.
Change-Id: I3a721ee8f31129f80662c752c370e951a4f80c38
2016-10-31 08:51:53 +08:00
Zhao Wei Liew
b227feb407
land: fstab: Disable dm-verity on /system
...
We need to boot.
Change-Id: Icd24cf989dec0f9473380be9be71d68deb314c36
2016-10-30 23:08:23 +08:00
Zhao Wei Liew
b30637abe7
land: Mount /boot and /recovery in fstab
...
Needed by the build system.
Change-Id: I27ee18a799f3bac490f7e0763affa69fc75c1a39
2016-10-30 23:07:31 +08:00
Zhao Wei Liew
dc1dc77497
land: rootdir: Build the init scripts
...
Change-Id: I564643fa4e91d1299783d60a844bdf9c7d27b60f
2016-10-30 19:11:10 +08:00
Zhao Wei Liew
4de3706b0f
land: Add initial product makefiles and dependencies
...
Change-Id: If94ab716eb95da7cf3c5f58b1265fcf630edc5e5
2016-10-30 17:19:05 +08:00
Zhao Wei Liew
76dc8844c2
land: Add initial board makefiles and misc dependencies
...
Change-Id: Ia80204fbcdcbd2076299f92f797fa5a4f40e545c
2016-10-30 17:19:05 +08:00