Background-App-Slayer icon

Background-App-Slayer

5.1.2guide

Module Magisk/KSU automatic Killing Background apps for BETTER GAMING PERFORMANCE !!

★7 stars
•Performance & Kernel•by UNKNUW•Proprietary•Updated Jun 5, 2025
Platforms:
✓ Magisk

Overview

Modern Android mobile games—such as competitive battle royales and heavy open-world titles—require uninterrupted access to CPU cores and available system memory. However, background messaging services, social media refreshers, and bloatware daemons constantly wake up to poll notifications, leading to sudden frame pacing spikes and stuttering during gameplay.

Developed by UNKNUW as a complete architectural rewrite of the earlier SmartAppClose project, Background App Slayer (BAS) is an automated task termination daemon designed specifically for mobile gamers. When a game enters the foreground, BAS monitors process tables and selectively terminates non-essential background processes according to user-defined severity modes.

Operating Modes

BAS allows users to configure termination severity through simple numeric mode flags:

  1. Mode 1 (Normal):
    • Light and conservative.
    • Clears common cached tasks, temporary web services, and non-essential caches while preserving background messengers, audio players, and alarm services.
  2. Mode 2 (Aggressive):
    • Closes standard consumer social applications, browser instances, and media streamers running behind the active game.
  3. Mode 3 (Extreme):
    • Terminates all third-party background applications except those explicitly protected in the whitelist, delivering maximum free RAM and unconstrained CPU thread scheduling for the active game.

Configuration & Whitelisting

Configuration is handled entirely through plain-text files located in /data/adb/modules/background-app-slayer/:

  • Mode Selection: Edit the configuration file to select mode 1, 2, or 3.
  • Game Detection List: Add target game package names (e.g., com.tencent.ig, com.miHoYo.GenshinImpact) to tell the daemon which applications should trigger the slayer routine.
  • Whitelist Protection: Add critical applications (music streaming, VPNs, voice chat clients like Discord) that should never be killed during game sessions.

Installation & Setup

  1. Download the latest Background-App-Slayer .zip archive from the official repository.
  2. Flash the module in Magisk or KernelSU.
  3. Reboot your device.
  4. (Optional) Open the configuration directory in /data/adb/modules/background-app-slayer/ to adjust your operating mode or whitelist specific background audio players.