I'm on Drizzy's Superlite V2, loving it, but noticing some minimal slow down over time on a 64mb swap partition. If I wanted to change the swap partition size, would I need to wipe and flash, or can I just wipe that partition and recreate it without having to flash the phone again?
You can just repartition the linux-swap partition.
khintz1 said:
I'm on Drizzy's Superlite V2, loving it, but noticing some minimal slow down over time on a 64mb swap partition. If I wanted to change the swap partition size, would I need to wipe and flash, or can I just wipe that partition and recreate it without having to flash the phone again?
Click to expand...
Click to collapse
repartition, but make sure you change your userinit.sh script.
no wipe necesarry
As supremeteam256 said, you can just resize that partition. You can't format linux-swap, it's like RAM, it doesn't have any files saved to it permanently. If you're going to use the parted method with Cyanogen's recovery then it will wipe your entire card, if your whole card gets wiped then you will need to wipe (internally) and reflash.
New to partition... I followed a guide for my 8GB card that game me 32MB for linux-swap. Is this not adequate? I'm not entirely certain what this swap is for, let alone how to repartition it (unless its just following the same instructions over and keying different numerical amounts).
s15274n said:
New to partition... I followed a guide for my 8GB card that game me 32MB for linux-swap. Is this not adequate? I'm not entirely certain what this swap is for, let alone how to repartition it (unless its just following the same instructions over and keying different numerical amounts).
Click to expand...
Click to collapse
32 is a good size and so is 64. I have mine set at 32. Anything more than 64 can cause lag. Swap is like adding more ram. I don't know what method you used to format it but it is easy in ubuntu. Just delete the partition and create the new one.
google gparted its a linux live cd that i used to use as an alternative before i ran linux. simple gui.
s15274n said:
New to partition... I followed a guide for my 8GB card that game me 32MB for linux-swap. Is this not adequate? I'm not entirely certain what this swap is for, let alone how to repartition it (unless its just following the same instructions over and keying different numerical amounts).
Click to expand...
Click to collapse
32 MB is what I use. The Swap is space on the SD card that the phone uses as extra RAM to speed up the laggy ROMs. And yes, it is just following the same instructions over, but with different amounts for a different partition size.
i am currently on Cm 4.1.11.1 with ext2 and fat 32, i know how to creat linux swap using Paragon, just want to know can i simply just create Linux swap partition and keep fat 32 and ext2 the way it is, and after creating swap, how do i use it with CM 4.1.11.1
***Please no one answer with "search" or "look around forum" because i have read threw about 100000000paages already
caleoss said:
i am currently on Cm 4.1.11.1 with ext2 and fat 32, i know how to creat linux swap using Paragon, just want to know can i simply just create Linux swap partition and keep fat 32 and ext2 the way it is, and after creating swap, how do i use it with CM 4.1.11.1
***Please no one answer with "search" or "look around forum" because i have read threw about 100000000paages already
Click to expand...
Click to collapse
You need to create a user.conf and userinit.sh on your ext partition which tell the phone which settings to use. The link's in my sig.
I'd highly recommend, switching from ext2, ext3 and 4 are journalled so you should get much better performance. If I remember correctly you can type "upgrade_fs" in Cyanogen's recovery to convert ext2 to ext3.
http://forum.xda-developers.com/showthread.php?t=534479
you may have to repartition your card (instructions in link above)
AdrianK said:
You need to create a user.conf and userinit.sh on your ext partition which tell the phone which settings to use. The link's in my sig.
I'd highly recommend, switching from ext2, ext3 and 4 are journalled so you should get much better performance. If I remember correctly you can type "upgrade_fs" in Cyanogen's recovery to convert ext2 to ext3.
Click to expand...
Click to collapse
what setting do u recomend? do u have a configuration already set up that i could just put on sd card or whatever, dont really know much about configuring it
Long time lurker here... I have found that like many people on here I have trouble flashing hero roms. I am using hakuryo's spl and the proper radio, and running amon's recovery img. My question is that I don't seem to have any problem with HeroOver's roms but every other hero rom I try to install just boot loops. my normal flashing procedure is to wipe and reformat my class 6 sd card. normally 512 on an ext4 partition, 96 to 192 megs for a swap partition and the rest as fat32, in order of fat ext4 and then swap. then wipe, wipe dalvek, wipe install. I have read through the posts and haven't seen anyone else with this issue.. please tell me if I'm missing a step. Thanks in advance.
Oh ya I can flash any of the other non hero roms just fine.
Lee
Try ext3, not ext4.
doubt it's ext4 that's the problem, more likely due to that massive swap partition. Bigger partition doesn't mean better performance. A partition between 32-96 is reccomended.
So if you do have ext3 and 4... they would work best being in the double digits in size?
I have tried it with swap partitions from 32 megs to 192 megs. I keep reading the results that people have gotten the various hero roms to work at and I will give that setting a try.. I am stumped ..
i repartitioned my sd card with a 64mb swap,2gb ext2 and the rest fat32 using ra recovery. im running cyanogen 4.2.13. when i type 'free' into terminal it says 0 for total,used, and free. am i missing something? or do i need to "activate" the swap partition? TY
here you go
forum.xda-developers.com/showthread.php?t=542899
remember search is your friend
i came across this great site about swapping: http://wiki.cyanogenmod.com/index.php/Compcache
im wondering what other options others on this forum use and which one is the most recommended?
compcache
swap
or
backing swap
ty
backing swap seems to be the way togo, but i would like a professional opinion.
2GB its too much for an EXT partition.....i have seen (somewhere) that the recomended size its 512mb...not sure tought...
About the Swap...idk, but i like Compcache...some devs (like WG) says that their roms runs better without Swap.
EDIT:
Here is what i was talking about the EXT partition.
This was on [Guide] Partition your Sd Card, Upgrade to Ext3, and Install Apps2SD.
nephron said:
Partition Fat32/Ext2 with App2SD
Open up Apps2SD
It will show you a screen telling you that your card is not partition and you will have a sliding bar to choose the amount of space you want for an EXT2 partition
I suggest a max of 600mb for EXT2 space (I use 500mb)
Press Ok
You will get a Force Close screen DONT PRESS FORCE CLOSE PRESS WAIT
You will get a reboot message, Press Reboot
You now have a EXT2 partition
Click to expand...
Click to collapse
is there a specific reason to not have a large ext2 partition? i wanted to have plenty of room for both apps2sd and installing debian. im using this guide:
http://all-google-android.com/googl...verdale's-debian-boot-v-2-0-updated-03092009/
the thing i like about this one:
" this will run a full Linux distribution (Debian) on the Linux partition of your sdcard (EXT2/3/4). I have written the script to bind Debian folders to your regular folders, and thus give you access to the entire system while running Debian"
Firstly, BlaY0 has a great tutorial on how to do this properly, I suggest you do that to learn something.
Secondly, I cannot confirm that this is 100% safe. BlaY0's method should be 99% safe, I don't know about this as it is all automatic. BlaY0's method is tried and tested, this is not. I only used this method as I had a new SD card and I was in a hurry (exams coming up ) and I didn't have time to remind myself of BlaY0's method, and CWM only allows you to create up to 512mb partition. Also, I had a new computer, and I don't have time to set up ADB all over again.
Anyway, this is a method for people who don't want to use ADB to partition their SD card for A2EXT or DATA2EXT (a.k.a. apps2sd, etc etc), and are using Windows. If you're running linux, you could use something like gParted to partition it, not sure about OS X though. This method will allow a Windows user to create an EXT partition on their SD card alongside the FAT partition.
1) Download and install Minitool Partition Wizard, from here.
2) Open the program and delete all partitions from the SD card (which you will have inserted into the computer using an adapter or something). DO NOT DELETE THE PARTITIONS FROM THE HARD DISK! MAKE SURE YOU KNOW WHAT YOU'RE DELETING. Oh, and make sure the SD card is backed up
3) Create a FAT32 primary partition. You decide how big you want it, but I'd advise you leave 1024mb (1gb) for the EXT partition.
4) Create an EXT2/EXT3/EXT4 (you decide) primary partition. Use up the rest of the space on the SD card.
5) Click assign/OK/whatever and wait for it to complete
6) You now have your partitioned SD card ready for an A2SD ROM!
7) You need to assign a drive letter to the FAT32 partition. Not sure about the EXT partition. At first I forgot to do this and my card didn't show up in Windows, though Partition Magic can still see it.
Like I said, do yourself a favour and use BlaY0's method here, but if you're lazy or you don't have time or ADB doesn't work anymore, use this.
Nice one m8. You mentioned that CWM doesn't offer adding partitions bigger than 512 MB. Well, you're right but that's why I made a customized version of fake-flash that can do bigger... to 1 GB. It can even add second ext partition for some exotic types of data2ext. On top of that I added auto block alignment which is described in my guide (the manual one) so no more calculations and manual labour
Sent from my HTC Legend
BlaY0 said:
Nice one m8. You mentioned that CWM doesn't offer adding partitions bigger than 512 MB. Well, you're right but that's why I made a customized version of fake-flash that can do bigger... to 1 GB. It can even add second ext partition for some exotic types of data2ext. On top of that I added auto block alignment which is described in my guide (the manual one) so no more calculations and manual labour
Sent from my HTC Legend
Click to expand...
Click to collapse
Ah, I didn't know about your customized CWM, I think I'll just use that next time
BlaY0 said:
Nice one m8. You mentioned that CWM doesn't offer adding partitions bigger than 512 MB...
Click to expand...
Click to collapse
I remember some version had the ext menu up to 4GB
BlaY0 said:
On top of that I added auto block alignment which is described in my guide (the manual one) so no more calculations and manual labour
Click to expand...
Click to collapse
Didn't know that, good to know, for those of us still using data2ext, this is important...
Wish this was up earlier, spent an hour repartitioning my card using parted.Couldn't upgrade to EXT3 and ended up using CWM 3.0.2.8 to do it instead lol
What CWM is using under the hood for partitioning is actually parted.
Sent from my HTC Legend
Tried it but it didnt work not sure what the problem is...
formatted my SD to FAT 32 and reserved 1G for EXT3 both as primary partition in the Mini Partition Tool
Plugged it in my phone,
Ran ADB shell
# a2sd --enabled, rebooted
on reboot nothing seemed to have changed... went back to ADB shell
tried a2sd --free it says A2Sd is not active ...
a2sd -- enabled again and it says it is enabled but not active
so im guessing it cant read or recognize the EXT3?!
Any clues... i didnt want to move my Dalvik to SD ... should I try EXT4 or even EXT2?
QkSi1ver said:
Tried it but it didnt work not sure what the problem is...
formatted my SD to FAT 32 and reserved 1G for EXT3 both as primary partition in the Mini Partition Tool
Plugged it in my phone,
Ran ADB shell
# a2sd --enabled, rebooted
on reboot nothing seemed to have changed... went back to ADB shell
tried a2sd --free it says A2Sd is not active ...
a2sd -- enabled again and it says it is enabled but not active
so im guessing it cant read or recognize the EXT3?!
Any clues... i didnt want to move my Dalvik to SD ... should I try EXT4 or even EXT2?
Click to expand...
Click to collapse
Take me through what you did, step by step. You say you reserved 1G for EXT3, but did you actually format it as another partition?
QkSi1ver said:
Any clues... i didnt want to move my Dalvik to SD ... should I try EXT4 or even EXT2?
Click to expand...
Click to collapse
It has been mentioned here like a gazilion times, boot up your device with logcat and see the first few lines...there is your answer!
Google how to wait for the device with logcat
1) Downloaded and installed Minitool Partition Wizard from your link. I got the free home edition
2) backed up my SD card and Open the program and delete my SD card partition ( which is in a card reader)
3) Created a FAT32 primary partition of 69xx MB and left the rest 1024 MB for the other unallocated space
4) Right click on the Unallocated Space to create an EXT3 as primary partition with the default cluster size.
5) At this point, it showed 2 partition on my SD, one with the drive letter for windows FAT32, and the 2nd one Ext 3 with 1GB and Primary. Clicked OK and Apply and wait for it to complete.
6) once complete , put it in phone, plugged usb and ran adb shell
7) ran a2sd --enable, it said reboot phone.. i made a mistake to reboot by adb the first time but then did the whole process again a 2nd time using reboot from the phone....
Tried logcat using this command "adb -d logcat>mylogfile.txt"
couldnt find the file anywhere ... if i dont redirect to the txt , it goes too fast to read and there's soo much debug messages what do i need to look for?
I thought it would save me time to get it done through windows... but its taking me as much time it w0uld probably get me with the manual way...
i'll give it a try tomorrow...
8) rebooted fine, and i was still low on space.. so went back in adb sheel to check a2sd --free but this is where it says not active..
QkSi1ver said:
1) Downloaded and installed Minitool Partition Wizard from your link. I got the free home edition
2) backed up my SD card and Open the program and delete my SD card partition ( which is in a card reader)
3) Created a FAT32 primary partition of 69xx MB and left the rest 1024 MB for the other unallocated space
4) Right click on the Unallocated Space to create an EXT3 as primary partition with the default cluster size.
5) At this point, it showed 2 partition on my SD, one with the drive letter for windows FAT32, and the 2nd one Ext 3 with 1GB and Primary. Clicked OK and Apply and wait for it to complete.
6) once complete , put it in phone, plugged usb and ran adb shell
7) ran a2sd --enable, it said reboot phone.. i made a mistake to reboot by adb the first time but then did the whole process again a 2nd time using reboot from the phone....
Tried logcat using this command "adb -d logcat>mylogfile.txt"
couldnt find the file anywhere ... if i dont redirect to the txt , it goes too fast to read and there's soo much debug messages what do i need to look for?
I thought it would save me time to get it done through windows... but its taking me as much time it w0uld probably get me with the manual way...
i'll give it a try tomorrow...
8) rebooted fine, and i was still low on space.. so went back in adb sheel to check a2sd --free but this is where it says not active..
Click to expand...
Click to collapse
Tbh I'm really not sure. One thing I forgot to mention in the guide is that you should assign a drive letter to the FAT32 partition or it won't show up in Windows. I didn't assign one to my EXT4 partition though, and DATA2SD is working great for me. Try deleting all partitions from the SD card and start again. It'll only take 10 minutes, and if it still doesn't work just use the manual way.
Sorry.
alexhtclegend said:
Tbh I'm really not sure. One thing I forgot to mention in the guide is that you should assign a drive letter to the FAT32 partition or it won't show up in Windows. I didn't assign one to my EXT4 partition though, and DATA2SD is working great for me. Try deleting all partitions from the SD card and start again. It'll only take 10 minutes, and if it still doesn't work just use the manual way.
Sorry.
Click to expand...
Click to collapse
Yeah i assigned a drive letter to FAT32...
Also the FAT32 , was my first block allocated partition, the 2nd partition was EXT3... i will redo the whole process and recreate EXT4 instead.
"DATA2SD is working great for me" ... you mean "A2SD working great for me" ... right? unless i'm missing something else that i needed to run..
ps: I recalled, after it was not working, i took out the sd and put it back in the reader to open MiniTool, it showed EXT2 instead of EXT3 ( which i was sure i chose )... and what's weird is it was reporting used space like 41MB... so obvisouly, the ROM wrote something on it...
Formatting it again to EXT3, didnt delete the 41 Used space, but it did convert it back to EXT3 ...probably nothing but mentioning as well
QkSi1ver said:
Yeah i assigned a drive letter to FAT32...
Also the FAT32 , was my first block allocated partition, the 2nd partition was EXT3... i will redo the whole process and recreate EXT4 instead.
"DATA2SD is working great for me" ... you mean "A2SD working great for me" ... right? unless i'm missing something else that i needed to run..
ps: I recalled, after it was not working, i took out the sd and put it back in the reader to open MiniTool, it showed EXT2 instead of EXT3 ( which i was sure i chose )... and what's weird is it was reporting used space like 41MB... so obvisouly, the ROM wrote something on it...
Formatting it again to EXT3, didnt delete the 41 Used space, but it did convert it back to EXT3 ...probably nothing but mentioning as well
Click to expand...
Click to collapse
I suggest you start over, something seems to have gone wrong.
A2SD is where the apps are stored on the EXT partition.
DC2SD is where the dalvik cache is also stored on the EXT partition.
DATA2SD is where the entire /data partition on the phone is stored on the EXT partition of the memory card.
Partitioning the SD card with a FAT32 partition and EXT partition is done first, then you decide which one is for you. DATA2SD does have one or two issues, such as the risk of corruption - you'd then have to completely reinstall the ROM. A2SD and DC2SD are fine but I still found myself running out of internal memory.
i gave up and used ROM Manager to create my partition ...i couldnt set it to 1G because 512MB is maximum but it was painless to create.
it asked me to create a swap partition... i've read somewhere that swap partition is useless or barely used in newer android os? do you guys have any swap partition if so how big are they?
Also, did you move Dalvik cache to sd? isnt it slower on SD? i mean shouldnt dalvik cache be on RAM whihc i assume is faster than any external sd?
thanks for your insight
QkSi1ver said:
i gave up and used ROM Manager to create my partition ...i couldnt set it to 1G because 512MB is maximum but it was painless to create.
it asked me to create a swap partition... i've read somewhere that swap partition is useless or barely used in newer android os? do you guys have any swap partition if so how big are they?
Also, did you move Dalvik cache to sd? isnt it slower on SD? i mean shouldnt dalvik cache be on RAM whihc i assume is faster than any external sd?
thanks for your insight
Click to expand...
Click to collapse
I used the full DATA2SD, which includes Dalvik2SD.
ok so sorry for a double post but im having an issue partitioning.
32 gb card san disk brand new
primary Fat32 10gb
primary Ext2 rest of space
once mini tool is done it sats successful but shows the sd card as Bad disk?!?
is there somthing im doin wrong? is used this guide here http://forum.xda-developers.com/wiki/SD_card_partitioning
all help deeply appriciated
Acer Iconia Tab A110 rooted, Cwm, 4.1.2
Can you actually have a 22gb ext partition? This might be something to look into to see if you can do it.
Edit: this got me interested so I searched myself, yes you can but apparently it depends on the chosen block size and hardware limitations, so u may have an issue with either.
Sent from my Legend using xda app-developers app
alexhtclegend said:
Firstly, BlaY0 has a great tutorial on how to do this properly, I suggest you do that to learn something.
Secondly, I cannot confirm that this is 100% safe. BlaY0's method should be 99% safe, I don't know about this as it is all automatic. BlaY0's method is tried and tested, this is not. I only used this method as I had a new SD card and I was in a hurry (exams coming up ) and I didn't have time to remind myself of BlaY0's method, and CWM only allows you to create up to 512mb partition. Also, I had a new computer, and I don't have time to set up ADB all over again.
Anyway, this is a method for people who don't want to use ADB to partition their SD card for A2EXT or DATA2EXT (a.k.a. apps2sd, etc etc), and are using Windows. If you're running linux, you could use something like gParted to partition it, not sure about OS X though. This method will allow a Windows user to create an EXT partition on their SD card alongside the FAT partition.
1) Download and install Minitool Partition Wizard, from here.
2) Open the program and delete all partitions from the SD card (which you will have inserted into the computer using an adapter or something). DO NOT DELETE THE PARTITIONS FROM THE HARD DISK! MAKE SURE YOU KNOW WHAT YOU'RE DELETING. Oh, and make sure the SD card is backed up
3) Create a FAT32 primary partition. You decide how big you want it, but I'd advise you leave 1024mb (1gb) for the EXT partition.
4) Create an EXT2/EXT3/EXT4 (you decide) primary partition. Use up the rest of the space on the SD card.
5) Click assign/OK/whatever and wait for it to complete
6) You now have your partitioned SD card ready for an A2SD ROM!
7) You need to assign a drive letter to the FAT32 partition. Not sure about the EXT partition. At first I forgot to do this and my card didn't show up in Windows, though Partition Magic can still see it.
Like I said, do yourself a favour and use BlaY0's method here, but if you're lazy or you don't have time or ADB doesn't work anymore, use this.
Click to expand...
Click to collapse
Hahah! Thanks for you detail guide. It is so helpful for me!