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.
Related
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.
hi guys ,
i have a 16 gb sandisk class 4 sdhc card and currently i am using rom HYPERDROID GBX V12 by pongster .
before installing the rom through clockwork mod recovery , i partitioned the sd card with 1024 size and 0 swap size.
but my internal storage is only showing 257 Mb
and after installing a few apps, my internal storage has become low ,
is there any way to virtually increase the internal storage by utilising the SD card storage???
can this be done without formatting the phone or the ROM ,ie.,without losing data ??
HELP APPRECIATED.
THANK YOU.
Try rebooting and seeing if that helps if using an a2sd based rom
bates_1974 said:
Try rebooting and seeing if that helps if using an a2sd based rom
Click to expand...
Click to collapse
no it did not work that way...
You could partition your sd card, adding an ext2,3 or 4 partition and install DarkTremor's A2SD script. Then your apps will be installed into your ext partition on your card instead of in your phone's memory. And using the A2SD GUI app from the Android market, you can put your dalvik-cache to the partition, and do some other cool stuff. If you cant find DT's A2SD script by searching for it, I can attach the working version that I have to this post when I get home.
Edit: Attached a good working version. Flash it via CWM, after you allocate an ext4 partition (1 gb is a good size) on your sd card.
Sent from my HTC HD2 using XDA App
How to partition sd card using ext 2/3/4 partirion??
How to allocate an ext 4 partition ??
And more precisely i wanted to know weather i can actually increase my phones internal storage??
Sent from my HD2 using XDA App
adi_tya89 said:
How to partition sd card using ext 2/3/4 partirion??
How to allocate an ext 4 partition ??
And more precisely i wanted to know weather i can actually increase my phones internal storage??
Sent from my HD2 using XDA App
Click to expand...
Click to collapse
1. In CWM Recovery, under 'Advanced', theres an option to partition your sd card.
2. By partitioning your card, you are allocating an amount of space to be used as an ext2/3/4 partition. Doesn't really matter which you use, but ext4 is said to give the best performance. I'm pretty sure CWM creates an ext4.
3.By moving all your installed apps to the sd partition, you are freeing up internal storage in your phone. I have hundreds of apps installed, my phone has 650mb internal storage available, runs smooth as butter, and I still have half of my 1gb partition free.
Thanks i did the partition and installed an app called " modinstall" by mskip and now all my apps by default install in sd card
But why is my internall storage only 270 mb by default without any apps in it??
Sent from my HD2 using XDA App
Do you have a EU HD2, or a TMOUS one? The European ones have far less ROM space. You could try a smaller system partition by modifying the flash.cfg file in the folder which you flash CWM from, just do a nandroid backup in CWM first, then restore it into your new smaller system partition after re-flashing CWM with the smaller system partition. I wouldn't go any smaller than 150 mb for a non-Sense ROM, if you go too small then your ROM won't boot up, or will have too little room to run comfortably. But too large a system partition will just waste internal storage space.
But if all your apps are getting installed to your partition by default, 200+ mb is more than enough internal storage for your phone to run nice and smooth. But that's also why I recommend DT's A2SD script, because not only does it move all your apps to the partition, but your dalvik-cache too (anywhere from 30-75 mb) and with the A2SD GUI app, it's easy to do more to make your phone run smooth, like enabling zipalign at bootup.
I have an EU hd2 now i hav installed the zip file of apps2sd u hav attatched in ur reply
I hav downloaded an application apps 2 sd from market to move phone apps to sd ut the only issue is that
Now after moving to sd , a few apps like angry birds, glow hockey and many other games or apps give an error and force closes but when these apps are moved back to phone they run smoothly !!
Why is that that these few apps are not running in sd card???
Sent from my HD2 using XDA App
Though my apps are getting installed in sd card by default but many of the apps do not run unless they are moved to phone's memory !!!
Is there any solution???
I really prefer this method by which my apps are installing in sd card by default but how can i avoid the force close errors in some of the apps ??? Eg - angry birds
Thank you
Sent from my HD2 using XDA App
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
Hi guys!
I'm getting crazy....I'm using MiniCM7-2.1.9 + nAa kernel v11 on my X8.
But if i try to create ext4 and swap partitions on the SD card....android tell me: "it's possible to remove the SD card" and it won't mount it!
I have created: -1.4 GB partition (FAT32) (Primary)
-0.5 GB partition (EXT4) (Primary)
-70 MB partition (SWAP) (Primary)
Why it won't work?
How I can fix it?
Well, since you SD card is 2GB, try FAT instead FAT32. Partition and reboot. I have the same error, but one reboot solves.
Or make partitions on pc...have a lot off free programs for that
Sent from my E15i using XDA App
hunff said:
Well, since you SD card is 2GB, try FAT instead FAT32. Partition and reboot. I have the same error, but one reboot solves.
Click to expand...
Click to collapse
OK,tnx.
I've found another easy way, in CMW>ADVANCED>PARTITION SD CARD.
It seems work without errors, but I have a question, how i can install apps on the ext partition now?
I've in cyanogen Settings:
Application>Allow Application moving (enabled)
Application>Install Location (what should I select? automatic, external or internal?)
Performance>A2SD (ext) Settings> A2SD mode selected (is it correct?)
Or make partitions on pc,its easy
Sent from my E15i using XDA App
milenkokg said:
Or make partitions on pc,its easy
Sent from my E15i using XDA App
Click to expand...
Click to collapse
ok, What about moving apps to ext?
colmoschin94 said:
ok, What about moving apps to ext?
Click to expand...
Click to collapse
Hye, it wont work on minicm....you have to flash GDX first....dont reboot....just mount sd, data, cache, and system, after that make ur partition....done. then you flash back minicm...just try this first ok....gud luck
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.