[REQ] Ext instead of shaky FAT32 on our sdcard data partition - G1 Android Development

To all dev is it possibile to integrate in your roms the possibility to abandon the use of FAT32 in sdcard data partition and use a more secure and stable (no data loss!!!) ext file system?
Cause i think so much people are complaining about too much data corruption over the ooold FAT.
Thanks all!

yokonunz said:
To all dev is it possibile to integrate in your roms the possibility to abandon the use of FAT32 in sdcard data partition and use a more secure and stable (no data loss!!!) ext file system?
Cause i think so much people are complaining about too much data corruption over the ooold FAT.
Thanks all!
Click to expand...
Click to collapse
I have more data loss on the ext file system!
Besides fat32 will stay for the simple fact what you suggest will eliminate 85% of pc users (windows) being able to transfer files from pc to sdcard.
How about actually thinking before posting?

^^^^ well said ^^^^

i was thinking about you can choose if use FAT or ext, i tried to format the fat32 as ext but it was not mounted by android. Was it my fault?

http://www.fs-driver.org/index.html
Works fine for ext3 too.

shadowch31 said:
Besides fat32 will stay for the simple fact what you suggest will eliminate 85% of pc users (windows) being able to transfer files from pc to sdcard.
How about actually thinking before posting?
Click to expand...
Click to collapse
Just use adb to transfer things to your sd card. This is easy and fast, and it works no matter what filesystem you use on your data partition.
Did you do a surface check of your sd card after your data loss on the ext3 partition?

Archont said:
Just use adb to transfer things to your sd card. This is easy and fast, and it works no matter what filesystem you use on your data partition.
Did you do a surface check of your sd card after your data loss on the ext3 partition?
Click to expand...
Click to collapse
Oh dear, now ask yourself what are the majority of computer users using as there file system? How do you propose those that do not have rooted phones go about file transfer?
Seriously think about it....

shadowch31 said:
I have more data loss on the ext file system!
Besides fat32 will stay for the simple fact what you suggest will eliminate 85% of pc users (windows) being able to transfer files from pc to sdcard.
How about actually thinking before posting?
Click to expand...
Click to collapse
Whats the problem of supporting both fs?
I wouldn't care If my phone didnt support fat32 and it's possible to add ext support for windows

I thought about it for a short moment. If you don't want something else than fat on your device why don't you just read other threads?
Leaving fat behind for a filesystem that was develloped after the 1980s is a good idea, and as far as my knowledge about android goes it is only possible on rooted phones. So this only applies to 10% of the users I guess.
And if you are satisfied the way it is just stay with what you have?

Archont said:
I thought about it for a short moment. If you don't
Leaving fat behind for a filesystem that was develloped after the 1980s is a good idea, and as far as my knowledge about android goes it is only possible on rooted phones. So this only applies to 10% of the users I guess.
Click to expand...
Click to collapse
That's the fact, customs rom users are rooted i was asking if there could be problems (android side) when using ext, cause my last attempt failed

This would work, if we would just change the mount options from vfat to ext2. Should be easy to do. But I don't see a reason for that, as FAT works flawlessly.

So.. Its a trusted file systems fault rather then the user and/or sd card?? This is like blaming a dvd for breaking your VCR because it was "made wrong" lol

shadowch31
Senior Member
Dude, do u think everybody is wrong couz they dont share ur view.....if somebody wants to use ext or fat thats a personal choice...........nobody is saying "let F** the fat32...i think he was looking for an alternative method for him...not for the 95% Fat32 users

statuzz said:
shadowch31
Senior Member
Dude, do u think everybody is wrong couz they dont share ur view.....if somebody wants to use ext or fat thats a personal choice...........nobody is saying "let F** the fat32...i think he was looking for an alternative method for him...not for the 95% Fat32 users
Click to expand...
Click to collapse
Yeah, i'm just speaking about the possibility of choice , maybe from a menu to activate the fat or ext mount of the /sdcard

statuzz said:
shadowch31
Senior Member
Dude, do u think everybody is wrong couz they dont share ur view.....if somebody wants to use ext or fat thats a personal choice...........nobody is saying "let F** the fat32...i think he was looking for an alternative method for him...not for the 95% Fat32 users
Click to expand...
Click to collapse
Read point one then three. I thank you

