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