5,599,337 Members 37,888 Now Online
XDA Developers Android and Mobile Development Forum

How to format Internal SDCard to EXT4?

Tip us?
 
Phk
Old
#1  
Phk's Avatar
Senior Member - OP
Thanks Meter 30
Posts: 512
Join Date: Jan 2009
Location: Lisbon

 
DONATE TO ME
Question How to format Internal SDCard to EXT4?

Hi there,

I've tried to follow other "tutorials" (for another Android phones) to format my internal SD Card to ext4, but with no success.

My method was:
- Connect phone to Linux PC
- Enable USB Storage on Phone (the drive appears in Linux)
- dmesg | tail (to see new device and partition name, for example, /dev/sdb1)
- mkfs.ext4 /dev/sdb1
- Unmount partition in Linux
- Stop USB Storage on Phone
- Unplug Cable

And the result is.......... The phone formats the Internal SD again to vfat!!!

Why does this happen? Any ideas?
How can i surpass this? I have Latest stock rom (rooted).

Getting lost here... :\

Cheers,
Phk
Cheers to all the XDA community
 
nerotix
Old
#2  
nerotix's Avatar
Senior Member
Thanks Meter 560
Posts: 1,921
Join Date: Mar 2011
Location: Utrecht
1. Download Minitool Partition Wizard
2. Connect phone with USB mass storage
3. Open Minitool Partition en right click on the SD Card and choose format.
4. Choose file system EXT4 and 32KB cluster size
5. When you did all that, you click the "Apply" button in the top left corner.
6. Wait for it to finish and voila!

Hope this helps!
My 1st icon pack for Nova/Apex/Holo/ADW/LauncherPro: Just Flat
The Following 9 Users Say Thank You to nerotix For This Useful Post: [ Click to Expand ]
 
punshkin
Old
#3  
Senior Member
Thanks Meter 248
Posts: 961
Join Date: Jan 2010
sorry for this question, but why do you want to do that? is it so that you can use the whole 16gb for apps and store media on your external SD only?
[ROM][4.4.2] Nexus 7 3G (2012) Omni-Rom Unofficial [with Multi-Window]
[Themed][App]Sony Ericsson LiveView AOSP/Vanilla[Yes, watch's screen itself!]
[Themed][App]Sony Ericsson LiveView Black`n`White[Yes, watch's screen itself!]
HTC Dream/T-Mobile G1 >Cyanogenmod 7.2<
Samsung Galaxy S2 I9100 >Cyanogenmod 10.2 nightly<
Sony Ericsson Original LiveView >OpenLiveView<
iPod Touch 4G 32gb >iOS 5.1.1/Jailbroken<
Asus Nexus7 3G >Android 4.4 Omni Rom<
 
MyrddinLXXIIX
Old
#4  
Junior Member
Thanks Meter 5
Posts: 13
Join Date: Jun 2011
Quote:
Originally Posted by punshkin View Post
sorry for this question, but why do you want to do that? is it so that you can use the whole 16gb for apps and store media on your external SD only?
Obviously to use HD-Video on the phone.

Files often exceed 4 Gigabyte, and for that filesystems like ntfs, exfat or ext4 are needed.

Going to give it a try soon, thanks nerotix!
 
cheekystew
Old
#5  
cheekystew's Avatar
Senior Member
Thanks Meter 14
Posts: 223
Join Date: Jul 2010
Location: barrow in furness
Quote:
Originally Posted by nerotix View Post
1. Download Minitool Partition Wizard
2. Connect phone with USB mass storage
3. Open Minitool Partition en right click on the SD Card and choose format.
4. Choose file system EXT4 and 32KB cluster size
5. When you did all that, you click the "Apply" button in the top left corner.
6. Wait for it to finish and voila!

Is there a way of doing this through windows? Also would it be worth doing it to my 16gb external SD. Thanx in advance


Hope this helps!


Sent from my GT-I9100 using XDA Premium App
 
sgstwo
Old
#6  
Member
Thanks Meter 9
Posts: 67
Join Date: May 2011
You will need to patch some files for that to work. It's not bothered me enough that I want to fix it. If you restart your phone, it will reformat your internal SD-card to vfat, even if it's already ext4-formatted.
 
dyallo
Old
#7  
Senior Member
Thanks Meter 20
Posts: 315
Join Date: Oct 2010
I'm also interested in this.
Really, it will change back to the original file system?
Which files would we have to patch to prevent this?
Samsung GT-I9305 LTE 16GB,

ROM: Trying to revert to stock.
 
nerotix
Old
#8  
nerotix's Avatar
Senior Member
Thanks Meter 560
Posts: 1,921
Join Date: Mar 2011
Location: Utrecht
Quote:
Originally Posted by dyallo View Post
I'm also interested in this.
Really, it will change back to the original file system?
Which files would we have to patch to prevent this?
It depends, I believe alot of ROMs are ext4 supported, for those that are ext4 supported you dont have to patch anything I believe.
My 1st icon pack for Nova/Apex/Holo/ADW/LauncherPro: Just Flat
 
Phk
Old
#9  
Phk's Avatar
Senior Member - OP
Thanks Meter 30
Posts: 512
Join Date: Jan 2009
Location: Lisbon

 
DONATE TO ME
Guys please post only after testing. This is important to avoid deadlocks.....

Facts:
#1 - Current SGS2 Stock roms have rootfs and datafs formatted in EXT4 so they do support it
#2 - they force sd format to vfat so that is probably what needs patching.

Question is :
A - WHICH system app do we need to patch
B - Does the SD mount correctly as ext4 ?

Cheers and thanks
Phk


Sent from my GT-I9100 using XDA App.... at 220km/h on a jet train :P
Cheers to all the XDA community
The Following User Says Thank You to Phk For This Useful Post: [ Click to Expand ]
 
MyrddinLXXIIX
Old
(Last edited by MyrddinLXXIIX; 15th June 2011 at 11:45 AM.)
#10  
Junior Member
Thanks Meter 5
Posts: 13
Join Date: Jun 2011
Quote:
Originally Posted by Phk View Post
Guys please post only after testing. This is important to avoid deadlocks.....

Facts:
#1 - Current SGS2 Stock roms have rootfs and datafs formatted in EXT4 so they do support it
#2 - they force sd format to vfat so that is probably what needs patching.

Question is :
A - WHICH system app do we need to patch
That is the million dollar question indeed.

Quote:
Originally Posted by Phk View Post
B - Does the SD mount correctly as ext4 ?
No, it does not.
Tried both a microSD inside and another SD external via USB-OTG.
The OS 'catches' the 'faulty' ext4 cards and prevents mounting, which should work perfectly allright seeing Fact #1.

PS: The minitool mentioned above does not allow cluster sizes of 32 KB, only 1, 2 and 4 (checked this with an 8 GB mSDHC and 16 GB SDHC).

Tags
ext4, format, sdcard, vfat
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes