Skip to content

Creating & using swap file #101

@mfascioglu

Description

@mfascioglu

Device: Xperia XZ1 single sim (G8341)
Rom: Unofficial LineageOS 21 v1.1 (lineage-21.0-20240615-UNOFFICIAL-1.1-poplar.zip)

I have a question about creating and using swap file.
Device has 4 gb ram. Sometimes it does not enough. I want to create and use swap file. This feature is added default by manufacturers to newly produced low RAM devices.
I tried lin-os-swap-file-mod magisk module. Swap creation complated and rebooted then swap is activated on boot. Device is opening successful but when writing some amount data on swap, device is rebooting. I checked with Ram Truth app. Is there a way to make it work successfully?

(It was working successfully until the kernel version in iode-4.8-20231217-poplar rom. With the next update of iodeOS, the kernel was also updated. In all later kernel versions, the swap file stopped working.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions