Cache Cleaner

Magisk KSU APatch

Introduction to Cache Cleaner

Over time, Android devices accumulate massive amounts of temporary cache files from apps, system services, and the Dalvik runtime. While caches are designed to speed up load times, an bloated cache partition can eventually cause storage warnings and degrade flash memory performance. Cache Cleaner by taamarin is an ultra-lightweight, set-and-forget systemless module that aggressively yet safely wipes these unnecessary files, restoring your storage capacity and keeping your OS running smoothly.

Pristine Storage Management

Reclaim gigabytes of wasted internal storage instantly. This module performs deep-level cleaning natively through the Android shell without the need for bloated third-party cleaner apps.

Automated Wiping

Runs silently during the system boot sequence. Every time you restart your phone, the script ensures that stale, orphaned cache files are automatically purged.

Storage Recovery

Targets notoriously bloated directories such as /data/dalvik-cache, app-specific cache folders, and temporary log directories to free up maximum space.

Zero Data Loss

The scripts are precisely targeted to only remove temporary .tmp, .log, and cache assets. Your user data, media, and app configurations remain completely safe.

Prevents I/O Bottlenecks

When internal storage reaches maximum capacity, flash memory write speeds plummet. Regular cache clearing prevents this filesystem degradation natively.

Nano Footprint

Weighing in at under 7 KB, this is the absolute purest form of a module. It uses no background RAM, no wakelocks, and relies entirely on native Linux rm commands.

Broad Compatibility

Fully supported by the Magisk framework, KernelSU (KSU), and APatch. It executes cleanly across Android 8.0 up to the latest Android 15 developer builds.

Behind the Scenes: The Cleaning Script

Instead of relying on graphical "Cleaner" apps from the Play Store—which often run in the background, consume RAM, and serve advertisements—this module executes directly at the root filesystem level. During the post-fs-data phase of the boot process, the script gains raw access to the /data partition.

The module meticulously traverses app directories, aggressively sweeping cache and code_cache folders while strictly avoiding shared_prefs or databases. This guarantees maximum space recovery with zero risk of breaking application states.

# Example of the internal cleanup logic executed on boot
#!/system/bin/sh
# Drop filesystem caches to free RAM temporarily
sync
echo 3 > /proc/sys/vm/drop_caches
# Target and wipe app-specific cache directories securely
rm -rf /data/data/*/cache/*
rm -rf /data/data/*/code_cache/*
# Clear system log dumps and tombstones
rm -rf /data/tombstones/*
rm -rf /data/system/usagestats/*

Frequently Asked Questions

Cache Cleaner automatically sweeps and clears accumulated system, dalvik, and application caches on your rooted Android device. This helps free up internal storage and maintains optimal read/write speeds across your filesystem.

No. Caches are simply temporary files created by applications and the Android system to load certain assets faster. Clearing them does not delete your login credentials, saved games, photos, messages, or any personal data.

The module executes its cleaning script systemlessly during the boot phase via the root manager's post-fs-data or service.d execution environments, ensuring your device starts fresh after a reboot.

Yes, this is entirely normal. If the module clears the Dalvik/ART cache, Android will need to recompile and optimize your applications during the next boot. Subsequent app launches might take a second longer the first time, but will stabilize quickly.

Module Info

  • Version v4.1
  • Module By
    taamarin.t.me
  • Contributors renovate[bot], taamarin
  • Source Code View Repository
  • Tags
    #Cache Cleaner #Storage Optimizer #taamarin #Magisk Module #KernelSU #Systemless #Performance #Maintenance
  • Requirement
    Magisk KernelSU APatch
  • Latest Update