Skip to content

Swap-Disabler is a Magisk module designed to disable swap at system startup. This module is particularly beneficial for devices equipped with a substantial amount of RAM, where the use of swap is unnecessary and may even hinder performance.

License

Notifications You must be signed in to change notification settings

rompelhd/Swap-Disabler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swap-Disabler

License: Apache License Build Passing Version
Author: Rompelhd Magisk v20.4+ Platform: All Android

Swap-Disabler is a Magisk module designed to disable swap at system startup. This module is particularly beneficial for devices with ample RAM, where swap usage is unnecessary and may even hinder performance. By disabling swap, Swap-Disabler offers the following advantages:

  • Extended Flash Memory Lifespan: Frequent writes to swap partitions can accelerate flash storage wear. Disabling swap significantly reduces this degradation, helping to prolong the lifespan of your device's memory.

  • Eco-Friendly: By minimizing unnecessary writes to storage, the module contributes to reducing electronic waste, making it a sustainable choice for environmentally conscious users.

  • Performance Improvement: In certain conditions, particularly for devices with substantial RAM, disabling swap can lead to better overall system performance by avoiding reliance on slower storage-based memory.

  • Flash Memory Durability: Flash memory typically has between 3,000 and 100,000 write cycles. Disabling swap reduces the number of write cycles used for virtual memory, potentially increasing the lifespan of your device's storage by 20% to 40%, depending on usage.


🚨 Disclaimer 🚨

Use at Your Own Risk

I am not responsible for any damage caused by using this module. This includes, but is not limited to:

  • Software malfunctions (Report and I will help you)
  • Hardware brickings (never happened)
  • Explosions
  • Fires
  • Alien invasions

Always ensure you have backups of your important data and use this module responsibly.

About

Swap-Disabler is a Magisk module designed to disable swap at system startup. This module is particularly beneficial for devices equipped with a substantial amount of RAM, where the use of swap is unnecessary and may even hinder performance.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages