Ext3 vs ext4 - Desire Q&A, Help & Troubleshooting

Hello to all.
I have a question:what is the differences between the two file system in object of this thread?
I read that some Roms support ext4 and now I have ext3.
I need to change this?is better for performance?
Thanks
Sent from my HTC Desire using Tapatalk

http://www.google.com/#hl=en&source=hp&q=ext3+vs+ext4&aq=0&aqi=g10&aql=&oq=ext3+vs+&gs_rfai=&fp=f4657a9573528472

I would like to know this also

Ext4 is the newer Linux file system. Much like Windows 95 moved to Fat32, Vista moved to the NT file system. Linux is now moving to version 4 of their file system. The new file system is more efficient, has journaling and is more secure. It really will not have any noticeable affect on operation.
It must be noted though that native Linux file systems are a lot faster than Fat Windows file systems, however they are not accessible when you put your SD card into a Windows computer. This is why only part of the card is partitioned to Ext3/4 along with the benefit of not having to unmount a file system with your apps on it.
Sent from my HTC Desire using XDA App

I ve read a post with a very good explanation a week ago .
I will search !
Edit : hum sorry its about a2sd+ , but a little about ext3 and ext4
http://forum.xda-developers.com/showpost.php?p=7458565&postcount=8

So it's not really important to make the upgrade to ext4 for me?it's only a problem about security and not affect the performance?
Sent from my HTC Desire using Tapatalk

i think it doesnt matter on a sd card which ext you use
sdcards are too slow

Check out this article for extensive info.
It is increased journalisation, and better handling of bigger volumes/files.

All the above is absolutely right, but totally wrong. The technical aspects are not important here. For the HTC Desire user the main difference between those filesystems is simple: stock kernel and recovery does not support ext4. That's it.
If you never plan to use stock kernel and/or recovery or skiled enough to enable ext4 support for them, then go ahead and read all those technical articles and do (or do not) change the FS type. If the words "stock kernel" and "stock recovery" mean nothing to you at the moment, you better stick to ext3.
P.S. in theory, ext4 gives you better write performance (and slightly longer SD card life) only if you frequently write the data to the ext partition. But this is not the case for A2SD partition, where the apps are installed occasionally. Unless you plan to give the Desire or the SD card to your grandchildren after many-many years.

Related

Android on Kaiser: The difference between SD/NAND/EXT2?

