Hi,
I was formatting my memory card in DHD using 4EXT recovery and I keep wondering what is the use of second sd-ext partition? To be precise, I mean sd-ext2, not sd-ext (I know its used for apps2sd). Does it work like backup partition if the first one runs out of memory? But that wouldn't make sense, since you can just create one big partition. My second thought was that maybe you install linux on it if you want to have it in your smartphone (like ubuntu or debian).
And the second question is about swap. Does anyone uses it at all? I used to have it on my old HTC G1, but I don't think it makes sense to use it now. Are there any roms that take advantage of swap and does it make them work faster (particularly the new big sense 3.x roms)?
Thanks in advance for any responses,
BR, Jack.
edit: I wrote the same topic on my native polish board and I got responses, but that's not what I meant so I decided to write more precise what I mean.
I know there are such apps like ie. link2sd, which use second partition on the memory card as partition for storing applications, data etc. They use the bolded partition (numbers are numbers of partitions on memory card):
1. fat32
2. sd-ext
What I am talking about is second ext partition, like this:
1. fat32
2. sd-ext
3. sd-ext2
It surely doesnt mean format of partition (like ext2, ext3, ext4), it means there is a second ext partition. Both of them can be formatted differently, both can have different ext (like ext2, ext3, ext4). What is the use of sd-ext2 partition? Does it serve as a backup partition for first sd-ext? Or you can install linux on it?
from what i've seen reading around on this forum, swap isn't necessary on a desire HD, the phone has enough ram
not sure about a second sd-ext though sorry
For what i gather... only 4Ext has it... why not ask them?
Related
I'm trying to figure out what format / partitions my sdhc card(s) should be in.
Does the stock firmware require specific partitioning? 1 FAT32 seems
like it would have huge waste due to the FAT clustering system. Would one
say 2gb FAT32 partition for the firmware to use + some sort of ext2/3/4
or other Linux type filesystem for the rest to better use the space work?
Would a linux swap partitition help / be used at all? I have a 2gb (already
formated as a single fat32 filesystem), a 16gb class 2 and a 32gb class 2
to work with.
I figured on partitioning / formatting the large cards with gparted on a
card reader device, then putting the card in the phone.
How does the incredible see the internal user flash space, as a 'second' SD type device?
Do I understand correctly, the system flash is logically treated as a number of filesystems
so they can be 'fixed' / 'updated' seperately?
Like the boot partition, kernal partition, recovery partition, system / root partition etc.
I'm trying to understand how the system a works vs a regular
unix / linux / bsd OS would. Like booting into recovery is kinda like booting into single user
to fix the boot or root partition.
Does nandroid backup the user (internal) flash or just the various
system flash partitions?
Thanks
Mine is just formatted fat32.
Sent from my ADR6300 using XDA App
fuzzynco said:
I'm trying to figure out what format / partitions my sdhc card(s) should be in.
Does the stock firmware require specific partitioning? 1 FAT32 seems
like it would have huge waste due to the FAT clustering system. Would one
say 2gb FAT32 partition for the firmware to use + some sort of ext2/3/4
or other Linux type filesystem for the rest to better use the space work?
Would a linux swap partitition help / be used at all? I have a 2gb (already
formated as a single fat32 filesystem), a 16gb class 2 and a 32gb class 2
to work with.
I figured on partitioning / formatting the large cards with gparted on a
card reader device, then putting the card in the phone.
How does the incredible see the internal user flash space, as a 'second' SD type device?
Do I understand correctly, the system flash is logically treated as a number of filesystems
so they can be 'fixed' / 'updated' seperately?
Like the boot partition, kernal partition, recovery partition, system / root partition etc.
I'm trying to understand how the system a works vs a regular
unix / linux / bsd OS would. Like booting into recovery is kinda like booting into single user
to fix the boot or root partition.
Does nandroid backup the user (internal) flash or just the various
system flash partitions?
Thanks
Click to expand...
Click to collapse
I believe the stock firmware won't be able to see the card if you reformat it in anything besides fat32, but this is just speculation.
You bring up a good question though. ext2 contains less read/write overhead than FAT32, and thus it would seem better to store certain read/write intensive files (i.e. music) on an ext2 partition rather than FAT32.
You could always root, install a stock-like kernel (Skyraider, Virtuous, etc.) and play around with fstab to see if you can get something usable.
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Kneros said:
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Click to expand...
Click to collapse
Almost all custom partition managers can do this in Windows-Partition Magic, Paragon, Or Gparted with VMWare
They can, but not on SD Card. Windows doesn't support partitions on memory cards. I tried Partition Magic, Paragon, Easeus, none of them work.
I didn't try Gparted with VMWare tho, you might be right about that.
Kneros said:
They can, but not on SD Card. Windows doesn't support partitions on memory cards. I tried Partition Magic, Paragon, Easeus, none of them work.
I didn't try Gparted with VMWare tho, you might be right about that.
Click to expand...
Click to collapse
Paragon works for me on Windows..And Gparted is what I use
Strange, it didn't work for me (see attached pics).
Just install the latest ClockworkMod, or Amon-RA and do it through recovery.
Is it useful to have an ext3 partition on SD card with stock 2.2 rom ?
fblasot said:
Is it useful to have an ext3 partition on SD card with stock 2.2 rom ?
Click to expand...
Click to collapse
It's useless, you need a ROM that supports it.
quick question - if I create an ext3 partition using this method or any other way, and then move the apps I had on SD (the old way) back to internal, will it then move them to the ext3 partition automatically? I just want to make sure I have this right myself before I attempt it.
I'm using Oxygen 2.3 ROM RC-6 which supports apps2sd etc.
thanks in advance for any replies.
Kneros said:
Strange, it didn't work for me (see attached pics).
Click to expand...
Click to collapse
See mine..
I'm using 9.0 Pro, you're using 10.0 server, if that helps..
I still prefer Gparted though..On Vmware.
Choronzonix said:
quick question - if I create an ext3 partition using this method or any other way, and then move the apps I had on SD (the old way) back to internal, will it then move them to the ext3 partition automatically? I just want to make sure I have this right myself before I attempt it.
I'm using Oxygen 2.3 ROM RC-6 which supports apps2sd etc.
thanks in advance for any replies.
Click to expand...
Click to collapse
The a2sd+ script is built in, it executes at installation. Best way would be to use Titanium to backup ur froyo a2sd apps, wipe+install a2sd+ custom rom, use the option of Titanium, to move to sd.
and how do you want to put data on the ext3 partition ? ... you will need linux, its the best way...
Kneros said:
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Click to expand...
Click to collapse
EDIT:
Didn't work, SD could not be mounted under Android or Clockworkmod
Did the partitioning under Clockworkmod
partition works, but..
i tried minitool and easueus, both partiotion my 16 gb sd card, but...
I use miui rom, xpart(data2ext). the script works, but the phone is slow as ........
someone any idea?
i also have a 8 gb card, same partitions, but no problem..
any idea how i can tets my 16 gb card?
Minitool is crap. Haven't used easeus but its still under Windows, which is a no no
Gparted is the only decent tool that will nicely partition an ext partition on your sd whilst aligning it properly. This is both my personal and professional opinion.
Now because it doesn't run in windows, its a bit more long winded but so much more worth while.
Virtual machine (vmware player) is the best method. There is a link to a guide to set this up in my signature
Sent from my HTC Desire using XDA App
Kneros said:
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Click to expand...
Click to collapse
Minitool partition wizard is a wonderful and practical software. Thanks!!
Hi!
Just would like to know the pros and cons of formatting into ext4 on my SD.
As far as I can find :
Pros : Supports files larger than 4GB as Fat32 cannot
That's about it I think...
Cons : Windows cannot natively detect such a partition
Why I ask this is I just saw a this post
blahbl4hblah said:
Having sd-ext partition on your sdcard will always be benefical, the phone will run so much better believe me
Click to expand...
Click to collapse
I'm ready to go ext4 if there's any performance gain, who wouldn't? But what gain is there, and what would I lose in return?
ArmedandDangerous said:
Hi!
Just would like to know the pros and cons of formatting into ext4 on my SD.
As far as I can find :
Pros : Supports files larger than 4GB as Fat32 cannot
That's about it I think...
Cons : Windows cannot natively detect such a partition
Why I ask this is I just saw a this post
I'm ready to go ext4 if there's any performance gain, who wouldn't? But what gain is there, and what would I lose in return?
Click to expand...
Click to collapse
You're mixing things up here a bit I think. Sd-ext referrs to having a partition on your sdcard to allow support for Apps2SD (basically being able to move apps to your SD card and run them from there in order to free up space); you'd basically repartition the card so that there's an ext3/4 partition for apps and a FAT32 partition for data.
As for the ext4 filesystem, it does allow for larger file sizes and is also a bit faster but you're correct in the fact that you won't be able to natively mount it on a Windows system.
Sent from my T-Mobile G2 using XDA App
OriginalGabriel said:
You're mixing things up here a bit I think. Sd-ext referrs to having a partition on your sdcard to allow support for Apps2SD (basically being able to move apps to your SD card and run them from there in order to free up space); you'd basically repartition the card so that there's an ext3/4 partition for apps and a FAT32 partition for data.
As for the ext4 filesystem, it does allow for larger file sizes and is also a bit faster but you're correct in the fact that you won't be able to natively mount it on a Windows system.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
But don't we already have Apps2SD in GB, + all the apps that do it for you. How is this different, apart from some apps that can't natively be moved? And why is it faster? Internal memory should always load faster, should it not?
ArmedandDangerous said:
But don't we already have Apps2SD in GB, + all the apps that do it for you. How is this different, apart from some apps that can't natively be moved? And why is it faster? Internal memory should always load faster, should it not?
Click to expand...
Click to collapse
GB has the ability to do Apps2SD but it requires the partitioning as, I believe, a symlink is set up so that partition on the sdcard acts as a part of the devices internal storage.
As for speed, just moving apps to your sdcard won't speed up your phone; what that poster you quoted was talking about (most likely, I'd have to see the original thread) was converting your devices partitions (/system, /data, /cache, etc.) from ext3 to ext4. ext4 is a bit faster however some ROMs do not fully support it.
Sent from my T-Mobile G2 using XDA App
Ok, let's clear this up. GB has Apps2FAT32 (a2sd) natively. A2EXT is completely different but none of that is the point of the OP's question.
When it comes to our phones - there is almost no notable performance gain when using EXT4 over any other EXT format. Our phones don't utilize FAT32 internally - just on the sdcard. EXT4 is designed for use with massive file systems. A couple Gigs really doesn't access it's full potential.
While the question is interesting, I'm not really sure what you're planning on doing. Don't format your sdcard entirely in EXT format, and don't attempt to format your phones partitions as FAT32. The result would be... just don't do it.
Just read this on the portal
http://www.xda-developers.com/andro...hd2-data-successfully-moved-to-ext-partition/
This has two main advantages: larger sized data partition and more speed as EXT is inherently faster for I/O purposes.
Click to expand...
Click to collapse
How do I go about formatting a section of my SD into ext4, with existing SD data intact.
And how do I move apps that area already in my phone's internal memory to the ext4 partition? I know there's an option in ROM Manager and CWM, but just don't want to mess anything up
ArmedandDangerous said:
Just read this on the portal
http://www.xda-developers.com/andro...hd2-data-successfully-moved-to-ext-partition/
How do I go about formatting a section of my SD into ext4, with existing SD data intact.
And how do I move apps that area already in my phone's internal memory to the ext4 partition? I know there's an option in ROM Manager and CWM, but just don't want to mess anything up
Click to expand...
Click to collapse
As far as I know, only two ROMs actually support the real A2SD: PyroMod and MexDroid. It's recommended you format the EXT partition to EXT4 before you actually flash either of those ROMs, and you have to rename MexDroid in order to get A2SD working.
blackknightavalon said:
As far as I know, only two ROMs actually support the real A2SD: PyroMod and MexDroid. It's recommended you format the EXT partition to EXT4 before you actually flash either of those ROMs, and you have to rename MexDroid in order to get A2SD working.
Click to expand...
Click to collapse
Thankfully I am already using meXdroid~ Guess I'll just wait for the new version in the next few days to do the formatting. Can I backup all my apps with Titanium Backup, flash ROM (wipe data/cache and dalvik cache), restore with Titanium.
Or would I have to reinstall every app again so that it goes into the ext4 partition?
blackknightavalon said:
As far as I know, only two ROMs actually support the real A2SD: PyroMod and MexDroid. It's recommended you format the EXT partition to EXT4 before you actually flash either of those ROMs, and you have to rename MexDroid in order to get A2SD working.
Click to expand...
Click to collapse
There's a script to accomplish this on pretty much any ROM. It *should* work on current ROMs too. It's called 'darktremor a2sd'. Still find it amazing people forget about that one when this question comes up because it's one oldest methods of obtaining a2sd.
I'm still not understanding the OP's question. Are you wanting to do this for an IO performance gain or for space? I can understand doing it for space if you have a ton of apps but if you're doing it for performance it's a waste of your time. You're internal partitions should already be in EXT4 format (use 4EXT Recovery if they're not).
KCRic said:
There's a script to accomplish this on pretty much any ROM. It *should* work on current ROMs too. It's called 'darktremor a2sd'. Still find it amazing people forget about that one when this question comes up because it's one oldest methods of obtaining a2sd.
I'm still not understanding the OP's question. Are you wanting to do this for an IO performance gain or for space? I can understand doing it for space if you have a ton of apps but if you're doing it for performance it's a waste of your time. You're internal partitions should already be in EXT4 format (use 4EXT Recovery if they're not).
Click to expand...
Click to collapse
I'm doing it for the performance. Have been using 4EXT for a few days and loving it. Already converted internal memory to ext4 from ext3. If further partitioning my SD card for performance is really not noticeable, then I guess I've got nothing to worry about
So I was following Simons tutorial to rooting the CDMA WFS. In particular I was looking at the Link2SD part of it. I followed his instructions and got an error:
/dev/block/mmcblk0p2: device not found
Make sure you have two partitions on your SD card and both are primary.
The screen shot of my MiniTool is attached. Can someone please tell me what I did wrong.
Hi GingerSmurf,
The first problem that I see is that the partition for Link2SD is way too big.
5.44GB only for installing apps?
The maximum recommended size for Link2SD and also DATA2SD support is 2GB.
This space will only be used for applications you install on your phone. To fill up 1GB already requires a lot of apps.
On my card I created a partition with 1GB, formatted in Ext4 for use in the ROM that is described in my signature.
I suggest you remove the 2nd partition that you created in FAT32 and create a new one in Ext2 format, preferably in Ext4 format if your rom/kernel supports it.
When you create the 2nd partition make sure you choose:
Select as: Primary
File system: Ext2 (to go on the safe side) or Ext4 (preferably)
Never use more than 2GB for that partition.
Use FAT32 for Link2SD only if your rom doesn't support it.
I can tell you that Stock 2.3.5 rom from HTC supports Ext2 (not Ext4) from my experiences.
When you first start Link2SD you should be able to select the file system you used for the partition.
If you already started Link2SD and it doesn't ask where to store it's data go to menu, more, recreate mount scripts.
It should ask what format you used for the Link2SD partition now.
For any more doubts refer to this excellent tutorial for Link2SD, made by d33ps1x. Kudos to him.
http://forum.xda-developers.com/showthread.php?p=21120303#post21120303
Good luck!
Please click thanks if I helped.
Currently running MikG3.11 w/a2sd so have a EXT3 partition for data (I have my /cache pointing there also). I'm looking to move to a JB rom (probably Evervolv - http://forum.xda-developers.com/showthread.php?t=1961602).
How do I need to re-partition my 16G sd to make the most efficient use? It's been quite a while so a quick 'step1,2,3 howto would be great..including suggested sizes, ext3/ext4...)
Recovery is SmelkusMod..
Thanks Tons!
You may not *need* to do anything out of the ordinary.
If your ext3 partition is of a reasonable size, you might be able to just wipe everything (except 'SD card') in smelkus, flash the ROM, and proceed from there. Nandroid first of course.
'Reasonable' means about 512 to me, others may have different ideas.
How big is your ext partition?
The main reason to repartition is if you are having mystery SD card issues or you want to add or resize partitions. If these don't apply, just wipe, flash, and go.
6100 using xda app-developers app
NxNW said:
You may not *need* to do anything out of the ordinary.
If your ext3 partition is of a reasonable size, you might be able to just wipe everything (except 'SD card') in smelkus, flash the ROM, and proceed from there. Nandroid first of course.
'Reasonable' means about 512 to me, others may have different ideas.
How big is your ext partition?
The main reason to repartition is if you are having mystery SD card issues or you want to add or resize partitions. If these don't apply, just wipe, flash, and go.
6100 using xda app-developers app
Click to expand...
Click to collapse
I would. Repartition, 0/1024, ext3, then ext4....i actually do this before any flash. Think about what a2sd does, and you'll realize that if you don't format, your system has to run through more dead data to get to the info it needs
Sent from my EVO 4G using Tapatalk 2
jwitt418 said:
I would. Repartition, 0/1024, ext3, then ext4....i actually do this before any flash. Think about what a2sd does, and you'll realize that if you don't format, your system has to run through more dead data to get to the info it needs
Sent from my EVO 4G using Tapatalk 2
Click to expand...
Click to collapse
/system 318 used out of 350mb
/data 369/428mb
/cache 1.38mb/160mb
sdcard ext3 .97 used, 1.79GB total.
sdcard fat32 (rest of the 16G)
I had thought that going ext4 was typically recommended for JB. Are you saying first create a 1G ext3, then the rest as ext4? How does that work for transferring files back and forth via usb to a win7 box?
I intend on doing this fresh.. ie, install gbapps and individual app re-installs from there.
I have a lot of opinions on this but let me just try to answer your one specific question about ext4.
(going from memory here, I'm sure someone will correct me if I'm wrong..)
When creating partitions in recovery, you will be prompted to allocate space to three separate partitions, swap, sd-ext, and 'the rest'. You have to choose a specific size for the first two, the third partition gets whatever is left. If you choose a size of zero when prompted, it will skip creating that partition.
So if you follow jwitts advice above, you will answer zero for swap, then 1024 for the ext partition.
This will skip the creation of a swap partition and create a sd-ext partition with size 1024. Initially you want to format this as ext2.
The rest of the SD card will go in the main sdcard partition and will be formatted as FAT.
As a last step you convert your ext2 partition to ext3 (and if you think there would be a benefit, you can further convert it from ext3 to ext4 in a subsequent step.)
Honestly, I installed evervolv over the exact same partition scheme you have already and have seen no need to tamper with it. Obviously others do. I leave you to make whatever decision you feel most comfortable with.
Partitioning is destructive: you lose all the contents of the entire SD card in the process so you need to make a backup first, and I don't mean nandroid. To me it's a bit more inconvenience plus the risk of losing irreplaceable data (ie pictures, music, etc).
By contrast, wiping partitions is routine and doesn't touch the main FAT partition. If you use smelkus to wipe your sd-ext partition (as implied in the oft-repeated advice to "wipe everything except 'SD card'") you should be starting with a pretty clean slate.
Maybe I've had the wrong understanding all this time, but I have been working under the assumption that "wiping" has the effect of deleting all the files below certain mount point.
The contents of your sd-ext folder are just as gone as if you "formatted". There may be other benefits to additional formatting or partitioning, and when you are planning to start from scratch, that can be a good time to do this sort of "preventive maintenance", but I was just pointing out that under normal conditions it is not strictly necessary.