SD Card corrupts with USB data transfer - G1 General

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

Related

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 :

Problem transfering files to new class 4 16 gb mico sd!

so basically I FINALLY got a 16 gb mico sd card for my nexi. The problem is though, that whenever I try to transfer files to it, it usually says a little way in that the file location is too deep (or something. This was last night) And then it stops working and the card becomes damaged. I repair it in RA and mount it and it appears to be the music folder usually. After this happens, and it's all repaired (Sometimes i don't have to repair I've noticed) everything in the music folder is corrupted and has a bunch of random symbol names.
I have it formatted the standard way with a swap, ext and fat32. Does anyone have any ideas I'm pretty sad about this
Could be a damaged card?
With my class 4 sandisk 8gb i had some problems in the beginning.
I formated the card via the phone software and the card wouldnt work.
I manually formated the card via android sdk consol = card worked
I also tried via RA recovery = card worked.
The card should work if u format i correctly trough RA.
If not the card may be broken. Maybe theres an app that tests cards available?
Or you could put the card in a card reader and test the card via software on the pc?
Well it only happens when I'm transfering music though for some reason.

SD Card Problems with Android - Solution

Other people have probably already discovered this but I thought I would share this information.
I was using an SD build of Android on my HD2 and had problems with it losing files during USB connection. I switched to a NAND build with data on SD card.
The corruptions on my SD card caused system errors, force closes and mismatching system UI numbers.
This got sooooo bad that I had resigned myself to buying a new (and bigger) SD card.
However, whilst browsing the ext4 partition threads I read about the Panasonic SD Formatter V2.0
Apparently formatting an SD card using windows isn't good enough for SD card standards. The Panasonic app sorts that.
So I copied all my files off, formatted the SD card (takes about 10 mins) with complete erase on the Panasonic app, copied them back and re-flashed my Android build.
I have now been using the card without error for over a week and am blissfully happy with Android on NAND.
Damn, I love this forum!
(Might still buy the bigger card though! )
Cheers,
GG
http://panasonic.jp/support/global/cs/sd/download/index.html
GodsGift said:
Other people have probably already discovered this but I thought I would share this information.
I was using an SD build of Android on my HD2 and had problems with it losing files during USB connection. I switched to a NAND build with data on SD card.
The corruptions on my SD card caused system errors, force closes and mismatching system UI numbers.
This got sooooo bad that I had resigned myself to buying a new (and bigger) SD card.
However, whilst browsing the ext4 partition threads I read about the Panasonic SD Formatter V2.0
Apparently formatting an SD card using windows isn't good enough for SD card standards. The Panasonic app sorts that.
So I copied all my files off, formatted the SD card (takes about 10 mins) with complete erase on the Panasonic app, copied them back and re-flashed my Android build.
I have now been using the card without error for over a week and am blissfully happy with Android on NAND.
Damn, I love this forum!
(Might still buy the bigger card though! )
Cheers,
Click to expand...
Click to collapse
I had exactly the same problem, it began with corrupted files, constant errors, FC and restarts. At the end it was so bad that neither device nor PC could not read the card. Panasonic SD formater the only thing helped. However from the 2nd attempt, quick format didn't work long I.e. problems came back in few days. After full format everything seems to work OK. It's been OK for 2 weeks now
BTW card is Sandisk 8gb class 2
Sent from my HTC HD2 using XDA App
excuse my ignorance
but...how exactly do you use the panasonic reformatter? I downloaded it to my computer but after that i am lost. I tried to reformat sd card through usb connection but does not work i am at a lost now. Again please excuse my ignorance and be kind.
Put the sd card in a larger adapter card and put it in a laptop or external cardreader
Sent from my HTC HD2 using XDA App
Ive been able to put my sd card into a camera and format when I have had trouble like that and it worked.

[Q] Strange Problems with new SD Card running nand apps2sd

Had my HD2 for over a year now and finally got fed up of lack of WinMo apps, which my housemate with his iPhone loved to point out all the time. So I decided to try out Android a few days ago.
Read all tutorials etc and installed Skink's clean desire rom v1.3 using cwm. Got everything set up and was really pleased with my shiny new phone. Everything was working like a dream!
I decided to get a new 16 GB SD card as my 8GB card was full of music etc. Here is where the problems started...
To get all data onto 16GB SD card:
I partitioned it using cwm using same size partition size as on 8GB (1024mb)
Copied all files on 8GB fat32 partition onto 16GB fat32
With the 8GB SD card in the phone did a backup using cwm
Copied backup onto 16GB card inserted it into phone and did a restore
Now the fat32 and ext3 partitions on the 16GB card and 8GB card should be the same, so everything should carry on working fine when i boot up my phone.
It didn't I just kept getting lots of stopped unexpectedly errors until finally everything stopped loading even the home screen, and I'd have to remove battery. However if I just put my old 8GB card in everything worked fine as before
So after much frustation I gave up on this method and decided to just wipe everything on 16GB card and start from scratch:
Formatted 16GB card
Repartitioned it using cwm
wiped data, cache, dalvik cache
installed clean desire rom from sd card
booted up started reinstalling all apps etc
Now here is where things get very strange, I'd start reinstalling apps and reconfiguring to how it was before and then randomly I'll get a stopped unexpectedly error, like process.android.media or something similar. But it seems as if everything would carry on working, then slowly I get more errors until for example as soon as you click on internet you get an error and it closes.
I believe the problem lies with the sd card seeing as that is the only thing that has changed. I also think this rom stores more than just apps on the sd card. Because after I get a few of these stopped unexpectedly errors nothing is saved on the phone. For example I'll change the ringtone from x to y click ok, but when I click back on change ringtone it's still on x. But I can still play music that is stored on the sd card. After I reboot the phone for a while I can make changes and they are persistent but eventually I end up back at this strange state. It's almost as if I can read from the SD card but not write to it.
Another example when I've got to this strange state, I'll add a folder to home screen, add apps into etc. But when I restart the folder has gone.
If I reinsert my 8GB card and do a restore, I get everything back and it works perfectly. But I want to use my 16GB card, that's why I bought it!
My questions are:
Does anybody have an idea of what is going on when it gets into this strange state?
Does anybody know how to fix it?
Is there some way of testing the SD card?
Should my first method of getting all data onto new sd card have worked?
SD Cards are:
Samsung 8GB class 6
Transcend 16GB class 6
Sorry for the long post, any suggestions are greatly appreciated

Class UHS I/class 10 micro sd compatibility.

Hello,
I've recently bought a Sandisk micro sd 32Gb class 10 for my HD2. The exact model is SDSDQU-032G-U46A.
I installed a rom via Native Sd method and everything ok until a couple of hours or so, and the phone hangs up. I had to pull of the battery and reboot. And then the same problem again. I released the micro sd and put in into the pc. To my surprise, the system ask me to format it
I reformatted it to fat32 but the issue is still there. I tried formatting the card with Sdformater, with minitool partition wizard, and other tools but everytime the same problem.
So finally, I thought it was a card failure and decided to ask for a refund. I received a new card, same model, and to my disappointment the new one was worse than the other one. I couldn't even install the rom, with a lot of partition errors. So I believe that there is a compatibility problem.
Anyone who has tried this card model can tell me his experience? What do you think, is it really a compatibility issue or I had bad luck?
Thank you for any help.
There is another guy having some problems with the sandisk class 10 32GB. He changed the sd, and everything worked flawlessly.
I'm not saying the sdcard is the problem, I'm saying that class 10 32GB is too good.
(Btw, I'm using the same class 10 ultra-sandisk but 16gb, and I never had a reboot on nativesd)
pepemonje said:
Hello,
I've recently bought a Sandisk micro sd 32Gb class 10 for my HD2. The exact model is SDSDQU-032G-U46A.
I installed a rom via Native Sd method and everything ok until a couple of hours or so, and the phone hangs up. I had to pull of the battery and reboot. And then the same problem again. I released the micro sd and put in into the pc. To my surprise, the system ask me to format it
I reformatted it to fat32 but the issue is still there. I tried formatting the card with Sdformater, with minitool partition wizard, and other tools but everytime the same problem.
So finally, I thought it was a card failure and decided to ask for a refund. I received a new card, same model, and to my disappointment the new one was worse than the other one. I couldn't even install the rom, with a lot of partition errors. So I believe that there is a compatibility problem.
Anyone who has tried this card model can tell me his experience? What do you think, is it really a compatibility issue or I had bad luck?
Thank you for any help.
Click to expand...
Click to collapse
Hey I think I am using the same card as yours. The model number is SDSDQUA-032G-U46A. My card is working flawlessly. I have installed both Windows Phone 7 and Boxmax ROM . The SD card has 4 partitions. However, I do have issues with my phone, but it is not related to SD card. I bought the phone one month back from eBay. Well, I was unlucky and from the first day the phone has thermal problems, which has been discussed here http://forum.xda-developers.com/showthread.php?t=982454
The seller probably sent me a refurbished piece. The phone hangs whenever I do something cpu intensive. So just a thought. Are you sure that it is problem with SD card? Or may be you can try some other ROM.
I'm pretty sure that it is the micro sd. I installed 3 different roms, all with the same result. I have tried same roms in other card and perfect.
Searching on the web I found this site http://www.sandiskcards.com/ where you can see which card is compatible with any devices. Regarding the HD2, it supports up to 32GB class 4 Sandisk micro sd. So I suppose that it's a compatiblity problem and there is nothing I can do about it.
However, there is people using a class 10 ultra-sandisk without issues at all. I'm confused.
Other who can share their experience?
Thanks.
Hey pepemonje,
did you ever try to fix permissions from within the android you are running? I had similar problems (programs being terminated and more) and tried to fix permissions from 4EXT and clockwork, but that didn't help. After fixing permissions with "NativeSDMultiboot" - "Tools" -> "Fix Permissions" those problems were mostly gone.
I'm not sure if that helps, its just a guess.
Regards
pepemonje said:
Hello,
I've recently bought a Sandisk micro sd 32Gb class 10 for my HD2. The exact model is SDSDQU-032G-U46A.
I installed a rom via Native Sd method and everything ok until a couple of hours or so, and the phone hangs up. I had to pull of the battery and reboot. And then the same problem again. I released the micro sd and put in into the pc. To my surprise, the system ask me to format it
I reformatted it to fat32 but the issue is still there. I tried formatting the card with Sdformater, with minitool partition wizard, and other tools but everytime the same problem.
So finally, I thought it was a card failure and decided to ask for a refund. I received a new card, same model, and to my disappointment the new one was worse than the other one. I couldn't even install the rom, with a lot of partition errors. So I believe that there is a compatibility problem.
Anyone who has tried this card model can tell me his experience? What do you think, is it really a compatibility issue or I had bad luck?
Thank you for any help.
Click to expand...
Click to collapse
There are reports that NativeSD roms are not working very well with the SD card formatted via the mini tool. I myself encountered your issue. There are lots of FC and hangs up. I corrected this by simply performing a full wipe of data data/factory reset via the recovery. This will wipe out your data and format your Nand cache, SD Card Ext4 partition and linux swap if any in your SD, but will not touch your FAT32 windows partition and will remain intact. After that perform a fresh install and you should be good.

Categories

Resources