writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.
Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I22cbf3383f3686c4964e4b55e53d4cdb8ea5a7da
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
Remove the events triggered on the setting of
ro.data.large_tcp_window_size and sys.sysctl.tcp_adv_win_scale.
These events are no longer used and are also resulting in
unneccessary selinux denials.
CRs-Fixed: 2947333
Change-Id: I92bc474b7168729eebb56cab0868dbd1cbbebf04
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Disabling UFS clkgate and ah8 during boot time helps in reducing
IO delays, which helps in reducing the total boot time. This change
will disable UFS clkgate and ah8 during early-init and then enable
it back after boot completion.
Change-Id: I6a10cd57a30fe3bdc4fba72a0d84cdfa3b1fd513
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
-Set zram disksize so it can successfully initialize
-Set max_comp_streams to num of cores since upstream also moves this to percpu.
-Switch to LZ4 for better overall performance
-Set page-cluster to 0 as the incremental cost of reading 1 page at a time is negligible for zram
Bug: 38249616
Test: boot and run zram-perf showing better performance
Signed-off-by: aswin7469 <aswinas@pixysos.com>
* useless for production builds, runs in background and
sometimes spams logcat
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.
To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.
I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.
Signed-off-by: aswin7469 <aswinas@pixysos.com>
* Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.
To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.
I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
* sRGB on Natural and Boosted
Unmanaged on Saturated
P3 on Automatic
* Set color mode to Natural by default
* Adjust display composition color spaces
Change-Id: If73eafa82395e80acf84445fcab2f1ce25a33e23
Signed-off-by: aswin7469 <aswinas@pixysos.com>
These props are used by cnss-daemon in order to load
proper bdwlan firmware. Apparently these should be
set automatically via some QMI/RIL binary but I don't
really care enough to figure out as to how that works.
Change-Id: I06effa06321e9e00994ce7918c14bbc929d3d1cd
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:
W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)
AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.
c78a463e87
Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581