Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,194 Members 42,154 Now Online
XDA Developers Android and Mobile Development Forum

How to Partition your Sd Card??

Tip us?
 
oMaRcO
Old
#1  
Senior Member - OP
Thanks Meter 18
Posts: 183
Join Date: Sep 2007
Cool How to Partition your Sd Card??

How to partition your SD Card for us Newbies.

how can i do that? Ext2 , Ext3
i have a 8 gb sd card class 6. someone guide me please with a link

Thnx
 
matisamd
Old
#2  
matisamd's Avatar
Member
Thanks Meter 0
Posts: 94
Join Date: Jan 2007
acronis disk manager can do that but the card wouldnt boot in my phone, so i used the phones internal boot up manager to do it, unlocker.com has a video guide. i only been doing this my self passed 3 days and its been really confusing so good luck
 
chrysochire
Old
(Last edited by chrysochire; 5th August 2010 at 09:26 AM.)
#3  
Member
Thanks Meter 2
Posts: 43
Join Date: Jul 2010
Location: Neuchâtel, Switzerland
Default Page 2 of the Q&A Forum

Quote:
Originally Posted by oMaRcO View Post
How to partition your SD Card for us Newbies.
Thnx
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- "Install apps to sd" (ext) must sometimes be configured in your ROM, check the thread for your rom for infos...
- Backup your SD card before you start ! The following steps will wipe the contents !
- Ext partitions are only visible in Linux = Windows can't see it.
- Swap Partitions are no longer useful.
- You can check if you have a working ext partition with Quick system info (in app market)
- On first reboot after partition, android will move some apps to the SD, this will take a lot of time. Some people have reported a bootloop on green HTC Screen, one reported a need to Battery pull 4 times before it finally worked), so be patient!!!!
- If the device is plugged into a PC when you try to boot with the partitioned SDCard it never gets past the white HTC sceen & logo.

Now the tutorials:

A. Easiest way is to install Rom Manager:
1) install rom manager
2) choose partition sd card
- 512mb ext
- 0 swap
3) let RM do the rest... ;)

- I believe Rom Manager (as of end of July) creates an ext2 partition, therefore if you want ext3 or 4, easiest is to go through Gparted, or if you have amonRa Recovery, I believe this function is present.

B. Another one is using Gparted:
(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)
You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-t...eature=related)
+ You can do this using your phone to mount the SD card or a Card adapter directly connected to your computer.

1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4))
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext3 or 4 (recommend ext4)
Free Space Following = 0
Click add
13) [CHECK AGAIN you are working on your SD card and not your Hard Drive!!!!] Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone and wait (see introductory remarks)

C. Recovery Images
Some Recovery Images also have a option to format your SD card from the recovery screen. (see http://forum.xda-developers.com/showthread.php?t=721792).
I have not tried that.

As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more.

D. How to check if it worked?
To check whether A2SD is working once you've flashed your ROM,
1)Download Quick System Info from the Market, and check under A2SD Storage, it should give you enough informations.
2)download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private (courtesy of ikkokusenkin)

E. Further Infos
See: http://geeks.pirillo.com/profiles/bl...ion-an-sd-card or :
http://androidcommunity.com/forums/f...rtition-14232/ or:
http://theunlockr.com/2009/10/15/how...nd-or-apps2sd/ (With Rav Recovery...) or:
http://forum.xda-developers.com/showthread.php?t=534714 (most complicated way.... )

related thread: http://forum.xda-developers.com/show...=731432&page=2

