Categories
Tech

How to Create Swap RAM using RAM Manager Pro APK

Indotechboy — There’s always ways to tune up your Android device. From the interface, display, or even the performance. And now I will share about one app that created mainly for tuning up your Android device RAM called RAM Manager Pro APK.

Actually there are many functions we can find in RAM Manager application like VM heap size setting, Minfree value setting, etc. But for now I will just tell you how to tune up your Android device performance using one of RAM Manager app features, and that is RAM swap.

On the previous post I also have written how to do a swap RAM using Defiant07 swap init.d script. Read: How to create RAM swap using Defiant07 init.d script.

Swap is a process of running application data exchange from and to, to and from RAM and swap file. When we run an app, the some of the data processed will be written on RAM and then it will be written to swap file. So when the swap file is already contain the data process that needed, RAM doesn’t need to create it again, thus this will bring more empty RAM space and more application can be running at the same time, and more responsiveness.

Requirements and tools:

Swap ram cache manager pro android before after
Before and after Swap RAM

Steps creating RAM swap using RAM Manager app to increase your Android device performance

  1. Creating swap file on /cache directory

    Open the RAM Manager Pro app and don’t forget to give it superuser rights. Open the sidebar (tap on the top left icon), then tick the “Set on boot”. Then tap “Extra” -> Tap “Clean cache” / “Drop cache” first, then tap “Archive exchange” / “Swap file”.

    Now we will create swap on /cache directory. Measures your desired swap file size. You can use app like Disk Info to know your total /cache directory empty size left. Of course the size can not exceed the total of your /cache size, just left it 30 MB or more for caching process. For Samsung Galaxy V SM-G313HZ Android phone, you can make about or less than 170 MB of swap file.

    “Why must on /cache directory?”. It’s just based on my own experience on my Android phone that this directory have the fastest write / read speed than other directory (compared to /data or /system).

    Making the swap file on other directory is likely will make the swap is slow to accessible thus less usable. Note that I was using Samsung Galaxty V, a mid-entry device, maybe and maybe it will different on other Android smartphone with better hardware (maybe :v ).

  2. Optional steps: Deleting / disable the ZRAM

    Zram is work by compressing the RAM to create more empty space. The hardware will be more burdened because it have to doing “compress” job to the RAM. So by disable the zram, we hope that it will conserve more resources to do more important task on our Android smartphone (lag reduce).

    Make sure your Init.d app is activated (the switch is on). Copy the INIT.D DISABLE ZRAM SCRIPT to system/etc/init.d/ directory, then set it’s permission (chmod) to rwxrwxrwx (777). Done! Reboot your Android device…

    After reboot, maybe it will take a while before RAM Manager app and other scripts starts to running. You also can check how swap condition using Disk Info app. If the swap size is equal to what we just created, then the swap is success.

  3. Additional optional step

    Install and open the Memory Locker app (download link on tools and requirements section above), and then lock the RAM Manager app. This is just to reduce the chance of RAM Manager being killed by OOM process.

    OOM (Out Of Memory) is a process that often happen when Android is running out of memory (RAM). Android must kill some of background app process to freed some RAM space to make sure your currently opened (foreground) app / game is not force close caused by no memory (RAM) left.

Because this is just a Swap (very-very different from actual RAM), so the benefits would not be instantly feel by us, we will feel the difference after a while we using the device (the Android device is more responsive).

One last note, remember if you using some cleaner application, DO NOT clean the cache partition / directory as it will also delete the swap file reside on it. Otherwise you must recreate the swap file again.


This tutorial would not be possible without:

  • All applications developers used above.
  • VICTOD@MODACO.COM (for his disable zram init.d script).
  • Google.com 😀 

Note: You can get the latest version of RAM Manager app (free version) and Memory Locker app on Play Store.

By Blogger Magang

Author at Indotechboy.com.

Blogger Magang spent his time mostly with his Android smartphone. Loves RPG game and personalizing his Android phone.

Leave a Reply

Your email address will not be published. Required fields are marked *