Partion SD help. - Droid Eris Android Development

I want apps2sd but cant figure out how to work it, my phone frequently runs out of space and i was wondering if some kind person could help me partion my sd card. I already screwd it up and deleted every damn thing on my sd... songs, priceless pics anofcourse ALL of my apps.

Well, for one thing. There is no way of which I am aware that you can partition sd without a full wipe.
First thing you should do is a nandroid +ext backup of your phone. Then copy the nandroid folder th your pc. (Should be located on root of sd.)
Afterwards simply go to partition. From there it's pretty simple. The standard 32 meg swap is fine. I like to make the ext 1 gig, however (personal preference). After all that goes through, you have the option of converting the ext2 to ext3. Then to 4 (unadvisable atm as alot of kernels don't support it yet).
Afterwards, install your ROM of choice with a2sd included.
Feel free to chime in if I've left anything out.
Sent from my Eris using Tapatalk

What does converting the ext do?

It just converts it to a newer filesystem. They have slightly improved performance and file management.
Sent from my Eris using Tapatalk

So should i convert my ext after?
-------------------------------------
Sent via the XDA Tapatalk App

that's hard to answer, it really depends on what you're running on it. While each step up provides a bit more performance, it have a slightly greater chance of being incompatible with a program. I run ext3, btw. If you're curious, ask the developer of the rom you want to run and I'm sure they'll tell you whether to run ext2 ext3 or ext4.

Related

(Q) wich lagfix we can use?

now i m confused.. wich lagfix is better? in quadrant all the fix do then the 2000...
Your choice. Do you want to repartition the sd card and fiddle in cmd, or just double click a file?
The problem with the first fix is that you cant replace the card any time you want. The problem with the second fix is that if you dont have 1gb free on the phone, it wont work
Second one looks like a much better deal.
If you don't have 500mb free on your internal SC card (correct me if I'm wrong, but I don't think it's 1gb), you can always move all your personal stuff in the external SD card.
Unless of course you have filled it up with apps only (with no app2sd with Eclair), but how you would have managed to fill almost 2gb of apps is beyond me. That'd be more than 2000 apps.
What I don't know though is the long term effects. I have no idea if the fixes that are made are bad for the internal SD card. I guess you have to trust Ryan.
Davith said:
Second one looks like a much better deal.
If you don't have 500mb free on your internal SC card (correct me if I'm wrong, but I don't think it's 1gb), you can always move all your personal stuff in the external SD card.
Unless of course you have filled it up with apps only (with no app2sd with Eclair), but how you would have managed to fill almost 2gb of apps is beyond me. That'd be more than 2000 apps.
What I don't know though is the long term effects. I have no idea if the fixes that are made are bad for the internal SD card. I guess you have to trust Ryan.
Click to expand...
Click to collapse
what do you mean about second choise lagfix 2.0??
2.0 caused my phone to be unstable so I re-flashed and went back to the first (1GB) fix.
Are you considering mimocam's fix (using the external card) or just between Ryan and Chanfire's fixes?
rock187 said:
what do you mean about second choise lagfix 2.0??
Click to expand...
Click to collapse
Yeah, I was talking about Ryan's Lagfix 2.3. (it's not 2.0 anymore).
I don't use either. I recommend the original fix that moves data to dbdata. I have over 70 apps installed and still plenty of space left. Using autokiller to keep free memory at 70 meg I have no lag. Currently on jm5.
Sent from my GT-I9000 using XDA App
I first did it by command line with the 1Gb partition. That ran well. I then updated to Ryans 2.2 which I have been using all day. It also runs really well. Lag pretty much gone.
If i apply the one-click-LagFix it makes an virtual ext2 partition to my internal sd-card. So if i choose sometime later to undo the fix how can i delete the ext2 partition in my internal sd-card? Will it be necessary to use gparted or similar?
Bajo76 said:
If i apply the one-click-LagFix it makes an virtual ext2 partition to my internal sd-card. So if i choose sometime later to undo the fix how can i delete the ext2 partition in my internal sd-card? Will it be necessary to use gparted or similar?
Click to expand...
Click to collapse
Just run the included unlagfixme.bat file. It's automated. But make sure you are running the unlagfixme for the correct version (2-2 or 2-3)
It works fine. I ran unlagfixme and flashed back to a stock ROM, tested with Quadrant and got the 900 something score again, so it does remove the lagfix.
I will note, however, that it's a very good idea to run the unlagfixme.bat before flashing to a different ROM.
kgk888 said:
Just run the included unlagfixme.bat file. It's automated. But make sure you are running the unlagfixme for the correct version (2-2 or 2-3)
It works fine. I ran unlagfixme and flashed back to a stock ROM, tested with Quadrant and got the 900 something score again, so it does remove the lagfix.
I will note, however, that it's a very good idea to run the unlagfixme.bat before flashing to a different ROM.
Click to expand...
Click to collapse
If you are flashing to any rom using odin3, there is no need to do the unlagfix at all, because the flashing would have overwritten any changes that you have made to the file system.
I often flashed my device alredy with repartition but it didnt touched my internal sd, cause my photos which are stored in the internal sd were still there after flashing. So will a firmware-flash through odin really delete the virtual ext2 partition?
Bajo76 said:
If i apply the one-click-LagFix it makes an virtual ext2 partition to my internal sd-card. So if i choose sometime later to undo the fix how can i delete the ext2 partition in my internal sd-card? Will it be necessary to use gparted or similar?
Click to expand...
Click to collapse
The LagFix does not partition your internal card. A 1gb file is created upon which the ext2 filesystem is made. Then this file is mounted as a loopback device. So the UnLagFix basically moves the data back to the native internal storage directories and deletes the ext2 file, so no need to use gparted

