Page 2 of 5

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 20 Mar 2013, 15:53
by djluis48
Here is the content of hardswap.log:

Code: Select all
-----------------------------------------------
 Hard Swap Flasher by Yank555.lu v1.1 for SGS3
-----------------------------------------------
SD-card device = /dev/block/mmcblk1
 
Paratition table for SD-card :
------------------------------

Disk /dev/block/mmcblk1: 16.0 GB, 16012804096 bytes
4 heads, 16 sectors/track, 488672 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

              Device Boot      Start         End      Blocks  Id System
/dev/block/mmcblk1p1             129      380250    12163873   c Win95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk1p2          380250      396634      524288  82 Linux swap
Partition 2 does not end on cylinder boundary
 
Swap partition = /dev/block/mmcblk1p2
 
- formating swap partition '/dev/block/mmcblk1p2'
Setting up swapspace version 1, size = 536866816 bytes
 
- copying swap activation script to /system/etc/init.d
 
done.


Couldnt find the other file there.

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 20 Mar 2013, 15:55
by yank555
In this case I suspect that you system has no init.d support. Can you check that ?

What ROM / Kernel are you using ?

JP.

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 20 Mar 2013, 15:56
by djluis48
yank555 wrote:In this case I suspect that you system has no init.d support. Can you check that ?

What ROM / Kernel are you using ?

JP.


Well, im using Sotmax's Ultimate Stock V2 v15 and your kernel, 3.3a. :P

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 20 Mar 2013, 16:01
by yank555
Well in that case, forget about this mod, it's integrated in the kernel ;)

Flash the mod uninstaller and reflash the kernel and be sure to activate "Hardswap" in Aroma, that will do the trick.

And also, enable init.d support in the kernel Aroma menu.

JP.

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 20 Mar 2013, 16:13
by djluis48
yank555 wrote:Well in that case, forget about this mod, it's integrated in the kernel ;)

Flash the mod uninstaller and reflash the kernel and be sure to activate "Hardswap" in Aroma, that will do the trick.

And also, enable init.d support in the kernel Aroma menu.

JP.


To enable init.d support on the kernel, i need to select ramfs to take of it?

Nevermind, got it to work now. Seems that was the problem. Thanks for your help JP! :D

Also a quick question, which are your favorite setting for LMK using swap? For now, im using stock samsung, should i change it to something else? :P

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 20 Mar 2013, 16:37
by yank555
Used to set it to Medium, but lately been on stock, avoids slight lags so far.

JP.

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 20 Mar 2013, 16:56
by djluis48
yank555 wrote:Used to set it to Medium, but lately been on stock, avoids slight lags so far.

JP.


Thanks, i will be keeping stock for now, until i feel like messing with the settings. :)

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 12 May 2013, 09:30
by amiravrm
can i increase the swap size?
sine in the swap line it says only 204796
(GSG3)

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 12 May 2013, 09:43
by yank555
amiravrm wrote:can i increase the swap size?
sine in the swap line it says only 204796
(GSG3)


The size is determined by the size of the swap partition, if you want more swap, you need to increase the partition size.

JP.

Re: How to make and use a swap partition on SD-card (SGS3)

PostPosted: 12 May 2013, 15:02
by amiravrm
yank555 wrote:
amiravrm wrote:can i increase the swap size?
sine in the swap line it says only 204796
(GSG3)


The size is determined by the size of the swap partition, if you want more swap, you need to increase the partition size.

JP.

can you explaine how? i couldnt figure it out from the thread