sm6250-common: Remove zram writeback leftovers

It has been disabled in kernel because of memory corruption.

Change-Id: I50e4cdc39b38a510d39032253606ddec3e41d22c
This commit is contained in:
Alexander Winkowski 2022-05-26 12:43:35 +00:00
parent 63405e3d6f
commit eb2cc22dd9
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44
7 changed files with 1 additions and 18 deletions

View File

@ -278,9 +278,6 @@
in hardware. --> in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool> <bool name="config_setColorTransformAccelerated">true</bool>
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
<bool name="config_zramWriteback">true</bool>
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService <!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
when registering authenticators with BiometricService. Format must be ID:Modality:Strength, when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java, where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,

View File

@ -49,4 +49,4 @@ vendor /vendor
# The update_engine code looks for this entry in order to determine the boot device address # The update_engine code looks for this entry in order to determine the boot device address
# and fails if it does not find it. # and fails if it does not find it.
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults /dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/zram0 none swap defaults zramsize=50%,zram_backingdev_size=512M /dev/block/zram0 none swap defaults zramsize=50%

View File

@ -4,8 +4,6 @@ type camera_persist_file, file_type, vendor_persist_type;
type fingerprint_data_file, data_file_type, file_type, vendor_persist_type; type fingerprint_data_file, data_file_type, file_type, vendor_persist_type;
type per_boot_file, file_type, data_file_type, core_data_file_type;
type persist_subsys_file, vendor_persist_type, file_type; type persist_subsys_file, vendor_persist_type, file_type;
type public_adsprpcd_file, file_type; type public_adsprpcd_file, file_type;

View File

@ -28,9 +28,6 @@
# Lights # Lights
/vendor/bin/hw/android\.hardware\.light-service\.xiaomi u:object_r:hal_light_default_exec:s0 /vendor/bin/hw/android\.hardware\.light-service\.xiaomi u:object_r:hal_light_default_exec:s0
# Per-boot files
/data/per_boot(/.*)? u:object_r:per_boot_file:s0
# Persist subsystem # Persist subsystem
/mnt/vendor/persist/subsys(/.*)? u:object_r:persist_subsys_file:s0 /mnt/vendor/persist/subsys(/.*)? u:object_r:persist_subsys_file:s0

View File

@ -1,2 +0,0 @@
# For zram writeback
allow kernel per_boot_file:file r_file_perms;

View File

@ -1,2 +0,0 @@
allow toolbox per_boot_file:dir create_dir_perms;
allow toolbox per_boot_file:file create_file_perms;

View File

@ -208,8 +208,3 @@ ro.config.vc_call_vol_steps=10
# WiFi # WiFi
wifi.aware.interface=wifi-aware0 wifi.aware.interface=wifi-aware0
# ZRAM
ro.zram.first_wb_delay_mins=180
ro.zram.mark_idle_delay_mins=60
ro.zram.periodic_wb_delay_hours=24