[Q] what's sd-ext?

i looked around the forums a bit but the search returns too many results not related to what i'm looking for...
So not really sure what this sd-ext is. I've read that it's for apps that are moved to the SD card... But the thing is i'm running CM7 and i've moved apps using Apps2SD as well as directly from within GB itself without ever creating an SD-ext partition.
So whats the purpose of this? Should i create the partition? And does it make a soft link to a directory on my SD card since it seems /sd-ext is in the root folder. If so, if i change my SD card later and transfer all the files over to it, will it break the link?
Your SD card has a fat32 format, which is mostly typical for usb storage devices, computers, etc.
Android runs natively in an ext format environment.
The stock Apps2SD uses the fat32 portion of your SD card, which has limitations, because it isn't Androids native environment. If you format your card so you have an ext partition, you can trick the phone into thinking it's part of it's native environment...
A good example can be seen with widgets, which won't work if you move them to SD, but will work on an ext partition. Other uses include being able to move cache and dalvik...
Sent from my Nexus One using XDA App
danger-rat said:
Your SD card has a fat32 format, which is mostly typical for usb storage devices, computers, etc.
Android runs natively in an ext format environment.
The stock Apps2SD uses the fat32 portion of your SD card, which has limitations, because it isn't Androids native environment. If you format your card so you have an ext partition, you can trick the phone into thinking it's part of it's native environment...
A good example can be seen with widgets, which won't work if you move them to SD, but will work on an ext partition. Other uses include being able to move cache and dalvik...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Thanks for the explanation. What happens to all the apps already moved to my sd card now? How do I get them over to sd ext partition?
And right now I only hasn't an eight gb card which I plan to upgrade in the future. Will I be okay just transferring everything over to the new card at that time?
Sent from my HTC Glacier using XDA App
You will need to be rooted...
You first set up the ext partition. Doing this will format your card, and erase everything. You will then need a script to run the a2ext. Darktremor is the popular one for the Nexus, but I'm not sure about the MT4G...
Once you have an a2ext script, then you just move your apps to internal, since the phone thinks the ext is internal memory.
Titanium backup can help backing up your apps, and also with moving them to internal in a batch...
Read up, because I know little about the mt4g specifics. I've ordered one, but until it arrives, I'm just reading...
Sent from my Nexus One using XDA App
danger-rat said:
You will need to be rooted...
You first set up the ext partition. Doing this will format your card, and erase everything. You will then need a script to run the a2ext. Darktremor is the popular one for the Nexus, but I'm not sure about the MT4G...
Once you have an a2ext script, then you just move your apps to internal, since the phone thinks the ext is internal memory.
Titanium backup can help backing up your apps, and also with moving them to internal in a batch...
Read up, because I know little about the mt4g specifics. I've ordered one, but until it arrives, I'm just reading...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Thanks. Yup I am rooted and running CM7.
seems to be a bit of a pain to format my sd card..
Sent from my HTC Glacier using XDA App
I must admit, I wouldn't think you would need to?
The mt4g has more rom and ram than my Nexus, so I wouldn't have thought that you would run out of space quickly... Or am I wrong, and space is an issue?
Sent from my Nexus One using XDA App
danger-rat said:
I must admit, I wouldn't think you would need to?
The mt4g has more rom and ram than my Nexus, so I wouldn't have thought that you would run out of space quickly... Or am I wrong, and space is an issue?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
No you're right actually. It's not really an issue but not sure why I think I should move the apps to the sd.. Haha
Sent from my HTC Glacier using XDA App