In short:
Is there a thread somewhere stating the pro's and con's of running Android from different types of "media" (SD, NAND, EXT2)?
If there is, please provide a link, I can't seem to find anything that isn't an unanswered question or small comments.
If there isn't, let this be a starting point for those looking for the answer to this question.
Longer:
I've seen this question pop up once and again but it might be that the topic is totally exhausted and people have stopped commenting on it. I can't seem to find an answer though; What are the pro's and con's of using NAND, EXT2, FAT32 or any combination of it?
I see a couple of installation alternatives and some I have been able to conclude myself but others not.
* Running from SD-card using HaRET
This option is the slowest in terms of Android performance. It has the added value of easily getting back to Windows Mobile by rebooting the phone, gaining easy access to the SD card and manipulation options.
* Running the system AND data on NAND
This option has in my view the fastest Android experience. Access to files on the SD card is a bit more cumbersome (there is the SD card split widget APK available but I have yet to see it working) and access to files for manipulation I can't comment on (haven't gotten to that yet).
* Running the system from NAND and data on EXT2
The performance seems almost as fast as the system+data on NAND. I have no idea about the added value of running anything from an EXT2-partition in the SD card but I'm guessing it will be slower. I have no idea if file access for manipulation is easier or not compared to the other options.
* Running the system AND data from EXT2
I have not tried this yet and cannot comment on it. Something tells me it will be slower than NAND because of SD card overhead.
* Running the system from EXT2 and data on NAND
I have not tried this yet and cannot comment on it.
Now, I've missed out on several of the installation options but I'll edit this post as soon as I get to investigating it further.
Any comments/experience/knowledge in this is greatly appreciated, as it can make things clearer as to what options to choose.
Well these are very good question and wanted to start a thread on this matter as well. I also could not find a strait answer anywhere.
I also want to know if there is an advantage using ext2 over fat32.
So, people out there having knowledge about this matter please share it.
Ext2 and Fat32 are both types of filesystem used on various different types of media, including SD card, Hard drives etc.
EXT2 is (one) of the native linux filesystems, and is fully supported in kernel, and is usually faster and more stable in that OS
FAT32 is the 32bit version of the old MSdos filesystem, used up to Windows 98, and still supported by windows machines, but slower and less stable than the native NTFS filesystem used by XP and above.
Nand is actually the type of flash ROM used by our devices, and not a filesystem as such, and running Android in Nand refers to where the information is stored, rather than the filesystem used to store it.
It's equally valid to say that we run WM in Nand also.
I think that in the case of Android EXT2 should be faster and more stable than fat32 since it's designed for Linux, and works better in that OS.
Zenity ik would like to thank you very much as this answers mij questions.
And i think this would many others aswell.
Don't forget - if you format your MicroSD to just EXT2 then you will make it very awkward to transfer files to/from the card on a Microsoft Windows based system.
This may, or may not be a problem for you.
Ultimately, the current ideal situation (IMHO) is to run your OS from NAND, and to store your data (music / movies / documents) on a FAT32 format MicroSD - as this enables you to swap the MicroSD card without turning off the device, and provides best cross-platform usability of the MicroSD for the purposes of transferring data to/from it.
Thank you all!
Thank you all for commenting! I will add your comments to the Android-wiki I'm building as this question could come back repeatedly from newcomers (and old ones who forgot )!
boli99 said:
Don't forget - if you format your MicroSD to just EXT2 then you will make it very awkward to transfer files to/from the card on a Microsoft Windows based system.
This may, or may not be a problem for you.
Ultimately, the current ideal situation (IMHO) is to run your OS from NAND, and to store your data (music / movies / documents) on a FAT32 format MicroSD - as this enables you to swap the MicroSD card without turning off the device, and provides best cross-platform usability of the MicroSD for the purposes of transferring data to/from it.
Click to expand...
Click to collapse
There is a program for allowing the mounting of EXT2 file systems on windows, however they are not signed. This is more problematic in Windows that are 64bit. The program is called 'ext2fsd' and you can get it from source forge. EXT2 is a better file system, and does not have the 4GB file size limit, and does not fragment (although on a SD card, this should not be an issue). EXT2 also has file permissions that Linux understands. Fat32 has no Access control file permissions.
I have just recently got polymod's eclair running with both system and data on ext2 partitions.
my question is...
I am just wondering what the boot order is...
and where(if possible) can it be changed?
system.img in the andboot folder VS system on partition.
I know it can be set in the installer. but lets say I had installed system on ext2 partition. and then later placed a system.img in the andboot folder.
can I swap between the two?
OK...
I figured it out myself,
You can use the installer to select boot options (Not just options to install)
so I have a system and data on partitons. (currently using)
and I also have a second build installed to .img files in the andboot folder. (for failsafe backup)
if I want to swap from one into the other
I enter installer and change the settings for the system and data to
their respective locations and then just QUIT.
I also still have a donut build in the android folder. as well as still running winmo.
quad boot system on my phone...LOL
Now thats a neat use of the installer, I think this find deserves it's own thread in fact, I'm certain others will find it useful
Tanks !
binlabin said:
* Running the system from NAND and data on EXT2
The performance seems almost as fast as the system+data on NAND. I have no idea about the added value of running anything from an EXT2-partition in the SD card but I'm guessing it will be slower. I have no idea if file access for manipulation is easier or not compared to the other options.
Click to expand...
Click to collapse
I've done some tries with this doing the partitioning from within android and then formatting the FAT32 partition from Windows 7 but the FAT32 partition doesn't work very well afterward. Really slow and sometimes crashes the explorer. Propably something to do with my SD-card. May try doing the partitioning and formatting from Linux to see if it works better.
Seems to me the main advantage of this option is to increase the size of available data storage which i suspect can become a limitation sooner or later in a pure NAND install.
EDIT: Now I've done it and gone NAND-System + EXT2-Data... Partitioned the SD-card from Ubuntu with gparted. Resized the FAT32 partition and created 3 primary EXT2 partitions. only the second (partition 3) should be used though with the setup I am using. It's charging right now so I haven't tried it out much yet but I will later on. However I noticed that I now have 171Mb free phone storage instead of 30-something that I had before (same apps installed).
EDIT2: Ran gparted again and shrinked the unused partition (partition 2) and expanded the data partition (partition 3) so I now have 369Mb free "Internal phone storage". Haven't noticed any speed differences between this and when I had data on NAND.
nand
By then one question:
If im install android in the NAND is more fast ready? But this process erase WM6?
Because now android work good in my HTC TYNT II but the camera and bluetooth not work and have one or two performance problems and for this dont like delete WM6 of my phone, and for this im use Android from my SD.
But look the NAND option because have a problems with the time live of my battery only lasts 5hours with android and SD.
Thanks for your help and cooperation
excellent thread which answers some questions that I had. Thanks to everyone who contributed. The only question remaining though and I have posted this elsewhere without getting an answer:
I partitioned a 2 gb sdcard with ~1.6gb Fat32 and the rest as a single Ext2. I selected system on nand and data on ext2 in the installer. After installation, it does show alot more memory for data as compared to data on nand, BUT I also have a data.img in andboot which is in the Fat32 partition, with a size around 250mb. The question is, is the data in that file or on ext2? If I backup data from installer, it creates a databackup.img in andboot with the same size as data.img. Seems to me the ext2 partition is just taking up space and not being used. Can anyone more knowledgeable shed some light on this? Thanks.
Not quite sure what is going on there, seems very counter-intuitive, I would have assumed that system on Nand, data on EXT2 would have installed the data partition to EXT2 on SD. This would seem not to be the case in this instance.
There are a few experiments you could try, if you are brave enough, since you may cause problems by trying any of these suggestions, which could mean a reinstall, I leave it to your judgement how to proceed
Ok firstly I assume you have a card reader, since you managed to partition and format the SD card in the first place. Remove the SD card, insert in card reader, delete the andboot folder, or the contents of the folder, ( may be wise to have a spare SD with either a winmo or android install handy at this point, just in case things go horribly wrong ).
Now with the cleaned SD, put it in the phone and boot, it should boot fine, IF the data is truly on the EXT2 partition.
That at least will answer one question, namely, where the heck is my data?
If this works fine, then I'd just put it down to some inner weirdness of android on non-native devices, if it fails then I'm wondering if your EXT2 partition may have problems, forcing the phone to dump it on the first available good partition, namely the FAT32 one.
Oh and if it does fail, you will have to reinstall, since your data will be toast.
Finally, good luck, I await with interest
As I recall, the install has the FAT32/Ext2 options incorrectly swapped. It has been this way for a while.
zenity said:
Not quite sure what is going on there, seems very counter-intuitive, I would have assumed that system on Nand, data on EXT2 would have installed the data partition to EXT2 on SD. This would seem not to be the case in this instance.
There are a few experiments you could try, if you are brave enough, since you may cause problems by trying any of these suggestions, which could mean a reinstall, I leave it to your judgement how to proceed
Ok firstly I assume you have a card reader, since you managed to partition and format the SD card in the first place. Remove the SD card, insert in card reader, delete the andboot folder, or the contents of the folder, ( may be wise to have a spare SD with either a winmo or android install handy at this point, just in case things go horribly wrong ).
Now with the cleaned SD, put it in the phone and boot, it should boot fine, IF the data is truly on the EXT2 partition.
That at least will answer one question, namely, where the heck is my data?
If this works fine, then I'd just put it down to some inner weirdness of android on non-native devices, if it fails then I'm wondering if your EXT2 partition may have problems, forcing the phone to dump it on the first available good partition, namely the FAT32 one.
Oh and if it does fail, you will have to reinstall, since your data will be toast.
Finally, good luck, I await with interest
Click to expand...
Click to collapse
Great idea, I'll try this on the weekend. I wont delete data though, I'll just rename andboot and backup data for good measure, because I want to be able to go back to the data by renaming it back if it doesn't work. I was also thinking if there is any way to get to the ext2 partition and read it... I'm on xp so I cant do it on my pc, and on the phone, I've looked around in astro n other file managers but cant see anything. But if the case is as golfnz34me points out, then I should just backup the data, and change the option to Fat32 in install and restore data. That should do the trick.
golfnz34me said:
As I recall, the install has the FAT32/Ext2 options incorrectly swapped. It has been this way for a while.
Click to expand...
Click to collapse
Thanks, will check this out. If its true, then great, more speed for my /data! I wonder how I missed this, been going through these forums regularly...
Ok I checked it out, and golfnz34me is correct it seems.
But now I found a new problem. I backed up data, and in the installer, set the data to SDCard, and tried to restore data. It gives various errors like
Code:
cannot determine filesystem size
failed
failed to format
...some other lines...
losetup: /dev/block/loop2: no such device or address
I created the partition with Paragon partition manager, and after getting this error I rechecked in PPM. I reformated the partition, but still get the error. In PPM the partition drive letter isnt assigned. Or, the partition isnt the active partition. Can one of those be the problem? The volume name is Ext2. Im not very experienced in partitioning etc, apart from normal ntfs partition for new hds in windows, so I didnt play with any options. I dont have a linux system either. Any got any ideas? Any help would be appreciated alot!
Not sure about using partition managers other than gparted, afaik most people are using the Gparted live cd if they don't have a linux install handy.
The errors all point to some sort of problem with the EXT2 partition, or it's formatting.
Also EXT2 partitions do not have drive letters, nor do they have to be active partitions.
Apps and data on SD card.
I cant seem to figure out how to make all the apps and other stuff install to the SD card. Do I have to partition the card into two partitions? or is there a way to install the system to Nand and make all the apps and data go to the SD card? Ive tried setting it to System on nand and data on SD partition but it says no partitions to install to or something.

