Follow by Email

Pageviews

Google+ Followers

Posts

Followers

Popular posts

shehroz adeel On Saturday, 26 October 2013



What you need:
  • MiniTool Partition Wizard for SD Card Partitioning
  • A MicroSD HC 4GB or higher class 6 or class 10
  • MicroSD HC Card Adapter
  • A card reader (if your pc doesn't have card reader built in | USB Mount is not adviseable)Here
  • Swapper2 from Google Play Store [DOWNLOAD]  or  Here
  • Make sure you have BusyBox installed

How to create Swap Partition

Using MiniTool Partition Wizard

Plug in you MicroSD HC Card to your computer using the card adapter. (Do not use USB Mount)

Open MiniTool Partition Wizard and look for the card

Right Click on it and select Delete Partition

Click on Apply to Delete the Partition

Right Click on it again and select Create Partition

Set the partitions as follows:
1st partition:
Label: Android-SD
Create as: Primary
File System: Fat32
Partition size: as much as you want! 

2nd partition:
Label: Android-EXT3 (2nd partition is for EXT which you can use for A2SD or Link2SD)
Create as: Primary
File System: EXT3 (be it a custom kernel or ROM with EXT4 support, use EXT3 still -play safe! )
Partition size: MIN: 256 MB MAX: 1024MB (1GB)

3rd partition:
Label: (do not put anything)
Create as: Primary
File System: Linux Swap
Partition size: MIN: 32MB MAX: 1024MB(1GB) RECOMMENDED: 256MB
After creating partitions, click Apply to apply changes.
Using ClockWorkMod
Reboot to Recovery
Go to Advanced and Debugging
Select partition SD card and select the partition you need to swap
How to use Swap
For us to be able to use swap file or swap partition, we need to use Swapper2 which you can get from Google Play.
Download and Install Swapper2 
After installing, open Swapper2 and navigate to Menu > Settings
Swapper preferences: (for kernels that doesn't have swap partition support)
Run swapper at startup (put a check)
Swap place: /sd card/swapfile.swp (you can place it in a folder if you don't like a messy sd card structure )
Swap size: MIN: 10 MB MAX: 256MB RECOMMENDED: 32MB (choose any)
Swapiness: RECOMMENDED: 10MB SYSTEM DEFAULT: 60MB MAX: 100MB (choose any)
Safe unmount (put a check)
Safe remount (put a check)
Advanced preferences: (for Kernels that supports swap partition only)
Use swap partition (put a check)
Swap partition: /dev/block/mmcblk1p2
After setting preferences, press back and tap on "ON" to turn on swap. Reboot afterwards
NOTE:
You need to turn off swap before you mount SD via USB, if you don't you will not be able to mount sd as swapfile is active and set to read only which will deny request to mount USB Storage.

{ 2 comments... read them below or Comment }

  1. does it display d increased ram in task manager..

    ReplyDelete
  2. no because the partition of the memory card is used in this technique this partition will be used as cache.

    ReplyDelete