mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
sm6150-common: Disable zram writeback
* Disabled on many devices with reports to lagginess in long term and random reboot in some instances. Change-Id: I73985159766da08cd35b0288db29cfafc7db62b0 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
committed by
therealmharc
parent
028564770e
commit
774f4d6eef
@@ -295,7 +295,4 @@
|
||||
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
|
||||
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
|
||||
</integer-array>
|
||||
|
||||
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
|
||||
<bool name="config_zramWriteback">true</bool>
|
||||
</resources>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Android fstab file.
|
||||
|
||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
||||
/dev/block/zram0 none swap defaults zramsize=2147483648,zram_backingdev_size=512M
|
||||
/dev/block/zram0 none swap defaults zramsize=2147483648
|
||||
|
||||
@@ -398,9 +398,3 @@ PRODUCT_COPY_FILES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
firmware_wlan_mac.bin_symlink \
|
||||
firmware_WCNSS_qcom_cfg.ini_symlink
|
||||
|
||||
# ZRAM writeback
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.zram.mark_idle_delay_mins=60 \
|
||||
ro.zram.first_wb_delay_mins=1440 \
|
||||
ro.zram.periodic_wb_delay_hours=24
|
||||
|
||||
Reference in New Issue
Block a user