[Resolved] [Q] Is my SD card defective or do I have a different problem? - General Questions and Answers

EDIT: Answer at bottom, but my OLD card turned out to be the defective one.
I just upgraded from a Sprint Samsung Epic 4G to a Sprint Samsung S4. My S4 is already rooted and has TWRP.
To go with my new phone, I bought a Patriot Micro Mobility 64GB Micro SDXC card. The card is class 10 UHS-I and is obviously formatted exFAT. The first thing I did is format it in the phone (which curiously gave me a little bit more free space), unmount it properly, insert it in the little USB reader it came with, and then use Win7 to copy the full contents of my old SD card onto this one. The next thing I did, from cygwin, is a full "diff -rl" between the old and new card.
To my surprise a single file differs, from a single nandroid backup instance: clockworkmod/backup/2013-06-02.21.44.05/system.yaffs2.img If I do a cygwin "cmp --verbose" I see what looks like 1-bit differences, always about 240MB into this 251MB file.
If I rename that file on the SDXC card and copy it again and immediately "cmp" it, it compares fine. If I then do a full diff again, the file "changes" and is now different -- with a different number of differences from the renamed first copy. (Yes, those two files differ from each other on the SDXC card.) I can do this as many times as I want, getting the same behavior each time. Once I get differences, it doesn't seem to change again after that. My guess is that it is corrupted on copy but when I do the first "cmp" I'm not reading from flash but reading from the Windows file system cache. And that the full diff effectively flushes that cache so I see what is really on the flash.
EDIT: After much painful investigation, I discovered that it's not the new 64GB SDXC card that's defective. It's the old 32GB SD card that is defective. Only one file gets corrupted when copied off of it. I took the new SDXC card out of the picture by copying the one bad file to my hard disk, then unmounting the SD card, then remounting, then again copying to my hard disk (different filename), then repeating. I get different file contents every time I do this. This happens even with different USB readers.
I've never heard of such a thing, but this card is two years old. Looks like I need to make one last nandroid backup of my old phone, since this one gets corrupted when copied off the SD card!
If anyone has seen anything like this before, I'm still interested in hearing about it.

Related

Corrupt SD Card issues

Is anyone else having issues with their sd card corrupting? I have an 8gb class 6 transcend card and it has corrupted 3 times in the last month. I always unmount the card in windows before unplugging the phone. It seems to do it when I'm writing to the sd card from the phone.
The first time I noticed it was when I deleted a picture with built in photos app.
The next time was today when I made a nandroid backup before applying an update (theme). The nandroid backup finished and when I went to apply the update it came up with an error (I didn't reboot between the backup and applying the update). I reset the phone and the sd card was unavailable.
At one point I did have the card partitioned with the apps on one partition. When it corrupted I reflashed the phone back to 1.42 and left the apps on the phone. I went back to one partition and left it at that (fat32).
I don't know if I just have a bad card or something else is going on. I never had any problems with 1.41. However because it did it while doing a nandroid backup would that rule out the software version?
I would like to find a solution, as I don't trust the card anymore without backing it up frequently.
i've had it happen once (files names corrupted) but assumed it was down to the card as i had the same happen when it was in my N95, i've now bought a new card and i'll see how it goes.
When mine goes down, it seems like it kills the partition. When I open a disk manager I don't see a partition on the card anymore.
Hey axion,
Yea your card is pretty much dead... this also happened to me yesterday on my 4 gig card... yyour card will still work however reformatting or creating anymore partitions won't help bring it back.. for future update.zips or recovery boots upload your update files to your stock 1 gig card.. remember to always safely remove hardware with any card mounted to the to a computer..
YES - and not only have I had the same problems, it's with the same brand card! Transcend 4 GB Class 6.
My phone started having issues where I installed an application and it would act wonky, then if I tried to reboot it'd lock up into an infinite loop.
The last couple of times, I solved the loop by doing a fsck on the partition in GParted (booted into a GParted Live instance from a laptop using a USB stick). The problem reoccurs though, making me think there's something problematic with the card.
There's an app in the thread on the cheap 8 GB cards (of which I'm holding my recently received shipment . There's an app in that thread used to test write performance, but it does some crude error checking, and I had an issue when I did that test.
I'm going to do a partition clone and report back.
my dodgy card was 4GB Kingston, one interesting problem i had with it was video refused to play, i could read and write the file fine but android would refuse to play it and meridian video player would report the wrong pixel size, time and codec which had me confused all last weekend.
I'm also frequently having problems with my 8gb card (http://www.newegg.com/Product/Product.aspx?Item=N82E16820211341). Every few days I find myself firing up Ubuntu to fsck it and I always find errors. I often discover them when looking for a file on the phone (I usually do a find / | grep whatever and notice that I get "stale file handle" errors).
Should I get a newer/better card? I'm happy to pay more for a better one. I didn't know this brand, but it was the only class 6 I could find. If Sandisk made a faster card I'd get that, but I can only find a class 2. I have a 16gb Sandisk but it is only class 2 and therefore not good for apps, which is what I'm using the sdcard for.
If anyone can recommend a better one, I'll give it a try.
Does a 16gb class 8 exist yet? What about a 16gb class 6?
I just moved to the same card you have, mlevin - so I'll post back my experiences if I'm seeing anything.
I'm wondering if maybe moving the caches to SD isn't the greatest idea, since these devices aren't meant for continuous writes. If I have more issues, I might just move the caches back to the onboard memory.
giantcrazy said:
I just moved to the same card you have, mlevin - so I'll post back my experiences if I'm seeing anything.
I'm wondering if maybe moving the caches to SD isn't the greatest idea, since these devices aren't meant for continuous writes. If I have more issues, I might just move the caches back to the onboard memory.
Click to expand...
Click to collapse
Yeah, that worried me as well, so I moved my caches back to the main storage and only have app, app-private and data symlinked to the card.
If you are having problems after moving apps and data to your ext2 partition, you have to push the original init.rc and mountd.conf back onto the phone so you can wipe to card fully and restore it to the FAT32 file system.
I had a similar problem on my tmobile wing (variant of the Atlas which is a modified version of the Herald) running Windows Mobile 6 and Windows Mobile 6.1. I think it was also when I used the SD card as a place to store cache for PocketIE. Maybe that's the issue, using it as cache storage. (This is my theory, not something that has been confirmed.)
g1 sd card deletes itself
I am on my 4th sd card. I am not sure what is corrupting/deleting my data. I can copy over some music/video/pdfs/wtfevers and it'll stick around for awhile. Then BAM, music folder empty(had 1 gig of music in it). BAM, 1 of 3 video files corrupted. OH wait, now all 3 are gone. awesome. I keep a backup on my pc so I can copy it all back over once it goes south. I have the doodledroid drawing app on my phone and the folder will go corrupt - not allowing me to save an image until I delete the folder so it can reinitialize(create a non-f'ed up folder). Also, my picture thumbnails get f'ed so I have to delete that folder so the G1 can remake a new non-corrupted set. My PDFs disappeared about 3 days ago. Cards all formatted fat32. blah.
Frustrating.
I have root
kila-user 1.1 PLAT-RC33
Anyone else find a solution?
BTW, my sd cards were:
sandisk 2gb
sandisk 2gb
PNY 4gb (current)
Lexar 4gb
mlevin said:
I'm also frequently having problems with my 8gb card (http://www.newegg.com/Product/Product.aspx?Item=N82E16820211341). Every few days I find myself firing up Ubuntu to fsck it and I always find errors. I often discover them when looking for a file on the phone (I usually do a find / | grep whatever and notice that I get "stale file handle" errors).
Should I get a newer/better card? I'm happy to pay more for a better one. I didn't know this brand, but it was the only class 6 I could find. If Sandisk made a faster card I'd get that, but I can only find a class 2. I have a 16gb Sandisk but it is only class 2 and therefore not good for apps, which is what I'm using the sdcard for.
If anyone can recommend a better one, I'll give it a try.
Does a 16gb class 8 exist yet? What about a 16gb class 6?
Click to expand...
Click to collapse
mlevin: I have that card. It's been fine...until I believe the other day. I was running 5.01H w/ apps to sd and my battery had died so I charged it. Upon turning it on the android screen kept looping as though it wasn't mounting the card. Worse came to worse and I had to end up reformatting the card and starting from square 1. Now that I reformatted it, I'm getting "insufficent space" errors when trying to install paid apps even though I did everything right.
I'm wondering if it is the card.....

Phone and SD Card showing up Separately

I am having a problem finding thins in "Files" and "Astro" on Tmo GS2. This is a general ? that could happen to me or anyone on any phone, I assume, so I put here. I hope its ok
I just upgraded to a 32gb sd card class 4. I was told it was good. Its a
Sandisk. I was going for a class 10, but people said it was not only not necessary, but it would slow down occasionally ... but be fabulous with games and video
regardless of that, i then looked for a class 6 Only found no names and someone said its better to have a Sandisk at a lower class than one class higher from a no name'
Well I don't know if that has to do with my problem. I can't find things. I search, nothing. I use Astro, now this is weird. Nothing. I plug into the computer, it is listing the phone as TWO separate drives. THis has never happened to me in the past and never heard it mentioned
I am sure it is nothing wrong, but a settingn somewhere and I can get all the files combined
also, I am assuming all of those file explorers on the phone cannot look into the hard drive of the phone? Is that correct, no other excuse? And this other "drive" I am speaking of, one can only assume it is the hard drive
Well in any case, if anyone could straighten me out, help me, etc.. I'd be most grateful
happy Halloween All
Eric
I have the same problem on my eeepad transformer
I bought a 32 GB microSD card from Trascendent. When I nstall apps that are supposed to be installed on the external SD card it does not do that. It goes to the internal SD card. When I sync it with my PC it shows both devices. The SD card is completely empty except for a folder that reads LostDir. How can I get the external SD working?
Any pros or mods, please correct me if needed.
The GS2 does it differently keeping them separately
You can choose on your phone which apps to store on phone or sd card. You can go to settings/apps/ and select move to sd card etc.
some, however will not go there no matter whatt
when you go to usb mode on the puter, you will see two drives show up
One is SD CARD - this is actually your PHONE
The OTHER is labeled EXT. SD CARD (for external) - This is the actual inserted sd card
On the SD Card, you will see in its contents in the computer window the external sd folder within the sd card
...even tho, on the far left (windows 7 and others) you will see the two drives listed separately
That is the best I can do. I understand it enough that it works. I may even understand it better than that but just not able to explain it
Enjoy

[Q] SD copy slowness

Has anyone noticed slow SD transfer since upgrading to ICS?
The simple copying of files from PC to SD has become unbearably slow. Even after fixing the SD (from the dialog that came up, not sure if it actually did anything) no change.
Taking the SD out and copying direct is very fast.
It wasn't like this on Gingerbread.
My Sensation is stock o/s, not rooted, I use Sense.
Note: I had posted this a few days back on a thread about reboots, no responses so reposting here as it's really a separate topic, hope that doesn't violate rules, etc.
With root, you can increase cache size your SD to 2048kb. You can also buy a faster card. What class you have now?
I had a similar problem. My file transfer was only a little slower on ICS, but it was noticeable. On top of that, my SD card would unmount without warning during larger transfers. This was on a Lexar 32 GB Class 10.
I ended up pulling the card a week ago, backing up the contents to my PC and just reformatting the thing in my PC as FAT32. It came as FAT32 from the factory, but I've read a lot of posts where people fixed their SD errors by reformatting the card in a PC.
So far, no unexpected SD unmounts, and speed might be better. Or it could be my imagination.
Not sure if this will fix your problem, but it's something to try if you have no other leads.
I have a class 10 sans disk. Didn't notice any slow down going to ice really.. Not that I can remember what GB was like sd card was misaligned apparently according to 4ext. I formatted my sd with my PC, hit the default format settings, not quick format then stuck it in my phone.
Thanks for the replies, they don't sound like my situation.
My card was always secure, and the copying is vastly different inside and outside the phone, so I can't fault the card.
Something is buffering between the phone and the card. The difference is night and day.
I can just take out the card and copy direct each time, but that's kinda stupid and inconvenient, there's got to be a better way. And I'd be surprised if it were only affecting my phone.

[Q] Anyone else having issues with corrupted microsd cards?

I've tried 2 different Sandisk Ultra 64GB microsd's...the first I formatted inside the phone.....the 2nd I took straight out of the packaging and put into the phone..in both cases after a random amount of time I found the microsd corrupted. In the most recent case I tried putting some books onto the card via adb push only to have it inform me that the sdcard was a "read only filesystem"....I then went into es file explorer and tried to browse the card...the "Android" folder was still readable but all other folders now appeared to be some type of file because when I clicked on them it popped up a panel asking me to tell it what sort of file it was....text, video...etc.....after rebooting the phone it would not even mount the sdcard.....I've taken it out and put it on my laptop to run an fsck (linux version of chkdsk) on it and it's finding all sorts of issues:
/Android/data/com.sand.airdroid/********.***
Start cluster beyond limit (4294967295 > 2046978). Truncating file.
/Android/data/com.sand.airdroid/********.***
Directory has non-zero size. Fixing it.
/Android/data/com.sand.airdroid/********.***
Start cluster beyond limit (4294967295 > 2046978). Truncating file.
/Android/data/com.sand.airdroid/********.***
Directory has non-zero size. Fixing it.
/Android/data/com.sand.airdroid/********.***
Start cluster beyond limit (4294967295 > 2046978). Truncating file.
/Android/data/com.sand.airdroid/********.***
Directory has non-zero size. Fixing it.
/Android/data/com.sand.airdroid/********.***
Start cluster beyond limit (4294967295 > 2046978). Truncating file.
/Android/data/com.sand.airdroid/********.***
Directory has non-zero size. Fixing it.
/Android/data/com.sand.airdroid/********.***
Start cluster beyond limit (4294967295 > 2046978). Truncating file.
etc....
As much as I have loved the phone if it's going to continuously lose data I'm going to have to send it back. The first microsd came out of my old phone and had worked fine in it....to avoid issues I let the phone format it....sandisk is THE name when it come to sd cards in my opinion so I have a hard time believing it's any sort of quality control issue...especially since I tried two different cards...the 2nd one being brand new out of the packaging. Comments appreciated.
I am using a Samsung microSDXC 64GB card.
I formatted it on my PC before using it.
So far, I haven't had any problems.
Loaded pictures, ringtones and a number of apk's to install.
Format the SD card on your pc and format to fat32 instead of exfat. Use the instructions from this link.
http://forum.xda-developers.com/showthread.php?t=1773735
Sent from my Alcatel OneTouch Idol 3 using Tapatalk
Shodan5150 said:
Format the SD card on your pc and format to fat32 instead of exfat. Use the instructions from this link.
http://forum.xda-developers.com/showthread.php?t=1773735
Sent from my Alcatel OneTouch Idol 3 using Tapatalk
Click to expand...
Click to collapse
Your right, I forgot to mention that I formatted as fat32.
hope it works for you, famewolf.
tkalli said:
Your right, I forgot to mention that I formatted as fat32.
hope it works for you, famewolf.
Click to expand...
Click to collapse
While I'm willing to try it I would think formatting it on the PHONE would ensure it was in the format it needs to be.....however linux by default uses the fat32 (or fat 16/fat12 depending on size of media) filesystem when fat is chosen. It doesn't have support for exfat. I'm going to try picking up a cheap 32gb from PNY or some other manufacturer than sandisk and see how it behaves.
Thanks for the replies!
I have a new SanDisk 64gb Ultra that's been working fine for the past week. Straight out of the package into the phone (and then formatted).
Mes3 said:
I have a new SanDisk 64gb Ultra that's been working fine for the past week. Straight out of the package into the phone (and then formatted).
Click to expand...
Click to collapse
Do you ever use adb to push files to the phone? It seems whenever the corruption is noticed I have either just put some file on...am in the process of putting files on or just put some on recently via adb push <filename> /storage/sdcard1/<folder> If not what most common method do you use to get files from your pc to your phone storage?
famewolf said:
Do you ever use adb to push files to the phone? It seems whenever the corruption is noticed I have either just put some file on...am in the process of putting files on or just put some on recently via adb push <filename> /storage/sdcard1/<folder> If not what most common method do you use to get files from your pc to your phone storage?
Click to expand...
Click to collapse
I just plug it in , and Windows 7 mounts it as Portable Media Player - and from that point on, just copy to, or delete from, the folders. Works for both internal storage, and the micro SD. So far no issues. I have a cheap and slow 32 GB card .
Sandisk 32GB class 10 user here with no issues. I did have some issues when I connected my phone to the computer through a non-OEM USB cord though...
Mes3 said:
I have a new SanDisk 64gb Ultra that's been working fine for the past week. Straight out of the package into the phone (and then formatted).
Click to expand...
Click to collapse
Same here, a Scan Disk Extreme SDXC 64GB UHS-I/U3 right out of the package and into the phone. No problem storing media or apps to it here thus far.
---------- Post added at 12:32 PM ---------- Previous post was at 12:08 PM ----------
Mes3 said:
I have a new SanDisk 64gb Ultra that's been working fine for the past week. Straight out of the package into the phone (and then formatted).
Click to expand...
Click to collapse
Same here, a Scan Disk Extreme SDXC 64GB UHS-I/U3 right out of the package and into the phone. No problem storing media or apps to it here thus far.
Same got an ADATA 64GB SDXC Uhs1 and straight into the phone from package and has been working fine
Sent from my 6045I
My experience was great until last night. I don't know what happened but I downloaded a new app (Cloud Player by doubleTwist) and as it's nearing the end of reading the music on my SD card (a SanDisk Ultra microSDXC 64 GB), it suddenly stops recognizing the files to the point where the phone was no longer reading the SD card at all. I've tried remounting the SD card but to no avail (even after a factory reset). Interestingly enough, I /was/ able to mount it on my old phone (Note 3) and it worked without a hitch, the card wasn't formatted or anything of the sort and the data was perfectly intact. I tried mounting another SD card I had lying around on the Idol 3 and it worked just fine too. So, what the heck? I sent an email to doubleTwist considering that the evidence points towards the problem being a combination of the phone and the app but I'm at a loss here 'cause I don't see how I'm gonna get the Idol 3 to mount my SD card, even if the app is fixed. Maybe get a replacement from Amazon? I'd prefer to avoid that seeing as how my model hasn't been plagued by the issues detailed on this forum (aside from the buggy Tap to Wake function that is).
kevin6876 said:
Same here, a Scan Disk Extreme SDXC 64GB UHS-I/U3 right out of the package and into the phone. No problem storing media or apps to it here thus far.
---------- Post added at 12:32 PM ---------- Previous post was at 12:08 PM ----------
Same here, a Scan Disk Extreme SDXC 64GB UHS-I/U3 right out of the package and into the phone. No problem storing media or apps to it here thus far.
Click to expand...
Click to collapse
Yeah I noticed the corruption only seemed to occur when pushing files to the phone via adb. I'm on linux so it doesn't just mount as an mtp device...I've gone to using other methods to transfer files such as airdroid etc and so far the issue has not occurred again.,
Samsung EVO 64GB corrupted
I had a Samsung Evo 64gb for two weeks everything was fine then one day it changed to a RAW format and I couldn't use it. I have tried everything and don't know what to do.
Hi,
Im having some similar issues with my Idol 3 and the SD cards. First I have a 32gb card that was corrupting all new files stored in it... I formated with the phone, and still the problem continues. So I bought a new 128gb (a PNY) on amazon, making sure specs were compatible, and now it keeps unmounting the SD card couple of minutes after reboot or installed.
So far I have tried:
Format the MicroSD in the phone
Format the microsd in the computer (with partition formats Fat32, ext2, ext4)
make the microsd card with several smaller partitions, down even to 32Gb.
restore phone settings.
factory restore the phone.
Test the MicroSD card in several devices (all worked fine).
Even went to cricket wireless and tried the Micro SD card in another alcatel Idol 3 (worked fine there).
So far, nothing seems to make the idol keep the MicroSD working. It just says "SD card unexpectedly removed".
Any suggestions? Could it be the SD card or the Idol 3?
Thanks.
TheHamOp said:
Hi,
Im having some similar issues with my Idol 3 and the SD cards. First I have a 32gb card that was corrupting all new files stored in it... I formated with the phone, and still the problem continues. So I bought a new 128gb (a PNY) on amazon, making sure specs were compatible, and now it keeps unmounting the SD card couple of minutes after reboot or installed.
So far I have tried:
Format the MicroSD in the phone
Format the microsd in the computer (with partition formats Fat32, ext2, ext4)
make the microsd card with several smaller partitions, down even to 32Gb.
restore phone settings.
factory restore the phone.
Test the MicroSD card in several devices (all worked fine).
Even went to cricket wireless and tried the Micro SD card in another alcatel Idol 3 (worked fine there).
So far, nothing seems to make the idol keep the MicroSD working. It just says "SD card unexpectedly removed".
Any suggestions? Could it be the SD card or the Idol 3?
Thanks.
Click to expand...
Click to collapse
Sadly the answer is "yes"....cause it's more a combination of the two.....I have a samsung 128gb in my idol3 and it runs fine...a 64gb adata also ran fine....a 64gb sandisk repeatedly failed as yours does...and now has failed on a 2nd device so that card is physically bad in some way. You'll basically have to find one the idol3 likes...when in doubt use the brands others have indicated worked for them...I don't recall PNY being listed by someone as "worked for months without issue". I can vouch for Adata and Samsung. An important point to consider is it MIGHT work initially on that idol3 in the store...but more importantly would it still be working 1 month later.....6 months later...etc
I have a 64gb Samsung that corrupted last week after working fine for 4 months. It happened while writing to the SD card. Wife was talking and all of a sudden it stopped saving the pics. Couldn't get anything to read the card so I ended up formatting it in my backup phone. This likely was due to the camera app but thought I'd post just to add my experience
I have a 16gb sandisk from way back in 2012 yet still works lol but I was rinning into some issues this past weekend it kept telling me checking sd card for errors then it would mount and unmount so I rebooted same problem so what idid was to take the SD card out plug it into my PC backup my data even though the data was intact so I backed everything put the card back in turn the phone on and my data was still there I'm not sure if its something related to your issue but right now my SD card is working normally I love it lol
I've got a Scandisk sdxc 64gb since several months in mine and no problem till now.
Envoyé de mon 6045Y en utilisant Tapatalk

Obnoxious Problem with SDXC Card - Card on Computer Works Fine, Phone Wants to Format

Card is a Sandisk 128GB Ultra MicroSDXC A1 card.
Card is formatted exFAT.
Card can be mounted, opened, and read/write with no problems via my laptop when plugged directly (SD slot).
Android (LG G5, LineageOS 15.1) says card is corrupt, is trying to make me format. Card initially set up as "Portable Storage".
Took FOREVER to move music onto this card, as artists had to be moved one at a time or transfers would fail, so I'm trying to avoid formatting.
I've tried rebooting the phone, repairing the file system using TWRP Wipe command (fails with error code 1), and mounting with a clean eject via Windows 10 on my laptop using the SD card slot. Nothing has made an impact, stupid phone still won't allow me to use the card.
If anyone has any ideas why this is happening, or how I could potentially fix this without having to wipe the card, I would appreciate it. This thing has been a PITA since I got it, I thought it would be awesome having such expandable storage on my phone (I'm a weirdo who doesn't use streaming services) but I've had nothing but problems so far. I have to be careful with how I transfer files onto the card or the transfer will take an (appropriately) long time, act like it works, but then the file just won't be there. Now I've finally gotten the card loaded up, and after a routine phone reboot a few days ago, the Android OS is trying to say it's corrupt; This is also making me worry that this will continue being an issue in the future.
Running "chkdsk E: /r" on my laptop is revealing a couple minor corruptions inside the directory, and volume bitmap. It's hanging on verification/completing now.
Is it possible that I have a bad SD card? This thing has seriously done nothing but suck since I've been trying to use it.
Edit: Unless someone tells me otherwise, I'm pretty sure this is a bogus/defective SD card. I simply cannot believe that flash memory would perform this badly. I'm going to return this card (bit of a PITA since I ordered it online) and buy another one locally.

Categories

Resources