[Q] How to Partition 8 GB microSD 4x for Rooted Stock Wildfire?

I have a rooted HTC Wildfire 2.2 with a new 8GB microSD Class 4. I'd like to correctly partition my SDCard so that I can install all applications on SDCard and not Phone Memory.
1- What I need is to help me setting up perfect sizes for SWAP & Ext3 (Perfect matches HTC Wildfire and 8 GB Card).
2- Can I install the stock 2.2.1 ROM over the SDCard?
3- Will all Apps got installed on SDCard after partitioning instead of Phone Memory leaving it empty?
Thank you
nice post i would like to know too!
Try rommanager, chose partition your sd,(instal old clockwork mod like 2.xx, becoz new ones make ext4, which is not compatable with some roms,)choose the greatest avilable size for ext and swap(it may be enough, if u r not app greedy, i had done so, so far i have 50+app installed), reboot-partition-done, the best trouble free way!
Sent from my HTC Wildfire using XDA App
showlyshah said:
Try rommanager, chose partition your sd,(instal old clockwork mod like 2.xx, becoz new ones make ext4, which is not compatable with some roms,)choose the greatest avilable size for ext and swap(it may be enough, if u r not app greedy, i had done so, so far i have 50+app installed), reboot-partition-done, the best trouble free way!
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Thanks for your reply but I don't want to end up my device because some people reported issues with partitioning part of internal phone memory due to some ROM Manager Partition Manager errors. I'll use a PC client to partition the card.
Rom manager works fine. I've done it a few times. The people having problems probably shouldn't have bought an android phone...... besides if something goes wrong odds are it won't just redo the partition again.
And make sure you backup your SD card before partitioning it.
Sent from my HTC Wildfire using xda premium
Use recovery (= rom manager) to partition first. If that gives any issues then use "gparted live cd" to partition sdcard. U need to download gparted_live_cd_ISOimage and burn it to a cd. Then using pc u need to boot from live cd to partition sdcard. Here be careful not to format ur pc hard drive.
The partitioning sizes I recommend are 512MB ext , 32MB swap and remaining fat. If that is not sufficient u can choose 1024 MB, 64MB.
If u r using gparted then first create extended partition as fat corresponding to its memory. Then create ext and swap. At last format all those partitions.
Sent from my Blade using XDA App
Dude, i have done it several times, so far got no issues, and it is the simplest way.
Sent from my HTC Wildfire using XDA App
omg wow
so i have conflicting information from this thread and this one http://forum.xda-developers.com/showthread.php?p=19927720#post19927720 on whether or not i am able to create an sdext partition on a factory rom, which i have come to the conclusion that you may be able to, but would you be able to put that partition to use and have apps installed and read from there. please be more specific, i have an LG Opt T running 2.3.3 btw
thanks for any input
I used gParted. It's free. You can find it by fecking googling download and burn to a CD. Then boot it on your PC. Linux will show up. Open gParted from desktop and size your ext and format.
I made 1 GB ext4 and 64 MB Swap. 1 GB is too much for ext since I can't use more than 100 MB. 512 is ok. I read somewhere that Swap isn't used anymore but 64 MB isn't a thing in 8000.
It doesn't matter if its ext3 or 4 since you can flash DT's A2SD to any ROM.
The apps you moved to SD before are not in ext partition. They will stay in FAT partition. To move them to ext, simply move them to phone (after DT's A2SD phone means ext part.
Sent from my HTC Wildfire while dividing infinity by zero
Hey man,
I had the same problem a while ago:
http://forum.xda-developers.com/showthread.php?t=1253270&page=2
In the second to last post I finally managed to get it to work. (Just to be clear, I used the darktremor script, but not the app, for the app is use S2E and to visualise my usage i use "freespace", but work like a charm ! )
Hope it helps

Ext partiton not working

How can i force my phone to install everything to ext partition?
I have ext3 partition and Im running newest miui.us rom.
Also,when i open app2sdgui it just closes after black screen.
Pls help me vouse im constantly seeing that low on space warning.
I allready moved all the apps I could to sd,but still i have less then 10 mb left..
Sent from my HTC HD2 using fingers
imported0 said:
I allready moved all the apps I could to sd,
Click to expand...
Click to collapse
if you mean by choosing settings - app settings - manage apps and choosing to move an app to sd card, thats not how ext works, what that does is takes it FROM the ext partition and puts it in the FAT partition.
The apps should all be set to use internal memory, and the system will put them in the ext partition without you doing anything.
samsamuel said:
if you mean by choosing settings - app settings - manage apps and choosing to move an app to sd card, thats not how ext works, what that does is takes it FROM the ext partition and puts it in the FAT partition.
The apps should all be set to use internal memory, and the system will put them in the ext partition without you doing anything.
Click to expand...
Click to collapse
I know how ext works,but i dont know why is it not working..
How can i fix this,should i wipe all and reinstall rom and all the apps again?
Sent from my HTC HD2 using fingers
I advise installing Link2SD, I had a similar problem and this program fixed it for me.
Just mount the storage space and then you will be able to create link (that means moving the app to ext partition).
Hope it helps.
i haven't used miui so i can only comment on cm7 roms with a2sd+.
Did you create teh ext yourself? because i have read that if the ext and fat are not in the correct order (i cant remember which should be first, which second), if they arent the correct way around the system wont see the ext.
Have you used an android browser to look at the contents of teh ext? is it REALLY empty?
samsamuel said:
i haven't used miui so i can only comment on cm7 roms with a2sd+.
Did you create teh ext yourself? because i have read that if the ext and fat are not in the correct order (i cant remember which should be first, which second), if they arent the correct way around the system wont see the ext.
Have you used an android browser to look at the contents of teh ext? is it REALLY empty?
Click to expand...
Click to collapse
No,he puts something on ext and something on internal ..
Sent from my HTC HD2 using XDA Premium App
matoflash said:
I advise installing Link2SD, I had a similar problem and this program fixed it for me.
Just mount the storage space and then you will be able to create link (that means moving the app to ext partition).
Hope it helps.
Click to expand...
Click to collapse
Not working...
Sent from my HTC HD2 using XDA Premium App
one other thing is that the internal memory will go down when you instal something, but REALLY the app has gone to EXT, and the internal free memory will go back up after a reboot. Its a free memory display bug. The system just assumes it has used the space up without checking it until after a reboot.
So you install a 20mb app, the internal memory drops 20mb, but after a reboot has gone back up 20mb.
Just a thought.
If you partition your sd card in GPartEd, your FAT32 partition should be first (on the left) followed by your ext3 partition.
Or you could use CWM or even ROM Manager (I think, not 100% sure about ROM Manager) to partition your card.
Try flashing this in CWM Recovery:
http://forum.xda-developers.com/attachment.php?attachmentid=749299&d=1318560772
And then when you reboot, go into your terminal emulator app and type:
su (press enter)
a2sd reinstall (press enter)
It should then say a bunch of stuff, and then your phone will reboot and take a long time to boot back up, because it is moving all your apps to your ext3 partition.
I would really recommend using gparted to partition your card, it's very reliable, gives you the most control over what you're doing, and you can download an iso to make a bootable cd of it if you don't use Linux. Google 'GParted Live CD'. (But why wouldn't you use Linux???)
Do a CWM NanDroid backup before you do any of this, in case your rom is not A2SD compatible and it screws something up. Then you'll be able to revert back to your present state. I can't stress the CWM backup enough, especially because I'm not sure if MIUI roms are A2SD compatible or not. Either way, I think it's worth a shot.
Back your sd card up to your computer before partitioning it, as it will wipe everything from it.
So,I did this: Wiped all and installed rom again,app2sd gui now working (apps are on sd) but i still have a little space left. Only installed apps I really need and i have less then 30% available.
I even linked all apps I could with link2sd app.
I dont know,I will try to reboot now and see if something happened.
Sent from my HTC HD2 using xda premium
imported0 said:
So,I did this: Wiped all and installed rom again,app2sd gui now working (apps are on sd) but i still have a little space left. Only installed apps I really need and i have less then 30% available.
I even linked all apps I could with link2sd app.
I dont know,I will try to reboot now and see if something happened.
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
You only have a little space left on internal memory or in your ext partition?
You have a EURO HD2, so you're not gonna have a bunch of internal memory no matter what. Your ext won't show up in Settings/Storage/SD Card.
In order to see how much ext space you have left, look in the A2SD GUI app.
How much space is left in each of those? (ext and internal)
If you are using the A2SD that I linked in my previous post, you won't have to use the link2sd app.
It creates the symlinks to the sd ext partition on its own.
How big of an ext partition did you put on your sd card?
huggs said:
You only have a little space left on internal memory or in your ext partition?
You have a EURO HD2, so you're not gonna have a bunch of internal memory no matter what. Your ext won't show up in Settings/Storage/SD Card.
In order to see how much ext space you have left, look in the A2SD GUI app.
How much space is left in each of those? (ext and internal)
If you are using the A2SD that I linked in my previous post, you won't have to use the link2sd app.
It creates the symlinks to the sd ext partition on its own.
How big of an ext partition did you put on your sd card?
Click to expand...
Click to collapse
Memory free:
Internal: 32MB
Ext:786MB
its 1024 partition..
Sent from my HTC HD2 using xda premium
what system partition size have you flashed?
what size partition does the rom (you still havent linked to teh rom you flashed so we cant look ourselves) say you need?
because that doesn't count towards internal space, so for example if your rom requires a 150 meg system partition, and you flash a 250meg system partition, you will lose the extra 100mb. you wont be able to use it for apps or data, it will be dead space.
huggs said:
If you partition your sd card in GPartEd, your FAT32 partition should be first (on the left) followed by your ext3 partition.
Or you could use CWM or even ROM Manager (I think, not 100% sure about ROM Manager) to partition your card.
Try flashing this in CWM Recovery:
http://forum.xda-developers.com/attachment.php?attachmentid=749299&d=1318560772
And then when you reboot, go into your terminal emulator app and type:
su (press enter)
a2sd reinstall (press enter)
It should then say a bunch of stuff, and then your phone will reboot and take a long time to boot back up, because it is moving all your apps to your ext3 partition.
I would really recommend using gparted to partition your card, it's very reliable, gives you the most control over what you're doing, and you can download an iso to make a bootable cd of it if you don't use Linux. Google 'GParted Live CD'. (But why wouldn't you use Linux???)
Do a CWM NanDroid backup before you do any of this, in case your rom is not A2SD compatible and it screws something up. Then you'll be able to revert back to your present state. I can't stress the CWM backup enough, especially because I'm not sure if MIUI roms are A2SD compatible or not. Either way, I think it's worth a shot.
Back your sd card up to your computer before partitioning it, as it will wipe everything from it.
Click to expand...
Click to collapse
Did what u said here,but same results,35MB internal free memory..
Is this normal for eu model? I remember I had 100MB free on cm7 roms...
Sent from my HTC HD2 using xda premium
samsamuel said:
what system partition size have you flashed?
what size partition does the rom (you still havent linked to teh rom you flashed so we cant look ourselves) say you need?
because that doesn't count towards internal space, so for example if your rom requires a 150 meg system partition, and you flash a 250meg system partition, you will lose the extra 100mb. you wont be able to use it for apps or data, it will be dead space.
Click to expand...
Click to collapse
I dont know what rom requires,I have miui.us rom,and 150 mb cwm partition.
Sent from my HTC HD2 using xda premium
hmm its a 90 meg download, so 150 system should be ample. do you have masses of text messages stored? (i know some people have thousands, never delete any, , , weird) or tens of hundreds of contacts that could be filling up the data partition? (your systems 'internal storage' figure is based only on the data partition)
samsamuel said:
hmm its a 90 meg download, so 150 system should be ample. do you have masses of text messages stored? (i know some people have thousands, never delete any, , , weird) or tens of hundreds of contacts that could be filling up the data partition? (your systems 'internal storage' figure is based only on the data partition)
Click to expand...
Click to collapse
I have more than 1000 contacts synced from facebook.But I dont think thats the issue,I think it is something with the rom..
This is the rom Im using..
http://forum.xda-developers.com/showthread.php?t=1117787
I read everything and still cant figure out what did I do wrong.
Sent from my HTC HD2 using xda premium
i dont have my phone handy to compare, but what id do next would be go into cwm and do a backup, then reboot into android, and browse to the backup folder and take a look at the size of the data image, which will give you a rough idea on its size.
samsamuel said:
i dont have my phone handy to compare, but what id do next would be go into cwm and do a backup, then reboot into android, and browse to the backup folder and take a look at the size of the data image, which will give you a rough idea on its size.
Click to expand...
Click to collapse
Idk what u talkin about lol
Edit:Im gonna sell this damn phone and buy something with more internal memory
Sent from my HTC HD2 using FINGERZ
samsamuel said:
i dont have my phone handy to compare, but what id do next would be go into cwm and do a backup, then reboot into android, and browse to the backup folder and take a look at the size of the data image, which will give you a rough idea on its size.
Click to expand...
Click to collapse
Canu take a look at that thread.. Maybe I missed something :/
Sent from my HTC HD2 using FINGERZ

[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