[Q] Pros and Cons of sd-ext?

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

File system question

I have tried to find information on this, and I'm struggling.
What file system does the evo use by default? I know it's EXT2 and fat32 for camera card, but the main partitions I do not know. Yaffs?
I've heard things about Yaffs2+EXT2 (refered to as godmode), using EXT2, using Yaffs, and using EXT4, with or without journaling. I want to make my file system faster. I keep finding very diluted information that never gives the whole picture. How does yaffs2+EXT2 work? How do the different options perform relative to eachother?
I'm guessing nobody is going to answer... got pushed a couple pages back on the forum
I'll tell you what I know, which is limited. the ext2/3/4 are used for storing apps/cache on the sdcard. It is separate from the fat32 partition which is where everything else on the sdcard is stored, ie pics/roms/backups... Having an ext partition setup will not automatically speed up your phone. You must use a sdcard that is class 6 or higher to give you the speed you desire. The ext2 partition is used with godmode i believe. I had better results from the non-godmode synergy, so I didn't bother learning everything that I should have. Ext3 is what is primarily used for DTA2SD, which I have been using for 2 or 3 years now. I have yet to see a rom that uses ext4. The only thing I have seen about it, is the recommendation to stay away.
Not sure about YAFFS, you could always google it though.
Thanks, this was helpful.
Appreciate the comments.
I am running ext4 from a a script on my gtab. Can i run ext4 with this script on the evo?
I read somewhere that the evo cannot use ext 4. Check out synergy god mode, it has some weird hybrid file system if I remember correctly.
EVO default is YAFFS2. Godmode is YAFFS2 + EXT2. EXT2 and file sytem and YAFFS2 as wear leveler layer.
Read a little on Linux history, I know that EXT2,3, and 4 are newer than any YAFFS, with EXT4 being the new standard for now. Basically all of the new phones use EXT4 now, that was made the new standard or something of the sort with Gingerbread.
Sent from my PC36100 using xda premium