lmfao is this the most ridiculous post i have ever seen?

redmdc said:
lmfao is this the most ridiculous post i have ever seen?
Click to expand...
Click to collapse
Sadly no

i say if it aint broke dont fix it...just like go...some people think the dev are GOD...dont think they have that kind of power

shadowch31
1*
2*
3* nice but who care!

For the sake of argument could we at least look at this on the whole rather than argue it. At least one of our great developers has chimed in to say that it is possible and not only that but a simple fix withing the OS structure. With that in mind, aside from the incompatibility with the windows/dos computers, it seems very possible and for that reason should not be overlooked. Practically speaking it would not be very useful to most of us, but is would be useful to the creator of this thread and therefor may be useful to the rest of us if we would take the time to understand what all this would mean.

Related

Partition sd card help!!

Hello,
I have looked in all the help forums for patitioning a sd card but still no answer.
Does anyone know how to partition a sd card on VISTA?
Thanks for the info in advance.
ArmandHammer said:
Hello,
I have looked in all the help forums for patitioning a sd card but still no answer.
Does anyone know how to partition a sd card on VISTA?
Thanks for the info in advance.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=500387
this has been talked about over and over and over .. this is probably your best bet
LucidREM said:
http://forum.xda-developers.com/showthread.php?t=500387
this has been talked about over and over and over .. this is probably your best bet
Click to expand...
Click to collapse
Yeesh, not exactly the easiest answer but hey, what can you do? Windows seems to hate ext2 with a passion. Maybe I'll try to contact MartinFick and ask if I can include his script in my app so it can auto-partition the sd card for you.... Can't make any promises though, that's already sounding pretty daunting.
That would be awesome Marcus. I just called customer service for sandisk and he said you cant partition a micro sd card??? weird considering there are a lot of people who have already done this.
If you can get it into your program that would be awesome but i still cnt download anything on 5.0.1g
ArmandHammer said:
That would be awesome Marcus. I just called customer service for sandisk and he said you cant partition a micro sd card??? weird considering there are a lot of people who have already done this.
If you can get it into your program that would be awesome but i still cnt download anything on 5.0.1g
Click to expand...
Click to collapse
Umm sandisk representative totally lied... They probably just didn't want you to do that so they won't have to deal with it if your card gets messed up.
On the app front, looks like it's not going to be incorporated for a while, I talked to the dev who wrote the sdsplit script and it apparently has trouble with micro-sd cards over 2GB, and isn't in a final enough state that I'd be comfortable putting it in(I'm trying to avoid bricking people's phones as much as possible).
Oh and Haykuro put up an update called 5.0.1gr2 that is a temp fix for the market issue.
This is weird. Everytime I post from my phone it says I have to wait 30 seconds to post then Iit posts it twice.
Ahh that makes sense. I was wondering what the 5.0.1gr2 version was. I am still on 5.0g because I never had problems with mms.
Marcus how or what program did you use to get the apps to sd?
Also what does your program actually do that is on the market?
Hey Marcus,
Yeah I was the one who discovered the issue with memory cards of over 2GB. Below 2GB it really does work like a charm. You should be able to just put a quick if/then statement that checks the size of the sdcard, and only runs the SD Card formatting for smaller cards.
ArmandHammer said:
I just called customer service
Click to expand...
Click to collapse
There's your problem. When it comes to technology, 95% of the time the guy (or gal) on the other side of the line is reading from a script and doesn't know a partition from a file allocation table. Customer service exists for the most part to act as a crude filter for repairs and exchanges.
If your first instinct was to call customer service for the memory card manufacturer, maybe you should steer clear of apps-on-sd
paragon partition magic 9 did the trick. just did my 8gig last night on the demo version.
If your first instinct was to call customer service for the memory card manufacturer, maybe you should steer clear of apps-on-sd
- I have searched google and all around this site but i havent found a definint answer to doing the partition on vista.
It was defintly a last resort effort.
13bjunkie said:
paragon partition magic 9 did the trick. just did my 8gig last night on the demo version.
Click to expand...
Click to collapse
Ill try that tonight. What was the site you downloaded that from??
I just partitioned my card, and did apps to sd, but when I installed wallpaper set and save, it failed, then I found it on my applications in setting tried to uninstall there but that failed how would I remove it with terminal.
if all else failed you can(as superuser) do "cd /system/sd/app" and then find the name of the apk for the app you're trying to uninstall and do "rm (name of the file)"
[email protected] said:
if all else failed you can(as superuser) do "cd /system/sd/app" and then find the name of the apk for the app you're trying to uninstall and do "rm (name of the file)"
Click to expand...
Click to collapse
is said it cant cause its a stale nfs file handle
lol, crap that again? hmm I don't know what to do about it then...
[email protected] said:
lol, crap that again? hmm I don't know what to do about it then...
Click to expand...
Click to collapse
Lol, well do you know another way of setting 320x480 wallpapers on the g1.
ICBM said:
Yeah I was the one who discovered the issue with memory cards of over 2GB. Below 2GB it really does work like a charm. You should be able to just put a quick if/then statement that checks the size of the sdcard, and only runs the SD Card formatting for smaller cards.
Click to expand...
Click to collapse
If we really believe that is the only issue (size greater than 2GB), I might consider putting a check into sdsplit. Not sure how to reliably check that in the first place though?
New idea?
Hey guys, you made me think of a new suggestion on a way for users to create large FAT partitions on their phones, but it will require help, so I wrote it up here:
http://forum.xda-developers.com/showthread.php?t=505422

Solution " Low Disk Space "

Solution to the ERROR " Low Disk Space "
Must Be Running A2SD ​
Ok so this isn't some be all end all solution to the problem. I'm sure this will solve the issue for most of the users out there. But inadvertently there are always those it does not work for. Basically I stumbled upon this while trying to resolve the issue I was having with the Wife's OG EVO 4G. Which is the pop up message saying " Low Disk Space " . It also resolved the issue of the other Pop Up she would get that said " insufficient memory " available. Basically the Memory I'm referring to is the Internal Memory. Before I did this she had 73MB of Internal Memory left. After I did this she ended up with well over 200MB. Now the results will vary for everyone. But you should end up with more Internal Memory.
PLEASE READ ALL THE WAY THROUGH BEFORE DOING ANYTHING​
So here's how:
1. Make sure your Running A2SD
2. Download Titanium Backup
3. Open Titanium Backup ( make a mental note of your Internal Free Memory )
4. Go to Backup/Restore let the apps load
5. Scroll down to Dialer Storage
6. Long Press on it a Pop up list will come up
7. Scroll till you see " Move app data to SD card "
8. Press it ( if this is your first time doing this you may get a pop up asking you if you want to create the Data to App Space. Click " YES "
9. It will do it's thing , and done
10. Now go back to Overview. You should see a noticeable Increase in Free Internal Memory
Now keep in mind the Results Will Vary For Everyone. Not everyone will gain a ton of Memory back. But in my experience it has resolved the issue 90% of the time.
DISCLAIMER:
I AM NOT RESPONSIBLE FOR YOUR DEVICE. I am simply passing along information. I have tried this on over a dozen Devices already. It has worked in all but one case. I am currently using my setup like this, and my wife's with Zero issues.
Mods if this is in the Wrong place feel free to move it. My Apologies if it is.
I don't see the requirements for a sdext partition
Sent from my iPhone 5 using Tapatalk
blahbl4hblah said:
I don't see the requirements for a sdext partition
Sent from my iPhone 5 using Tapatalk
Click to expand...
Click to collapse
Good point. I've confirmed it working on both Ext.3 , and Ext.4
prboy1969 said:
Good point. I've confirmed it working on both Ext.3 , and Ext.4
Click to expand...
Click to collapse
Also moving apps to your sdcard IS NOT A2SD. Apps will just load slow and if the app doesn't support sdcard then it won't work.
A2sd-ext is different
Sent from my Sensation
blahbl4hblah said:
Also moving apps to your sdcard IS NOT A2SD. Apps will just load slow and if the app doesn't support sdcard then it won't work.
A2sd-ext is different
Sent from my Sensation
Click to expand...
Click to collapse
Ok so I'm sensing a bit of an issue . Thank you, I understand how A2SD works. Also that moving an App manually to the SD Card is not A2SD. I know that A2SD does not work correctly if the Rom does not support it. I never stated anything about moving the App to the SD Card. In the OP I state that you should move the App data to the SD Card. Also I only mentioned about moving the Data from the Dialer Storage. Although I've moved several other Apps Data to the SD Card without issue. Angry Birds to mention one, which performs the same as before I moved App Data to the SD Card. As for moving an App to the SD Card, or running it from the SD Card. There are a few more things involved as to how it performs. The SD Card Class, and the SD Card read ahead speed to name a couple.
Are you sure you know how a2sd works? If you did then you would know that app data in an sdcard runs so slow its not even worth it
Sent from my iPhone 5 using Tapatalk
feck it, just make a rom/kernel that puts your system and data on the sdcard then youll have gigs of space. it works on older samsungs anyways lol
blahbl4hblah said:
Are you sure you know how a2sd works? If you did then you would know that app data in an sdcard runs so slow its not even worth it
Sent from my iPhone 5 using Tapatalk
Click to expand...
Click to collapse
Once again Thank You for your " Opinion " . Duly noted. Also once again, I am WELL aware of how A2SD works on an Android Device. I am also aware that if it is Implemented on quite a few Roms out there. So I pose the question to you. Why is it that so many Devs use it on there Roms, INCLUDING YOU.
As in THIS Rom thread, and the one HERE. Thanks again for your opinion. Have a nice day.
Quote from your thread as posted by you in your OP :
FAQ
Why did I include a apps2ext script to the rom?
Even though we have 1GB space of internal memory and a lot of the G2 users believe that is enough.
The more apps that are installed, the slower our phones can get after time.
Apps2ext takes all of that stress from our internal storage and diverts it to our sd-ext partition if there's any.
This results in our phones never have to worry about slowing down just because of the number of apps that we have installed.
Click to expand...
Click to collapse
-somebody- said:
feck it, just make a rom/kernel that puts your system and data on the sdcard then youll have gigs of space. it works on older samsungs anyways lol
Click to expand...
Click to collapse
Yes true enough. But a bit beyond your average users scope of ability .
Because I DON'T MOVE the data/data to sd-ext. You keep saying you are well aware of how it works but clearly you don't know which makes it faster while others make the phone lag
Sent from my iPhone 5 using Tapatalk
blahbl4hblah said:
Because I DON'T MOVE the data/data to sd-ext. You keep saying you are well aware of how it works but clearly you don't know which makes it faster while others make the phone lag
Sent from my iPhone 5 using Tapatalk
Click to expand...
Click to collapse
Ok enough is enough . I am not talking about moving all App Data to the SD Card. I was only saying to move the App Data form the Dialer Storage. As is clearly stated in the OP. I have more then once in actual testing verified that it does not, and is not affecting the performance of the Devices I have tested. That are also currently using this method. Which is well more than just one, or two Devices. I understand that you do not agree with what is stated in the method in the OP. I get it. Lets agree to disagree. If you do not like what is stated STOP READING. Do not continue to TROLL the thread stating that I " do not understand how A2SD works " . If that were the case I would not have posted the thread. This is not my first Rodeo. I did not just post without first testing, and verifying what I was about to post for other users. I do not casually post to bolster my own ego, and post count. So thank you for your opinion, and have a good one.
Hey after u fallow all those steps.
Go to batch
Then scroll to MOVE APP DATA TO SD CARD
AND RUN IT.
IT WILL MAKE EVEN MORE SPACE TO THE INTERNAL MEMORY
Sent from my PG06100 using xda app-developers app
B RAD G 296 said:
Hey after u fallow all those steps.
Go to batch
Then scroll to MOVE APP DATA TO SD CARD
AND RUN IT.
IT WILL MAKE EVEN MORE SPACE TO THE INTERNAL MEMORY
Sent from my PG06100 using xda app-developers app
Click to expand...
Click to collapse
I would recommend against batch moving Apps, or Data. Some Apps may not react well to doing that.
TEAM MiK
MikROMs Since 3/13/11
prboy1969 said:
I would recommend against batch moving Apps, or Data. Some Apps may not react well to doing that.
TEAM MiK
MikROMs Since 3/13/11
Click to expand...
Click to collapse
Well it been work good so far and I increase my rom space from 170 to 230 or something like that
Sent from my PG06100 using xda app-developers app
B RAD G 296 said:
Well it been work good so far and I increase my rom space from 170 to 230 or something like that
Sent from my PG06100 using xda app-developers app
Click to expand...
Click to collapse
All good . It's always nice to have options. I'm sure it will work, just not what I would recommend. In addition to what I did in the OP I also run Dalvik form the SD Card. Although I would not recommend that to everyone. Reason being it's can be finicky. There are a few variables involved, Rom, SD Card Class, Device. I've found it works better if you have a Higher Class SD Card.

[Q] The truth about micro SD formatting??

So todays deal of the day offered a bunch of Sandisk cards, I ordered the 64g sdxc class 10 card which is in exfat formatting. Now, I have been reading over and over the same things about the correct format for our device, but no clear definitions on what the real deal is, just if there was any problem the answer was "format to fat32". Now its clearly stated that exfat is supported by our device, but other variants have apparently dropped this support on recent updates. That info is useless to me because all I care about is our variant. So what is the deal, keep the exfat format or convert to fat32? Not being able to move over 4gb would kind of be a pain, but obviously do not want issues. Does keeping in exfat have security risks of losing your info or not? I could care less about nandroids going on the card, so lets eliminate that issue which apparently calls for fat32. There are too many conflicting threads about this issue, so searching this toppic is pretty useless as its a bunch of single issues with no true ties to the fundemental truth. I really want some reliable info here as I have about an hour to cancel this order!!!
annoyingduck said:
So todays deal of the day offered a bunch of Sandisk cards, I ordered the 64g sdxc class 10 card which is in exfat formatting. Now, I have been reading over and over the same things about the correct format for our device, but no clear definitions on what the real deal is, just if there was any problem the answer was "format to fat32". Now its clearly stated that exfat is supported by our device, but other variants have apparently dropped this support on recent updates. That info is useless to me because all I care about is our variant. So what is the deal, keep the exfat format or convert to fat32? Not being able to move over 4gb would kind of be a pain, but obviously do not want issues. Does keeping in exfat have security risks of losing your info or not? I could care less about nandroids going on the card, so lets eliminate that issue which apparently calls for fat32. There are too many conflicting threads about this issue, so searching this toppic is pretty useless as its a bunch of single issues with no true ties to the fundemental truth. I really want some reliable info here as I have about an hour to cancel this order!!!
Click to expand...
Click to collapse
exFat has to be supported by the kernel, so it depends on the kernel you're running. If it's not supported you'll have to use FAT32. It's as simple as that. (blame Microsoft)
I formatted mine to FAT32 as a kernel I wanted to try didn't support exFat. Haven't looked back since... It's not that big of a deal to me as 99% of my files are under 4GB, and the ones that are that size have no business being on my phone.
Simple truth, I love it......
Thanks for a solid answer. You have a preferred method for formatting to fat32?
annoyingduck said:
Simple truth, I love it......
Thanks for a solid answer. You have a preferred method for formatting to fat32?
Click to expand...
Click to collapse
I used some miscellaneous formatting program I had installed for some reason, but the included Windows format tool does just fine.
annoyingduck said:
Simple truth, I love it......
Thanks for a solid answer. You have a preferred method for formatting to fat32?
Click to expand...
Click to collapse
Yea phone will support extFat but some roms/kernels don't. And no recovery does. If you have files such as movies over 4GB put them on internal or compress a little. I will PM you the format app.
annoyingduck said:
Simple truth, I love it......
Thanks for a solid answer. You have a preferred method for formatting to fat32?
Click to expand...
Click to collapse
Most of them work, but from what I've read the stand is SDFormatter from SDCard.org. This is the worldwide SDCard Association for setting industry memory card standards.
prdog1 said:
Yea phone will support extFat but some roms/kernels don't. And no recovery does. If you have files such as movies over 4GB put them on internal or compress a little. I will PM you the format app.
Click to expand...
Click to collapse
Nice, thanks pr. If the only issue is the 4gb transfer, that's practically not an issue at all for me, lol.
The card will still be stable after formatting? I keep all my ti backups, media, zips, etc on it, would rather not have to copy to my computer as well if not needed. I've not yet experienced a card "crashing", and don't want too either...
annoyingduck said:
Nice, thanks pr. If the only issue is the 4gb transfer, that's practically not an issue at all for me, lol.
The card will still be stable after formatting? I keep all my ti backups, media, zips, etc on it, would rather not have to copy to my computer as well if not needed. I've not yet experienced a card "crashing", and don't want too either...
Click to expand...
Click to collapse
They had some bad ones in the beginning from the reports but I have had same card since phone pre-order release with no problems using TWRP.
thanksss
David_mclaren said:
thanksss
Click to expand...
Click to collapse
Is it possible to partition a SD card for my phone so that I can enjoy both worlds on the same device?
use this program...
http://db.tt/s0jAvdQ7

[Q] Can the partitions of a Galaxy Tab 2 be resized?

We all know that an 8GB Tab 2 has half of its storage for the system and the other half acting as a virtual SD card.
Is it possible to shrink the system partition and increase the the size of the virtual SD card? I know there are several partitions in use, but I hope you can see where I am coming from.
Thanks
I was thinking of having 2gb for the system and 6gb for the virtual SD card, like on an S2. Wouldn't that make more sense?
Seems nobody has an answer...
With so many posts complaining about the 4gb of user data I would have thought my post would have attracted some responses.
As it stands other devices have had their partitions resized. It seems to be a case of using ADB and using the "parted" command. I might give it a blast when I'm not so busy at the moment, but surely others must have thought the same as me.
Am I really the only one who thinks that 4gb for the system is way excessive?
sulligogs said:
Seems nobody has an answer...
With so many posts complaining about the 4gb of user data I would have thought my post would have attracted some responses.
As it stands other devices have had their partitions resized. It seems to be a case of using ADB and using the "parted" command. I might give it a blast when I'm not so busy at the moment, but surely others must have thought the same as me.
Am I really the only one who thinks that 4gb for the system is way excessive?
Click to expand...
Click to collapse
I have been watching this thread because I am curious as well. However, I unfortunately have an answer.
Actually curious about this too.
Sent from my GT-P3113 using xda app-developers app
sulligogs said:
I was thinking of having 2gb for the system and 6gb for the virtual SD card, like on an S2. Wouldn't that make more sense?
Click to expand...
Click to collapse
My guess is they have a JB rom that supports apps to extsd or they have swapped the extsd for sd, so that the external is the main http://forum.xda-developers.com/showthread.php?t=1961097 there are tons of solutions to this and getting past file sizes greater than 4 gig. Just use the search engine http://forum.xda-developers.com/search.php

64gb sd card issues?

Had a quick question about 64gb cards. I know a long time ago there was something the larger sd cards couldn't do because of the way they were formatted exfat not fat32. I can't remember or find what it was to save my life. Anyone know? I only ask because I bought one without thinking about this. Thanks
Evocm7 said:
Had a quick question about 64gb cards. I know a long time ago there was something the larger sd cards couldn't do because of the way they were formatted exfat not fat32. I can't remember or find what it was to save my life. Anyone know? I only ask because I bought one without thinking about this. Thanks
Click to expand...
Click to collapse
fat32 has a single file size limit of 4gb.
exfat has some ridiculously high single file size.
So there are no restrictions at all with exfat on larger cards?
Evocm7 said:
So there are no restrictions at all with exfat on larger cards?
Click to expand...
Click to collapse
compared to fat32 for the purposes of use in a phone none that i can think of....
I could have sworn there was something. I want to say something to do with flashing firmware or something recovery or bootloader related. Sorry to beat this to death but I just know I read something before. I feel like I'm being a pest
Evocm7 said:
I could have sworn there was something. I want to say something to do with flashing firmware or something recovery or bootloader related. Sorry to beat this to death but I just know I read something before. I feel like I'm being a pest
Click to expand...
Click to collapse
I have that note in my op for ruu. Many have reported that exfat has worked since a couple updates ago and I just can't bring myself to remove that verbiage yet.
Yes ruu that was it. Glad to know it's probably no longer an issue. Thanks for your help and putting up with my persistence.

Categories

Resources