Corrupted FAT Partition - myTouch 3G, Magic General

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 :

Related

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

Can't Partition 8 GB Sd

Ok so i bought a new 8gb Sandisk Micro sdhc card. the problem is i cant partition it. ive tried 3 different partition programs and none will allow me to delete the main Fat32 and create new. My old 2gb works fine.
I can reformat it but just cant delete or create any partitions.
Any suggestions?
pcrat said:
Ok so i bought a new 8gb Sandisk Micro sdhc card. the problem is i cant partition it. ive tried 3 different partition programs and none will allow me to delete the main Fat32 and create new. My old 2gb works fine.
I can reformat it but just cant delete or create any partitions.
Any suggestions?
Click to expand...
Click to collapse
Use windows to format it to fat32. Then use Ubuntu, either installed or from a live cd, and use gparted to create whatever partitions you want.
Sent from my cm7 Aria.
You can also use Clockwork.
I do all partitioning using GParted in Ubuntu. Never had a problem.
Ok i tried Gparted and it wont partition, comes up with errors, then i cant format it back to fat32, so i have to use windows. I still have the reciept, maybe i will bring it back today and get a new one. this one is probebly faulty.
oh yea and clockwork dont have an option to partition. i tried rom manager and it reboots then tries to do it , progress bar goes anout 25% then reboots normallay. unsuccesful.
If you are having trouble formatting the card, I recommend trying this before returning it: http://www.sdcard.org/consumers/formatter_3/
It's a very simple tool but it is designed specifically for formatting SD cards. This program has revived SD cards that I thought were out of commission. Hope it helps.
ok. So i bought a new micrsd HC. This one is a PNY card. I used Gparted to partition it. worked like a charm. then insterted into the phone and did the a2sd reinstall ( Root privleiges of course ) all works well now.
thanks!
pcrat said:
Ok i tried Gparted and it wont partition, comes up with errors, then i cant format it back to fat32, so i have to use windows. I still have the reciept, maybe i will bring it back today and get a new one. this one is probebly faulty.
oh yea and clockwork dont have an option to partition. i tried rom manager and it reboots then tries to do it , progress bar goes anout 25% then reboots normallay. unsuccesful.
Click to expand...
Click to collapse
For other people with this problem...
Rom manager - partition SD card - choose your partitions. It will reboot into recovery and try but fail to partition your card. Pull battery. Replace battery - hold volume down and power. Wait for it to try and find the libde. Img then press volume down and it will highlight recovery then press power. It will boot into recovery and finish partitioning your card.
I think that's how I got it to work. Sorry I didn't see this earlier and possibly save you some money.
Edit: I guess Ubuntu doesn't like sandisk. That's how I figured this way out.
jdwhite87 said:
Edit: I guess Ubuntu doesn't like sandisk. That's how I figured this way out.
Click to expand...
Click to collapse
+1
I couldn't get Ubuntu to do anything with my sandisk sd until I first used windows to format it to fat32. After that I was able to use Ubuntu to make partitions/format.
Sent from my cm7 Aria.
If you have problems formatting an SD card, you should use this tool to basically completely reset the card: http://www.sdcard.org/consumers/formatter_3/
This is much better than using Windows or another program to format the card because this works at a lower level and is designed specifically for SD cards. This program can usually revive SD cards that appear to be dead (when in reality the partition table is just messed up).
drumist said:
If you have problems formatting an SD card, you should use this tool to basically completely reset the card: http://www.sdcard.org/consumers/formatter_3/
This is much better than using Windows or another program to format the card because this works at a lower level and is designed specifically for SD cards. This program can usually revive SD cards that appear to be dead (when in reality the partition table is just messed up).
Click to expand...
Click to collapse
Thanks for the tip, drumist!

Second corrupted SD card

