microSDHC broken? (SanDisk 16GB Ultra class 4) - G1 General

Hello,
I rebooted my G1 today (MAGPIE 20111003 2.3.7) and since then my sdcard is reported "empty". The 500mb ext4 partition is still working.
Connecting to PC via USB does not work. It hangs while activation USB storage. Also can't access /sd-card in root explorer (not mounted).
Connecting to PC via card reader I can list all partitions and the FAT32 volume is reported as RAW. Tried some recovery tools (recover my files, ZAR). They somehow find a FAT32 partition but no recoverable files or hang when trying to read all sectors/blocks. Recover my files needs minutes for reading ~100 sectors.
Connnecting to PC via USB card reader just won't display anything, can't even access drive management until disconnected.
It's a 16GB SanDisk Ultra class 4. I'm using this card for about ~1.5 years.
The last days I was experimenting with enabling my swap partition and test performance compared to compcache. May that be the cause due to heavy usage? In all those 1.5 years the swap partition was enabled for a month max. Like the ext4 partition, the swap partition is still working flawlessly.
The FAT partition had very low usage. No music, just some files (roms, apps, backups etc.).
Do I have any chance reviving my card or getting some data off? Anybody with similar experience? If not then just note my SanDisk 16GB Ultra class 4 card died after one and a half years of low usage.
regards,
hackzero

Sound like your SD card is corrupted. You might have to reformat/repartition it again.

First I tried formatting in windows: error.
Then I went to recovery console and deleted and recreated the fat32 partition with parted (mkpartsfs...). Recovery software now gets further but hangs after about 20 seconds.
I also tried formatting in windows again. It worked but broke my ext4 partition, which is now also gone for good.
Finally I used windows diskpart and used the clean command to delete everything. Drive is now without any partition.
Recovery software stills hangs after some seconds at around sector ~40000 and needs 10 seconds for 100 more sectors which would take years to complete.
I really think I can throw it away.

Related

Transfering ext3 + apps to new SD card

Quick question, I have an 2GB (Non-class 6 SD card) and it was working okay with my G1 phone. I partitioned it with no problem, have apps, themes, roms, basically the whole nine yards on it. I recently just purchased a new 8 gb 6 class SD card and was wondering if Paragon Manager or any other program can transfer the data over flawlessly? I know I have to create a new ext3 part (probably using paragon manager) and then transfer all the data over...but was wondering if anybody else did this before without running into any issues and what was the overall process you took? I appreciate any help. Thank you.
no issues here, done it a couple times. didnt use paragon though. used ext support on my mac to copy all files from both partitions, then format the card using GParted on my Slax USB. then put my files back, inserted into g1 and booted the phone. cyanogens MOD works great with it.
malaeus said:
no issues here, done it a couple times. didnt use paragon though. used ext support on my mac to copy all files from both partitions, then format the card using GParted on my Slax USB. then put my files back, inserted into g1 and booted the phone. cyanogens MOD works great with it.
Click to expand...
Click to collapse
Quick question for you, did your apps still show as installed in the market when you swapped cards? I have been meaning to get my 8GB cards (I have a few with tv episodes on them) set up so I can swap between them and my 16GB at any time, but this question is one that is keeping me from trying yet (that and a lack of time).
Thanks.
insert original card and do not mount it (or unmount it if auto),
dd if=/dev/sdcardfile of=/home/yourusername/tmpsdbackup
swap cards and do not mount it (or unmount it if automatic),
dd if=/home/yourusername/tmpsdbackup of=/dev/sdcardfile
Then run gparted, move your ext partition to the end of the disk and expand your crap32 partition to max.
wait so do i just partion my 8 gig c6 and than copy all files off my other sd card and i should be able to boot up, of course redownload everything or should i not try that
and when i say copy my files ove3r just the ones on my sdcard not all my apps
Goog1e Phone said:
Quick question, I have an 2GB (Non-class 6 SD card) and it was working okay with my G1 phone. I partitioned it with no problem, have apps, themes, roms, basically the whole nine yards on it. I recently just purchased a new 8 gb 6 class SD card and was wondering if Paragon Manager or any other program can transfer the data over flawlessly? I know I have to create a new ext3 part (probably using paragon manager) and then transfer all the data over...but was wondering if anybody else did this before without running into any issues and what was the overall process you took? I appreciate any help. Thank you.
Click to expand...
Click to collapse
I used Partition Manager to partition my 8g Sd card into a Ext3 partition. What I did was just wipe, reflash my ROM (Cyanogen's 3.4) and reinstalled all the apps from the Market. It seems like it would take forever, but it really didn't.
The reason why I reflashed was because when I changed SD cards originally, it stopped reading all the original files from the original SD. All-in-all, it was very easy to just: Wipe, Reflash the ROM, then reinstall apps from Market, which should still be listed under Downloads.
how do you format an ext3 partion

SD Card corrupts with USB data transfer

When I do a data transfer between my Mac and my G1 running Cyanogen, the SD Card immediately comes back as corrupted. I am unmounting properly.
When I have the stock Donut on the G1 it works fine, no corruption.
Any ideas?
This used to happen to me all the time. I guess the card wasn't compatible with the phone. I was using fat32+ext2, fat32+ext3 or even fat32 on it's own and I was always having problems.
If it doesn't happen on stock donut I assume it's an issue with our ext partition (if you have one).
I would agree with you except I am able to 100% reproduce it on the 3 SD Cards I have. I am using this method to partition my SD Card through the console of the Cyanogen bootloader: http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/ I have rooted and unrooted my phone a few times trying to troubleshoot this and it happens every single time.
What happens if you only use fat32?
I've had issues w/ two cards, including the one that came with the phone. If you can, try a Transcend card.
I have not tried just one partition of FAT32 under Cyanogen. I am going to try moving a file via USB with Cyanogen 4.2.4 in a moment. If that corrupts the card I will try just a single FAT32 partition.
I have used the SD Card that came with the phone, an 8GB Class 6 Transcend, an 8 GB Class 4 Patriot (which I know have issue with the Dream so I don't really count that) and a brand new 8GB Class 6 ADATA.
I really appreciate your help.
It appears that the latest CyanogenROM (4.2.4) has solved my issue!
I have done a bunch of 1GB+ file transfers via USB back and forth with my Mac, created directories, deleted files, etc and it's holding steady (just one random reboot but I can't say if it's related or not).

Corrupted FAT Partition

Hi All.
I'm using Cyanogen 4.2.5 with my HTC (rev 32A).
I've 2 4GB sd card (Kingston class 4 and Intenso class 4).
I've partitioned the sdcard and left 3.6 GB as a FAT32 partitions.
Everything goes fine, and i get my android running smoothly.
However, if i connect it to my pc using a usbl cable, if i try to copy a lot o file to the fat partition, let's say 1GB, after 30MB it crashes.
Android becames stoped, the adb lolcat crashes, and after a few seconds, i loose the usb connection.
I restart the lolcat, and i can see that the fat partition gets corrupted and that fsck is running on android ... this is very strange because ti happens with both sd cards.
I've changed the cable, I've tried with windows XP (in different PC's) with linux, etc ...
It just crashes and corrupts the entire fat file system.
If i use a card reader, there's no such problem, in both sd cards.
I hope someone cal help me.
Regards
I just had this same problem. I even went to Recovery and tried to see if it would mount and it said it couldn't mount SD card.
Well, I finally switched usb cables one more time and magically it all works again.. weird huh? Nothing is corrupt... But I think just to be safe I will repartition and reinstall everything.
Correction, my problem was with the G1 sorry. I did a google search and ended up here and I assumed it was a G1 :

SD card locked and i can't fix it anyhow

Hello,
i got my memory card locked on hd2, when i launch hd2 with memory card in it sayes: Storage card not working;
I tried installing "back to the future" rom - installed unlocker - tried unlocking but it sayes it's not locked(probably not recognizing sd), hard reset/reset you phone - result in: instead of showing it not locked - it sayes no sd card found.
All the time in "about" settings the free memory is not more then 30mb(depending on rom) - memory card is 2gb, so it's deffinatelly not recognized.
When i do mass storage via magldr/use adapter for microSD and connect it to pc via card reader - pc states that card needs format, but gives error that it's write-protected(with both protected/not modes on sd) - doesn't allows to format, disk manager/partition magic/partition wizard - show various results, but they cannot format the sd card, eventhough partition wizard shows 1partition only on sd and it's 1,3gb.
Tried formatting with nokia n97 mini - formats successfully, but shows 30mb total and makes it free - after plugging to a pc/hd2 - same results as previously happen.
My thoughts: i have 3 partitioned sd card(dk how this happened) with 30mb/1,3gb/rest partitions, and wp7 sd card unlocker doesn't recognize all partitions and cannot unlock it for me, but i dk why n97 does not format it successfully then :/
Looking forward to hear your thoughts,
Paul
Edited:
and yes, forgot to mention, i have tried mbrclean from both magldr/partition wizard - same result
did you try a program called SDFormatter
there are a few overwrite settings that maybe will work for you.
otherwise i'm wondering if linux would see and correctly reformat the disk for you.
you could run a livecd linux distro that wouldn't even have to be installed on your computer.
good luck
use easus partition manager and delete partitions and use format again
SDformatter - i have been using it all the time, same results with diff settings, easus partition master - same results as with other partition apps - it sees only 30mb partition(as same as n97 mini), currently i'm downloading ubuntu distro and will try partitioning sd card over ubuntu, hopefully it works, gonna post results soon
Ubuntu 11.10 - disk manager shows only 1partition of 32mb - it can't be formatted successfully, mbr partitioning system cannot be applied successfully - only non partition applied - but it still 32mb and hd2 doesn't recognize that 32mb partition, gonna go use hirens boot cd partition apps - if i wont have success with them - probably sd card broken :/
did you try gparted in ubuntu??
sorry this stuff isn't working out
i formated my sd card with nokia n97... everything was ok... Just find some partition manager and format the sd card with it...
eXtremeLT said:
SDformatter - i have been using it all the time, same results with diff settings, easus partition master - same results as with other partition apps - it sees only 30mb partition(as same as n97 mini), currently i'm downloading ubuntu distro and will try partitioning sd card over ubuntu, hopefully it works, gonna post results soon
Ubuntu 11.10 - disk manager shows only 1partition of 32mb - it can't be formatted successfully, mbr partitioning system cannot be applied successfully - only non partition applied - but it still 32mb and hd2 doesn't recognize that 32mb partition, gonna go use hirens boot cd partition apps - if i wont have success with them - probably sd card broken :/
Click to expand...
Click to collapse
i'm having a similar problem...
my 4gb sandisk has been corrupted. it shows as a 30mb in raw format. no tool can format it. i;ve tried gparted, sdfomatter 3.1, hdd low level formatting tool, easus. nothing works.

SD Card...

I have had a 64Gb sd card from the beginning with my Note 3 but for some strange reason now it says it's only a 64Mb card and won't let me save anymore to it. I tried to clean it up and copy all to my laptop but it wouldn't let me copy the twrp.img file. I was going to re-format it on my laptop but didn't because it only offered me a 15Mb formatting. Anyone else have issues with their SD Card? Any advice would be helpful.
Thanks,
GoNavyMike
Native Windows formatting seems to be fussy when it finds pre-existing formatting information on SD cards especially if they are not recognized as having a Windows heritage; in many of those cases it will simply honor the information it finds, offering to format only the first partition rather than re-writing the partition table.
If I have a SDcard which has previously been partitioned, has a non-Windows MBR on it, or any strange partition ID values, I typically will write zeros to the beginning of the raw device before letting windows take a whack at formatting it.
e.g. in Linux/Unix (in a root shell)
# dd bs=512 count=16384 if=/dev/zero of=your-raw-device-name
You need to be extremely careful verifying the raw device name is really and truly the SD card and not (say) your primary boot media. You don't want to write zeros to your boot media!
For example, after plugging in an SD Card to a Linux machine (or transferring control of the USB device to a Linux guest Virtual Machine), I will usually do something like:
# dmesg | tail -20
to find out that the recently attached raw devices is /dev/sdc or /dev/hdb or similar.
On your phone, the SD Card raw device is probably /dev/block/mmcblk1 (note "1", NOT ZERO) BE CAREFUL!
It goes without saying that you should back up whatever you want saved off your SD card to begin with.
Now, in terms of *why* this happened, that's a bit of a mystery. Did you use this card with the "samsung_unlock_n3" method? If so, that would have written a more advanced partitioning format onto the card called "UEFI GPT". There is still a MBR in this case, but it is called a "protective MBR" as it has information in it that would prevent primitive OSes ( like Windows, ) from smashing the GPT table that follows.
But even that would have put information on the card that indicated a total size of 32GB, not 64 MB.
If you want to figure out what happened, you can look at the SD card (raw device) under linux using "fdisk" - if you see a partition type such as 'ee' (EFI GPT), then somehow a GPT partition table got written to the device. If that is the case, using a more modern tool that knows about GPT is necessary. Something like (Linux) "parted" or "gparted".
All of these sorts of things can in principle be accomplished under windows, but mostly by finding 3rd party utility programs . The open source GParted project uses a bootable mini-linux distro to do this.
good luck
GoNavyMike said:
I have had a 64Gb sd card from the beginning with my Note 3 but for some strange reason now it says it's only a 64Mb card and won't let me save anymore to it. I tried to clean it up and copy all to my laptop but it wouldn't let me copy the twrp.img file. I was going to re-format it on my laptop but didn't because it only offered me a 15Mb formatting. Anyone else have issues with their SD Card? Any advice would be helpful.
Thanks,
GoNavyMike
Click to expand...
Click to collapse
It happened to me also. Two times, with brand new SD cards. I took them back to where I bought them and exchanged them.
Sent from my rooted/ unlocked- Verizon Note 3 ©®™
GoNavyMike said:
I have had a 64Gb sd card from the beginning with my Note 3 but for some strange reason now it says it's only a 64Mb card and won't let me save anymore to it. I tried to clean it up and copy all to my laptop but it wouldn't let me copy the twrp.img file. I was going to re-format it on my laptop but didn't because it only offered me a 15Mb formatting. Anyone else have issues with their SD Card? Any advice would be helpful.
Click to expand...
Click to collapse
Almost the exact thing happened to me. My 32gb card registered as 59mb. I believe this happened when unlocking the boot loader or letting my first run of TWRP do as it asked. The solution for me was to reformat the sd card from my vzw note 2. I lost all my previously stored contents, but reclaimed my sd card's storage. I only hope your solution is as simple. Good luck. (edit: meant to type VZW Note 3)
xenoxphse said:
Almost the exact thing happened to me. My 32gb card registered as 59mb. I believe this happened when unlocking the boot loader or letting my first run of TWRP do as it asked. The solution for me was to reformat the sd card from my vzw note 2. I lost all my previously stored contents, but reclaimed my sd card's storage. I only hope your solution is as simple. Good luck.
Click to expand...
Click to collapse
The same thing happened to me. I had to reformat on my computer. It was a simple fix thankfully.
Sent from my SM-N900V using Tapatalk
I tried that too but it didn't work. I had a 16 gig memory card and it formatted it down to 16 megabytes, 18 megabytes I'm not sure.. But the computer wouldn't not reformat it.
Sent from my rooted/ unlocked- Verizon Note 3 ©®™
https://www.google.com/url?sa=t&sou...FwiYwP0NTDxcIS40w&sig2=gI928LQbHaXOvsG3wVsV7Q
Just use this .. Its the best
Sent from my SM-N900V using XDA-Developers mobile app
I have the same problem. In the last 2 weeks I have lost 2 sd cards. Without using them, I get a pop up saying DAMAGED SD CARD. Reformat and lost all data. I have not had this problem before but started after I unlocked the the boot loader.
Wonder if those unlock files are active in the root directory.

Categories

Resources