CM12 doesn't have a KSM setting in performance settings anymore.
KSM should be configured and enabled on device basis.
Change-Id: I98a0cbe1b01a659eb28bcd459be55d78a88bda86
TCP delayed ack settings are expected to be modified when the
Wifi or LTE connection is established and the configurations
will be reverted back when the Wifi connection is terminated.
The change also modifies the /sys/kernel/ipv4/tcp_delack_seg
and /sys/kernel/ipv4/tcp_use_useconfig file owner to "system"
Requires: https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/?h=kk_2.7-stable&id=73989a4b345bba0efca96cc86b0258e83884ff63
Change-Id: I008e36931752d6db29454c5ce41e3cfe19b15ecb
* Various tools might want to use these values without writing to
them. Set world readable for all nodes.
Change-Id: I5521ca0104e9f21b2e3fdb3469485f887ee50f28
* Remove all this stuff. If a device wants ZRAM, it should be
enabled by the maintainer and properly configured and tuned.
* This stuff currently causes a conflict with the ZRAM support
added in Kitkat. Kill it.
Change-Id: Ib2488ea4463e32ec44b65fe786f732145b5b6e23
These changes fix the error below found in a logcat and clean up some other issues in the file.
"E CM PowerHAL: Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: Permission denied"
PS2: tweaked permissions & removed dupilcated entries
Change-Id: I9b1bbe66c36ba0d8de13b8cb9351d2952851c250
This reverts commit ea14a88a2a.
Using the Package Manager prevents any danling wakelock from
killed service/receiver.
Change-Id: Ie3162ca4b18a7bc9c55613af39e88ea980407e5f
sysinit depends on having the filesystems mounted, and userdata
in particular depends on having /data present. Move its startup
to post-fs-data
Change-Id: Iafcc926a3aa310c1afe501d272df5811da500d86
"getprop" depends on the presence of the property workspace
env var, which is created by the first starting service. Why
not make that sysinit itself? (\/) (°,,,°) (\/)
The "import" keyword is only parsed once, for a one shot execution, during
the initial section setup, and before running "on fs". Having an import of
a file that's located in a filesystem other than root will result in an error
like
<3> init: could not import file '/system/etc/init.local.rc' from '/init.rc'
So... any files imported into init need to be moved to the root fs.
While we're at it, move init.rc changes that are specific to CM (and don't
involve modification of preexisting configs) into this file, to ease future
upstream merges (and minimize breakage on devices that override init.rc with
their own variants)
Needs to be paired with the corresponding system/core patch
Change-Id: Iab6340db2e28ef19dbcd84ae5c71737ce0cd491f