Incakola
Android Enthusiast
Hey guys, not really the creator of this concept but I thought it might help us with our limited 865mb of ram. It has gave me a slight improvement (60mb more free) because I mostly use up all the ram until apps start closing down during the time of use so it may not help you if your never at peak ram use. Here's the deal:
This mod is only useful if your setup takes up almost the entire RAM memory during the entire runtime of the device.
The only app that can accomplish this is: https://play.google.com/store/apps/details?id=com.sylkat.AParted&hl=en (it looks outdated but it works).
First before launching the app, unmount your SD card.
METHOD1 without link2sd functionality
During first launch it will install the necessary files to assist with it's function. After it's done it will restart and launch normally by first showing the dev's logo then it shows an ad and then your in after you gave SU permission.
Now you'll see 3 sections: create, tools, and configuration tabs (you'll be using tools tab the entire process).
-check part 1
-select "resize" in the dropdown menu
-select apply
-make freed space around 300mb
-select part 2 and select create
-select "swap" as format
-select part 2 again but select "swap" in drop dowm menu
-you don't need the extra app for this so just hit cancel when prompted then select swap on
-kill the app if you can't get out of that menu
-you're done
You may need to reapply the swap drop down step again after reboots
METHOD 2
same as method 1 but before making the swap, shrink the fat32 volume down 1gb at least for link2sd to store apps (you could shrink it down more if your putting a lot of apps like games). Then create a partition in part 2 with filesystem of ext4 and then you could add the swap space after if you like. (To be able to link data in link2sd you'll need the doner version to accomplish this, there is possibly another app that has this feature for free).
I thought this could also be accomplished by using windows diskpart console but I realized swap file systems is a linux thing...
RAM
What is RAM
Random Access Memory (RAM) is temporary data storage that the CPU uses during calculations. The more RAM a device has, the more calculated results the CPU can store - which means less time the CPU has to do the same thing over and over again. In other words, the CPU can check RAM to see if it has already made a particular calculation in the recent past. If it has, it can use the pre-computed results instead of wasting processing time recomputing the same calculation. In short, more RAM means a more efficient (and faster) device.
SWAP
What is SWAP
Swap is, in short, virtual RAM. With swap, a small portion of the hard drive is set aside and used like RAM. The computer will attempt to keep as much information as possible in RAM until the RAM is full. At that point, the computer will begin moving inactive blocks of memory (called pages) to the hard disk, freeing up RAM for active processes. If one of the pages on the hard disk needs to be accessed again, it will be moved back into RAM, and a different inactive page in RAM will be moved onto the hard disk ('swapped'). The trade off is disks and SD cards are considerably slower than physical RAM, so when something needs to be swapped, there is a noticeable performance hit.
Unlike traditional swap, Android's Memory Manager kills inactive processes to free up memory. Android signals to the process, then the process will usually write out a small bit of specific information about its state (for example, Google Maps may write out the map view coordinates; Browser might write the URL of the page being viewed) and then the process exits. When you next access that application, it is restarted: the application is loaded from storage, and retrieves the state information that it saved when it last closed. In some applications, this makes it seem as if the application never closed at all. This is not much different from traditional swap, except that Android apps are specially programmed to write out very specific information, making Android's Memory Manager more efficient that swap.
This mod is only useful if your setup takes up almost the entire RAM memory during the entire runtime of the device.
The only app that can accomplish this is: https://play.google.com/store/apps/details?id=com.sylkat.AParted&hl=en (it looks outdated but it works).
First before launching the app, unmount your SD card.
METHOD1 without link2sd functionality
During first launch it will install the necessary files to assist with it's function. After it's done it will restart and launch normally by first showing the dev's logo then it shows an ad and then your in after you gave SU permission.
Now you'll see 3 sections: create, tools, and configuration tabs (you'll be using tools tab the entire process).
-check part 1
-select "resize" in the dropdown menu
-select apply
-make freed space around 300mb
-select part 2 and select create
-select "swap" as format
-select part 2 again but select "swap" in drop dowm menu
-you don't need the extra app for this so just hit cancel when prompted then select swap on
-kill the app if you can't get out of that menu
-you're done
You may need to reapply the swap drop down step again after reboots
METHOD 2
same as method 1 but before making the swap, shrink the fat32 volume down 1gb at least for link2sd to store apps (you could shrink it down more if your putting a lot of apps like games). Then create a partition in part 2 with filesystem of ext4 and then you could add the swap space after if you like. (To be able to link data in link2sd you'll need the doner version to accomplish this, there is possibly another app that has this feature for free).
I thought this could also be accomplished by using windows diskpart console but I realized swap file systems is a linux thing...
Last edited: