This is a squash of:
Author: Minchan Kim <minchan@google.com>
Date: Mon Oct 14 14:22:45 2019 -0700
Enable zram writeback job scheduler
Bug: 140882488
Change-Id: I5489a7ce7a8d73306a6ecf69f57d338b2b0eaad2
Signed-off-by: Minchan Kim <minchan@google.com>
Author: Minchan Kim <minchan@google.com>
Date: Tue Nov 26 06:48:48 2019 -0800
fstab: correct zram parameter names
There was a report about warning during boot.
[libfs_mgr]Warning: unknown flag: zram_loopback_path=/data/per_boot/zram_swap
[libfs_mgr]Warning: unknown flag: zram_loopback_size=512M
We don't use zram_loopback_path any longer so remove it.
We also changed zram_loopback_size with zram_backingdev_size so correct it.
Bug: 145116439
Test: confirmed there is no warning and zram backing device was configured
Change-Id: Iafb355999cd4995f34bf67259a8a39993ae8326a
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.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>
* remove disabled oneplus-fwk (no longer needed as we using bsp blobs)
* add back boot-jars for wfdcommon and telephony (needed Soong fix has been added in rom side)
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
* follow up to dc211612076fc67fc9ec4b90672ed3df9246d997
* update to account for rom side change
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
Gralloc ion sync enables a cache sync when Gralloc buffers are
unlocked. Buffers the GPU wrote don't need this, but buffers the
CPU wrote do.
Bug: 183735780
Test: RealCalc
Change-Id: I67a9ee15b172fb11d262c41723404c5b9cafde82
Signed-off-by: aswin7469 <aswinas@pixysos.com>
firmware loggings are not at all necessary for general development.
Change-Id: I111943a641670ea052f68148103e377771297d77
Signed-off-by: Sherif Rahim <sherifrahim2001@gmail.com>
- Android 12 now writes XML files in binary format by default. This can cause incompatibility with TWRP which can hang when attempting to read XML files e.g. /data/system/storage.xml
- This commit sets the persist.sys.binary_xml property to false so that XML files are written in text format.
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
In Display ON DTIM power experiment it was found
that we have power saving with gMulticastHostFwMsgs=0
and gEnablePacketLog=0.
CRs-Fixed: 2506878
Change-Id: Ia4ea66c85c6ea3fd84f8f651de9db2c26fc134ed
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
* This enables Deep Sleep mode, additionally to QPower
* With this configuration, QPower manages the new Deep sleep mode
-> Leads to amazing power savings
Change-Id: Ic4c23583cb008a5cfb14af15236f5aeba32f0f80
Signed-off-by: Joey Huab <joey@evolution-x.org>
* 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>
This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.
Signed-off-by: drkphnx <dark.phnx12@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
We are using c2.qti codecs but satisfy aosp too
MediaCodecsXmlParser: MediaCodec: cannot update non-existing codec: c2.android.vp9.decoder at line 203 of /vendor/etc/media_codecs_performance.xml
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: aswin7469 <aswinas@pixysos.com>
This is necessary in order for stune boost to work.
Change-Id: Icc3444be95a177fb4b6ef77cbf582d696381b9cb
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>