yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] sweet2bad:
Pretty sure it wasnt, because i disabled google play music a couple weeks ago.

....the phone was litereally sitting, not moving, not being used for ~2hours, then i pick it up and see that error.

now the phone isnt seeing that card at all, no matter what i try (restart, card in/out)

just tried the SD card in 2 other Samsungs (S2 & S3) neither of them could 'see' the card either.

so i have incredibly bad luck and have bought 3 faulty SD cards in a row, or my S4 has 'some kind' of problem and is eating these cards (i'm leaning towards the latter)
[AT&T Samsung Galaxy S 4 General] mrnovanova:
If it's SanDisk, it is possible you bought a few faulty ones. Did you try taking the cover off removing the sd card and putting it back in while the phone is still on. What did you format with?

Carried by a Raven
[AT&T Samsung Galaxy S 4 General] pheonix254:
SanDisk had problems at the start of this year, affecting 32GB and 64GB cards. I've had 2 warrantee replacements since February, not using an S4 but a GoPro Hero3. It's by no means necessarily a samsung problem (but that's not to say that samsung don't have anything to do with it either - their sd card management is likely to be as big a contributing factor as the quality issue SanDisk had.)

link to the register article on the subject - http://www.theregister.co.uk/2013/03/18/galaxy_s3_sandisk_msd/
[AT&T Samsung Galaxy S 4 General] gothpunk4christ:
SanDisk. There's your problem.

64GB off brand no-name card in mine since release and no issues. I use the SD for song storage and play hours of music daily. No problems here.
[AT&T Samsung Galaxy S 4 General] oildale:
I've had a Patriot 64gb in my S4 since I got the phone. Several times to begin with I had the damaged SD card message. Then I read somewhere that it might be to do with how the S4 mounts the card at boot. Since then, every time I have to reboot the phone, I remove the card first. No "damaged SD card" since.

Now I'm not a dev at all so maybe I'm way off base here, but something I found when poking around in the developer options caught my eye. The "MediaScanner behavior at boot" option. Might there be and issue with scanning the SD card at boot? I have yet to try it out (don't really want to have to format and copy over all my music/videos yet again), but it seems plausible since I've only ever had the damaged SD card at boot, never when unmounting/remounting the card.
[AT&T Samsung Galaxy S 4 General] bo8:
Well fakkkkk...

This happened after a power off, power on.

Did that because last night before sleeping, I let TiBU (free) do a full app+data backup to the SD card. This was the first time I had TiBU do a backup of any sort.

This morning, prior to powering off, I was reading the SD fine via ES Explorer. However I did notice the time on my lock screen was stuck at 10:30pm which was approx when TiBU was running.

On the other hand, I also had just installed ROM Toolkit Pro this morning (on sale!) but I didn't have it run any actions.

Anyway, I simply put phone on standby, removed SD card, put it back in, and it mounted fine. Could read files off it without issues.

I looked in my dev options and couldn't find the media scanner option as per above post. Only relevant option was forcing apps to prompt for SD access, which is unchecked. The only option I've ever changed was enabling USB debug mode.

So... culprit is possibly TiBU free?
[AT&T Samsung Galaxy S 4 General] vinuneuro:
Have there been any problems with Sony cards? They're quite a bit faster, but the 1yr warranty seems short reading about these corruption problems.
[AT&T Samsung Galaxy S 4 General] LAkingsfan3131:
I think you might have something here. My 64 gb off brand card only says "Damaged" after I reboot as well. Since I just reformatted my card I am going to try what you suggested in the developer options. Wish me luck.
[AT&T Samsung Galaxy S 4 General] markmi300:
SOLVED: Damaged SD Card, Try Reformatting galaxy s4 reboot.

Problem appears to happen on 64gig cards if S4 is shutdown for charging. If the phone is booted while still on the charger / dock, the SDcard error occurs. The card is not damaged and can simply be mounted in settings > More > Storage when the error occurs. Discovered this from a co-worker who has the S4 and the exact SDCard that I have,

but has never experienced this problem

. The only difference is he never recharges the phone. Instead, he has multiple batteries and simply swaps them out when the power level gets low. When I started taking the phone off of the charger before rebooting, I stopped having the error as well as the "mtp application will restart to prepare SD card" error. Hope this helps someone.
[AT&T Samsung Galaxy S 4 General] bo8:
When I got the error, I was booting off-charger.
[AT&T Samsung Galaxy S 4 General] markmi300:
The only other difference between my S4 and my co-workers is that I'm rooted and he's not. I don't think that's a factor. This only started happening after I went from 32gig to 64gig SDcard a couple of weeks ago. I've been testing booting the phone without having it connected to the charger or PC for almost a week. So far no mounting issues. I'm not sure what other elements could be in play here for your phone to behave differently. I'm sure you've already tried the normal stuff that's been suggested (re-seating the card, checking the card with chkdsk, etc)
[AT&T Samsung Galaxy S 4 General] Xqflint:
Having the same problem with 16gb Sandisk Ultra Class 10.

Unmounting before rebooting seemed to fix the problem.. hope I never forget to do it or I´ll lose everything for the 3rd time.

I`m pretty sure it´s the phone and not the card.
[AT&T Samsung Galaxy S 4 General] force70:
You dont backup your sd card?

I back my 64gb up on my laptop and dropbox and I have another 64gb card cloned so if the one im using dies I just pop in my clone and im good to go.

Should not have to go to these lengths bit since ive been through 2 sd cards in 2 mos I kinda have to

sent from my S3, S4 or Note2
[AT&T Samsung Galaxy S 4 General] MavereXx:
I had a similar issue with the s4 attempting to destroy an sd card. I took it out without unmounting yes, but I was positive it was not writing so I did it.. all of a sudden it said corrupt SD card. And wouldn't read it... I had to connect it to a PC do a chkdisk and put it back in restarted the phone it was fine.
[AT&T Samsung Galaxy S 4 General] Caifan09:
Same issue here god dam it. My 32 Gb SD Card went by bye. Now is unreadable in PC. Anyway to make it work again?
[AT&T Samsung Galaxy S 4 General] force70:
Are you using a card reader or plug in adapter?

If you can see it as a drive just reformat in your pc. Whe n mine died last time I couldn't view any files on it but my pc still saw it as an external drive which allowed me to format. I lost all my data but had backups so no biggie.did the format..re loaded all my data and ive been fine with it for over a month

sent from my S3, S4 or Note2
[AT&T Samsung Galaxy S 4 General] Caifan09:
I used a card reader but my PC does not even recognizes it. I did rebooted my pc while the card reader was plugged in. After the reboot, it was showing as a External Drive but when I tried to do a formatt sd card I got an error fortmatt. I believe this Pos sd card is corrupted or dead.
[AT&T Samsung Galaxy S 4 General] WarbyParker:
Send it in for warranty and get it replaced. Most of the decent manufacturers have a lifetime warranty.
[AT&T Samsung Galaxy S 4 General] satafterh:
i have a 64 gig sandick in my phone and its been fine for 4 months
[AT&T Samsung Galaxy S 4 General] MavereXx:
XD

Sent from my Galaxy S4 i337m
[AT&T Samsung Galaxy S 4 General] vpwrf:
My S4 has just destroyed my Integral 16GB micro SD card. It said damaged SD card when I woke up this morning before taking the phone off charge. It now doesn't see the card at all and no other phone will see it. Nothing happens when I insert it. Is it possible at all to revive a dead SD card?
[AT&T Samsung Galaxy S 4 General] force70:
Use a card reader and try to reformat in your pc.

sent from my S3, S4 or Note2
[AT&T Samsung Galaxy S 4 General] ZeroSkylineX:
I have the same one, no problems with mine. Get it replaced via warranty. If you really think it's your phone, use a beater microSD card to see how it goes.
[AT&T Samsung Galaxy S 4 General] s4nd3rs:
Victory...

Began getting the 'damaged SD card / try reformatting' message last week. Even though it's just a cheap 32gb Patriot (formatted FAT32), it was working fine in HTC Velocity, S3 and S4 until now...

Had the issue was years ago in HTC Desire all I had to do was restart, but this time:

1. Tried restarting - no success

2. Tried removing/reinstalling - no success

3. Settings 'mount sd' did nothing but return a similar error

4. Left it out for a few days whilst thinking might as well get new 64gb - no success

5. Read through pages worth of posts in this thread, tried the chkdsk option and success!

Action:

- Attach micro SD to your computer and check which drive it is (even though you won't be able to view the contents)

- Run CMD

- computer sees my SD card drive as 'F:' thus typed: "chkdsk F: /f /r /x"

- wait for report that shows there were several issues resolved

- eject

- mount to your phone and restart = success w/ all files as they were prior to the error.

Thanks to those who previously posted in this thread to suggest chkdsk
[AT&T Samsung Galaxy S 4 General] billaboy25:
i just got my sandisk 16gb from staples couple weeks ago (for free btw, with cartridge recycling rewards) . so far so good . hope mine doesnt break down.
[AT&T Samsung Galaxy S 4 General] saj222:
Thanks for the instructions! I was at my wits end trying to fix my micro SD card. Will give this a shot. :beer:
[AT&T Samsung Galaxy S 4 General] jee'sgalaxy:
Yu probably have a faulty card. My recommendation is to get a new sd card because whatever you do to make the phone or computer to re read the SD card, youre only delaying the inevitable of having a failed sd card. I would stick to companies like sandisk, Kingston, or patriot. And please! Dont ever buy it on ebay.
[AT&T Samsung Galaxy S 4 General] sharpeyedman:
I had same problem with sd card.

It turned out it was not my two GS4s. It was not my SD cards either. It was kernels/ROM conflict. I used and tried custom ROMs from other gs4 variants and stock or custom kernels but problem persisted.

When I odin flashed back to stock to fix errors and then went with ATT variant custom ROMs and stock kernel. All the sdcard problems vanished.
[AT&T Samsung Galaxy S 4 General] saj222:
An update.

I ran chkdsk with the recommended switches and it completed without any errors. All seemed fine for 2 or 3 days and then the card unmounted. Sigh.

Was reading on another Android forum that naming/labeling the volume might/would solve the problem due the way Sammy code might work. So I labeled the volume on my W7 box and so far everything is good. (http://forums.androidcentral.com/t-...ro-sd-card-just-stopped-being-recognized.html)

I'll wait another few days and see what happens.

In the meantime, I've been looking for a local seller of Sammy microSD cards in the Greater Vancouver Area (Canada) but can't seem to find any. :confused:
[AT&T Samsung Galaxy S 4 General] Scott442:
I have had 2 SanDisks fail on my S4. One was a 16G I had for years on my S2 and the other was a 32G I got to replace it. I have since switched to a 64G Samsung card and have had no issues since.
[AT&T Samsung Galaxy S 4 General] entertainer99:
Samsung Plus 32GB microSDHC Card (class 10) vs SanDisk Ultra 16GB SDHC (class 10)

Hi XDA members,

OK. FIRST OF ALL I APOLOGIZE IF I HAVE POSTED IN THE WRONG THREAD, BUT HERE'S A GOOD SOLUTION.

Just wanna add in: There are compatibility issues (I had) with the SanDisk Ultra 16GB Class 10 SDHC card.

There seems to be an issue with Samsung's latest phones (i.e. Samsung Galaxy S3 and S4) using SanDisk's micro SD cards. Every 4 hours or so, my Galaxy S4 would show an error in the notification bar, saying "SD Card Unexpectedly Removed", and then "Preparing SD Card" (or sometimes "Preparing SD Card" does

not

even show up!) I always had to plug the card in to the SD card slot of my Macbook Air using SanDisk's micro SD card adapter and re-format the card. I've tested both FAT32 and exFAT and both posed problems. I gave up on the micro SD card and decided to buy a new Samsung Plus 32GB SDHC UHS-1 class 10 card. No issues ever since (I tested FAT32 so far for my new Samsung micro SD card, will test out exFAT).

My advice: for those who are having problems with their SanDisk micro SD cards, please switch to Samsung's very own Plus or Pro series of micro SDs.

From,

entertainer99
[AT&T Samsung Galaxy S 4 General] dexywexy:
I managed to find out what causes this. I was filming a video one day and the phone suddenly exhibited this exact behavior (mid recording), and then refused to remount the card no matter what I did (reboot, physically take the card out and put it back in after checking contacts, remounting through terminal).

I put the card into another phone (my friend's S3) and it worked fine. I stuck another card in my phone and it also worked just fine. It was the combination of that SanDisk 64GB card and my S4 that wasn't playing well together.

Figuring it was an OS problem, I booted into recovery (TWRP) and the phone was able to successfully read the contents of the card (via TWRP's file browser). I then looked through the contents of DCIM/Camera, and found a couple of files named ".fuse<hash digits>". These are metadata files left behind by the OS, and typically should disappear on their own. Think of them like lock files to signify that a program is still using a specific file -- or at least, that's how it works in regular Linux.

So I deleted those files, rebooted the phone, and the SD card mounted with no problems.

My hint was that, upon phone startup, I would be able to open the Gallery app and some photos from the SD card would start to load -- but at a certain point it would disconnect and refuse to mount the card again.

TL;DR delete ".fuse*" files on your SD card from recovery if your card disconnects and refuses to mount while showing the "Preparing SD card" message.
[AT&T Samsung Galaxy S 4 General] entertainer99:
Oh, I see what you mean. So it's a problem with the .fuse files on the SanDisk SD cards that causes the card to suddenly disconnect (i.e. either 4 hours later or 2–3 days later). Thanks for the clarification. :good:

From,

entertainer99
[AT&T Samsung Galaxy S 4 General] Bad_Wolfe:
chkdsk /F

chkdsk totally fixed my card! I have a polaroid card, 32gb. I woke it up and noticed it said "damaged card" I put it in a reader and at first my pc wouldn't read it. Ran a chkdsk /F and I was able to read it. backing all my stuff up now. I went out and got a 32gb samsung card new from best buy. It's a pretty old card so it may be on it's last legs any way.
[AT&T Samsung Galaxy S 4 General] hssh:
Yea i've had problems with Sandisk on the device too...
[AT&T Samsung Galaxy S 4 General] HORiZUN:
Ive had problems with SanDisk cards when you go over 16gb until I formatted to exfat with minitool partition wizard 7 (freeware)

Never had an issue, since. I never properly eject my cards, either.
[AT&T Samsung Galaxy S 4 General] crazymax1:
I went ahead and purchased the SanDisk 32GB Ultra. You might be thinking why I would do that? The newer SanDisk cards have a hard patch to address the coding issue on Samsung's end. I bought a cheap class 10 off Kijiji and it died as song as I tried to read data I transferred on it. The SanDisk? A week in I've transferred 10GB's of music and did two Nandroid backups and all is well so far. If this card does die then I know in confidence it will be replaced under warranty and a guaranteed patched one will be sent.

I've heard mention that the S4 has issues with class 10 cards and 64gb cards. Considering I have an 8GB class 4 card in there from July till last week, I think there may be some truth in that. I know at my local PC shop all the Samsung guys downgraded to class 4's and have had zero issues.
[AT&T Samsung Galaxy S 4 General] lg777:
I have 3 Galaxy S4's (I337m) in my family. All had problems with the Sandisk 64GB card I got through Amazon. Always get an unexpected card removed notification. Worked fine in the Note 2 though.

I bought a Samsung 64GB card as some had advised and not a problem since. I know people had different experiences but for me, changing the MicroSD card did the trick.
[AT&T Samsung Galaxy S 4 General] DiDA™:
I have this problem a lot of times and I fix it everytime with windows Command Prompt.

Open CMD as Administrator and type in this: chkdsk (Card letter): /f (/f stands for fix)

Ex: chkdsk w: /f

And it'll fix it without a problem!

I'm wondering if this can also be done on the phone itself?

And... if you want to recover files for some reasons then I suggest Partition Guru from eassos.
[AT&T Samsung Galaxy S 4 General] Runarsson:
I had a Transcend 32Gb class 4. For six months it worked perfectly in my Samsung Galaxy Note 10.1 until it was replaced with a Sandisk 64Gb and was put into my Samsung Galaxy S3 Mini... where it worked perfectly for another six months until I gave that phone to the wife and bought an S4 for myself. A week in that phone was more than the Transcend could handle. One day it was just gone from the file structure. The S4 couldn't see it. My computers couldn't see it, my Sony phones couldn't see it... and neither could the tablet or the S3 Mini, who both had had it as a storage partner for six months each without one single glitch.
[AT&T Samsung Galaxy S 4 General] sharpeyedman:
I had bought 5 of sandisk 64gb microdsxc from Amazon and another retail store. All of them failed in my gs4. Now I got 4 GS4s and they all failed in them. Not just in my GS4s but in Note 2 and note 8.0 as well.

Now I got Samsung, Lexar and Transcend 32GB and 64GB. They all work flawlessly.

I regreted so much spending hundreds on sandisk then I decided to RMAed all of them.

I had originally "made in China" but the replacements were made in Taiwan.

The replacements work flawlessly. Sandisk did admit that they manufacturered bad batches in the past. Good thing they have good warranty service.

Though I would now check and look for Korean made flash cards regardless of the brands. They seem to be working better.
[AT&T Samsung Galaxy S 4 General] Runarsson:
At work today during the weekly "what happened this weekend" talk I told my two IT colleagues about my SD-card problems this weekend. The answers I got there was "That happens to my S3 too." and "Sounds like the problem I have with my Note II."

I got a window yesterday when the card started to work again and the phone finally recognized it. First I tried to format it in the phone, but it returned to its non-working state an hour later. But last night it started working again so then I pushed it into the computer and did a "non-quick" FAT32 formatting. It has worked since then. Maybe too early to start dancing since it's only 18 hours ago, but it's at least the first time I've gotten it to work for 18 hours in a row since the problems started.
[AT&T Samsung Galaxy S 4 General] braschlosan:
Had this happen for the third damn time. Tmo m919 S4 with 64gb SanDisk. Card always gets corrupted when about 6-7gb of data is stored.

I'm getting really mad because some of the corrupted files are not replaceable. Check out attached screenshot, 90gb of files in that folder according to the file allocation table!
[AT&T Samsung Galaxy S 4 General] EpicMango:
Have had a 32GB Sandisk in mine since May and its still running strong not a single problem

Been flashing ROM's left and right and everything is still going good.
[AT&T Samsung Galaxy S 4 General] sg3love:
Hello

Sorry for your card my friend, I have no problem with any sd cards and s1 s2 s3 s4, but i assure you when ever you have a sd card and it doesnt work right away, return it and exchange it, there are a lot of faulty gadgets out there and a tiny chip being so complex can have numerous things that could have went wrong!
[AT&T Samsung Galaxy S 4 General] SelfElevated2:
And I don't think the s4 officially supports 64gb sd cards. Which could be another issue. People had to specially format them exfat for the phone to even be able to read them
[AT&T Samsung Galaxy S 4 General] drs155:
I also have a SanDisk 64gb ultra class 10 card that kept unmounting itself every 3 to 8 hours. Formatted exFat, Fat32, tried both several times but it always repeated. The card was doing the same in my s3 recently too. I finally read up here, and grabbed a Samsung 64 gb class 10/UHS1 card at best buy and copied everything over. Four days of heavy card use later and not one unmount or corrupt card error. Guess I'll be contacing Sandisk to get that card replaced.
[AT&T Samsung Galaxy S 4 General] shose:
Found the solution guys!

eject your card from device and connect it to the PC

When it reads it let it run repair! (yes this annoying popup that you always ignore and say "continue without fixing")

let it run and when it completes, insert back to your phone and watch the magic begin

p.s

dont worry if the fixing says it didnt find anything.. it supposed to say that (in my case anyway) and it fixed this problem

have fun (and thank me if I helped) =]
[AT&T Samsung Galaxy S 4 General] sharpeyedman:
Yes I got replacements from Sandisk and new ones made in taiwan work flawlessly:)

I have four galaxy s4s by the way and one galaxy note 2.
[AT&T Samsung Galaxy S 4 General] Runarsson:
There. Now my Samsung 32Gb has arrived. Many say that Samsung's own card is the medicine. Let's see if it's true... or if it's just another of these placebos, working for the ones who believe but useless for the ones who never let themselves hope for anything good in life. :p

*click*
[AT&T Samsung Galaxy S 4 General] curwiler:
I've used two SD cards over the past few years in my S2 and *never* had this problem. Since I've had my S4, I've seen both my 16GB and 8GB cards go "damaged" by shutting off the phone, then later powering it back up to see this wonderful message.

The only fix for me in these cases has been to remove the card from the phone, put it in my computer, run chkdsk to try and recover what was on it, then reformat.

I guess I need to remove the damn card before I power down, and the only recommendation I would make to anyone reading this thread (if you aren't lucky enough to be able to browse the files in TWRP as a post above states).

I'll be backing up the SD card to another device as often as I can.

Frustrated.
[AT&T Samsung Galaxy S 4 General] wonner:
I just stumbled upon this link and was unsure if it even related to this thread. If it is unrelated, I was thinking maybe it should have it's own thread so more people see it.

http://www.gottabemobile.com/2014/0...ote-3-android-4-4-problem-hits-micro-sd-card/
[AT&T Samsung Galaxy S 4 General] GGXtreme:
Have had 16GB Transcend, 16GB SanDisk, two 64GB SanDisk and two 64GB Samsung SD cards go bad across two S4's at a rate of about 1 per month, and my S4 spends 90% of the time in my pocket or charging next to my bed (luckily and unluckily I had my data backed up from all but one of the cards). I've only ever had one card go bad before the S4, a 4GB PNY in my Samsung Epix. I'm tired of re-copying and sorting my files over and over again, and obviously if replacing the phone and card multiple times doesn't solve the issue, I should be looking for a new device :(
[AT&T Samsung Galaxy S 4 General] scandiun:
I had also a Patriot class 10 microsd 32GB and stopped suddenly while on the S4. Tried to connect to the computer but apparently is fried or something. Lost all data there. :( Some guys say to buy Samsung only microsd cards.
[AT&T Samsung Galaxy S 4 General] Runarsson:
I listened to that adviced too. With my Transcend 32Gb, that worked flawlessy in a Galaxy Note 10.1 and in a Galaxy S3 Mini, I could get 15-25 of these "Unexpectedly removed" and "Preparing" messages a day (see picture). Now I have had a Samsung 32Gb for a month and I haven't seen one single of these messages since I clicked it in. It doesn't seem to be a myth... :good: