SwiftDroid ASIS and Swap? - GT540 Optimus General

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

Related

S2E issues

I am trying to salvage my internal memory on my Aria with S2E. I am able to select the "Download cache" checkbox, but "Applications", "Private apps", and "Dalvik cache" are all greyed out (can't select them).
I am really only worried about moving Dalvik to my SD card, but have no idea why it is greyed out.
When I load S2E, I get the following message "S2E has been granted superuser permissions", so I think it isn't a permissions issue.
Any thoughts?
Do you gave the latest version of s2e? Because the latest update fixed that for me. Also make sure you have a big enough ext3 partion. I'm running a 200mb ext3 partion and have tons of space now. I even have dalvik on the partion to.
Sent from my Liberty using XDA Premium App
Ah...that must be it...I haven't set up my ext3 partition. I am going to do that via ROM manager now.
I don't think rom manger will do that correctly. I used gparted live CD. Google about it. It was pretty simple.
Sent from my Liberty using XDA Premium App
cranked said:
Ah...that must be it...I haven't set up my ext3 partition. I am going to do that via ROM manager now.
Click to expand...
Click to collapse
That is most likely the cause. This same thing happened to me when I attempted to use s2e with ext4 which isnt supported.
tommyguns818 said:
I don't think rom manger will do that correctly. I used gparted live CD. Google about it. It was pretty simple.
Sent from my Liberty using XDA Premium App
Click to expand...
Click to collapse
Rom Manager will definitely work. I originally used Rom Manager to partition my ext3 partition. But it has a size limitiation (512MB?). Anything bigger than that will require gparted (or another partition manager via ubuntu)
how long ago did you use ROM manager to make an ext3 partition? I was just partitioning my SD card a couple days ago for s2e and ROM manager didn't give any options for what ext type to make. just asked for partition size, swap size and automatically set up an ext2 partition.
stealthycow said:
how long ago did you use ROM manager to make an ext3 partition? I was just partitioning my SD card a couple days ago for s2e and ROM manager didn't give any options for what ext type to make. just asked for partition size, swap size and automatically set up an ext2 partition.
Click to expand...
Click to collapse
Im not sure how long ago I used it. The very first time I used Rom Manager to parition it gave me an ext2 parition. But the most recent time I used it, it just automatically set up a ext3 partition.
Thanks to the collective. I used Gparted, to make a 1024MB Ext3 partition, and S2E works like a charm now.
I tried to do an Ext4 partition first, but it was pointed out that isn't supported by S2E...that clue saved me a ton of time, as did the Gparted Live CD tip.
My phone is back to where it was, and I went from having 25MB free internally, to over 150MB...I have needed this for a LONG TIME!
Thanks!
For those of you using S2E, have you noticed whether moving apps and/or dalvik cache to the SD card slows the phone down at all? Just wondering.
My phone can reboot under 2 minutes being that I moved cache and dalvik to partition. Its a snappy little aria.
Sent from my Liberty using XDA Premium App
s2e
I use a kingston Class 6 8gig card with apps and dalvik on sd using s2e, ext 3 with 512Mb (Used Rom Manager). First time boot after flashing always take a little longer. other than that every other boot after that is just like normal, have not noticed any ill performance issues. Been using for more than a month now.
I see no differences in performance.
Sent from my HTC Aria
drumist said:
For those of you using S2E, have you noticed whether moving apps and/or dalvik cache to the SD card slows the phone down at all? Just wondering.
Click to expand...
Click to collapse
I have both apps and dalvik moved to SD with s2e and there is no noticeable difference in performance. Im running a cheap SanDisk 8gb class4 card.
drumist said:
For those of you using S2E, have you noticed whether moving apps and/or dalvik cache to the SD card slows the phone down at all? Just wondering.
Click to expand...
Click to collapse
Moving apps to the sd-card does slow the phone down if you use class 2 card which is generally bundled by the device manufacturer. For use with S2E a class 4 sd-card is required minimum. The ones who have higher class sd cards like 8 or 10, you should move apps. You should see a performance jump.
For normal sdcard users (2 or 4), I will not recommend moving applications and private apps, just move dalvik cache and download cache. should give you enough internal space without hampering on performance.
For partitioning the sd card use mini tool and partition it on the PC (see attached image). make sure you make a fat32 1st, 2nd ext2 & 3rd Linux swap. Thats the only way it works. Also dont forget to select 'Mount as Ext4' in S2E Settings. Best of luck.
Community: http://on.fb.me/Root4Andrd
Hi.
I used s2e script to free some space on my desire ( CM7 ) , but i'm having some problems. I'm using a new HP 16GB class 10 sd card (write speed 11.2 , reading speed 30.9). First I moved everything in my 2gb ext3 , but I was having force close issues for many apps and I was unable to move apps to the fat32 partition thrugh app2sd app (not enought space). So I moved /data back to /data and these 2 problems were resolved. But I'm facing a new problem now. When I'm having a call and I take the phone away from my ear, most of the times the screen doesnt turn on until the other person hangs up (even if i press the power button). How can I resolve this? Also can I move /data back to ext3 , without having the problems I mentioned before?
Thanx in advance
geomad said:
Hi.
I used s2e script to free some space on my desire ( CM7 ) , but i'm having some problems. I'm using a new HP 16GB class 10 sd card (write speed 11.2 , reading speed 30.9). First I moved everything in my 2gb ext3 , but I was having force close issues for many apps and I was unable to move apps to the fat32 partition thrugh app2sd app (not enought space). So I moved /data back to /data and these 2 problems were resolved. But I'm facing a new problem now. When I'm having a call and I take the phone away from my ear, most of the times the screen doesnt turn on until the other person hangs up (even if i press the power button). How can I resolve this? Also can I move /data back to ext3 , without having the problems I mentioned before?
Thanx in advance
Click to expand...
Click to collapse
Could be a lot of reasons. Highly possible that there are too many active apps leaving very little RAM. Have you checked how much RAM is being used?
I use a nifty widget called 'Go TaskManager Widget'. http://bit.ly/wRV7xI ... use it if you are using GO Launcher.
Community: http://on.fb.me/Root4Andrd
nth20 said:
Could be a lot of reasons. Highly possible that there are too many active apps leaving very little RAM. Have you checked how much RAM is being used?
Click to expand...
Click to collapse
Hello, Thanx for your quick reply!
i just downloaded an app and my free ram is like 31% , when the phone its idle. Is that not enough? What can I do to resolve this issue? Will creating a swap partition in my sd make any difference?
geomad said:
Hi.
I used s2e script to free some space on my desire ( CM7 ) , but i'm having some problems. I'm using a new HP 16GB class 10 sd card (write speed 11.2 , reading speed 30.9). First I moved everything in my 2gb ext3 , but I was having force close issues for many apps and I was unable to move apps to the fat32 partition thrugh app2sd app (not enought space). So I moved /data back to /data and these 2 problems were resolved. But I'm facing a new problem now. When I'm having a call and I take the phone away from my ear, most of the times the screen doesnt turn on until the other person hangs up (even if i press the power button). How can I resolve this? Also can I move /data back to ext3 , without having the problems I mentioned before?
Thanx in advance
Click to expand...
Click to collapse
Don't move your /data partition to sd-ext. Move Dalvik cache first, and if you need more space, then move your applications as well. If you still need more space, then you're doing something wrong.
drumist said:
Don't move your /data partition to sd-ext. Move Dalvik cache first, and if you need more space, then move your applications as well. If you still need more space, then you're doing something wrong.
Click to expand...
Click to collapse
so there is no way tomove /data with a hi speed sd card witout problems right? What about the second problem i'm facing now , with everything but /data moved to ext ?
tommyguns818 said:
I don't think rom manger will do that correctly. I used gparted live CD. Google about it. It was pretty simple.
Click to expand...
Click to collapse
CWM 5.0.2.3, as made available in these forums by attn1, also works for partitioning SD cards. I never got gparted to work right with my card, for some reason. But the "Partition SD Card" option in CWM did it right nice.
My Aria's not telling me that it's out of memory anymore. And that's good news.

[Q] My HTC HD2 device internal memory is only of 24mb??? please help me out.

Hi Friends,
I am using Desire HD rom on my htc hd2, for me everything working great but my internal memory is only of 24MB
Please help me out....
please provide me the information om how to increase internal memory....
Please do not make two threads on the same issue.
use app2sd !!!!
devfeel said:
Hi Friends,
I am using Desire HD rom on my htc hd2, for me everything working great but my internal memory is only of 24MB
Please help me out....
please provide me the information om how to increase internal memory....
Click to expand...
Click to collapse
it would be usefull if you told us exactly which desire hd rom, how you are running it (daf, cwm, sd card), and whether you have an ext partition on your sd card. Oh, and which phone you have, regular or tmous.
Sense roms are big, they take up a big chunk of the nand, so it is almost always essential to use app2sd and/or data2sd. (read the thread for the rom you have to know which it supports)
More accurate info = more accurate help.
rubbish info = rubbish guesswork help.
samsamuel said:
it would be usefull if you told us exactly which desire hd rom, how you are running it (daf, cwm, sd card), and whether you have an ext partition on your sd card. Oh, and which phone you have, regular or tmous.
Sense roms are big, they take up a big chunk of the nand, so it is almost always essential to use app2sd and/or data2sd. (read the thread for the rom you have to know which it supports)
More accurate info = more accurate help.
rubbish info = rubbish guesswork help.
Click to expand...
Click to collapse
Thanks for your reply...
here is my details..
ROM : LeoRCMix S v.1.5 (RCMixS v.2.0) [Sense 2.1+3.0]
Running using : CWM
Phone : HTC HD2
Im using : TMOUS
I know i have to use app2sd/data2sd.. but im not sure how to config it.. even i tried to do but im struck with boot screen..
ok, so it should only need a 200 meg system partition, so my guess would be that you haven't set up the 1gb ext partition? you can do that through cwm (backup your sd card first, it will get formatted) and
but im not sure how to config it
Click to expand...
Click to collapse
you dont have to. it does it itself so long as you have the ext partition properly created. I also think that if you DONT have the ext partition set up yet, you will probably need to reinstal the rom after you DO set it up.
So, summary, , , question 1 - do you have an ext partition set up?
(Also, and this causes a lot of confusion, , , when the system uses an ext partition, it DOES NOT show the extra space in the available memory count, but it does get used, , so for example my phone shows 210MB or so free internal space, , , i install a 10MB probgram, that goes down to 200, BUT after i reboot, it goes back up to 210, , because the prog has actually installed to my 512MB ext partition, not the 210 internal space.)
samsamuel said:
ok, so it should only need a 200 meg system partition, so my guess would be that you haven't set up the 1gb ext partition? you can do that through cwm (backup your sd card first, it will get formatted) and you dont have to. it does it itself so long as you have the ext partition properly created. I also think that if you DONT have the ext partition set up yet, you will probably need to reinstal the rom after you DO set it up.
So, summary, , , question 1 - do you have an ext partition set up?
(Also, and this causes a lot of confusion, , , when the system uses an ext partition, it DOES NOT show the extra space in the available memory count, but it does get used, , so for example my phone shows 210MB or so free internal space, , , i install a 10MB probgram, that goes down to 200, BUT after i reboot, it goes back up to 210, , because the prog has actually installed to my 512MB ext partition, not the 210 internal space.)
Click to expand...
Click to collapse
Yes i have ext 1GB partition and i created using CWM and i have 400MB patition layout.. but still i am having low memory issue.. can you please tell me how to use data2sd with respect to thr above rom..
devfeel said:
and i have 400MB patition layout..
Click to expand...
Click to collapse
then you are wasting 200 meg, , that rom says in post 1
EU and TMOUS: 200M system + 1GB EXT partition
Click to expand...
Click to collapse
that means you have 200 meg empty in your system partition, not being used.
Stuff that you install do not get installed to the system partition, nothing (or at least not apps / settings) gets put into the system partition, except the system at installation.
Do a full cwm backup, reflash using a 200MB partition layout, reflash the rom to teh new layout, restore your data and sd-ext partitions from advanced restore (in cwm) and you will recover the 200MB
samsamuel said:
then you are wasting 200 meg, , that rom says in post 1
that means you have 200 meg empty in your system partition, not being used.
Stuff that you install do not get installed to the system partition, nothing (or at least not apps / settings) gets put into the system partition, except the system at installation.
Do a full cwm backup, reflash using a 200MB partition layout, reflash the rom to teh new layout, restore your data and sd-ext partitions from advanced restore (in cwm) and you will recover the 200MB
Click to expand...
Click to collapse
Thanks a lot... now i understood wht is system and data memory.. now i got 200mb internal memory.. thanks again
same problem
i have a nand of 4.1.2 in my hd2 its pacman
it shows system memory only 13mb, i have removed all apps i installed earlier but still no space freed, can i atleast get the same 150mb back which i had earlier i.e any way to wipe all data on it/hard reset it?
is there any way of expanding the memory? because after i have installed 10-15 apps the memory vanished(even though i moved the apps to sdcard using app2sd) does that means i can not install more apps any way??
p.s i am a new user of android dont know how to install new rom etc so please explain the solution in simple steps.

[Q] Internal Memory Low Space on ICS 2.4.27-HWA

I have installed MIUI.us-Leo-2.4.27-HWA.ZIP in to my HTC HD2. Everything is working fine except Camera and phones internal memory is very low, only 25MB resulting cannot update any existing applications.
My phones total internal memory memory is 151MB and available is only 25MB.
SD card total space is 15GB and available is 9GB which is fine.
Total downloaded applications are 26 only, so it is not that I have too many application downloaded.
I moved most of the downloaded and other applications to SD card by using titanium backup. Few could not be moved for unknown reason as it does not give me option to move.
Can anyone please help me to increase my internal memory to at least at 70 or 60MB please.
Would appreciate your help.
Ronju Khan.
Dhaka, Bangladesh
i have used a few MIUI roms & did not have that problem
what is the data.img that you used?
are you using NAND rom? in that case what was the size of the partition you used, did you follow the recommended size?
Internal Space Low
mengfei said:
i have used a few MIUI roms & did not have that problem
what is the data.img that you used?
are you using NAND rom? in that case what was the size of the partition you used, did you follow the recommended size?
Click to expand...
Click to collapse
Yes, it is NAND ROM. The recommended partition was above 200mb and I used 250mb, so it was okay.
All I need to increase my internal space at least to 60 or 70mb so that application update can be done.
Many thanks
The ROM suggested 200, but you installed 250. You just lost 50 worth o internal storage.
You'll need to install an A2SD script, in order to be able to use your sd card as an internal storage. (of course, after making an ext2 partition )
Marvlesz said:
The ROM suggested 200, but you installed 250. You just lost 50 worth o internal storage.
You'll need to install an A2SD script, in order to be able to use your sd card as an internal storage. (of course, after making an ext2 partition )
Click to expand...
Click to collapse
Why ext2 he will face a lot of problems use ext4 for best speed
Sent from my HTC HD2 using XDA
Reply Internal Space is Low
Thealshear said:
Why ext2 he will face a lot of problems use ext4 for best speed
Sent from my HTC HD2 using XDA
Click to expand...
Click to collapse
I have A2SDGUI installed but don't know how to use this to increase internal space .Please advise me in details how do I perform ext4. I will be very much grateful to you. Will wait for your response.
Many thanks.
Reply to Marvlesz
Marvlesz said:
The ROM suggested 200, but you installed 250. You just lost 50 worth o internal storage.
You'll need to install an A2SD script, in order to be able to use your sd card as an internal storage. (of course, after making an ext2 partition )
Click to expand...
Click to collapse
Marvlesz, I looked for 200MB partition but could not find anywhere. That's why I installed 250MB. There are only 3 options they gave which is 150MB, 250MB & 400MB. Please suggest me in details how I would be able to do ext2 or ext4 using A2SD

Increase HD2 internal memory

hi guys new user of HTC HD2 here (previous motorola defy user)
so I got this phone yesterday thru swapping, and this phone is awesome, but I was rather disappointed with the internal memory. Mines got 186mb of application space so I always get memory full prompts. I know there is a mod to increase the size.
I flashed paranoid android this morning and boy is it good looking
I just want to increase my internal memory and Id be happy with it
what's the maximum I can a lot to it?
chachoi said:
hi guys new user of HTC HD2 here (previous motorola defy user)
so I got this phone yesterday thru swapping, and this phone is awesome, but I was rather disappointed with the internal memory. Mines got 186mb of application space so I always get memory full prompts. I know there is a mod to increase the size.
I flashed paranoid android this morning and boy is it good looking
I just want to increase my internal memory and Id be happy with it
what's the maximum I can a lot to it?
Click to expand...
Click to collapse
OK first things first,
Are you familiar with the 'stuff' of the HD2? MAGLDR bootloader, ClockworkMod Recovery(CWM)? sd-ext partitions?
well I'm trying to learn this terms but this is gonna take a while I think,
the Previous owner has installed magdlr 1.13 and clockworkmod and I have flashed paranoid android rom this morning. So I do have a recovery
sd-ext partion not so much
**okay okay, you will need to do a lot of research about your device and using it to its full potential; too much that it can't be explained within one post **
but here is a method I found in xda of performing a sd-ext partition within cwm:
> GO to advance and then partition SD card
> Remember this will wipe the sd card so back everything up if need be
> Choose how much space you want, 1024mb is recommended, on the partition then then choose 0MB for swap
>PLEASE NOTE PARTITIONING WILL WIPE THE SD CARD!
>and hey presto your done
> from here you can install link2sd and your set to go. -note, you will need to read about link2sd before use. just search it
There are many benifits of this using EXT-Partition such as you apps will automatically transfer to your partition meaning you will free space on your internal storage!
apologies if there's any misinformation there, quite tired :$
Sent from space..
ah I see, so basically the sd card will be detected as and internal card and I won't face memory full errors whenever uninstalling?
but I can just use link2sd app to transfer apps to sd card manually right?
I was wondering why I only have 186mb of internal memory wherein in GSM arena it says at least 512mb.
what I want to do is a phone modification to increase it, just in case the sd card was corrupted, I still have my apps on the phone memory
thanks for the reply though, if you can add something feel free :victory:
chachoi said:
ah I see, so basically the sd card will be detected as and internal card and I won't face memory full errors whenever uninstalling?
but I can just use link2sd app to transfer apps to sd card manually right?
I was wondering why I only have 186mb of internal memory wherein in GSM arena it says at least 512mb.
what I want to do is a phone modification to increase it, just in case the sd card was corrupted, I still have my apps on the phone memory
thanks for the reply though, if you can add something feel free :victory:
Click to expand...
Click to collapse
It says 186Mb because when you flash CWM, you also partition your NAND to run Android. Essentially, the storage you get is 512Mb-CWM partition size, although normally it's lower as there are probably things other than this installed to the NAND.
Thank you
Nigeldg said:
It says 186Mb because when you flash CWM, you also partition your NAND to run Android. Essentially, the storage you get is 512Mb-CWM partition size, although normally it's lower as there are probably things other than this installed to the NAND.
Click to expand...
Click to collapse
Hi so are you saying I can increase my phone memory by re-partition? how can you tell me please! id be happy by 300mb at least
chachoi said:
Hi so are you saying I can increase my phone memory by re-partition? how can you tell me please! id be happy by 300mb at least
Click to expand...
Click to collapse
Well it depends on the partition size you're currently using. If it's already the minimum for your ROM then no you can't increase the storage by repartitioning the NAND, but if it's any more than the minimum then you can increase this, by reflashing recovery with the correct size. Make a full backup in CWM first though.
so I reflashed 150MB recovery partition and flashed AOKP build by xylograph
now I have 217MB of internal memory
what should I flash so I can have more space?
the less is your recovery partition - more internal memory you get. Minimal recovery partition can be about 100 mb for some light roms I belive. So you can get 50 more mb than you hav now.
You've mentioned 300mb earlier, even if you get your desired 300mb it's gonna get filled up very soon.
I would advise you as was mentioned above to borrow 1gb from your sd card for sd-ext partition. Most of the roms support from the box (without intsalling any additional apps or scripts) sd-ext partition and install apps by default on that partiotion, Paranoid Android does, for instance, actually 80% of the roms do as well...
I don't know if it means anything, but you could look into a US HD2. Its got 1024 mb internal memory! That's double!
ok maybe ill experiment with this sd-ext partition
never had to deal with tgis when I was on defy
try this: http://forum.xda-developers.com/showthread.php?t=1661892
I installed AOKP in NAND & had only a few 100mb's available, I just used Link2SD & moved most apps/ games to SD. SD has no ext. part. yet. will do it latter when i get a 32gig card, now just testing a 4gig SD

[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