F. Open Questions:
What I don't know:
- If the size of the ext partition matters (if you have to choose 256/512 or 1024, and can't have 600mb for example?
- What ROMs require ext partitions? (all with app2sd+, basic froyo app2sd doesn't require ext partition).
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards... (do you need any management of your ext partition?) or you have to reinstall those apps????) See here.
- How to check if you bricked your sd card...
- etc...

Good Luck
 
Software Guru
Old
#4  
Software Guru's Avatar
Senior Member
Thanks Meter 87
Posts: 821
Join Date: Oct 2003
Location: Halifax
Use Rom Manager

Completely painless, took less that 2 mins to do mine

PS - It may appear to stuck at the HTC white screen after completion, I just left it and
it booted up normally after about 3 mins

50 apps installed and 132MB spare!!
If You Like It, Then Please Thank Me

Device - HTC ONE Silver 32GB
ROM - ViperOne 6.2.1
Kernel - Bulletproof-m7-14.2
Radio - Stock
HBOOT - Stock
Mods - Automaton

2012 Nexus 7 (32GB WiFi) - Rooted / Stock KitKat 4.4.2
 
Learners Lisence
Old
#5  
Learners Lisence's Avatar
Senior Member
Thanks Meter 3
Posts: 180
Join Date: Jun 2010
The first time round the Rom manager worked for me. But I again formatted the card thinking i had not followed the right partitioning so i tried again but i get stuck on a black screen with SU request written forever which needs to be force closed.
Please advise. thanks
 
Chan_B
Old
#6  
Senior Member
Thanks Meter 7
Posts: 125
Join Date: Jul 2010
I recently bought a 32gb sandisk and want to get that working heres what I have done with no luck:

I inserted the new memory card and it picked up fine on the phone then I went to rom manager to partition the card, 512mb and 0 swap it reboots but only stays in clockwork mod, from here I dont know what to do.

If I connect the phone to the computer with the card mounted it displays the card as raw not fat32 but music files drag and drop and easily play.

I could format it from the computer to fat32 but I'll wait and see what you guys say.
 
Noonski
Old
#7  
Noonski's Avatar
Moderator Emeritus / Recognized Developer
Thanks Meter 121
Posts: 5,286
Join Date: Apr 2005
Location: Amsterdam

 
DONATE TO ME
Quote:
Originally Posted by Chan_B View Post
I recently bought a 32gb sandisk and want to get that working heres what I have done with no luck:

I inserted the new memory card and it picked up fine on the phone then I went to rom manager to partition the card, 512mb and 0 swap it reboots but only stays in clockwork mod, from here I dont know what to do.

If I connect the phone to the computer with the card mounted it displays the card as raw not fat32 but music files drag and drop and easily play.

I could format it from the computer to fat32 but I'll wait and see what you guys say.
Try to format the card back to fat32 using:
http://panasonic.jp/support/global/c...oad/index.html

Then check out the Windows way of using parted to partition
http://androidandme.com/2009/08/news...droid-apps2sd/

After partitioning I use clockworkmod to upgrade ext2 to 3.
And you can't always set a linux swap of 0 so calculate 1MB for that part.
Searching for Anwsers on XDA? Try The FireFox & IE Search Bar Plug In

www.noonski.nl For My Device History, BackLog, Beer Gifting, Off Topic Rants and everything else that won't fit in my Signature.

 
Chan_B
Old
#8  
Senior Member
Thanks Meter 7
Posts: 125
Join Date: Jul 2010
I got it to fat32 but then the windows way of using parted to partition seems difficult. How can I tell if I have partitioned my card successfully? How can I partition using clockworkmod only, when I go to partitions menu it only says mount or format, this is frustrating...
 
gianton
Old
#9  
gianton's Avatar
Recognized Contributor
Thanks Meter 4227
Posts: 7,266
Join Date: Feb 2009
Location: Thessaloniki

 
DONATE TO ME
Quote:
Originally Posted by Chan_B View Post
I got it to fat32 but then the windows way of using parted to partition seems difficult. How can I tell if I have partitioned my card successfully? How can I partition using clockworkmod only, when I go to partitions menu it only says mount or format, this is frustrating...
gparted has a live cd to partition your sd card

http://gparted.sourceforge.net/download.php
Current Devices: Galaxy Note 3 - HTC One
Device History: Samsung Omnia ► HTC Topaz ► HTC HD2 ► HTC Desire ► iPhone 4 ► Galaxy Nexus ► Nexus 4 ► HTC One (Backup) ► Galaxy Note 3

Flashable Zips Fonts | Samsung Keyboard Fonts | MIUI Fonts | Xperia Z1 Keyboard Multi Language | MIUI Info/Fixes for the HTC One | Official MIUI v5 - DISCUSSION, TALK, Q&A Thread

 
matisamd
Old
(Last edited by matisamd; 25th July 2010 at 06:41 PM.)
#10  
matisamd's Avatar
Member
Thanks Meter 0
Posts: 94
Join Date: Jan 2007
Hi, i see you all set swap as 0 does that mean its using phone internal storage as swap how fast is read/write of phone ram ? i have class2 32gb card i used the phone boot with the r5 windows.bat to get into it and i set 256 swap/512 ext2/ rest 32bit all seems to work fine.

i note that writing to the sd card is about 2MBps and read is 10MBps.

i have a class4 8gb that writes at 10MBps reads about 17MBps i have had both in the phone and i cant say that i notice lag on the 32GB but i havent had it more than a few days and coming from xda orbit its a big difference.

if i use the card as storage the phone becomes very lag but maybe thats cause in that mode it would have no swap file? might change that when i finally flash to froyo.

gparted kept saying it was unformatted when windows said it was formatted so i gave up with it.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Remove Unnecessary WhatsApp Elements with Xposed

In modern life, you can’t underestimate the power ofthe dark sidemessaging … more

MaR-V-iN to Talk Google and Android APIs at XDA:DevCon 2014

Our international xda:devcon 14in Manchester, UK on the weekend of September … more

But First, Let Me Take a #Selfie

“Today while browsing XDA,I’m going tocheck to seeif my favorite ROM has been updated–but … more