ExFAT or Ext4 support on popular AOSP ROMs - T-Mobile Samsung Galaxy S II SGH-T989

Hi guys,
Do you by any chance know if popular ROMs such as cm10 or AOKP would work with exFAT or Ext4 formated SD cards?
I am using a 64GB SD card. It would be nice to use it at its full speed.
Thanks.
Sent from my SAMSUNG-SGH-T989 using xda premium

I do believe that ext4 is used by cm10 and pa at least. I have twrp, and whenever i format a partition it mentions ext4.
Sent from my SAMSUNG-SGH-T989 using xda app-developers app

I wouldn't mind formatting it EXT4 just to see if CM10 will read it, only it takes almost 36 hours to copy 55GB of music into my memory card (microSD 64GB). And, after all, there is no benefit in using EXT4 over FAT32 if in the end I don't get a performance gain of at least a factor of 3.
No need to reinvent a the wheel, someone out there must have encountered this problem before. And, besides, support for a particular file system is always a well-placed kernel extension away in Linux, and Android is not much different.

Related

[Q] 32gb sd card Formating & ACS or Clockworkmod?

Hello again. So He my deal. I am on BML stock froyo from Spint and I am also rooted and have Latest Rom Manager pro with Clockworkmod 5.0.2.7. But I also have ACSRecovery v1.0.0.5 CWM4 Based when i hold the power, camera, and down buttons.
I am a bit confused is this ok or should I be only on Clockworkmod 5.0.2.7 (the one with the hat) when holding all three buttons. I saw a video that gbking77 said that ASCRecovery v.1.0.0.5 was old and did not make good backups. Which one should I be on because its confusing.
Also Got a new 32gb PNY card and wanted to know if there is anything special I should do to it. Should I just go to froyo and do a simple format or go to ASCRecovery and to a Advanced/Partion SD Card then what?
What is the best ext setting 128m, 256m, 512m, 1024m, 2048m, 4096m?
What is the best swap size 0m, 32m, 64m, 128m, 256m?
I need the most size for many apps and also speed so please suggest correct setting, Thanks.
Is the ext where apps go when you use app2sd?
What does swap do and does andriod use swap?
Do I need to do any of this if I am going to use a Gingerbread Custom Rom on MTD? When I do Install MTD will it set my SD card the way it wants?
Wow I know I am asking alot, I hope I can get your help because I have searched around but can't find a definitive anwswer.
Thanks for your Support m8 =)
Yes I suggest flashing cwm 5.0.2.7 via odin or with your acs recovery (it will overwrite it)... when moving to mtd it is not neccessary to do anything to your sd card... also I do not recommend using acs recovery to convert to mtd... it does not play nice and many people have reported errors when using it to convert over...
Sent from my SPH-D700 using Tapatalk
Exactly what Flast said, and you will gain close to 200MB of app space on your phone when switching to MTD, plus you still have the abiltiy to move apps with Android built-in app mover, apps2sd, or Titanium or others. They move to the regular formatted space on the sd card without the need for any partitions.
Bah ACS jk if your on bml stick with acs if your moving to mtd stay away from it ^^
Sent from my SPH-D700 using xda premium
Biggoron said:
Bah ACS jk if your on bml stick with acs if your moving to mtd stay away from it ^^
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Cwm is our officially supported recovery for a reason... stick with cwm 5.0.2.7 whether your on bml or mtd...
Sent from my SPH-D700 using Tapatalk
flastnoles11 said:
Cwm is our officially supported recovery for a reason... stick with cwm 5.0.2.7 whether your on bml or mtd...
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Really this again.... cwm5 was created with the help of of the creator of acs recovery5 can we please bury this cwm is official for a reason statement and think why its official
Sent from my SPH-D700 using xda premium
Biggoron said:
Really this again.... cwm5 was created with the help of of the creator of acs recovery5 can we please bury this cwm is official for a reason statement and think why its official
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
It was only partially collaborated on and ported by the guy who made the ACS recovery and CWM 5.0.2.7 is official and is supported by ROM manager and is the standard for most android phones so please stop feeling offended when someone says this. ACS recovery should not be used anymore. It was made before MTD conversions and before CWM 5.027. Just because the same guy made CWM 2.5.1 should you use it?
Sent from my SPH-D700 using XDA App
kennyglass123 said:
It was only partially collaborated on and ported by the guy who made the ACS recovery and CWM 5.0.2.7 is official and is supported by ROM manager and is the standard for most android phones so please stop feeling offended when someone says this. ACS recovery should not be used anymore. It was made before MTD conversions and before CWM 5.027. Just because the same guy made CWM 2.5.1 should you use it?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
No no you misunderstood..... reguardless if "slightly" supported the making he still knows the source code and his doesn't deviate from it only difference is the color and two options.... yes I agree if on mtd its a no go but on bml is much better (imo) I'm not offending just annoyed. And your analogy is irrelevant we are talking about both new things not older
The ovbious answer would be no because its older not the same age and not "modded"
End of disscusion I don't usually argue but it isn't right to bash a recovery because it was made by someone else....
Sent from my SPH-D700 using xda premium
Biggoron said:
End of disscusion I don't usually argue but it isn't right to bash a recovery because it was made by someone else....
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
You are absolutely right.
Partitions settings?
Thanks for your civil debating, I just used cwm-5.0.2.7-epic4g.zip in ACSRecovery and did the update. Now I am down with the hat just to be on the official side plus its compatitble with Rom Manager and I don't have to do 2 backups, one with ACS and one Clockworkmod like I was doing before because I had my doubts.
So your saying if I go to a MTD rom I don't need to worry about partitions?
I have been using a program called sd card speed and it has these settings like 2048 for best performance and 4096 which are the same in both ASCRecovery v.1.0.0.5 and Clockworkmod 5.0.2.7. I was wondering if doing this partition with the 4096m value would speed up read/write access to the sd card?
What about swap thing?
Don't see much in explanation about these features in any of the videos. Should I be bothered with this stuff or just format and just use normal. By the way it a PNY 32gb Class 10 card so I am just looking to pimp the speed off of it with the right settings.
Thanks for Your Support m8 =)
There is currently very little support for swap partitions to gain use as RAM. Bonsai did it but haven't really seen it since. So no, don't worry about it right now.
Just format and use normally... unless its a brand new card there really sint a need to format either... just flash the mtd rom and you're good to go...
Sent from my SPH-D700 using Tapatalk
lanboy said:
I have been using a program called sd card speed and it has these settings like 2048 for best performance and 4096 which are the same in both ASCRecovery v.1.0.0.5 and Clockworkmod 5.0.2.7. I was wondering if doing this partition with the 4096m value would speed up read/write access to the sd card?
What about swap thing?
Don't see much in explanation about these features in any of the videos. Should I be bothered with this stuff or just format and just use normal. By the way it a PNY 32gb Class 10 card so I am just looking to pimp the speed off of it with the right settings.
Click to expand...
Click to collapse
Gents, I don't think you're understanding lanboy. He's asking about setting the SD card cache size, which definitely is beneficial, especially with a class 10 card! Lanboy, you'll need to experiment to see what sizes are optimal for you. The optimal size depends on many factors, including ROM, SD card, size of files you'll be most often copying, etc. Use SD Tools or SD Card Tester, both available for free in the market, to test and see which cache size is best for you. I'm inclined to recommend SD Card Tester because it allows you to pick specifically where to test, and also what size test file to use. It's also prettier looking!
Concerning a swap file, I think that's a feature that other phones sometimes use, but I haven't seen any talk of that for the Epic. The SD card cache and a swap file located on your SD card are two separate things:
SD card cache size setting: this sets the size of the read/write buffer for the SD card in KB.
Swap file on SD card: this would be like your swap-file on your computer, and it's an "overflow" buffer for your system's RAM. It increases the total memory available, but the swap file is much slower to read/write than RAM. More can be temporarily stored in memory, but it will be slower to access anything that is in the swap file on the SD card than to access what's in RAM.
Lastly, if you guys are gonna reformat your SD cards I highly recommend you use SD Formatter (Currently 3.1) rather than Windows' built-in formatter.
Cool
Thanks AmericanJedi001 for your detailed answer. I appreciate all the input as well but It was hard to decipher all those settings in Clockworkmod under advanced/sd partition. Maybe I should have changed the title to Partitioning instead of format.
I most likely will go for the most just to see (Cache 4096, Swap 256) because yes this is a NEW sdcard and I just format it with Clockworkmod and do want every bit of tweak on a class 10 SDHC.
I will try out those apps recommended like SD Formatter 3.1 for SDSDHCSDXC because it even supports the newer SDXC. I just got a new card reader for a new pc I am building and it sounds cool to try...
Many Thanks m8's and Cheers =)

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.

[Q] SDcard formatting experiences

Has anyone had any experience with using their SDcard with either the ntfs file format, or any other? If so, how well did it work and what did you think of it?
I know there are plenty of threads out there asking whether it's theoretically possible to format the SDcard to any other file systems (usually asking ntfs) and still expect android to read it, but I haven't found actual usage statistics (stability, speed). I'm interested in reformatting my SDcard to either NTFS or 4ext (I use linux, so pretty much any file system is game), however I don't know if this will be better for prevent files from easily corrupting, or if it'll still be the same (theoretically it should).
xxkid123 said:
Has anyone had any experience with using their SDcard with either the ntfs file format, or any other? If so, how well did it work and what did you think of it?
I know there are plenty of threads out there asking whether it's theoretically possible to format the SDcard to any other file systems (usually asking ntfs) and still expect android to read it, but I haven't found actual usage statistics (stability, speed). I'm interested in reformatting my SDcard to either NTFS or 4ext (I use linux, so pretty much any file system is game), however I don't know if this will be better for prevent files from easily corrupting, or if it'll still be the same (theoretically it should).
Click to expand...
Click to collapse
I didn't know that 4ext was a file system, I believe you meant etx4 :trollolol: 4Ext is a recovery for some android (HTC) devices.
I recommend using 4Ext to format your sd card with whatever it recommends. I think it formats to part ext3 and the rest as ext4, but I can't remember.
I think you can use NTFS or any other popular formats with android though
Yes but not on the DHD. Kernel support is required for R/W in those formats. For example, the Samsung Galaxy S3 can use NTFS and exfat formatted SD cards. The DHD can only access fat32 formatted cards and use a multi-partitioned (ext3/ext4) card for app2sd.
Sent from my Desire HD using xda premium
sashank said:
Yes but not on the DHD. Kernel support is required for R/W in those formats. For example, the Samsung Galaxy S3 can use NTFS and exfat formatted SD cards. The DHD can only access fat32 formatted cards and use a multi-partitioned (ext3/ext4) card for app2sd.
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
thanks, this was what I was looking for!
Fallon9111 said:
I didn't know that 4ext was a file system, I believe you meant etx4 :trollolol: 4Ext is a recovery for some android (HTC) devices.
I recommend using 4Ext to format your sd card with whatever it recommends. I think it formats to part ext3 and the rest as ext4, but I can't remember.
I think you can use NTFS or any other popular formats with android though
Click to expand...
Click to collapse
jeezus, I meant ext4 I us 4ext rc8 on my i4g, so I'll probably give it a go sometime.

AOSP Kernel & 64 gig sdcard

Is there a kernel that supports a 64 gig sdcard?
Or is there a mod to fix it?
Or do I have to format the sdcard for AOSP?
Please someone answer me
Sent from my SPH-L710 using Tapatalk 2
KT747 supports exFAT if that's what you really want. But if you're using AOSP, you can format the card as ext4 instead and use it with no problems with any kernel. I know CM10.1 supports mounting ext4 SD cards at boot (I use it), and if you're using an AOSP ROM that doesn't support mounting ext4 at boot, check out goo.im, and navigate to invisiblek's folder, and he has a zip you can flash to mount ext4 cards at boot.
Putting the ILLA in KILLA since 1985
EndlessDissent said:
KT747 supports exFAT if that's what you really want. But if you're using AOSP, you can format the card as ext4 instead and use it with no problems with any kernel. I know CM10.1 supports mounting ext4 SD cards at boot (I use it), and if you're using an AOSP ROM that doesn't support mounting ext4 at boot, check out goo.im, and navigate to invisiblek's folder, and he has a zip you can flash to mount ext4 cards at boot.
Putting the ILLA in KILLA since 1985
Click to expand...
Click to collapse
Thank u!
Sent from my SPH-L710 using Tapatalk 2
EndlessDissent said:
KT747 supports exFAT if that's what you really want. But if you're using AOSP, you can format the card as ext4 instead and use it with no problems with any kernel. I know CM10.1 supports mounting ext4 SD cards at boot (I use it), and if you're using an AOSP ROM that doesn't support mounting ext4 at boot, check out goo.im, and navigate to invisiblek's folder, and he has a zip you can flash to mount ext4 cards at boot.
Putting the ILLA in KILLA since 1985
Click to expand...
Click to collapse
Is there a filesystem supported by both touchwiz kernels and AOSP kernels?
Sent from my SPH-L710 using Tapatalk 2
joshtycobb said:
Is there a filesystem supported by both touchwiz kernels and AOSP kernels?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Aside from FAT32, no. Since exFAT is proprietary, AOSP can't include it (for the most part; obviously, KT747 had it), and since 90% of users will only use Windows PCs, Samsung has no reason to support Linux filesystems.
In reality, both TW and AOSP kernels work with ext4. The root filesystem on our phones uses ext4, so the kernels have to support it. But since very few of their customers even know what a filesystem is, let alone which one they're using, Samsung sees no need to support mounting ext4 SD cards at boot. The kernel does support ext4, but Samsung went and butchered the vold.fstab so ext4 cards wouldn't mount correctly.
So, for no real reason whatsoever, FAT32 is the only filesystem guaranteed to mount in both AOSP and Touchwiz at boot without hacks (if you look around, there's a guy that's working on getting ext4 cards to mount at boot in TW). It sucks, especially with a 64 GB card.
EndlessDissent said:
Aside from FAT32, no. Since exFAT is proprietary, AOSP can't include it (for the most part; obviously, KT747 had it), and since 90% of users will only use Windows PCs, Samsung has no reason to support Linux filesystems.
In reality, both TW and AOSP kernels work with ext4. The root filesystem on our phones uses ext4, so the kernels have to support it. But since very few of their customers even know what a filesystem is, let alone which one they're using, Samsung sees no need to support mounting ext4 SD cards at boot. The kernel does support ext4, but Samsung went and butchered the vold.fstab so ext4 cards wouldn't mount correctly.
So, for no real reason whatsoever, FAT32 is the only filesystem guaranteed to mount in both AOSP and Touchwiz at boot without hacks (if you look around, there's a guy that's working on getting ext4 cards to mount at boot in TW). It sucks, especially with a 64 GB card.
Click to expand...
Click to collapse
So that is wat I thought just making sure there wasn't any ones I didn't know for linux. since I do not have a SD card reader for my PC I tried the alternative route of formatting the card through my fone that Is provided in KT747 but wen I try to put in ums mode with the app it appears on my computer as a CD drive and I can not access my card? Any thougts ?
Sent from my SPH-L710 using Tapatalk 2
joshtycobb said:
So that is wat I thought just making sure there wasn't any ones I didn't know for linux. since I do not have a SD card reader for my PC I tried the alternative route of formatting the card through my fone that Is provided in KT747 but wen I try to put in ums mode with the app it appears on my computer as a CD drive and I can not access my card? Any thougts ?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I had that problem. My solution was to toggle USB Debugging. When it was off, turning it on fixed the problem. When it was on, turning it off would fix it. I thought they would have fixed that by now; guess not.
EndlessDissent said:
I had that problem. My solution was to toggle USB Debugging. When it was off, turning it on fixed the problem. When it was on, turning it off would fix it. I thought they would have fixed that by now; guess not.
Click to expand...
Click to collapse
Man I'm gonna test that wen I get home! I didn't think it would be that simple thank u! If u don't mind I'm gonna post this fix on the ums app thread if it works for me?
Sent from my SPH-L710 using Tapatalk 2
joshtycobb said:
Man I'm gonna test that wen I get home! I didn't think it would be that simple thank u! If u don't mind I'm gonna post this fix on the ums app thread if it works for me?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Sure, if it works. I was having that problem when CM had built-in UMS, so I don't know if the problem will be the same with the app.
EndlessDissent said:
Sure, if it works. I was having that problem when CM had built-in UMS, so I don't know if the problem will be the same with the app.
Click to expand...
Click to collapse
Its not the same with the app sadly I'll keep trying but wat I will do is install cm10.1 and do wat u did! Thank u
Sent from my SPH-L710 using Tapatalk 2

Is there a way to enable ext2 support for sd card?

As far as I can tell, only fat 32 is supported by the gpad for SD card use. This makes little sense as the kernel supports ext4 for system files. Is there a way to enable ext2 support on the gpad gpe (510)?
I'm currently using fat 32 for my second partition for link2sd, and while it works fine, I know that ext 2 would be preferred. Bg
My card is exfat formatted
Sent from my SM-N900W8 using Tapatalk
Canadoc said:
My card is exfat formatted
Sent from my SM-N900W8 using Tapatalk
Click to expand...
Click to collapse
Are you using link2SD in that format? I'm specifically looking for a way to enable ext2 support for the SD card. If exfat works with link2sd, it might be better than fat32, but not necessarily ext 2/4.
Have not had need yet.
Sent from my LG-V500 using Tapatalk
I wanted to put some movies on my external SD and tried exfat and copying movies suddenly went from several minutes to several hours. It seems like exfat performance is terrible. I am on CM 11 ROM.
I went back to fat32 and am using Plex to sync movies to the device. Although that has problems in and of itself because Plex Sync is so buggy. Would love to be able to put an ext file system on the sd card!
it seems like you would be able to make it small change to the fstab or maybe the init file to read ext2. I really wish an Android developer would respond. apparently, you are not supposed to ask questions in the developer threads. This leaves only the general thread to ask these types of questions and I'm not at all sure they are looking at this thread.
@mattskr could you please test gpe-ish kernel cause it supports latest exfat driver v1.27 and report back ?
Sent from my LG-V500 using Tapatalk
I'm using LRS 4.4.2 ROM. When I insert an EXT4 formatted card it gets mounted and I can watch my 4GB+ movies BUT I cannot write to the card?
Tried all kind of things for fixing permissions including some paid tools but it didn't work. Any idea?
[EDIT] When I insert the card I get the following two lines reported by the mount command:
Code:
/dev/block/vold/179:3 on /mnt/media_rw/external_SD ext4 rw,dirsync,seclable,nosuid,nodev,noexec,noatime,data=ordered 0 0
/dev/fuse /storage/external_SD fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
While I can go to /mnt/media_rw/external_SD on a root terminal I cannot see that directory with EFS fileexplorer but can see my files under /storage/external_SD (read only).

Categories

Resources