Tuesday 26 February 2013

How to Increase RAM using Swap File and Swap Partition For Galaxy Y { Tutorial }

Hi Guys Today i will Show you How to Increase RAM using Swap File and Swap Partition For Galaxy Y.


Installation Guide :


Setting on your pc/laptop.

o  At First we have to create Swap Partition with the help of MiniTool Partition Wizard


o  Just Plug in you MicroSD Card to your computer using the card adapter.
{Note: Don't use usb for mounting card}
o  And now open MiniTool Partition Wizard on your pc and search for the SDcard
then press right click on it and select option Delete Partition & click on Apply to Delete the Partition
o  Now again right click on it and select Create Partition

You have to create the partitions as follow:

1st partition:

  • Label: Android-SD
  • Create as: Primary
  • File System: Fat32
  • Partition size: as which 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: (don't write anything)
  • Create as: Primary
  • File System: Linux Swap
  • Partition size: MIN: 32MB MAX: 1024MB(1GB) RECOMMENDED: 256MB

After creating partitions, u have to click on apply to apply changes.



Setting on your Galaxy Y
  • First of all backup your system and charge battery full.
  • Reboot in Recovery mode by pressing vol up+home+Power button together once you enter recovery mode touch screen become function-less so use volume up and down to move up and down, home button for selection and power as back button.
  • Go to Advanced and Debugging
  • Select partition SD card and select the partition size that you like
How to use Swap
  • For swap we need Swapper2.apk  download from below link.
  • Download & 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 mess 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


 Note : If you want to check swap is activated or not.

Require ADB Shell or terminal Emulator
Make sure you have Installed BusyBox

Now open terminal emulator - or open adb shell - and run free.
Looks with zeros in the swap line that means swap not done


Looks anything other than zeros in the swap line that means swap done.




NOTE:You need to turn off swap before you mount SD via USB, if you don't you will not be able to mount sdcard as swap file is active and set to read only which will deny request to mount USB Storage.

1 comments

Anonymous

Can u make a video tutorial

Post a Comment