MultiImagePicker Library for Multiple Image Selection

App developmentcan be done in more than a handful of ways. You can write every single … more

Shoot Troubles, Not Users w/ Alex Boag-Munroe – XDA:DevCon 2014

In presenting the various sessions from XDA:DevCon 2014, weve mainly … more

Oppo Releases ColorOS for the Find 5… Poorly

Almost every OEM has taken the liberty of creating its own incarnation of the Android OS. … more

XDA LG Development Challenge Winners

Almost 3months ago, we set out with LGto findtwo amazing apps that developers could put together … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

How to Partition your Sd Card??

OP oMaRcO

21st July 2010, 02:28 PM   |  #1  
OP Senior Member
Thanks Meter: 20
 
198 posts
Join Date:Joined: Sep 2007
More
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
21st July 2010, 02:35 PM   |  #2  
matisamd's Avatar
Member
Thanks Meter: 0
 
94 posts
Join Date:Joined: 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
21st July 2010, 02:38 PM   |  #3  
Member
Flag Neuchâtel, Switzerland
Thanks Meter: 2
 
43 posts
Join Date:Joined: Jul 2010
More
Page 2 of the Q&A Forum
Quote:
Originally Posted by oMaRcO

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
Last edited by chrysochire; 5th August 2010 at 10:26 AM.
23rd July 2010, 01:29 PM   |  #4  
Software Guru's Avatar
Senior Member
Flag Halifax
Thanks Meter: 89
 
829 posts
Join Date:Joined: Oct 2003
More
Red face
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!!
24th July 2010, 07:44 PM   |  #5  
Learners Lisence's Avatar
Senior Member
Thanks Meter: 4
 
184 posts
Join Date:Joined: Jun 2010
Unhappy
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
24th July 2010, 08:15 PM   |  #6  
Senior Member
Thanks Meter: 7
 
125 posts
Join Date:Joined: 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.
25th July 2010, 12:50 AM   |  #7  
Noonski's Avatar
Moderator Emeritus / Recognized Developer
Flag Amsterdam
Thanks Meter: 122
 
5,286 posts
Join Date:Joined: Apr 2005
Donate to Me
More
Quote:
Originally Posted by Chan_B

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.
25th July 2010, 06:29 PM   |  #8  
Senior Member
Thanks Meter: 7
 
125 posts
Join Date:Joined: 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...
25th July 2010, 07:03 PM   |  #9  
gianton's Avatar
Recognized Contributor
Flag Thessaloniki
Thanks Meter: 5,373
 
8,268 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Quote:
Originally Posted by Chan_B

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
25th July 2010, 07:35 PM   |  #10  
matisamd's Avatar
Member
Thanks Meter: 0
 
94 posts
Join Date:Joined: 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.
Last edited by matisamd; 25th July 2010 at 07:41 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes