8Gb SD card now only formattable to 1Gb? - Desire General

I've been trying to format my partitioned SD card which is 8Gb in total, and I had a 7Gb FAT32 primary and a 1Gb EXT3 on it. A read only issue came up with it yesterday so decided to go and do a full format of the SD card in Gparted.
However, now, even when I delete all partitions on the card (using Gparted), it's only being reported as 1Gb capacity. I don't know what else I can do to get the other 7Gb back.
Any ideas?

hi
try this on windows pc
search on google "mini tool partition wizard home edition " it's free.
sorry i can't make link at the moment !

That program reports the SD card as just 1Gb as well.
Any other ideas how to retrieve my missing 7Gb anyone?

Just try to make a new partition in Rom Manager or your recovery.

In the process of trying to fix the issue I done a factory reset, but when I try to install ROM Manager Android crashes and restarts, and doesn't install it. Most apps install OK to the internal memory, but it doesn't like ROM Manager and some others and will just crash.
I did have it installed prior to my problems, but even in recovery I now can't access anything apart from wipe date/factory reset in the basic Android recovery. I can't apply the update.zip required to get into Clockwork recovery as it was on the SD card, which I have the problem with.
Any ideas?

In windows right click my computer then manage in the left click disc manger (I think its called that) look at the partitions if you have more then witch there will be for android (Linux) you can remove all of them and make 1 whitch will give you the full useable size of a 8gb SD card but this will effect you android phone
Hope this helps
Sent from my HTC Desire using XDA Premium App

That's the first thing I tried, and all partition programs I've tried are showing the same issue of hiding 7Gb. (GParted/mini tool partition wizard home edition/Windows Disk Management)

Do you have a Linux distro? Ok, try the following:
$ sudo fdisk -l
Find which sdX is your SD card. Then try:
$ sudo cfdisk -z /dev/<your SD card>
If even using this you can't get all your space back, you can try the cfdisk with -c/-h/-s options, but you will have to Google a little bit to find how these options work.

z3r0n3 said:
Do you have a Linux distro? Ok, try the following:
$ sudo fdisk -l
Find which sdX is your SD card. Then try:
$ sudo cfdisk -z /dev/<your SD card>
If even using this you can't get all your space back, you can try the cfdisk with -c/-h/-s options, but you will have to Google a little bit to find how these options work.
Click to expand...
Click to collapse
I've already tried GParted so same thing. Doesn't work.

Problem fixed.
I tried putting it in to a camera and formatting it, and that fixed the corrupt partition table.

barryfell said:
Problem fixed.
I tried putting it in to a camera and formatting it, and that fixed the corrupt partition table.
Click to expand...
Click to collapse
I have tried many things, nothing worked. I put it in a camera and formatted it as you suggested. It worked.
Thanks so much.

Related

How to partition SD Card for Desire?

Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
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
shoey-n said:
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
Click to expand...
Click to collapse
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!
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
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).
shoey-n said:
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
Click to expand...
Click to collapse
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?
jondalar said:
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?
Click to expand...
Click to collapse
is your phone rooted or not?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
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-tJe8pXE&feature=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/f9/how-to-create-ext2-partition-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
chrysochire said:
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
Click to expand...
Click to collapse
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...
chrysochire said:
CUT.....
Good Luck
Click to expand...
Click to collapse
Very nice guide. Thanks soo much for this explain.
Very cleary!
hi i am using GParted to partition ext3 for use with apps2d but i have tried several times without success
after booting up the phone, i see a blank sd card.. i.e. not mounted in my Desire..
wondering what i m doing wrong,, or is there another method to do it?
From the Clockwork Mod recovery, I cant partition the sd card too.. and have also tried without any success via the ROM Manager...
Warning! Noob question ahead:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
I'm completely new to all this (rooting, custom ROMs, A2SD etc.) but have managed to successfully root my HTC Desire (using unrevoked), install OpenDesire 2.3, and partition the SD card using ROM Manager. I rebooted and my installed apps are showing as being on the SD card in Settings > Applications > Manage Applications but with different names (e.g. instead of 'Titanium Backup' it's now 'com.keramidas.TitaniumBackup') and the icon is a default black Android/SD card rather than the app icon. When I go into the launcher my installed apps aren't there and they're not listed when I try to add a shortcut to the homescreen.
Have I done something wrong? Or is there an additional step I don't know about?
Ah, it looks like I did something in the wrong order - I'd already downloaded and installed Titanium, then moved it to the SD card under Froyo A2SD, then partitioned the SD card...
I reinstalled Titanium and everything's fine.
I am still interested in that:
mysteryfr said:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
Click to expand...
Click to collapse
Hi Guys,
I need some serious help. I have rooted the desire, flashed to leedroid 1.4c rom, but have been left with no SD Card and now I am trying to mount the sd card in the desire as it no longer recognises it...
i can have rom manager loaded but it can't see the sd card..
i dont have A2SD or partitions on the sd card, i can put the card in the laptop and write to it..problem is i am on a windows lappy so no linux..i know i can make a live cd but i'm not up to that..i dont think..
is there a guide i can have to get the sd card mounted on the desire running windows...i have got android sdk on the pc but i have nfi how to use that either...
all help appreciated...
XClemX Try this: (hopefully you've backed up your SD card to your PC!)
go to Settings, Sd & Phone storage,
click on format SC card.
That should get your card recognised.
Thanks Depaor,
The SD card isn't seen in that either...i'm attempting to make a gold card now to see if i can get it to work that way...fingers crossed...
is your card visible from card reader on pc, or from other phone?
If it is, just format it in FAT32 on your pc, and it will be fine... also, always check if phone is in "charge only" mode before disconnecting usb...
Will a non-rooted Android phone read a card formatted as ext3 or ext4? Just curious.

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
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
Page 2 of the Q&A Forum
oMaRcO said:
How to partition your SD Card for us Newbies.
Thnx
Click to expand...
Click to collapse
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/blogs/how-to-partition-an-sd-card or :
http://androidcommunity.com/forums/f...rtition-14232/ or:
http://theunlockr.com/2009/10/15/ho...-android-when-using-swap-hero-and-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/showthread.php?t=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
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!!
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
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.
Chan_B said:
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.
Click to expand...
Click to collapse
Try to format the card back to fat32 using:
http://panasonic.jp/support/global/cs/sd/download/index.html
Then check out the Windows way of using parted to partition
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-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.
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...
Chan_B said:
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...
Click to expand...
Click to collapse
gparted has a live cd to partition your sd card
http://gparted.sourceforge.net/download.php
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.
gianton said:
gparted has a live cd to partition your sd card
Click to expand...
Click to collapse
Thanks, but I think I sorted it. Fingers crossed.
Just rooted my htc desire and used rom manager to partition my sd card (the one I got when I bought the phone). Everything fine.
then I bought a new Transcend micro sdhc 8GB... this memory card is not recognize by windows if using card reader. So..:
- I inserted into blackberry and connected using usb cable. My windows (Windows xp) can see and access it.
- formatted the new memory card to Fat32
- copy Open Desire and and Official Sense Froyo ROMs, both by Adam
- flashed to Sense Froyo ROM, and when it rebooted, it freezed.. cant get into the system
- flashed to OpenDesire, it worked.
- Download ROM Manager
- choose "Partition SD Card"
- Swap 0, Ext 512mb
- ERROR...
what should I do?
Did you download Clockworkmod recovery through ROM Manager before that?
If you create a partition using rom manager do you lose all your apps and settings that you already have in use.
thanks
jankos said:
Did you download Clockworkmod recovery through ROM Manager before that?
Click to expand...
Click to collapse
yes.. cos when i clicked partition sd card, it asked me to download clockworkmod first.
it goes to recovery screen but with "unsucsessfull" message. cant find sdcard/cache/update.zip ...
the funny thing is, if I copied update.zip from my old memory card into new one. and run update.zip from recovery screen... then it worked.
but when I checked with quick system info, app2sd only shows around 400mb. is that rite?
aoisora said:
yes.. cos when i clicked partition sd card, it asked me to download clockworkmod first.
it goes to recovery screen but with "unsucsessfull" message. cant find sdcard/cache/update.zip ...
the funny thing is, if I copied update.zip from my old memory card into new one. and run update.zip from recovery screen... then it worked.
but when I checked with quick system info, app2sd only shows around 400mb. is that rite?
Click to expand...
Click to collapse
Its showing around 400mb for me aswell, but how exactly can I tell if it is working. If I go to manage applications and click on sd card I have a couple that I moved over i.e rom manager but some apps are unmovable to sd card. Are these apps unmovable by design. I hope I haven't done it wrong.
BTW neophyte is the best rom I've used yet.
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
mattan said:
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
Click to expand...
Click to collapse
I think rom manager does that as ext3.
mattan said:
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
Click to expand...
Click to collapse
ROM Manager makes directly ext3 format. Do not worry about that
jankos said:
ROM Manager makes directly ext3 format. Do not worry about that
Click to expand...
Click to collapse
No it doesn't it makes a ext2 partition, you have to format to ext3... I have used gparted live cd to do this.
Sent from my HTC Desire using XDA App

problem removing partitions

I have app2sd setup and due to some issue (perhaps unrelated) i want to remove it.
i've booted in to recovery and gone in to ADB shell and loaded up parted. when i do a print i see my 3 partitions. i use RM to remove them and i dont get any errors, just dumps back to the prompt. i do a print again and see no change.
I tried using the recover partition tool, but it doesnt work as well. i found a log and its doing the same thing i did by hand.
from recovery i mounted the SD to USB and tried to do it from there as well with disk manager and diskpart. with diskpart i never got any errors deleting, but, it didnt delete. with disk manager i could remove the ext and swap fine but not the fat, i just wasnt given the option.
is there some sort of lock or something im missing?
Its this program for windows i used it formats your sd card. I cant rememb er the name but i googled how to unpartition a micro sd card. Hope that helps a bit.
Sent from my PC36100 using XDA App
i wasnt able to find anything that did a full wipe of the SD. just format utilities that work with the already created partitions.
thanks

[Q] Just bricked 2x SD cards partitioning. Do I need a class 6 one?

When trying to create an ext4 partition on the stock 8Gb SD card that I got with my Desire, I ended up 'bricking' it so now it's damaged and is no use any more.
I had a spare 4Gb one lying about (same make) and tried again, but suffered the same problem. Now that card is read only and I can't format it any more. Android just won't let me, and of course my PC doesn't see it as it's read only so again, 'bricked'.
Suffice to say now i'm furious as i've wasted 2 cards. I wasn't aware of different classes of SD cards before today but i'm guessing my problem stems from the fact that I was trying to add an ext4 partitions to class 2 cards? I wish the guides re partitioning would say that you need a better class of card to create ext3/ext4. (I was in the past able to make an ext2 ok on the first one)
Do I need to get a class 6 card to be able to use ext4?
I don't think class and partition compatibility have anything to do with each other, the class is just a indication of the minimum write speed. Also i had no problem getting a ext3 partition on a class 2 sd card.
What program are you using to partition the cards?
Yeah? I had read that somewhere. I'm using Gparted Live CD.
I can't think why both cards failed the same way then.
have a look at this link
http://download.cnet.com/VaioSoft-Recovery-Manager/3000-2094_4-10286449.html
manage to recover a bricked sd card with this. It might work for yours.
I used Gparted for my SD the other day and mysteriously, 4GB went missing. Luckily, Android reformatted it for me and I got my 4GB back
madffrogs said:
have a look at this link
http://download.cnet.com/VaioSoft-Recovery-Manager/3000-2094_4-10286449.html
manage to recover a bricked sd card with this. It might work for yours.
Click to expand...
Click to collapse
I'll try that. Thanks.
madffrogs said:
have a look at this link
http://download.cnet.com/VaioSoft-Recovery-Manager/3000-2094_4-10286449.html
manage to recover a bricked sd card with this. It might work for yours.
Click to expand...
Click to collapse
This is an old program. It doesn't appear to work under W7.
Not sure it would be any help anyway as Android doesn't even give me the choice to make the damaged cards visible to a PC.
Did you try to mount them in recovery or just under android?
If only in android while booted, go in to recovery and mount it that way.
TheGhost1233 said:
Did you try to mount them in recovery or just under android?
If only in android while booted, go in to recovery and mount it that way.
Click to expand...
Click to collapse
I don't seem to have an option to mount an SD card in recovery mode.
The only options I have are:
Reboot system now
Apply sdcard:update.zip (which doesn't work as the SD card is damaged so there is no update.zip accessible)
Wipe data/factory reset
Wipe cache partition
I think I did when I could use the update.zip but as I say, that's now not an option.
Any ideas?
Always be careful with ext4, it's known to kill the sd card's lifespan (so I've read from others, I've never tried it myself). I always use ext3 and it works fine.
P.S. Formatted with Rom Manager :/
ext4 will kill your card in 10 years maybe, so get that out of the equation.
boot a linux live cd if you dont have it installed (i.e. ubuntu)
open a terminal and then:
$sudo su (it will ask for your user password if you have one)
#dd if=/dev/zero of=/dev/sdX
but you have to replace that X by your phone's sd device it will probably be something like sdb or sdc, dont indicate the partition which would look like sdb1 or sdc1
once done, you hace to partition it again:
#cfdisk /dev/sdX
and then format those partition, like:
#mkfs -t ext4 /dev/sdX2 (now you have to indicate the partition)
good luck, and dont **** up your system.
crapula512 said:
ext4 will kill your card in 10 years maybe, so get that out of the equation.
boot a linux live cd if you dont have it installed (i.e. ubuntu)
open a terminal and then:
$sudo su (it will ask for your user password if you have one)
#dd if=/dev/zero of=/dev/sdX
but you have to replace that X by your phone's sd device it will probably be something like sdb or sdc, dont indicate the partition which would look like sdb1 or sdc1
once done, you hace to partition it again:
#cfdisk /dev/sdX
and then format those partition, like:
#mkfs -t ext4 /dev/sdX2 (now you have to indicate the partition)
good luck, and dont **** up your system.
Click to expand...
Click to collapse
Both my cards are already dead, so Ubuntu and Windows can't see them.
barryfell said:
Both my cards are already dead, so Ubuntu and Windows can't see them.
Click to expand...
Click to collapse
What about your card reader? Maybe it is not the cards? I did my partitions using Ubuntu Live CD. My MicroSD card is a Sandisk 2GB card without any class specified.
Keep your cards and keep trying to format them after 2-3 days. Formatting in FAT32+BTRFS bricked two of mine a few weeks back but they were fine after a week and started getting recognized by then - not before though.
And yep, not to do with Class rating; I run Ext4 with a Class 2 and 4.
------------------------------
- Sent via HTC Desire -
The card will be visible to Windows in computer management. Just delete the partition.
Bricked my arse
Sent from my HTC Desire using XDA App
barryfell said:
I don't seem to have an option to mount an SD card in recovery mode.
The only options I have are:
Reboot system now
Apply sdcard:update.zip (which doesn't work as the SD card is damaged so there is no update.zip accessible)
Wipe data/factory reset
Wipe cache partition
Click to expand...
Click to collapse
A corrupted filesystem or partition is very different to a corrupted card. You most likely have the former, not the latter.
Which Recovery and version are you using?
All Recoveries for a while allow you to mount the card via USB. The option is under "mounts and storage" in CWM Recovery, like: http://www.brutzelstube.de/wp-content/uploads/2010/09/ClockworkModRecovery.jpg
Format when it is mounted through this option via your PC.
------------------------------
- Sent via HTC Desire -
jiehao85 said:
What about your card reader? Maybe it is not the cards? I did my partitions using Ubuntu Live CD. My MicroSD card is a Sandisk 2GB card without any class specified.
Click to expand...
Click to collapse
I don't have a card reader and it's cheaper to buy a new card than buy a card reader to maybe fix them.
I previously had an ext2 partition which I done via Clockwork recovery. However, when I tried to format the card and repartition it with an ext4 partition using Gparted Live CD I broke both the cards. At first they were just being reported as read only by Android but as I tried to fix them they became damaged so now I can't mount them.
I think the problem stems from me formatting while the cards were mounted, as mentioned earlier. My mistake there. I should have formatted them under Gparted.
Now they are damaged Gparted no longer sees them and while Windows disk management did see them for a while (when Android was reporting them as read only) now I can't see them I can't do anything to them.
gutsbn said:
The card will be visible to Windows in computer management. Just delete the partition.
Bricked my arse
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Before I damaged it it was visible in Windows disk management, but there were no partition(s) and no ability to format. The disk was just grey, like the DVD drive..
th3 said:
A corrupted filesystem or partition is very different to a corrupted card. You most likely have the former, not the latter.
Click to expand...
Click to collapse
I had the former at first, but further attempts to fix it ended with the latter.
Which Recovery and version are you using?
Click to expand...
Click to collapse
I was using Clockwork, but I can no longer get in to it. As I say, all I can access are:
Reboot system now
Apply sdcard:update.zip
Wipe data/factory reset
Wipe cache partition
I used to go to 'Apply sdcard:update.zip' to get into Clockwork Recovery but as I say, this is no longer an option, as the SD card has been formatted and now damaged.
All Recoveries for a while allow you to mount the card via USB. The option is under "mounts and storage" in CWM Recovery, like: http://www.brutzelstube.de/wp-content/uploads/2010/09/ClockworkModRecovery.jpg
Format when it is mounted through this option via your PC.
------------------------------
- Sent via HTC Desire -
Click to expand...
Click to collapse
I would if I could get into Clockwork Recovery. I just don't see a way of mounting the card to do anything with it now it's damaged. (Unless I maybe bought a card reader)
th3 said:
Keep your cards and keep trying to format them after 2-3 days. Formatting in FAT32+BTRFS bricked two of mine a few weeks back but they were fine after a week and started getting recognized by then - not before though.
And yep, not to do with Class rating; I run Ext4 with a Class 2 and 4.
------------------------------
- Sent via HTC Desire -
Click to expand...
Click to collapse
Interesting. I'll maybe try that at some point but I have a new card on the way so i'll be making sure I format and partition it in Gparted and not make the mistake of formatting while mounted in Android.

Help me fix my SD Card

Hi there,
A couple days ago, I had a usb brick. I quickly fixed it, everything got back to normal except for my sd card : I think it's corrupted. Why do I say this ? Because I've got another sd card, and it's working perfectly. I can't get to format it via Gparted. It says the procedure failed, there was an issue and i couldn't format it. In addition, even though it's a 4GB card, it's recognized as a 3gb card.
When I try to use it in recovery mode, it says :
Code:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
But when I use the other card, nothing weird happens.
I'd like you guys to help me repair my SD card.
kev94 said:
Hi there,
A couple days ago, I had a usb brick. I quickly fixed it, everything got back to normal except for my sd card : I think it's corrupted. Why do I say this ? Because I've got another sd card, and it's working perfectly. I can't get to format it via Gparted. It says the procedure failed, there was an issue and i couldn't format it. In addition, even though it's a 4GB card, it's recognized as a 3gb card.
When I try to use it in recovery mode, it says :
Code:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
But when I use the other card, nothing weird happens.
I'd like you guys to help me repair my SD card.
Click to expand...
Click to collapse
Googled and found this: http://www.ehow.com/how_4850280_repair-corrupt-sd-card.html
1. link your desire with pc
2. enter "FASTBOOT Mode", it will display "HBOOT USB PLUG"
3. open dos windows and type adb shell
4. type fastboot oem rebootRUU
5. type fastboot oem enableqxdm 0
and retry
I already tried this, but it didn't work out ! I'm out of ideas...
So it says it's a 3GB card? You had an 1GB Ext partiton before?
If yes, that's where your 1GB's gone.
Recommended is to repartition your card again from scratch - Using Either GParted, EASEUS or MiniTool partiton.
Backup everything from it, then delete all partitions - and re-create them.
davebugyi said:
So it says it's a 3GB card? You had an 1GB Ext partiton before?
If yes, that's where your 1GB's gone.
Recommended is to repartition your card again from scratch - Using Either GParted, EASEUS or MiniTool partiton.
Backup everything from it, then delete all partitions - and re-create them.
Click to expand...
Click to collapse
Actually, it's 3.7 GB and not 4GB (I guess it's normal though). And yes, the missing space was from the ext partition. Thanks god, the first thing I did was a backup of my SD card. Yet, I tried to format the card with Gparted (I'm currently running Ubuntu 10.10) but as I said above the procedure fails.
Then, I formatted in Windows, and I managed to create a 3Gb fat32 partition recognized in Gparted.
But how am I supposed to get my missing space back if this space isn't recognized in Gparted ?
I'm using Ubuntu 11.04 (natty) - and i'm able to mount my EXT partiton of the SD Card.
As I said, don't just format the card, but delete all partitions and re-create them, then format them.
Also, if your card is messed up badly, maybe you have to use the termina with commands to recover the ext partition.
Always format SD cards with the "SD Formatter 3.0" from the SD Association: http://www.sdcard.org/consumers/formatter_3/
This little programs formats the whole card (full capacity, erasing all other partitions) in FAT32 meeting all SD specifications.
Furthermore it alligns the LBA parameters (virtual heads, cylinders etc) and the fat32 parameters with the internal structures of the flash memory (eraseblocks), so that fat32 clusters never overlap eraseblocks. This speeds up write performance (in my case about 50%! ).
There is no better tool to format SD cards.
After that you can resize (But don't move it, just trim the end. The free space in front of the FAT32 partition is part of the alignment) the FAT 32 partition with gparted and generate an ext partition in the free space.
Finally one should run the ext alignment script (it's a zip for recovery mode) from baadnwz homepage (http://www.baadnwz.eu/2011/05/align-your-sdcard-fat-and-ext-partiton_16.html) to align also the ext4 partition to the flash cells.
boot up into android (with any ROM) and go to settings > storage > format SD card
this should restore whole SD as FAT32
funny enough Android could do it, while Gparted could not (gparted didnt see my whole sd, it didnt see the ext partition)
davebugyi said:
I'm using Ubuntu 11.04 (natty) - and i'm able to mount my EXT partiton of the SD Card.
As I said, don't just format the card, but delete all partitions and re-create them, then format them.
Also, if your card is messed up badly, maybe you have to use the termina with commands to recover the ext partition.
Click to expand...
Click to collapse
---> As I said too , Gparted fails to create partitions. It displays a "warning" icon by the sd icon. Unless I'm a fool, I can't get any further there.
hypophysis said:
Always format SD cards with the "SD Formatter 3.0" from the SD Association: http://www.sdcard.org/consumers/formatter_3/
This little programs formats the whole card (full capacity, erasing all other partitions) in FAT32 meeting all SD specifications.
Furthermore it alligns the LBA parameters (virtual heads, cylinders etc) and the fat32 parameters with the internal structures of the flash memory (eraseblocks), so that fat32 clusters never overlap eraseblocks. This speeds up write performance (in my case about 50%! ).
There is no better tool to format SD cards.
After that you can resize (But don't move it, just trim the end. The free space in front of the FAT32 partition is part of the alignment) the FAT 32 partition with gparted and generate an ext partition in the free space.
Finally one should run the ext alignment script (it's a zip for recovery mode) from baadnwz homepage (http://www.baadnwz.eu/2011/05/align-your-sdcard-fat-and-ext-partiton_16.html) to align also the ext4 partition to the flash cells.
Click to expand...
Click to collapse
---> Sounds great and geeky, gonna give it a try tomorrow afternoon (CET +2 here)
dzumagos said:
boot up into android (with any ROM) and go to settings > storage > format SD card
this should restore whole SD as FAT32
funny enough Android could do it, while Gparted could not (gparted didnt see my whole sd, it didnt see the ext partition)
Click to expand...
Click to collapse
---> Yeah, Gparted is a bit lazy here.... Gonna try it if hypophysis's method doesn't work out. I gotta admit this kinda problem is pretty disturbing and pisses me off so much.... Waiting forward to get it over with.
Anyway, thanks a lot for helping me, you're good people here !
Well, I tried hypophysis's method. It formatted successfuly. But as you said, I had to run Gparted again in order to create an Ext partition next to the fat 32 one. But I couldn't --> It says it couldn't find the "first sector" I guess, and it couldn't determine the device specifications, it wasn't able to perform everything he wanted. Actually it recognized the whole sd card, but wasn't able to do anything with it. I couldn't unmount it or mount it....
I'm stuck at square 1 Gonna try to perform dzumagos's method later.

Categories

Resources