Related
I want to adjust my swap partition/swappiness and i was curious if I can do it without having to reflash the ROM or will I have to start over with a fresh wipe, partition, install?
You can set the swap size to any value up to and anything below the value you made the swap partition when you partitioned.
Ther is no need to reflash any rom when repartitioning your sd unless your messing with the ext partition and you have any kind of apps2sd, but the swap shouldn't mess with your rom since it just adds extra ram I believe
jorge89 said:
Ther is no need to reflash any rom when repartitioning your sd unless your messing with the ext partition and you have any kind of apps2sd, but the swap shouldn't mess with your rom since it just adds extra ram I believe
Click to expand...
Click to collapse
yeah if you need to mess with your ext partition, backup your apps first then do it because it will wipe the ext filesystems CLEAN.
Hi, I'm using the doomlord v03 kernel and the GSX Gingerstation beta 2, partitioned the sd, making the swap and the ext partition, but don't know how to use them, can someone help?
And how to install the Timescape?
Hi there,
I never dealt with creating swap partition. I'm using latest SwiftDroid now and like to know if it uses swap automatically. If not, would it be advisable to create one? How do I have to do this? Which size should it have and does SwoftDroid ASIS recognise it rigth?
I googled a lot and search in the forum, but didn't find helpful information.
Thanks
G00fY2 said:
Hi there,
I never dealt with creating swap partition. I'm using latest SwiftDroid now and like to know if it uses swap automatically. If not, would it be advisable to create one? How do I have to do this? Which size should it have and does SwoftDroid ASIS recognise it rigth?
I googled a lot and search in the forum, but didn't find helpful information.
Thanks
Click to expand...
Click to collapse
using swap isn't the best idea as it kills ur sd card faster.
also a lot of people use about 200mb swap partition to about 300mb swap
partition..
u could get the app from the market ( swapper2 for root users )
or read this thread!!
http://forum.xda-developers.com/showthread.php?t=1317362
Mur4ik recommends swap 256MB for previous versions of SwiftDroid, so I think that is also applies to ASIS. ASIS can use swap automatically (no need to use swapper app) if you create swap partition as third on sdcard (second should be ext - in newest recovery you can create 2MB ext3 partition).
kretos said:
ASIS can use swap automatically (no need to use swapper app) if you create swap partition as third on sdcard (second should be ext - in newest recovery you can create 2MB ext3 partition).
Click to expand...
Click to collapse
Okay, now slowly. I flashed my phone with Mur4ik's KDZ Method before installed SwiftDroid. So there should be 150MB for system,64MB for cache and 234MB free internal storage. Are the 64MB memory for swap? So that SwiftDroid always uses swap but with internal memory?
Now I don't understand what you say about second and third partition and what exactly Mur4ik suggest for his ROM. They are both an SD, aren't they? I use a 16GB class 4 SD card. So what should I do to get best performance with ASIS?
androidboss7 said:
using swap isn't the best idea as it kills ur sd card faster.
also a lot of people use about 200mb swap partition to about 300mb swap
partition..
u could get the app from the market ( swapper2 for root users )
or read this thread!!
http://forum.xda-developers.com/showthread.php?t=1317362
Click to expand...
Click to collapse
thanks for recommending my thread yes goofy use the link to enable swap
Edit: oops i found out i deleted the pictures at the thread just restored them hope it makes it easier
G00fY2 said:
Okay, now slowly. I flashed my phone with Mur4ik's KDZ Method before installed SwiftDroid. So there should be 150MB for system,64MB for cache and 234MB free internal storage. Are the 64MB memory for swap? So that SwiftDroid always uses swap but with internal memory?
Now I don't understand what you say about second and third partition and what exactly Mur4ik suggest for his ROM. They are both an SD, aren't they? I use a 16GB class 4 SD card. So what should I do to get best performance with ASIS?
Click to expand...
Click to collapse
150MB for system,64MB for cache and 234MB free internal storage <- it's internal storage of your phone, system is just system, cache is for files downloaded from internet, internal storage is for installing your applications.
On sdcard you should have primary partition (fat32), ext3 and swap (linux swap type) partition. The third will be automatically used. See thread mentioned above or copy everything from your sdcard to you computer, reboot phone into recovery and creat ext partition and swap partition (in that order) through recovery. Then reboot phone and copy data back from computer to phone's sdcard.
Ok, i managed to create 256MB swap partition.
So what do you say is the best swappiness value? I read that 60 seems to be to high?
PS: How can I see if swap works?
I leave mine at 60 to see If it works type free in a terminal on the phone
Ok it works. Terminal shows me that the phone uses swap. But I also recognised it by playing some games, which worked laggy before and now run very smooth.
About swappiness: I read that 30 seems to be the best for our phone?
ASIS set swappiness to higher value (I believe 60) - I've changed it to 30 in previous versions but now I just left it as it it. I don't see any difference.
Yay! no more third person software :3, native swap.
Thanks :3
I'm using Lewa OS v4,
Initially there is a Swapper working, with a swap file on System partition (not more than 32 MB).
But i want to make it some large, i tried Ext 4 partition on SD Card .
I go to the swapper setting and change the mode to sdcard partition ,
It says ' swap open failed '.
I reboot, swapping becomes normal but also that partition mounts at /data/app
That is phone memory is replaced by this partition and the apps which i install in phone memory it install on this partition.
And when i check the storage in " Managing Application " tab in setting it shows the real phone memory with apps installed on ext4 sdcard partition.
Its too messy
And due to this i am having trouble using ext4 sdcard partition swap.
Is this is a problem with GB Roms or only with Lewa rom v4
vinmac said:
I'm using Lewa OS v4,
Initially there is a Swapper working, with a swap file on System partition (not more than 32 MB).
But i want to make it some large, i tried Ext 4 partition on SD Card .
I go to the swapper setting and change the mode to sdcard partition ,
It says ' swap open failed '.
I reboot, swapping becomes normal but also that partition mounts at /data/app
That is phone memory is replaced by this partition and the apps which i install in phone memory it install on this partition.
And when i check the storage in " Managing Application " tab in setting it shows the real phone memory with apps installed on ext4 sdcard partition.
Its too messy
And due to this i am having trouble using ext4 sdcard partition swap.
Is this is a problem with GB Roms or only with Lewa rom v4
Click to expand...
Click to collapse
And why are u using ext4 for swap..ext2/3/4 are for sd-ext only..it should be in linux swap.
And try using swapper 2 which is free at play store..it can create a swap file of 256mb max..
Sent from my X8 using Tapatalk
sandy_tea said:
And why are u using ext4 for swap..ext2/3/4 are for sd-ext only..it should be in linux swap.
And try using swapper 2 which is free at play store..it can create a swap file of 25mb max..
Sent from my X8 using Tapatalk
Click to expand...
Click to collapse
wrong, for android you use ext to make a swap partition
vinmac said:
I'm using Lewa OS v4,
Initially there is a Swapper working, with a swap file on System partition (not more than 32 MB).
But i want to make it some large, i tried Ext 4 partition on SD Card .
I go to the swapper setting and change the mode to sdcard partition ,
It says ' swap open failed '.
I reboot, swapping becomes normal but also that partition mounts at /data/app
That is phone memory is replaced by this partition and the apps which i install in phone memory it install on this partition.
And when i check the storage in " Managing Application " tab in setting it shows the real phone memory with apps installed on ext4 sdcard partition.
Its too messy
And due to this i am having trouble using ext4 sdcard partition swap.
Is this is a problem with GB Roms or only with Lewa rom v4
Click to expand...
Click to collapse
Friend,
Use this menthod for swap in lewa os rom v4:
1.Backup ur currently data in CWM(skip this if u want a fresh install)
2.Backup all ur data in SD(place it somewhare in ur pc)
3.Reboot in CWM>Advance>Partition the SD Card>the ext3>512m>32m
4.Press Enter key.wait till its done.
5.Now u have 512mb EXT partition with 32mb SWAP partition & ur SD is REFORMAT.
6.Copy back all ur data
7.Reboot again in CWM & restore or install fresh rom
8.Go to swap in phone(u know where)and apply SD swap.
DONE
why just dont ask in my thread.....
What it means that 512MB EXT4 partition and 32MB Swap partition?
Actually I don't want partition for App to SD.
And if swap is 32MB then swap file in system partition is more feasible. As i know that phone memory is more faster than sdcard in any case. (Might be I'm wrong)
But in my case it is true, I have class 2 sdcard.
zmuhammx said:
Friend,
why just dont ask in my thread.....
Click to expand...
Click to collapse
I ask here because i'm confused that if this problem is with Lewa os or with all GB Roms.
sandy_tea said:
And try using swapper 2 which is free at play store..it can create a swap file of 25mb max..
Click to expand...
Click to collapse
Swapper included in the Rom .
No need of external app.
And capable of making 32MB swap in system partition and 128 MB sdcard file
Lloir said:
wrong, for android you use ext to make a swap partition
Click to expand...
Click to collapse
Have u tried it? Even if u are using cwm to partition your sdcard the third partition for swap will be formatted as linux swap for sure
Sent from my X8 using Tapatalk
vinmac said:
Swapper included in the Rom .
No need of external app.
And capable of making 32MB swap in system partition and 128 MB sdcard file
Click to expand...
Click to collapse
Well it is up to u which u are going to use then
Sent from my X8 using Tapatalk
vinmac said:
What it means that 512MB EXT4 partition and 32MB Swap partition?
Actually I don't want partition for App to SD.
And if swap is 32MB then swap file in system partition is more feasible. As i know that phone memory is more faster than sdcard in any case. (Might be I'm wrong)
But in my case it is true, I have class 2 sdcard.
Click to expand...
Click to collapse
Depending on the apps you often use & how often those apps swap-out RAM, you might actually experience performance lag. Asides (I insist!), beating your card to death.
Im using stock rom and hell fusion kernel, i made an ext4 swap partition but when i try to use swapper2 to use that swap partition, it say function not implemented. Is there any rom/kernel support ext4 and swap partition? since i also used gyperion 9 and it's not working too
pipyakas said:
Im using stock rom and hell fusion kernel, i made an ext4 swap partition but when i try to use swapper2 to use that swap partition, it say function not implemented. Is there any rom/kernel support ext4 and swap partition? since i also used gyperion 9 and it's not working too
Click to expand...
Click to collapse
I think Merruk's Kernel supports swap partition.
Give it a try.