LMK Controller is a systemless module designed to give you full control over Android's Low Memory Killer. Through adaptive kernel detection and a clean WebUI accessible via MMRL, it seamlessly applies RAM tuning profiles to eliminate unnecessary app reloads and improve multitasking performance.
Total RAM Management
Fine-tune how your system handles background processes with kernel-level adjustments and dynamic swappiness monitoring.
Three Tuning Profiles
Choose between Performance for gaming, Stability for daily balanced multitasking, or Default for near-stock behaviour.
Adaptive Kernel Detection
Automatically identifies and applies the correct tuning strategy for Classic LMK, PSI LMKD, and Legacy LMKD kernels upon boot. No manual configuration is required.
Automatic Boot Persistence
Your selected profile is stored securely and reapplied automatically on every reboot via a persistent boot service.
Under the Hood: How it Works
The Low Memory Killer is a core Android subsystem responsible for freeing up RAM when things get heavy. Most OEM defaults are overly aggressive, causing annoying app reloads and stuttering. LMK Controller overrides these thresholds depending on your kernel structure.
On modern kernels (PSI LMKD), it adjusts ro.lmk.* properties and sets up a background PSI monitor. For older kernels, it directly writes threshold values (in pages) to the /sys/module/lowmemorykiller/parameters/minfree driver. ZRAM compression algorithms (lz4 or zstd) are also dynamically configured based on your chosen profile.
Frequently Asked Questions
dirty_background_ratio is minimized to heavily compensate for the smaller memory pool.
lmkd.reinit and fallback SIGHUP kill signals to force userspace properties without needing a secondary reboot cycle.