S7390 doesn't see swap partitions. - Samsung Galaxy Fresh/Trend Questions & Answers

I tried swapit ram expander on stock firmware. It worked, but quite sluggishly. I'm trying to make a swap or ext2 partition. Swapit ram expander doesn't recognize any new partition i made, neither the swap or the ext2 one. How did you use the program on s7390?
edit. I meant SDcard.
edit. Used twrp rec. to partition the sdcard and it worked. Still sluggish though.

Jon891451984 said:
I tried swapit ram expander on stock firmware. It worked, but quite sluggishly. I'm trying to make a swap or ext2 partition. Swapit ram expander doesn't recognize any new partition i made, neither the swap or the ext2 one. How did you use the program on s7390?
edit. I meant SDcard.
edit. Used twrp rec. to partition the sdcard and it worked. Still sluggish though.
Click to expand...
Click to collapse
this device has 468 mb ram man
if you use app for ram expend that consume ram
also partition on extsdcard will damage them
if you have rom with inti.d support
how to check inti.d in rom
check inti.d folder in system/etc/here
finally you need this
http://forum.xda-developers.com/showpost.php?p=69708181&postcount=23
check swap install terminal emulator app
and type free

Related

Apps2sd on htc hero g2

hi there
hope u people are fine...
my question is what is the max size we can keep on ext. partition on sd card
i have 8 gb card
currently i have 512 mb on my ext partition but still whenever i install more apps it give error memory is very less and phone works very slow it is always aroung 54- 72 mb only to before starting any app or game i have click on task killer
is there any solution to this...
or any rom which can solve this isssue currently running 1.5 froydvillain
because of this issue i have started hating my hero
please let me know any solution to this
Simple solution back up ur EXT - partition & format it. Otherwise Download Quick system info App from the market & Check your App2sd is working correctly or not ..
thanks for your reply
what should be the size of ext3 partion if i have 8 gb memory card ???
512 mb or more
i think it doesn't matter you can make 512 or 1024 Mb also .. but just too not sure
the size of the ext-partition should not be the problem...
format your sdcard (back it up first)
and be sure to create an ext2 partition just to be on the safe side
some kernels do not support ext3+
(not sure if ninpo's kernel does)
odin13 said:
the size of the ext-partition should not be the problem...
format your sdcard (back it up first)
and be sure to create an ext2 partition just to be on the safe side
some kernels do not support ext3+
(not sure if ninpo's kernel does)
Click to expand...
Click to collapse
Should support it, but use EXT2 to save the life of your SD card
Your dalvik cache is filling up your on board memory.

SwiftDroid ASIS and Swap?

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

Problem regarding Swap

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.

Swap - sd-card

I have an 8GB sd-card and tried to make 2 partitions
+/- 7GB - ext3 - data
+/- 1GB - Swap
But everytime I try to make this tutorial my phone does not recognize the swap partition -> HERE
after much time trying and failing I decided to do this by CWM-based v5, but in CWM only have 4GB for DATA and 512MB for swap partition.
now
+/-3,5Gb - fat32
4GB - Ext3 - data
512MB - Swap
does anyone know another way to do this?
You probably don't have a script in your /etc/init.d folder to enable swap. Run the attached script to create one and swap should work.
BartLH said:
You probably don't have a script in your /etc/init.d folder to enable swap. Run the attached script to create one and swap should work.
Click to expand...
Click to collapse
tks man, i will try later
I cant download the file - erro 404 -
Sent from my LG-GT540 using xda app-developers app
http://forum.xda-developers.com/attachment.php?attachmentid=799143&d=1322589251
try this ; unzip, put to init.d
also i'm not sure if swap works if you don't have fat32 but 7 GB of ext :0
you could alse try to resize the current partitions as you made them with CWM
edit: btw 1 Gb swap isn't very useful. if you have class 10 it will make your phone faster of course, but you'll never get your 1 GB swap full. i suggest to stay at 512 or less.

[Q] /system.tar backup and sd card partion

Hello,friends i need two solution from you people....
1.how to backup entire /system folder for using it in android kitchen working rom.
can i backup with root explorer or use some commands in terminal emulator..
i think terminal commands will bakup it in .tar and will not change anything in the files
so please give me the commands to backup system on sd card.
2.secondly what value to put while partioning sd card using rom manager....
thanks in advance.
rohitzz said:
Hello,friends i need two solution from you people....
1.how to backup entire /system folder for using it in android kitchen working rom.
can i backup with root explorer or use some commands in terminal emulator..
i think terminal commands will bakup it in .tar and will not change anything in the files
so please give me the commands to backup system on sd card.
2.secondly what value to put while partioning sd card using rom manager....
thanks in advance.
Click to expand...
Click to collapse
Don't know number 1,
I have a SD card partition of 1024 MB and 32 MB swap. I can install 500 apps . So I guess these values are more than enough
rohitzz said:
Hello,friends i need two solution from you people....
1.how to backup entire /system folder for using it in android kitchen working rom.
can i backup with root explorer or use some commands in terminal emulator..
i think terminal commands will bakup it in .tar and will not change anything in the files
so please give me the commands to backup system on sd card.
2.secondly what value to put while partioning sd card using rom manager....
thanks in advance.
Click to expand...
Click to collapse
1. nand backup via CWM or Amon_RA recovery
2. don't use ROM Manager (EVER for ANYTHING), either make the partition via recovery or via the built in tools
---------- Post added at 12:21 PM ---------- Previous post was at 12:19 PM ----------
QuantumFoam said:
Don't know number 1,
I have a SD card partition of 1024 MB and 32 MB swap. I can install 500 apps . So I guess these values are more than enough
Click to expand...
Click to collapse
Yeah, 1024 goes a long way but if you got a big SD card you might want to go for twice that and swap isn't just not needed, it's not even used unless you make a separate script to use it which ISN'T included in most roms.
Which kind of built in tools?
Sent from my Blade using xda premium
QuantumFoam said:
Don't know number 1,
I have a SD card partition of 1024 MB and 32 MB swap. I can install 500 apps . So I guess these values are more than enough
Click to expand...
Click to collapse
Why anyone don't know 1. Step!!!
Sent from my Blade using xda premium
rohitzz said:
Why anyone don't know 1. Step!!!
Sent from my Blade using xda premium
Click to expand...
Click to collapse
Jinxxed posted it above
Tar will only backup what is inside the system partition . For a more complete backup one needs backup of all partitions and boot loader with recovery. It possible only by a tool like CWM.
Also for a phone with 512 MB RAM one doesn't need swap. It mai actually degrade the performance.
My Idea ZTE Blade has only 256MB RAM, I am using CM7.2 . In manage applications total of free plus used is only 128MB. So I enabled swap using m2sd, it's 256MB, actual usage varies from 80MB to 130MB.
My phones performance is greatly improved.
Sent from my Idea Blade
rahulsa said:
Tar will only backup what is inside the system partition . For a more complete backup one needs backup of all partitions and boot loader with recovery. It possible only by a tool like CWM.
Also for a phone with 512 MB RAM one doesn't need swap. It mai actually degrade the performance.
My Idea ZTE Blade has only 256MB RAM, I am using CM7.2 . In manage applications total of free plus used is only 128MB. So I enabled swap using m2sd, it's 256MB, actual usage varies from 80MB to 130MB.
My phones performance is greatly improved.
Sent from my Idea Blade
Click to expand...
Click to collapse
1. CWM will use TAR to make the backups so it's the same thing, to make a clone of the partition you'll need to use cc.
2. It won't degrade the performance in any scenario, it MAY be unnecessary and unused though.
3. That's not swap, that's using an extended partition to store data, what you're looking at is internal storage and more specifically the internal partition /data
Jinxxed said:
1. CWM will use TAR to make the backups so it's the same thing, to make a clone of the partition you'll need to use cc.
2. It won't degrade the performance in any scenario, it MAY be unnecessary and unused though.
3. That's not swap, that's using an extended partition to store data, what you're looking at is internal storage and more specifically the internal partition /data
Click to expand...
Click to collapse
1. Ok, new learning for me.
2. Good to know this. I was bit worried initially with my 256MB swap size. As I saw 0 or 32 MB swap in many posts. But after 2 weeks I confirm that it was the best thing I did for my Blade. Yes it was even better than using sd card's ext4 partition for more space. Low RAM was a bit serious issue for me than low space.
3. I know swap and ext partition are different. I have 256MB swap and 2 GB ext-4 on my class 4 16GB.
Also understand that using m2sd one can mount /data on ext-4 (r mount) and /sdext on internal nand.
Sent from my Idea Blade
rahulsa said:
1. Ok, new learning for me.
2. Good to know this. I was bit worried initially with my 256MB swap size. As I saw 0 or 32 MB swap in many posts. But after 2 weeks I confirm that it was the best thing I did for my Blade. Yes it was even better than using sd card's ext4 partition for more space. Low RAM was a bit serious issue for me than low space.
3. I know swap and ext partition are different. I have 256MB swap and 2 GB ext-4 on my class 4 16GB.
Also understand that using m2sd one can mount /data on ext-4 (r mount) and /sdext on internal nand.
Sent from my Idea Blade
Click to expand...
Click to collapse
3. Just nitpicking but the way it works is to mount data to /sd-ext/data, /sd-ext is just the mount point for your ext partition (which may be ext2, ext3 or ext4 depending on how you configured it during partitioning and how you mount it). Depending on how you do this you can have data, app, dalvik-cache and app-private mounted to /sd-ext/[folder] (this is the common way of using it when you use my script and S2E).
Jinxxed said:
... Depending on how you do this you can have data, app, dalvik-cache and app-private mounted to /sd-ext/[folder] (this is the common way of using it when you use my script and S2E).
Click to expand...
Click to collapse
May I know your script name?
Using your script which of above should be moved last, I mean with swap already might take a portion of sd card i/o and hence i fear, may make overall speed very slow.
Or for enabling all of them should i upgrade to faster sd card?
Currently I am happy with swap and apps on sd card, rest all on int. nand.
Sent from my Idea Blade
rahulsa said:
May I know your script name?
Using your script which of above should be moved last, I mean with swap already might take a portion of sd card i/o and hence i fear, may make overall speed very slow.
Or for enabling all of them should i upgrade to faster sd card?
Currently I am happy with swap and apps on sd card, rest all on int. nand.
Sent from my Idea Blade
Click to expand...
Click to collapse
S2E-Swap-Jinxxed.zip is the name, you flash it via recovery. https://dl.dropbox.com/u/54672755/S2E-Swap-Jinxxed.zip
It's basically a set of init.d scripts for proper configuration of swap, mounting of sd-ext and the S2E application to move apps, data and cache (you can choose what you want to move and what you want to leave on your internal nand data partition) to sd-ext.
It works on all roms that don't have S2E support from the get go including all ICS variants and JB.
Jinxxed said:
S2E-Swap-Jinxxed.zip is the name, you flash it via recovery. https://dl.dropbox.com/u/54672755/S2E-Swap-Jinxxed.zip
It's basically a set of init.d scripts for proper configuration of swap, mounting of sd-ext and the S2E application to move apps, data and cache (you can choose what you want to move and what you want to leave on your internal nand data partition) to sd-ext.
It works on all roms that don't have S2E support from the get go including all ICS variants and JB.
Click to expand...
Click to collapse
To deactivate mounts2sd-4.6.2 script and use your script.
I did following after getting your answer as PM.
I deleted 10mounts2sd script from \system\etc\init.d\ .
While observing S2E-Swap-Jinxxed.zip, I realized that it contained s2e.apk in /system/app.
So I actually installed s2e from from market to get latest version.
Then to enable swap and other optimizations, I added following lines in begining of 20userinit script present in /etc/init.d .
mount -o remount,noatime,nodiratime,relatime,barrier=0,nobh /system
mount -o remount,noatime,nodiratime,relatime /data
swapon /dev/block/mmcblk0p3
So I got what I wanted and also learnt many things in the process.
Also experimented with /etc/sysctl.conf by adding vm.swappiness=50 (initially 70).
---------- Post added at 08:47 PM ---------- Previous post was at 08:26 PM ----------
Jinxxed said:
1. CWM will use TAR to make the backups so it's the same thing, to make a clone of the partition you'll need to use cc.
....
Click to expand...
Click to collapse
I backed up my Blade using the latest ClockworkMod 5.0.2.0 .
CWM backup up saying done, but with a message.
It said it did not backup up /sd-ext or external ext2/3/4 partition.
So I was worried to use app-to-ext scripts or programs.
Now I successfully used tar to backup sd-ext and restore it on a faster (class 4 to 6) sd card.
But I would like know if there is any new version of CWM for Blade 6.0.1.2 with or without touch, which backs up ext2/3/4 without any issues.
If yes, I would upgrade my CWM.
It saves time to use CWM, compared to tar.
Thanks in advance.

Categories

Resources