Related
I bought new SD card i want to wipe my phone completely and install Darkys Rom. I formated my new SD card to ext2 in Ubuntu but my phone didn't recognize the file system. Then i used Clockwork to format my (external) SD card and what i did i formated my internal SD card. I'm completely failed. Can somebody give me step by step tutorial how to format external SD Card to ext2 or ext4. Also i would like to know if i will be able to copy data under windows when the phone is connected through USB.
Thank you
Sorry for my English
Hi! Please tell me why do you want to format your SD card to ext2 or ext4? There is no need for that. Just format it tu FAT and that's it. If you want to apply lagfix then do it under recovery with the lagfix option under advanced features.
Greets from Croatia.
DanXo said:
Hi! Please tell me why do you want to format your SD card to ext2 or ext4? There is no need for that. Just format it tu FAT and that's it. If you want to apply lagfix then do it under recovery with the lagfix option under advanced features.
Greets from Croatia.
Click to expand...
Click to collapse
I would like to have option to transfer bigger files than 4GB.
+1
how do I format my external SD card to ext2? I have Samsung Captivate. I got Cygwin, since I use Windows. Does anyone know what commands to type in cygwin?
I want to put files larger than 4GB on my card as well.
I think this will be useful for a lot of people.
I found a thread http://android.modaco.com/content/h...an-i-bind-mount-e-g-system-sd-xxx-sdcard-xxx/
But I am a noob in Linux, and it would be GREAT to have step by step commands I would have to type in to format my external SD card, while its in the phone, etc
Possible problem I see is that the phone might not recognize external card if its ext2/3/4 . We might have to have small FAT32 partition on there as well? Or may be Froyo has that ability...
I'm looking into doing this myself, in my case so I can use symlinks to copy apps "data" folders (not the "data" partition, but the folders in /mnt/sdcard where apps put different things) onto the larger, external sdcard. It seems like it could be possible, just need to make sure the /etc/fstab file is updated properly, and of course make sure your kernel has the ext2 and/or ext4 modules loaded and running (which you probably will if you have a lagfix installed). I will play with this and post back my results here...
I have been looking for this myself for a while aswell, but on 4 different kernels and CWM v2.5 and CWM v3.0, I couldn't find any option on how to change the ext. SD to Ext4. If anyone knows how to then please post it here!
Sent from my GT-I9000 using XDA Premium App
So, progress report...
Still no success in this matter, although I have learnt a bit today about Android's internal workings. After backing up my system with CWR, I first tried formatting my ext sd card with gparted on my computer. Bad choice... Even though no config files were stored in it as far as I could tell, Android "panicked" and decided to restore all my configs to default, severely crippling my system and making a lot of apps force close when I restarted the phone.
At that point I thought, since it is now broken, might as well play with it So the next thing I tried was formatting my internal sd card (only the vfat partition that gets mounted in /mnt/sdcard) to ext2, but this time using the "busybox mke2fs" command, on the terminal emulator on the phone. This seemed to be successful, and I could read and write to the new ext2 partition, although for some reason, I got the feeling that apps kept resetting their settings (not sure what caused this, didn't really looked into it much). So once that was up and running, I decided to modify the /etc/fstab file, like I would do in a normal linux environment, to automount this partition on boot, as ext2.
At this point I rebooted the phone, but hmm... Android converted the partition back to vfat. Not good. This leads me to believe there must be some kind of "recovery" commands run on startup, in case the system detects the partition is not the default file system, or something along the lines of that. At this point it got kinda late, so I decided to document my progress, restore (which thankfully left my phone the way it was at the beginning of the day) and call it a day.
So, things that I still need to find out:
1) How does the system convert the partition back to vfat on startup and how could I avoid it from doing it? Maybe by having a small vfat partition to fool it into thinking all is good and normal?
2) When I had my partition as ext2, I couldn't see it on my computer when connected via USB (I'm on a linux system so the fs being ext2 is not a problem). Wonder why...
3) If I had a small vfat partition, how would I go about mounting the ext2 partition on the same mount point after the system checks the vfat one? Maybe by binding it? Gotta look into that as well.
4) Finally, have to check why the apps couldn't maintain their settings after a certain amount of time (for example, if I opened terminal emulator and changed the colors, these would stay if I closed and opened the app again right away, but if I closed it for a while, say half an hour, and opened again, it would be back to default...)
I'm on a Galaxy S btw. If anyone has any insight on any of these matters, would be much appreciated!
Any progress? Would really like to use +4 GB files.
morow said:
I would like to have option to transfer bigger files than 4GB.
Click to expand...
Click to collapse
It is immpossible because of hardware limitations of the SD card And often if the file is big it just fail!
Hristov1 said:
It is immpossible because of hardware limitations of the SD card And often if the file is big it just fail!
Click to expand...
Click to collapse
Not true, read the rest of the thread before u post! Its not a hardware limitation, its because Android uses fat32 as filesystem.
hello everyone,
I just wanted to check to make sure that there is no solution for this 4gb limitation with Android yet? I too have been looking for something besides resizing files.
thanks
uki
I have ext2 on my external 32GB SDCard, just formatted it on my PC and put it in the phone, working without any problems. I just watched a full length 720p movie with DTS sound on my phone without having to re-encode the mkv
I'm using CM7.1 on my phone which auto-mounts the SDCard even with ext2. It won't work on stock ROM, but any kernel that has ext2 support should be able to read ext2-formatted cards but they might not auto-mount the sdcard.
On my PC I had to install a ext2 file system driver (google ext2fsd) for Win7 to be able to read the card when attaching the phone to the PC.
Hi there,
Is there a way to make the add the internal SD card to the main memmory? So that there would not be an internal SD card anymore?
I do not mean swapping the moutpoints around so my External_SD becomes my primary and my internal my second....
I want to get rid of the internal one alltogether (adding it to main memory).
I figure that I'll have to format the storage in a certain way... would that do it?
Can someone tell me step by step what to do?
I do have CW-mod installed.
I did search the forum, but couldnt find anything conclusive. Just hints that it should be possible...
If there already is a thread where all this is explained, please point me to it, because I couldn't find it.
Thanks,
Pfeffa-rah
I don't think this is possible , never heard of someone who did it
I have no idea how to do that. My question is... why would you want to do that?
Having an internal_sd partition adds the benefit of having big app data (such as those in Gameloft games) sit in a very fast partition and still be called "sddata".
Also, it's mountable via PC so everything in there can still be backed up. So it's best of both worlds really.
This was discussed some time ago in this thread: http://forum.xda-developers.com/showthread.php?t=1013575
There were ideas on how to remount the cards at boot. I myself come to the conclusion that since more phones start to behave in this way, app developers will have to start dealing with it. It just sucks they are mostly slow on the uptake. My main problem was the Spotify cache location being hard coded so I resorted to hack the Spotify apk.
PS. salisbury_steak: What is it with people like you that every time someone has a question on how to do something, your immediate response is "But why would you want to do that?!".
sorech said:
PS. salisbury_steak: What is it with people like you that every time someone has a question on how to do something, your immediate response is "But why would you want to do that?!".
Click to expand...
Click to collapse
That was actually an honest question.
I wanted to understand why he wanted to do it. (i.e. What would be the advantages of it.) There was no supposed sarcasm in there.
how about the ability to install 5x more applications?
Having that stupid 5gb partition as sd card and the real sd card as a sub folder is retarded...
My 32GB class 10 cars is a lot faster than the internal one.
The internal 5gb memory is MUCH TOO SMALL!!! Most apps don't allow you to store data on the external card. If you like me and many others install some games that download aditional data + a nav app that downloads maps for europe + some streaming music app like wimp that can cache music for offline play then you are ****ed with LG's setup.
The setup CM7 uses solves the main problem but effectively wastes the 5gb by mounting it at emmc where like 0,0001% of apps are able to access it.
So adding those otherwise wasted 5gb to the main memory would be great. But i have not seen any solution to that yet :-(
Thank you Gensplejs for explaining that to them. I had no idea how to reply to that since it seemed so obvious to me.
This thread was ment to be a question about how to do it and not to discuss the usefullness of it. That is where I lost the way in other threads...
So, thanks for your replys all (realy).
But now, back On-Topic:
How would I do it?
Sent from my LG-P990 using XDA Premium App
Please don't blame me if you tried it and you screwed up your phone.. It's your choice...
Well, I don't know if this would work, but this is how I would do it (accepting the fact that I'd loose almost 2GB of /data's free space):
1. Format your internal sd card to the same file system as your /data partition is (ext3 or ext4)
2. Copy every file from /data 1:1 to your sdcard (cp -R /data/* /sdcard)
3. I don't know when and where the partitions are mounted (maybe init.rc??)...anyways change the target there and let /data point to the internal sd card partition (so it is ensured that it is mounted automatically to the new location)
4. Reboot and keep your fingers crossed
I think i figured how to do it in theory. First we need some free space at our microsd to cp /data. Then we should repartition with fdisk /dev/block/mmcblk0p8 and p9 into one partition and change vold.fstab to mount only externalsd at /sdcard as we do when we swap partitions. In theory it should work but i cant test it right now or make a script since ve gone vacations and i dont have a pc to restore in case of error
I agree.. certain apps wont store to sdcard.. its better to use the whole 8gb as phone storage, and use external sdcard as default sdcard.
Sent from my LG-P990 using XDA App
What ive found till now is that sd swapping is easy. You can do it by tweaking only vold.fstab. But repatriationing is a pain in the ass. Looks like lg has "faulty" partitions or something and to do it you must mesh up with with almost half partitions.
I had to rebuilt boot lgdrm recovery data and sdcard to make em half work. So it probably isnt worth the trouble. Also I think init.rc is built on the boot. So just remounting internal sd to /data wont work either.
sectors is not space
it says 7996, so thats 8GB
i saw it in hurry. the brain sometimes belives whats he want to belive
sorry
New to XDA
Hello everybody,
I'm new to android and i'm trying to find out how to solve the problem posted in this thread.
I see you've got the awnser but i don't know how to do this.
I've been searching google and XDA for ever but i just can't find the awnser.
Could you make a step by step howto or point out to a post how to do this.
I mean converting your external sd to ext4 and change the mounting points.
I'm a complete nood, i didn't get adb to work on my pc, ext4 recovery is not for the p990 2x.
I've read something abbout changing fstap for swapping te mounting points for sdcard and emmc, witch is also ok for me, but formating to ext4... wel i frankly don't know how to do this.
I'm quite stuk on this.
The only partitioning experience i've got is Gparted in Ubuntu or repartitioning in Windows 7.
Thans in andvance!
Greetz,
JMG
http://android.modaco.com/topic/347...-partitions/page__gopid__1821791#entry1821791
check this
you can expand data partition , but there is a limitation of 1.75gb
Thanks davjan
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Jean Michel Gaar said:
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Click to expand...
Click to collapse
what rom are you using? is your phone rooted?
swapping internal with internal sd is very easy
and most of the roms here on xda are ext4 , if you instal one of them they autoconvert to ext4
Jean Michel Gaar said:
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Click to expand...
Click to collapse
I you read the link provided you'll see that it makes what you want: grow internal filesystem = lower SDcard usable space. The only thing is that it doesn't seem possible is to use the whole space: system limitation. 75Markus tried high /system and /data values and phone didn't work.
See in his Mediafire Folder, 'Nvflash + guide for changing Partitions:
http://www.mediafire.com/75markus
Ext4 is now common with custom ROMs (in fact all of them).
You should search in sd-ext partition system, which was designed to artificially expand filesystem on older phones using an 'ext' partition. I didn't heard anybody using this on O2X.
If you use CyanogenMod based ROMs, your external card will be mounted ad /sdcard by default.
Switching internal and external SD
Thanks guy's,
I'll check it out.
I've been using cyanogenmod 7.1 stable with vorkkernel 20110208.
But that gave me batterydrains while using maps and nextvid ate the same time (while i'm driving).
Now i'm trying MIUI 1.11.11 with latest swift extreme.
But MIUI is very buggy so i'm thinking of going back to CM.
The only thing is that my phone won't boot with the latest vorkkernel.
I finally decide to have a partion on my 8GB SD other than FAT32. So i used the FuFu Minimod to split my SD. First to Ext2 then to Ext3 and then to Ext4.
It all went fine. I have moved some basic apps like Facebook and Igo to the Ext4 partion.
The weird thing that drove me to create this thread is the fact that my phone became a bit slow... unresponsive... and just because the Ext4 with basic apps on it?
Did i miss something or this is normal?
Appreciate all feedbacks.
WF
Sent from my Milestone using xda premium
Try wipe both Cache and Dalvik-Cache
Thanks... but is not the case... and yes i already did that before creating the thead.
Tks
Well then, manually move the app to the sdcard, then move back to the phone.
It should move into the ext4 partition.
They are all in ext4...
Sent from my Milestone using xda premium
wisefreakz said:
They are all in ext4...
Sent from my Milestone using xda premium
Click to expand...
Click to collapse
I know it is inside ext4. Please try to move to the sdcard and back to the phone again.
I did face this b4
I have done that before you mention... and it looks like its a bit more stable.
One doubt... i notice that all sd-ext\app files are alson in data\app.
Why is that?
Sent from my Milestone using xda premium
Why
Is ext4 faster or what ?
Im kinda noob on this android and stuff things, so i donno.
I can put my apps on SDcard without formatting to ext2, 3 or 4.
Well, now after billions of testing, formating, reflashing... all looks pretty nice now.
@ivanotera: moving apps to sdcard is not the same as moving apps to a second partition where this second partition is journaled - case of ext4.
It means that when you boot your phone, this partition is ready to use and does not need to be "prepared" as the usual fat32 - thats why we see the message after boot up that sd card is being prepared (in fact the OS is checking if the partion is corrupted or not.
Also when moving apps directly to sd card like you are doing, is not good as phone becomes slow, widgets, shortcuts dissapear while booting phone and while phone is connected to pc via usb with sd mounted for access.
With ext4 (using ext4.ko module) OS will think that this second partition is part of the internal storage and all of the above mentioned will not be a problem anymore and you will not get that anoying message that you have not enough space just because you added a couple apps.
Hope this can clarify some important things.
Cya
Sent from my Milestone using xda premium
Yeah, got it.
But another question, is ext4 "viewable" by windows ?
Because i have a 32gb card, so i use it as a "pen drive", have some apps so when i format a pc, not at home, i have some apps already, and dont have to download it.
Or in the case of creating a ext4, i partition the sdcard, so i have the "apps" partition and the "windows" partition ?
Hello,
I re-open this thread because I have new information about the compatibility of N.E.A.K. kernel with my card formatted in exFAT.
N.E.A.K. Kernel don't support this file system!!! That's the reason why my card doesn't work with...
I restart to "0" because I think the alone solution is to use EXT4 with auto-mount at boot.
@ scote (or other):
Can I use your manual mount cmd on init.d or other way?
Hello,
With n7100 international + Omega v10 (Android 4.1.2 based) + N.E.A.K. kernel v1.4x
With various µSD card (but especially with my new Sandisk UHS 64Go) I would know how to use ext4 filesystem.
After computer formatting in ext4 the card can't be really usable by phone:
- Storage menu don't see him.
- Recovery can't do anything with (mount / format)
- Some apps can see him. (like empty 64GB / or 0Gb card capacity !)
- ES Files explorer work with but by the /mnt/extsd/card directory and if no SD card in slot work to !!!
thus I expect doesn't work really
If you have any information about what work, can or can't work, or anything about filesystems, software...
Thank you
Click to expand...
Click to collapse
I had the same thing happen. I plugged it not my computers sd card reader and the computer acted as if nothing was there. I tried to force a format through DOS but it failed. Ultimately I had to buy a new MicroSD card.... Now it works.
Update: Card doesn't work with my reader/computer
What file system are you using?
Why not just use exFat? It useable on Note 2 and readable by Windows. Just make sure to use the latest TWRP for system bqckup
Re: SD Card file system usable by OS apps
You can mount ext4 file system manually if you are rooted, from a terminal or adb shell
mount -t ext4 /dev/block/mmcblk1p1 <some directory>
substitute <some directory> with the path without the <> I used /sdcard/mnt
of course if you wont be able to read the card with windows pcs
I think there might be an app to do this for you, usb mounter
Android won't mount ext4 by default.
Also, windows can't mount ext4 drives but you can use something like minitool partition wizard to reformat it to ExFAT or NTFS if you're on samsung ROMs, or Fat32 if you're using CM/AOSP ROMs.
Pongster said he'd be making a test kernel to see if he can get ext4 to auto-mount in the HyperDroid JBX thread, but that's not released yet.
You aren't using TWRP 2.4.0.0 or 2.4.0.1 by chance?
!!! Sorry, XDA doesn't mail me for new answer.
Thanks your help men
Why not just use exFat? It useable on Note 2 and readable by Windows. Just make sure to use the latest TWRP for system bqckup
Click to expand...
Click to collapse
I don't like Microsoft. If I have a Linux device like Android N7100 I want to use it the more possible with Linux environment.
I useCWM Touch v6.0.1.4-jb moded by Xiaolu. Good?
You can mount ext4 file system manually if you are rooted, from a terminal or adb shell
mount -t ext4 /dev/block/mmcblk1p1 <some directory>
substitute <some directory> with the path without the <> I used /sdcard/mnt
Click to expand...
Click to collapse
Thus can't be used like a FAT SD Card? By Samy explorer and others softs? Can't be see by system like an external card, not possible to manage it very good (capacities disponnible by exemple) ?
You aren't using TWRP 2.4.0.0 or 2.4.0.1 by chance?
Click to expand...
Click to collapse
No; why?
Re: SD Card file system usable by OS apps
Once its mounted any explorer or app dont care or know what the filesystem is
Yes, but can I will see the SD like a "normal" FAT formatted card?
I want to say, in menu/storage like a external SD?
If the card like this, have all the same functionality of FAT card, can you help to auto-mount at boot?
My card is actually broken: phone or PC won't see anything when connected
'll try with a new 64GB in few hours.
Re: SD Card file system usable by OS apps
StreamingMT said:
!!! Sorry, XDA doesn't mail me for new answer.
I don't like Microsoft. If I have a Linux device like Android N7100 I want to use it the more possible with Linux environment.
I useCWM Touch v6.0.1.4-jb moded
Click to expand...
Click to collapse
I don't see how it related. Both fat and exfat are MS. And exFat is the only option works across Note 2 Android, TWRP,Windows, and can be mounted as thumb drive (with the benefit working with > 4gb files). It's up to you if you want to get yourself into troubles by using other format.
Sent from my GT-N7100 using XDA Premium App
jackleung
I like more ext4, but apparently this is a little bit difficult to do what I want (And I think it's what broke my firts SD). Thus I'll use extFAT for my new one.
That's work perferctly! Just funny to see my new card in packging pre-formatted in extFAT...
All is good for me now, thanks you every body for your help ;p
Hello,
I re-open this thread because I have new information about the compatibility of N.E.A.K. kernel with my card formatted in exFAT.
N.E.A.K. Kernel don't support this file system!!! That's the reason why my card doesn't work with...
I restart to "0" because I think the alone solution is to use EXT4 with auto-mount at boot.
@ scote (or other):
Can I use your manual mount cmd on init.d or other way?
It's kind of a long story... I got this tablet yesterday and immediately tried to see if I could install cyanogenmod on it (the stock OS is quite horrible). With every step, I faced challenge after challenge - there's an in-depth guide using Heimdall on these forums that gave me a lot of issues. In particular, the most recurring problem I had was that my Galaxy tab was never able to mount its internal SD card, which meant that installing cyanogenmod was pretty hopeless (the installer's not compatible with my tab). As time went on (I spent a LOT of time on this) I figured out that I could access the root of my tab using the adb shell command. Here, using parted, I stupidly formatted my internal sd card to an ext4 filesystem thinking that would solve all of my problems. This is where my real problems started though, because now my tab will not boot up completely no matter if I give it the original stock rom or a rom with superuser and root access built in or anything.
Everything I try either causes it to immediately go to the recovery menu and display a bunch of errors very similar to this: forums.androidcentral.com/samsung-galaxy-tab/222766-galaxy-tab-might-bricked-help-needed or just enters a boot loop with the glowing Samsung logo. I've seen miracles performed here, so I thought maybe I could try all the suggestions I can get before I give up.
Here is what I can do:
- I can enter download mode and interact with Odin.
- I can use Odin to install ClockWorkRecovery and I can boot into cwr
- I can copy files to and from my tab using adb, and I can use adb shell
- I know how to manually mount my internal sd card so I can install zip files.
- I can format my sd card to anything BUT the rfs filesystem it desperately needs
I'm willing to try anything. Thank you for reading.
Buy a 2gb microsd, only a few dollars. But a USB card reader. Also a few dollars.
Or sprint tab has no microsd slot?
Anyway, I thought internal SD is vfat/fat32. Not RFS.
Sent from my GT-P1000 using xda app-developers app
priyana said:
Buy a 2gb microsd, only a few dollars. But a USB card reader. Also a few dollars.
Or sprint tab has no microsd slot?
Anyway, I thought internal SD is vfat/fat32. Not RFS.
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
Ok, through some kind of magic I got the stock+rooted+CWM rom to install and now it works correctly! my partitions look like this:
Number Start End Size Type File system Flags
1 32.3kB 1201MB 1201MB primary fat32 lba
2 1201MB 1700MB 499MB primary ext2
3 1700MB 1900MB 200MB primary linux-swap(v1)
I made these partitions myself. My fstab looks like this:
/dev/block/mmcblk0p1 /cache rfs rw
/dev/block/mmcblk0p2 /data rfs rw
/dev/block/stl10 /datadata rfs rw
/dev/block/stl9 /system rfs rw
/dev/block/mmcblk1p1 /sdcard vfat rw
/dev/block/mmcblk1p2 /sd-ext rfs rw
I have no idea what I did to make this work, but I guess it just does now...
So now that I have CWM and a rooted stock 2.3.4, how do you think I should install cyanogenmod? Part of me wants to use ROM manager...
I don't know why your internal SD is only 1.2G+499MB+200MB
That is total less than 2GB.
What happened to the remaining?
Best is you repartition your SD again.
Sent from my GT-P1000 using xda app-developers app
priyana said:
I don't know why your internal SD is only 1.2G+499MB+200MB
That is total less than 2GB.
What happened to the remaining?
Best is you repartition your SD again.
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
I don't know the exact amount of storage I have in MB, so I just guessed. You know how when you buy a computer with 500gb of storage on it there is really less than that. If I were to guess, I'd say the SD card is about 1940-1970MB, but without any way of knowing I didn't want to tell parted that there was more space there than there actually was. In parted, you have to specify the amount of space you allocate to each partition, and I don't know of a way to see the total amount available.
So that being said, how do you think I should go about installing cyanogenmod? Thank you for all of your help so far. It's nice to have this community