I'm pretty bored of this problem...
a week ago I've found my sd card sand disk 4Gb class 4 corrupted when I found that everytime I take a photo, I found it corrupted when the phone is connected with PC and sd mouted...
so I take a sand disk 2Gb that I have had on a camera and I use it...
Today, again the same problem
2 sd card corrupted with no way to format it...
I always us CM7 (RC 7.1 when I had the 4Gb card and nightly now)...
Is the phone broken? or I have to do something...I've notice that this problem is very common, but I don't understand if is an hardware problem or software, kernel...
I also have Darktremor installed...if can help...
thanks for any advice
Have you tried formatting and repartitioning card?
I use sdformatter from web--does good job--settings are: Full Erase On and Size Adjustment On
Then repartition back in phone to 1gb 0 swap--that's what I use
Of course, back up sdcard tp pc first
Do you "eject" your phone from the PC before unmounting it?
I just press the unmount button on the phone and disconnect the cable I don't use the safe remove of window do you think is for that?
danger-rat said:
Do you "eject" your phone from the PC before unmounting it?
Click to expand...
Click to collapse
but i think Windows manage any USB storage device without keeping the cache too long by default. what's more he isn't writing anything onto the card but reading, so it shouldn't be a big problem.
yeah android read the card but it doesn't write anything....
can the problem is the darktremor?
RealPsygnosis said:
I just press the unmount button on the phone and disconnect the cable I don't use the safe remove of window do you think is for that?
Click to expand...
Click to collapse
Humor me, and try ejecting in future...
RealPsygnosis said:
I just press the unmount button on the phone and disconnect the cable I don't use the safe remove of window do you think is for that?
Click to expand...
Click to collapse
That's your problem. You're yanking the card away from windows before it's done writing to it probably.
1) Eject from windows
2) Unmount in android
3) Unplug
I've had my android phone for over a year now and have only had one card go corrupt, but that was due to a buggy ass wifi teather app. I've never had a problem aside from that. However, I also never mount the sd card in windows. I just use Dropbox to transfer files back and forth, or for large files, I just copy over wifi via a lan share.
thanks...
to all...
there are discordant opinion about this who said that I have to first unmount then safe disconnect from Win and who said that I have first safe remove and then unmount...
I've try to format the 4gb microsd with gparted live but I have error over error "can't mount, cant format" and so on...
The 2gb microsd now work fine, I succefully format it now I have an ex3 partition and a fat32 with Darktremor...
There is no way to plug an android phone and trasfer file without mount sd?
of course there are. try adb push or adb pull...
Is the card a class 10? I had class 6 clean from start to end but changed to a 32gb class 10 in the last 4 months and tonight was the second time filenames got messed up just by connecting to the PC. I connected, hit USB mount and a bunch of folder/file names were messed and stuff on the LOST.DIR.
Gonna get a new card tomorrow.

microSDHC broken? (SanDisk 16GB Ultra class 4)

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.

SD Card

hello, so after recently using WP7, I've found myself unable to use my SD Card
Windows doesn't recognize it (That sd card formatting tool that's in several stickies, DISKPART, device manager, etc.) (I've also used 2 MicroSD -> SD Card adapters in an attempt to fix)
my phone doesn't recognize it (WP7 will use it) (Magldr says it clears the MBR, and I've reinstalled WP7 in an attempt to use the sd formatting tool, but no avail, and CWM fails to recognize it)
I've also installed busy box on my phone and tried to fdisk it, I plugged a 1GB microsd card I have into the phone while in android, used 'mount' got the /dev/ location of the sdcard (/dev/block/void/179:1) and swapped cards, but it won't open the stock 16GB
any ideas XDA?
Dylan Wilson said:
hello, so after recently using WP7, I've found myself unable to use my SD Card
Windows doesn't recognize it (That sd card formatting tool that's in several stickies, DISKPART, device manager, etc.) (I've also used 2 MicroSD -> SD Card adapters in an attempt to fix)
my phone doesn't recognize it (WP7 will use it) (Magldr says it clears the MBR, and I've reinstalled WP7 in an attempt to use the sd formatting tool, but no avail, and CWM fails to recognize it)
I've also installed busy box on my phone and tried to fdisk it, I plugged a 1GB microsd card I have into the phone while in android, used 'mount' got the /dev/ location of the sdcard (/dev/block/void/179:1) and swapped cards, but it won't open the stock 16GB
any ideas XDA?
Click to expand...
Click to collapse
I had this Problem one time too. My Solution was to put the 16GB Mirco-SD Card inside the SD-Adapter. After that i plug this SD-Card inside my Digital-Camera ( Powershot G7 ) and make a "Deep Format". After that, everything works fine...
Maybe this helps!
Happy Christmas,
Michael
Thanks for the tip, I've tried it on one camera but it was a rather crappy one and it just froze the camera o.o
going to try with my nicer camera when I get home
--edit--
eek. tried it on a PowerShot Aesomething and it jsut said memory card error and greyed out the format button, might be time for a new card, oh well, I could go for a higher class on android since it lags my apps a bit

Categories

Resources