LMKD PSI Activator

Magisk KSU APatch

LMKD PSI Activator v4.1.1_2053-beta (by lululoid)

What it does

This module activates PSI (Pressure Stall Information) mode in Android’s LMKD (Low Memory Killer Daemon).

Instead of the old static minfree_levels (used by most ROMs), it uses real-time PSI metrics (memory/CPU/IO pressure) to decide when to kill apps. This results in:

  • Smoother multitasking
  • Fewer janks/stutters when RAM is low
  • More intelligent and responsive memory management

It also includes dynamic swappiness, on-demand ZRAM/swap management, and support for advanced kernel features like UFFD GC and ZRAM deduplication.

Key Features

  • PSI-based LMKD (faster & more accurate)
  • Dynamic swappiness (auto-adjusts vm.swappiness based on pressure)
  • Dynamic ZRAM + swap (creates/activates additional swap on demand)
  • YAML configuration (config.yaml) for tuning
  • Low-overhead C++ implementation
  • Live memory pressure logging
  • Supports ARM64 and ARM32

Requirements

  • Root via Magisk, KernelSU, APatch, or KernelSU Next
  • Kernel with PSI support (most modern kernels have it)
  • Recommended: Kernel with UFFD Garbage Collection and ZRAM deduplication for best performance
  • Android 10+

Installation

  1. Download: fmiop-v4.1.1_2053-beta.zip (8.45 MB)
  2. Flash via Magisk / KernelSU / APatch
  3. Reboot

After installation, the config file is at:
/sdcard/Android/fmiop/config.yaml

Important Notes & Warnings

  • The GitHub repository has been archived (read-only) since October 2025 → no more updates or support expected.
  • Some features are marked experimental (e.g., pressure_binding is currently broken).
  • Aggressive settings can kill background apps more frequently.
  • On MIUI/HyperOS, it is recommended to also install NoSwipeToKill module.
  • Uninstalling older versions could cause bootloop (mostly fixed in newer builds).

Would you like me to show example config.yaml settings for balanced performance vs. aggressive RAM reclamation?

Module Info

  • Version v4.1.1_2053
  • Module By
    lululoid
  • Contributors lululoid
  • Source Code View Repository
  • Requirement
    Magisk KernelSU APatch
  • Latest Update