A Magisk module keeps important apps like PolygonX safe from being terminated by Android's low memory killer (OOM).
This module requires that your phone is rooted. Root handler programs that this module is working on:
- Magisk 29+
- Kitsune
- Apatch
- KSU
This Magisk module automatically protects PolygonX (com.evermorelabs.polygonx) from being killed by Android’s memory management. It works by:
- Locking OOM Score: Sets oom_score_adj to -1000 for PolygonX, making it the least likely to be killed by the system.
- CPU Priority: Increases the CPU priority using renice for smoother performance.
- CGroup Boost: Moves the app to the top-app CPU and scheduler groups.
Phantom Process Tweaks: Applies system tweaks to allow more cached/phantom processes and prevent aggressive background process killing (especially on Android 10+).- Cache Management: Monitors RAM usage and automatically drops system caches if memory usage exceeds 80%.
- App Compaction: Compacts app memory when RAM is high.
- LRU Deprioritization: Every 60 seconds, scans for background/empty processes and either deprioritizes or force-stops them to keep more memory available for Pokémon GO and PolygonX.
- Watchdog: Restarts PolygonX if it crashes or is killed.
- Pokémon Go memory killer (95% system RAM or 2800MB PoGo usage) All actions are logged to /data/adb/modules/oom_adjuster/oom_adjuster.log for troubleshooting.
- Download the OOM Adjuster zip file from releases.
- Open root manager (Magisk, Magisk Alpha, Kitsune, APatch or KernelSU).
- Go to Modules
- Tap Install from storage
- Select the .zip file you just downloaded
- Reboot device as required