Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,068 Members 49,002 Now Online
XDA Developers Android and Mobile Development Forum

How to partition SD Card for Desire?

Tip us?
 
wolvie77
Old
#1  
Senior Member - OP
Thanks Meter 1
Posts: 138
Join Date: Mar 2010
Default How to partition SD Card for Desire?

Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
 
shoey-n
Old
(Last edited by shoey-n; 29th June 2010 at 08:47 PM.) Reason: Forgot ROM Manager
#2  
shoey-n's Avatar
Senior Member
Thanks Meter 5
Posts: 320
Join Date: Sep 2008
Location: Pontypridd

 
DONATE TO ME
Quote:
Originally Posted by wolvie77 View Post
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager

But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
Nathan Shoemark
Nexus 5 - Android L Preview
Nexus 7 - Stock 4.4.4
 
DarthOps
Old
#3  
Senior Member
Thanks Meter 3
Posts: 113
Join Date: Jan 2010
Quote:
Originally Posted by shoey-n View Post
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager

But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
Any chance we could have the GParted steps, I tried using it for creating the partitions (FAT32 then Ext2) and no matter what I did I got a Damaged SD error upon remounting it in the Desire.

I'm starting to think my card is bad!
 
shoey-n
Old
#4  
shoey-n's Avatar
Senior Member
Thanks Meter 5
Posts: 320
Join Date: Sep 2008
Location: Pontypridd

 
DONATE TO ME
Not in front of Linux right now, so this is off the top of my head. I'll post in the morning clear steps (better if used in card reader not using USB toggle on device)

Backup what ever is on your card first!

In the top right corner of GParted select your device and let it search for partitions on card
Unmount all partitions by right clicking on each partition and clicking unmount
Then delete those partitions by right clicking and selecting delete
(I normally apply those changes before proceeding by clicking the green tick, to make sure the partitions have cleared)
With the unpartitioned space, firstly create your FAT32 partition by right clicking and selecting FORMAT TO then FAT32 (MAKE SURE REMAINING SPACE IS IN FOLLOWING NOT PRECEEDING) then with the remaining space create your EXT2 partition exactly the same but obviously format to EXT2 and you could even add a small 32MB linux-swap partition but it's not necessary

Then apply the changes, if everything goes successfully and you are still getting remount errors, then try reflashing your ROM or a different ROM
(I'm assuming your rooted)
If you still have no luck, then your card is bad
Nathan Shoemark
Nexus 5 - Android L Preview
Nexus 7 - Stock 4.4.4
 
Eggcake
Old
#5  
Senior Member
Thanks Meter 107
Posts: 725
Join Date: Apr 2010
I just found out that Clockwork can only handle ext3 partitions - at least my version (2.0.1.4). If I create partitions using ROM Manager, it creates a ext2-partition. Only after I changed it to ext3 using linux I could mount the partition in Clockwork and perform wipes and backups.

Don't know if or what I did wrong, but it certainly didn't work for me (tried with multiple versions of clockwork and several times).
 
jondalar
Old
#6  
jondalar's Avatar
Senior Member
Thanks Meter 5
Posts: 111
Join Date: May 2009
Location: Ljubljana
Quote:
Originally Posted by shoey-n View Post
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
d
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
 
A|ex
Old
#7  
A|ex's Avatar
Senior Member
Thanks Meter 22
Posts: 831
Join Date: Oct 2008
Location: Hong Kong
Quote:
Originally Posted by jondalar View Post
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
is your phone rooted or not?
EU regulation (1999/44/CE) Does not save you if you have a Samsung or HTC
 
chrysochire
Old
(Last edited by chrysochire; 21st July 2010 at 01:50 PM.) Reason: safety....
#8  
Member
Thanks Meter 2
Posts: 43
Join Date: Jul 2010
Location: Neuchâtel, Switzerland
Quote:
Originally Posted by wolvie77 View Post
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- Ext partitions are only visible in Linux = Windows can't see it.
- 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!!!!

Now the tutorials:


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... ;)


Another one is using Gparted:

(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)

For a great Linux GUI alternative, use Linux 'GParted' a GUI based partition editor. (Designed for and found standard in the GNOME desktop environment, but can also easily be install in other desktop managers such as KDE and others.) Backup your SD card before you start ! The following steps will wipe the contents !

You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-t...eature=related)

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 = ext2/3/4 (recommend ext4)
Free Space Following = 0 (or ~32 if you want swap)
Click add

13) Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone

This is what I've found so far, as the easiest method.

Another tutorial can be found under: http://androidcommunity.com/forums/f...rtition-14232/
or
http://forum.xda-developers.com/showthread.php?t=534714 this is one way to do it.


What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- 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...
- How to check if you bricked your sd card...
- etc...

Good Luck
The Following 2 Users Say Thank You to chrysochire For This Useful Post: [ Click to Expand ]
 
chrysochire
Old
#9  
Member
Thanks Meter 2
Posts: 43
Join Date: Jul 2010
Location: Neuchâtel, Switzerland
Quote:
Originally Posted by chrysochire View Post

What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- 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...
- How to check if you bricked your sd card...
- etc...

Good Luck
By the way, if anyone reads this, I would love to make this topic a sticky, so as to answer all questions related to SD Cards...
 
Beppemi
Old
#10  
Beppemi's Avatar
Senior Member
Thanks Meter 23
Posts: 524
Join Date: Aug 2009
Location: Larino [east coast Italy]
Quote:
Originally Posted by chrysochire View Post

CUT.....

Good Luck
Very nice guide. Thanks soo much for this explain.
Very cleary!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes