Skip to content

yadavnikhil03/SwapBoost-Pro

Repository files navigation

SwapBoost Pro 🚀

SwapBoost Pro is an advanced Magisk module designed to optimize memory management on your Android device by prioritizing zRAM over standard swapfiles, ensuring a much faster and smoother experience.

Features ✨

  • zRAM Optimization: Utilizes compressed RAM for extremely fast swapping.
  • Dynamic Swapfile: Automatically creates a fallback swapfile to ensure your device never runs out of memory.
  • Smart Priorities: Prioritizes zRAM (100) over the disk-based swapfile (-2), which significantly improves performance compared to default setups.
  • Customizable: Tweak the settings via a simple configuration file.
  • SELinux Friendly: Dynamically allows kernel permissions for memory management.
  • Error Logging: Detailed logs at /data/local/tmp/swapboost.log for easy troubleshooting.

Installation ⚙️

  1. Download the latest SwapBoost-vX.X-Pro.zip from the Releases page.
  2. Open Magisk Manager.
  3. Go to the Modules tab.
  4. Tap on Install from storage.
  5. Select the downloaded ZIP file.
  6. Reboot your device to apply changes!

Configuration 🛠️

You can easily configure SwapBoost Pro to fit your needs by creating a configuration file.

  1. Create a file named swapboost.conf in your internal storage (/sdcard/).
  2. Add your desired values. (See the included swapboost.conf.example for details).
  3. Reboot to apply.

Uninstallation 🗑️

  1. Open Magisk Manager.
  2. Go to the Modules tab.
  3. Tap Remove on the SwapBoost Pro module.
  4. Reboot your device. The swapfile and zRAM modifications will be cleanly removed.

⚠️ Disclaimer & Warning

  • Storage Wear: Using a disk-based swapfile constantly can wear out your internal storage (eMMC/UFS) faster over time. SwapBoost Pro prioritizes zRAM to minimize this, but keep it in mind.
  • Compatibility: While tested on various devices, proceed at your own risk. The developer is not responsible for any bricked devices or lost data.

About

A magisk module that optimizes your device's memory performance through persistent zRAM + Swapfile optimization with VM tweaks.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages