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

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

Postby djluis48 » 20 Mar 2013, 15:53

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.
djluis48
 
Posts: 6
Joined: 16 Mar 2013, 05:16
Has thanked: 2 times
Been thanked: 0 time

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

Postby yank555 » 20 Mar 2013, 15:55

In this case I suspect that you system has no init.d support. Can you check that ?

What ROM / Kernel are you using ?

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

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

Postby djluis48 » 20 Mar 2013, 15:56

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
djluis48
 
Posts: 6
Joined: 16 Mar 2013, 05:16
Has thanked: 2 times
Been thanked: 0 time

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

Postby yank555 » 20 Mar 2013, 16:01

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.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

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

Postby djluis48 » 20 Mar 2013, 16:13

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
djluis48
 
Posts: 6
Joined: 16 Mar 2013, 05:16
Has thanked: 2 times
Been thanked: 0 time

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

Postby yank555 » 20 Mar 2013, 16:37

Used to set it to Medium, but lately been on stock, avoids slight lags so far.

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

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

Postby djluis48 » 20 Mar 2013, 16:56

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. :)
djluis48
 
Posts: 6
Joined: 16 Mar 2013, 05:16
Has thanked: 2 times
Been thanked: 0 time

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

Postby amiravrm » 12 May 2013, 09:30

can i increase the swap size?
sine in the swap line it says only 204796
(GSG3)
amiravrm
 
Posts: 8
Joined: 12 May 2013, 05:35
Has thanked: 0 time
Been thanked: 0 time

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

Postby yank555 » 12 May 2013, 09:43

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.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

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

Postby amiravrm » 12 May 2013, 15:02

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
amiravrm
 
Posts: 8
Joined: 12 May 2013, 05:35
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Mods

Who is online

Users browsing this forum: No registered users and 0 guests