[Q]Can anyone explain in detail whats the main difference between Data2SD and Link2SD

I have gone through some posts that explain the difference between the two, but i am still confused which one suits my needs. I have just got myself a 16Gb Class 4 SDHC and want to install one of the two. I am on Stock Htc Rom , Unlocked BL and Rooted. What do I think about the two after going through various post here
1) Link2SD -> Supports different partitions, works with stock rom and is a good choice.
2) Data2SD -> Dont know if it supports different partitions or works on stock rom (Please make 'd33ps1x' make a Tutorial for Data2SD) but I have read that it performs best with Ext4 partition and is better than Link2SD under certain conditions ( Like Class of your Sd Card etc. ). The main reason I am confused is many users here opt for it over Link2Sd.
Please correct me if i am wrong and also suggest which will be best for me. ( Please dont ask me test them for myself as I dont know if Data2SD will work with my Stock Rom and a Class-4 SD card)
Along with this I will like to know If its worth to make a linux swap partition or use a swapper application from market or doing without swapping is absolutely fine.
I use my WFS to play HD games so please take this into consideration when answering the question
If you need a lot of memory, just go with DATA2SD.
hellnoob said:
I have gone through some posts that explain the difference between the two, but i am still confused which one suits my needs. I have just got myself a 16Gb Class 4 SDHC and want to install one of the two. I am on Stock Htc Rom , Unlocked BL and Rooted. What do I think about the two after going through various post here
1) Link2SD -> Supports different partitions, works with stock rom and is a good choice.
2) Data2SD -> Dont know if it supports different partitions or works on stock rom (Please make 'd33ps1x' make a Tutorial for Data2SD) but I have read that it performs best with Ext4 partition and is better than Link2SD under certain conditions ( Like Class of your Sd Card etc. ). The main reason I am confused is many users here opt for it over Link2Sd.
Please correct me if i am wrong and also suggest which will be best for me. ( Please dont ask me test them for myself as I dont know if Data2SD will work with my Stock Rom and a Class-4 SD card)
Along with this I will like to know If its worth to make a linux swap partition or use a swapper application from market or doing without swapping is absolutely fine.
I use my WFS to play HD games so please take this into consideration when answering the question
Click to expand...
Click to collapse
main difference is i think that data2sd uses ext4 and link2sd uses ext2 ...
i think taht data2sd is a script that installs all the app that u choose to install, on sd card partition that u made.It redirects your phone into thinking that the partition of sd card, that you made is actually the internal phone memory, and it uses it like it's internal memory...
As for link2sd it can move apk/dex/lib files separately and then creates a link to it...
link2sd leaves apps usable when usb pc storage is mounted..i am too lazy to connect the phone to computer now, since im laying in the bed, but i thinkn data2sd does it too ...
others add stuff that i didnt write, if i didn't... or if i made mistake..
Does stock htc rom supports Data2SD (i think it doesnot because stock htc rom cannot handle Ext4 partition)
Link2SD only links your applications to an external partition on the sdcard. The partition can be fat32, ext2, ext3, or ext4 but not the default fat32 partition. However, it does not move the application data to the sdcard. This is actually good if you want performance. You also get to choose which apps you want to move to sdcard. This again is good for performance in that you can keep your frequent apps on the data partition.
Data2SD on the other combines your data partition with a partition on the sdcard. The system then sees the 1GB partition as the data partition and puts ALL the applications and the application data on that space. You have no control over which ones go to the sdcard.
App2SD needs to installed as a script from recovery while Link2SD is an apk. It's basically memory vs performance (Data2SD vs Link2SD).
I would suggest that you try Link2SD. I've installed over 70 apps on sd without any speed issues.
hellnoob said:
Does stock htc rom supports Data2SD (i think it doesnot because stock htc rom cannot handle Ext4 partition)
Click to expand...
Click to collapse
there are some stock roms, that were remade, and they support data2sd... search for them ...
AceRoom said:
Link2SD only links your applications to an external partition on the sdcard. The partition can be fat32, ext2, ext3, or ext4 but not the default fat32 partition. However, it does not move the application data to the sdcard. This is actually good if you want performance. You also get to choose which apps you want to move to sdcard. This again is good for performance in that you can keep your frequent apps on the data partition.
Data2SD on the other combines your data partition with a partition on the sdcard. The system then sees the 1GB partition as the data partition and puts ALL the applications and the application data on that space. You have no control over which ones go to the sdcard.
App2SD needs to installed as a script from recovery while Link2SD is an apk. It's basically memory vs performance (Data2SD vs Link2SD).
I would suggest that you try Link2SD. I've installed over 70 apps on sd without any speed issues.
Click to expand...
Click to collapse
I think that you are right ... link2sd is kind of best, BUT ... I use data2sd for some time now, and performance isn't bad at all ... It's actually good ...
p.s. i have a class 10 sd card ...
Help setting up Link2SD is here:
http://forum.xda-developers.com/showthread.php?p=21119907#post21119907
I use link2sd without swap partition for my stock rom. Im not sure about swap function, so I don't use it.
Sent from my HTC Wildfire S A510e
I'm now using S2E with CM7.2 RIM and it doesn't causes any problem to me. I think it's the best option, but which option do you think is the best?
Enviado desde mi HTC Wildfire S usando Tapatalk
DanHidalgo said:
I'm now using S2E with CM7.2 RIM and it doesn't causes any problem to me. I think it's the best option, but which option do you think is the best?
Enviado desde mi HTC Wildfire S usando Tapatalk
Click to expand...
Click to collapse
i use data2sd by jikantaru ... on my cm 7.2 and it works well... but many say that link2sd is better, and I'm too bored to change now ... I'm even too lazy to upgrade to latest nightly of cm ..
So i guess answer is link2sd but oppinions are different, and many of us like ability to change anything they like, and link2sd gives lots of options
And about data2sd, you just can't affect anything... It simply instals stuff on your ext4 partition, the end
b02 said:
p.s. i have a class 10 sd card ...
Click to expand...
Click to collapse
I unfortunately have a class 2 8GB. I didn't know about the classes when I bought this one to replace the stock 2GB and I bought it only a couple of months back. It has been decent enough though I can't really judge cause I haven't tried out faster ones. What kind of read and write speeds do you get?
AceRoom said:
I unfortunately have a class 2 8GB. I didn't know about the classes when I bought this one to replace the stock 2GB and I bought it only a couple of months back. It has been decent enough though I can't really judge cause I haven't tried out faster ones. What kind of read and write speeds do you get?
Click to expand...
Click to collapse
there is a thread about sd card speeds, i will post it later on...
my sd card has something like 6 to 9 write speed, and read speeds were maxed out at about 15...on any card, so i guess its because of hardware... it couldn't go over that ... (speeds are in MB/s)...
[edit]: here is the thread i mentioned http://forum.xda-developers.com/showthread.php?t=1472314
hellnoob said:
I have gone through some posts that explain the difference between the two, but i am still confused which one suits my needs. I have just got myself a 16Gb Class 4 SDHC and want to install one of the two. I am on Stock Htc Rom , Unlocked BL and Rooted. What do I think about the two after going through various post here
1) Link2SD -> Supports different partitions, works with stock rom and is a good choice.
2) Data2SD -> Dont know if it supports different partitions or works on stock rom (Please make 'd33ps1x' make a Tutorial for Data2SD) but I have read that it performs best with Ext4 partition and is better than Link2SD under certain conditions ( Like Class of your Sd Card etc. ). The main reason I am confused is many users here opt for it over Link2Sd.
Please correct me if i am wrong and also suggest which will be best for me. ( Please dont ask me test them for myself as I dont know if Data2SD will work with my Stock Rom and a Class-4 SD card)
Along with this I will like to know If its worth to make a linux swap partition or use a swapper application from market or doing without swapping is absolutely fine.
I use my WFS to play HD games so please take this into consideration when answering the question
Click to expand...
Click to collapse
i use link to sd...
and i made a partition of 4gb......
and know wanna make of 1gb only.....means i wanna delete 4 gb partion without loosing my data....of 16 gb...
plsss help

SD Partition on 32 GB card?

Hey guys,
I've searched around a lot but haven't found anything explicit to a 32 GB card's ideal partition table. I've read somewhere that the ext3 shouldn't be larger than 2 GB, is this really the case? Or is it device specific? And if thats the case, can the MT3G3 handle a larger than 2GB partition? Also, is there a point to having a swap partition? I know on Linux systems it helps with memory and the XDA SD partition guide mentions that we can have one if we wanted .. but is there a point to it?
My second question is ... should I get data2ext or a2ext? Or some other tool? The choice is pretty confusing, esp since it seems that some of them do the same thing?
I'm thinking about making the partitions equal between FAT32 and Ext3 (if swap won't make a difference).
PS - Its a Class 10 Sandisk card.
eMJaaay said:
Hey guys,
I've searched around a lot but haven't found anything explicit to a 32 GB card's ideal partition table. I've read somewhere that the ext3 shouldn't be larger than 2 GB, is this really the case? Or is it device specific? And if thats the case, can the MT3G3 handle a larger than 2GB partition? Also, is there a point to having a swap partition? I know on Linux systems it helps with memory and the XDA SD partition guide mentions that we can have one if we wanted .. but is there a point to it?
My second question is ... should I get data2ext or a2ext? Or some other tool? The choice is pretty confusing, esp since it seems that some of them do the same thing?
I'm thinking about making the partitions equal between FAT32 and Ext3 (if swap won't make a difference).
PS - Its a Class 10 Sandisk card.
Click to expand...
Click to collapse
don't know what a mt3gs works with, 32 should work but no larger I doubt. as for an ext partition there is no reason to make it smaller than internal memory and 2gb should be more than enough, I have never even used more than 1gb but 1~2gb should be the perfect point.
not sure if any of the roms here support ext4, if they do I would recomend that over ext3, it won't ware the card much fast (the extra journaling does but not much)
personaly kinux swap doesn't help much, not even on the g1 but give it a shot and see if it works for you, will help with multitasking
use apps2ext for sure, not data as it will be slow
Sent from my HTC Vision using xda premium
Thanks so much for the reply
I'll give this a go! I might as well have a swap partition as well since I have so much space should the swap be smaller than the ext3 partition? I'll also look into apps2ext .. but earlier came across int2ext in CronMod .. would that work?
eMJaaay said:
I'll give this a go! I might as well have a swap partition as well since I have so much space should the swap be smaller than the ext3 partition? I'll also look into apps2ext .. but earlier came across int2ext in CronMod .. would that work?
Click to expand...
Click to collapse
I'm not sure if creating swap on sd is supported on this device (at least, CM7). When I tried to partition SD using Rom Manager the device didn't see my ext partition if I selected swap partition size more than 0.
As for apps for managing ext partition usage, s2e app worked for me all right on CM9 and CM7. If you device is running CM9 you should be extra careful with such software. In example, Link2SD caused much trouble for me - constant app FC and I had to reinstall the system.
And be careful - it seems that s2e wipes ext partition at the first mount.
Sent from my T-Mobile myTouch 3G Slide using xda app-developers app
If im not mistaken, your kernel has to support using a swap partition.
Look into darktremors apps2sd. A. Lot of folks seemed to like that. It allows you to choose different setups if I remember right. (A2sd, data2sd, etc)
Data2sd would prob work ok since you have a class 10 card.
Also, if you are needing more space and are running a custom rom, look up mtd partitions in development forum.
Another nice trick is bind-mount data to cache.
Mt3gs does not support higher than 32gb. Ext4 support I think is available but only through kernels or scripts.
Hope that helps.
Sent from my SGH-T999 using xda app-developers app
Different ROMs support different a2sd scripts.....you will have to find a script compatible with your ROM.
I use A2SDGUI on my phone.
A swap partition acts a virtual ram for your phone if you run low on ram memory.Not required though.
Sent from my GT-S5570 using xda app-developers app
Thanks for the replies everyone
I'm running CM7.2 which has built in moving to SD but this hardly does anything :/ I've only got around 7 apps half of which I can't even update cos its running low on space :/
Quite a few partition articles / posts, etc mention ext3 no larger than 2 GB and a swap of 0 MB :/ I've got the CM kernel that came with the last stable release (in June this year) .. does that support swap? Is there even a point of adding a swap of 0 MB .. might as well not make a swap partition at all right? I'm partitioning using Gparted on my Linux! I think S2E supports that!
Seriously guys, thank you so so much for all your replies
Update: Link2SD didn't work. S2E worked on S-ON with a 28 ish GB FAT32 Primary Partition and a 2048 MB i.e 2 GB EXT4 partition.

Categories

Resources