Need help about sd card asap - General Questions and Answers

Yesterday, I dumped the whole internal memory of my phone into the SD Card by using the command:
#dd if=/dev/block/mmcblk0 of=/storage/sdcard1/dump.img
Next day, when I rebooted the phone, I was greeted with the message "SD Card is damaged. Try reformatting it." When I pressed format, it showed "Erasing SD Card" and after sometime the message appeared again.
So, I brought out the SD Card and put into my computer (by inserting it into a dongle; as I don't have an adapter). Astonishingly, I could read all data of the SD Card, but couldn't write to it. Any file I place there, disappears after refreshing. When I tried to format the card, a window appeared saying "Windows cannot format this device".
So, I googled a bit about these and did the following things:
1. Used a third-party formatting software (SDFormatter by SD Association) : It says that the USB is write protected.
2. Checked the SD card for any physical write protection switch : There was none.
3. Ran the disk management by right clicking "My Computer" > Manage : It gives the same error that the disk cannot be formatted.
3. Tried to delete the volume and create a new simple volume from disk management : The "Delete Volume" button is not clickable
4. Used the diskpart utility to create a new partition by the command "CREATE PARTITION PRIMARY" : It does not work. It says that "No usable free extent could be found. It could be that ....." etc.
5. Tried to clear read-only mode by using "attributes disk clear readonly" from diskpart : Even after that the disk is not writable
6. Tried to use chkdsk from command prompt : It gives an error in the middle everytime saying that "/dump.img is a false link" and after that the disk becomes non-readable and chkdsk crashes, saying that the source files could not be read.
So, please help me. The card was not physically damaged in any way, so it must be possible to bring it back to its original state. Any help is appreciated.
Additional information:
My SD Card: Sandisk 16 GB microSDHC
My Phone: Panasonic P55 , Android 4.4.2 Kitkat
My Computer: Windows 7 & PCLinuxOS
Thanks in advance.

Related

How to repair corrupted sd card?

does anyone know how to undelete or repair an sd card? It's happened a few times and I usually format and start over. Any help would be appreciated.
Chris
undelete-plus
Try this
http://undelete-plus.com/
yeah when connected to a sdcard reader any pc undelete software will work on it
like the link AthenaLod gave
Rudegar said:
yeah when connected to a sdcard reader any pc undelete software will work on it
like the link AthenaLod gave
Click to expand...
Click to collapse
thanks I will give it a go....
Chris
If you have problems with your memory card in 80% of all cases the controller of your card is damaged and no software or card reader can help. You must separate the memory chip and dump the raw data to recover your data, look here: CF xD SD memory card/stick photo recovery
Repairing a corrupted SD card.
If the SD card is corrupted then it will be because it has boot sector errors. Download DriveRestore Professional and you can scan your corrupted card for errors... you can then repair the card's errors when the product is activated. You can download a free trial at: www.pcrecovery.com/driverestore
don t format in the name of GOD!!!
Please all keep in mind>>>> drive recovery pro is a nice solution,but formatting a hard drive is ok,and important.NOT A SD CARD!!!The continous files are different from the usual hard drive files!!
NO NEED FORMATTING!!!
In fact>>formatting an SD card lower the life time of the card with a good year or more!!Anyhow they made to survive only around two years!!!
The continous upload and erase sssions are killing the SD card.BUT FORMATTING IS TH BIGGEST KILLER.Check the experts,what they say???
Corrupted cards can be deffected from factory as wel,but drive check and restore is the best.The sectors are damaged,and not the fragmantation....
helios
Repairing a corrupted SD card.
DriveRestore Professional will not re-format a corrupted SD card. Formatting is NOT recommended as formatting will erase all the data on the SD card. DriveRestore Professional will analyse the boot sector (that ALL drives have e.g. FAT16 and FAT32 file systems on an SD card), it will detect errors in the boot sector and then repair the errors. When the card is repaired, ALL the files will be accessible and the card is fully repaired.
Sometimes the filesystem on the card gets corrupted. It can happen for example if the card was ejected while a file operation on it was in progress. When that happens you might have trouble accessing some of the files, loading times for some directories in file explorer may be very slow.
You can attempt to fix it using the desktop windows' built-in chkdsk utility.
Open up command prompt (start->run->cmd.exe) and type
chkdsk /X /F <SD card drive letter>
My SD card reader is X:\ drive, so i wold use the following command:
chkdsk /X /F X:
SD card reader is recommended, but probably not necessary because it should also work with WinMo's built-in USB mass storage function or wm5torage.
Under linux you can check/fix the card's filesysterm and in some cases undelete a file using fsck.vfat or dosfsck (single tool, two possible names). Refer to its help for more details.
mr_deimos said:
Sometimes the filesystem on the card gets corrupted. It can happen for example if the card was ejected while a file operation on it was in progress. When that happens you might have trouble accessing some of the files, loading times for some directories in file explorer may be very slow.
You can attempt to fix it using the desktop windows' built-in chkdsk utility.
Open up command prompt (start->run->cmd.exe) and type
chkdsk /X /F <SD card drive letter>
My SD card reader is X:\ drive, so i wold use the following command:
chkdsk /X /F X:
SD card reader is recommended, but probably not necessary because it should also work with WinMo's built-in USB mass storage function or wm5torage.
Under linux you can check/fix the card's filesysterm and in some cases undelete a file using fsck.vfat or dosfsck (single tool, two possible names). Refer to its help for more details.
Click to expand...
Click to collapse
Thank you man, you are a life saver.....
mr_deimos said:
Sometimes the filesystem on the card gets corrupted. It can happen for example if the card was ejected while a file operation on it was in progress. When that happens you might have trouble accessing some of the files, loading times for some directories in file explorer may be very slow.
You can attempt to fix it using the desktop windows' built-in chkdsk utility.
Open up command prompt (start->run->cmd.exe) and type
chkdsk /X /F <SD card drive letter>
My SD card reader is X:\ drive, so i wold use the following command:
chkdsk /X /F X:
SD card reader is recommended, but probably not necessary because it should also work with WinMo's built-in USB mass storage function or wm5torage.
Under linux you can check/fix the card's filesysterm and in some cases undelete a file using fsck.vfat or dosfsck (single tool, two possible names). Refer to its help for more details.
Click to expand...
Click to collapse
wow..thankz
AthenaLod said:
Try this
http://undelete-plus.com/
Click to expand...
Click to collapse
Thanks for sharing.....
I only recently became a (sort of) expert on this as I had a corrupted NTFS bootable partition on my macbook pro with a messed up Master File Table. Man, that was a nightmare.
Anyway, the answer to this question varies greatly depending on the filesystem and the type of corruption you have. Standard Chkdsk might work (the windows utility) although I admit I have no idea how well that works on flash removable media.
Other good options are TestDisk, and there are some other free options out there.
Depending on how important your data is to you and how severe the corruption is you may need to go with a paid application. This is what I had to do because Master File Table corruptions in NTFS are particularly nasty (although some versions of them can be corrected by TestDisk). I recommend GetDataBack which worked great for me.
In any case, try TestDisk out because its a very powerful tool and it is totally free. Read up on the documentation before playing around with it though, because you can cause irreparable damage to any one of your disks if you don't know what you are doing. Ideally make an image of your card using dd (built in linux utility, just type 'man dd' at the cmd line) before attempting to fix it so you can't do anything you can't undo.
hey i formatted my card using card studio in qtek 9100 it formatted 100 % but when i attached it on the card reader then to PC! PC doesn't show this cardddddd help meeee
Instructions
things you'll need:
* SD Card
* Computer
* Internet Connection
*1
If your aim is to repair a corrupted SD card so that you can use it to store files then proceed to step #2.
If your aim is to recover the files on the SD card without erasing them, proceed to step #5.
*2
Insert the SD card into a digital camera card slot and choose to format your card. If this doesn't work then move on to the next step...
*3
Place the SD card into your computers SD card slot.
Right click on the SD card drive letter IF it appears and choose to "format."
If this doesn't work, proceed to the next step...
*4
www.sdcard.org
You will need to go to the website
http://www.sdcard.org/consumers/formatter/eula/
Here you will download, install, and run the program to format your SD card. This is the most advanced step of the three, but most likely to work 99% of the time.
*5
www.cgsecurity.org
If you want to recover files ON your SD without erasing them, then you need to download and run the software on this site.
http://www.cgsecurity.org/wiki/TestDisk_Download
This is the best free software available for this type of problem.
thanks mr deimos for the chkdsk tip.this tip is way quicker fix than the programs mentioned in other posts in this thread
yeah, thanks guys for all your advice and help
mr_deimos said:
Sometimes the filesystem on the card gets corrupted. It can happen for example if the card was ejected while a file operation on it was in progress. When that happens you might have trouble accessing some of the files, loading times for some directories in file explorer may be very slow.
You can attempt to fix it using the desktop windows' built-in chkdsk utility.
Open up command prompt (start->run->cmd.exe) and type
chkdsk /X /F <SD card drive letter>
My SD card reader is X:\ drive, so i wold use the following command:
chkdsk /X /F X:
SD card reader is recommended, but probably not necessary because it should also work with WinMo's built-in USB mass storage function or wm5torage.
Under linux you can check/fix the card's filesysterm and in some cases undelete a file using fsck.vfat or dosfsck (single tool, two possible names). Refer to its help for more details.
Click to expand...
Click to collapse
Thank you for this, saved my uSD card after flashing a kernel messed it up!
On Linux you can try dd_rescue. It creates copy like normal dd but it does not abort on errors.
Copy card to file and then mount this file like drive
Thanks for the chkdsk /X /F
I just had a currupted sd card this morning and was banging my head until I saw this and it fixed it.
THANK YOU!!!!!!!!!!!!!!!!!!!

[Solved] Formatted SD Card will not mount.

I just formatted my SD Card through the settings menu and now it won't mount. When I hit "mount" it says "Preparing SD Card" in the notification bar, followed immediately by "SD Card safe to remove" and "Blank SD Card."
Anyone know a way around this? I can't use so many apps because they require the SD card
Edit: I solved this by putting the card on a camera. It magically reappeared.
format settings
hey at first on which phone ?
and have you tried formatting the SD at the pc @ FAT32 ?
greets
It's on a mytouch 4G with cyanogenmod 6.1 and I can't mount it on the pc (windows 7 x64) or right click anything to format because it won't recognize it. I've tried a lot from other threads and google searches like uninstalling and reinstalling the disk drive driver in device manager and rebooting everything and doing multiple battery pulls :/
Try this:
VanKlomp said:
To fix the SD cards I booted into Ubuntu Linux, opened terminal and then;
1. Boot into Linux
2. Open Terminal
3. type 'sudo killall hald' and press enter
4. type 'sudo dd if=/dev/zero of=/dev/sdb' and press enter (this took about 20 mins per card)
5. Used GParted to recreate the MBR and format the volumes.
Click to expand...
Click to collapse
Worked for me.
I don't have Linux..

[Completed] Help needed : SD card is damaged. Try reformatting it

In the morning, I received Damaged SD card error message read "SD card is damaged. Try reformatting it." when I attempted to share some pictures on my phone through Facebook. When I clicked in, Android reminded me that "Format SD card? All data on your card will be lost". I didn’t format the card as there were so many important files including hundreds of pictures.
I tried to put the card in cardreader and connected to PC to run below command:
chkdsk /x /f D:
And got the below results:
The type of the file system is FAT32.
Volume Serial Number is 56A7-5C9F
Windows is verifying files and folders...
\mtklog\aee_exp\temp\db.UO5009\SYS_INTERRUPTS first allocation unit is not vali
d. The entry will be truncated.
\mtklog\aee_exp\temp\db.UO5009\SYS_ANDROID_LOG first allocation unit is not val
id. The entry will be truncated.
Please...Please help me...
rakeshsharma7 said:
In the morning, I received Damaged SD card error message read "SD card is damaged. Try reformatting it." when I attempted to share some pictures on my phone through Facebook. When I clicked in, Android reminded me that "Format SD card? All data on your card will be lost". I didn’t format the card as there were so many important files including hundreds of pictures.
I tried to put the card in cardreader and connected to PC to run below command:
chkdsk /x /f D:
And got the below results:
The type of the file system is FAT32.
Volume Serial Number is 56A7-5C9F
Windows is verifying files and folders...
\mtklog\aee_exp\temp\db.UO5009\SYS_INTERRUPTS first allocation unit is not vali
d. The entry will be truncated.
\mtklog\aee_exp\temp\db.UO5009\SYS_ANDROID_LOG first allocation unit is not val
id. The entry will be truncated.
Please...Please help me...
Click to expand...
Click to collapse
Hello,
You may try posting your query here Ask any Q noobfriendly with all relevant info, the experts there maybe able to assist you.
-Vatsal

Android via MTP completely bugged my micro sd card

I was reorganizing files on my computer and sd card. For this i had to delete lots of stuff, etc. MTP was being slow so i decided to remove the micro sd card and use a card reader instead to speed things up.
Something screwed up real bad. Now the card is locked. When i plug in the card reader i can see and read the files, i can delete them, delete everything, but when i plug in the card back again - as if nothing happened.
The native format from windows explorer fails to start. It reports an error: The device, \Device\Harddisk5\DR20, has a bad block.
The diskpart utility fails as well with an error: Cannot zero sectors on disk \\?\PhysicalDrive3. Error code: [email protected]
SD Memory Card Formatter from sdcard org - this program succeeds in format without errors, but when i unplug in insert card - everything is the same
The Disk Wipe - Portable v1.7 program succeeds in format, but again - when reinsert the card - everything is back as it were.
When i reinsert the card in the phone, the phone will initiate a 'check for errors', take a lot of time, won't report any errors found and eventually the thing says card is mounted. But when i attempt to access it - the File Manager hangs and needs to close. If i try to unmount the card, the process take a lot of time so i just unplug it.
What can be done? Never had problems with this card, this thing occurred just now. It's unbelievable.
EDIT: Disk Wipe failed as well - said all NTFS boot sectors unwriteable.
Same here!
asldj said:
I was reorganizing files on my computer and sd card. For this i had to delete lots of stuff, etc. MTP was being slow so i decided to remove the micro sd card and use a card reader instead to speed things up.
Something screwed up real bad. Now the card is locked. When i plug in the card reader i can see and read the files, i can delete them, delete everything, but when i plug in the card back again - as if nothing happened.
The native format from windows explorer fails to start. It reports an error: The device, \Device\Harddisk5\DR20, has a bad block.
The diskpart utility fails as well with an error: Cannot zero sectors on disk \\?\PhysicalDrive3. Error code: [email protected]
SD Memory Card Formatter from sdcard org - this program succeeds in format without errors, but when i unplug in insert card - everything is the same
The Disk Wipe - Portable v1.7 program succeeds in format, but again - when reinsert the card - everything is back as it were.
When i reinsert the card in the phone, the phone will initiate a 'check for errors', take a lot of time, won't report any errors found and eventually the thing says card is mounted. But when i attempt to access it - the File Manager hangs and needs to close. If i try to unmount the card, the process take a lot of time so i just unplug it.
What can be done? Never had problems with this card, this thing occurred just now. It's unbelievable.
EDIT: Disk Wipe failed as well - said all NTFS boot sectors unwriteable.
Click to expand...
Click to collapse
I have this exact same problem. 8Gb SD Card on Card reader, something went worng, now the files that are there, never change. I can't put new files, if I delete old ones they come back after un-plug and plug-in again.
I was able to make "something" happen, after a while, I reformatted it in exFAT and then again to FAT32. The Old drive name did change to the new one I've selected, and the files are gone, but now it's completely empty it says all the space 7,50 Gb is free, but I can't access it, nor can I clean the partition table using Diskpart, I get Access Denied (as admin and readonly=no) error and on Event Viewer I get error [email protected]
Anyone? Please? Save our Flash drives? Thanks.
I know this thread is old but it's the first result on Google when searching for the error code, so I'm posting my reply. Someone on Spiceworks linked to this tool. It formatted my broken SD card that had this exact issue, and now I can use the card again like normal.

SD card will not (actually) format

Hello,
so I have this SanDisk Ultra 32 GB MicroSD card that I wanted to move to another Android phone but no matter what I do I cannot properly erase the files that are written on it. Every time I format the card the process seemingly completes without errors and you get the "card ready for use blah blah blah" message but the files are still there like nothing happened.
I tried to format it on the new phone -> files still there, 13GB out of 30ish space free
I tried to format it on the old phone -> files still there., 13GB out of 30ish space free
I connected the old phone as mass storage to PC:
- a dialog appears if I want to check sdcard for errors -> no errors found
- tried to format by right clicking in My Computer > H: drive > fast format -> files still there, 13GB out of 30ish space free
- tried to format by right clicking in My Computer > H: drive > full format -> files still there, 13GB out of 30ish space free
- ran chkdsk -> no errors
After searching for some answers I tried:
1) diskpart > attributes disk clear readonly
2) diskpart > clean
3) computer management tool > new simple volume
4) sdcard shows as empty on PC with full 30ish space free
5) disconnected from PC -> in Android the files are still there, 13GB out of 30ish space free (same after phone reboot)
6) reconnected to PC as mass storage -> files still there, 13GB out of 30ish space free
So I repeated the whole process with diskpart and computer management tool but this time before disconnecting from PC I created a test txt file on the empty SD card. After disconnecting from PC the test txt file was gone while old files were back yet again.
I also checked if there's a physical readonly switch on the card itself but couldn't find any, so I guess there isn't.
I'm thinking that maybe the card is busted, but if it is, why isn't it showing any errors?
CuriousJack said:
Hello,
so I have this SanDisk Ultra 32 GB MicroSD card that I wanted to move to another Android phone but no matter what I do I cannot properly erase the files that are written on it. Every time I format the card the process seemingly completes without errors and you get the "card ready for use blah blah blah" message but the files are still there like nothing happened.
I tried to format it on the new phone -> files still there, 13GB out of 30ish space free
I tried to format it on the old phone -> files still there., 13GB out of 30ish space free
I connected the old phone as mass storage to PC:
- a dialog appears if I want to check sdcard for errors -> no errors found
- tried to format by right clicking in My Computer > H: drive > fast format -> files still there, 13GB out of 30ish space free
- tried to format by right clicking in My Computer > H: drive > full format -> files still there, 13GB out of 30ish space free
- ran chkdsk -> no errors
After searching for some answers I tried:
1) diskpart > attributes disk clear readonly
2) diskpart > clean
3) computer management tool > new simple volume
4) sdcard shows as empty on PC with full 30ish space free
5) disconnected from PC -> in Android the files are still there, 13GB out of 30ish space free (same after phone reboot)
6) reconnected to PC as mass storage -> files still there, 13GB out of 30ish space free
So I repeated the whole process with diskpart and computer management tool but this time before disconnecting from PC I created a test txt file on the empty SD card. After disconnecting from PC the test txt file was gone while old files were back yet again.
I also checked if there's a physical readonly switch on the card itself but couldn't find any, so I guess there isn't.
I'm thinking that maybe the card is busted, but if it is, why isn't it showing any errors?
Click to expand...
Click to collapse
Use the PC to directly format the sdcard instead of trying to do it through the device or trying to do it with PC connected to the device. Use a card reader. Also, make sure the sdcard isn't encrypted or right protected.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Use the PC to directly format the sdcard instead of trying to do it through the device or trying to do it with PC connected to the device. Use a card reader. Also, make sure the sdcard isn't encrypted or right protected.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
I don't have a card reader, that's why I'm connecting it through a phone. Wouldn't the mass storage option be essentially the same as putting the card in a card reader (the phone has Android 5, which still has the mass storage capability)?
I also noticed that I cannot even create a new folder on the card from within Android. Built in file explorer says "some file operation failed", Astro says "could not write file".
CuriousJack said:
I don't have a card reader, that's why I'm connecting it through a phone. Wouldn't the mass storage option be essentially the same as putting the card in a card reader (the phone has Android 5, which still has the mass storage capability)?
I also noticed that I cannot even create a new folder on the card from within Android. Built in file explorer says "some file operation failed", Astro says "could not write file".
Click to expand...
Click to collapse
It sounds to me like the sdcard has been "write protected", in other words, it is set to read-only and needs to be set to read/write, look for methods to remove the write protection to return it to read/write status.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
It sounds to me like the sdcard has been "write protected", in other words, it is set to read-only and needs to be set to read/write, look for methods to remove the write protection to return it to read/write status.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Could the write protection be caused by the fact that I used to move apps to SD onto this sdcard (the old "move to sd" option, not adoptable storage)? I moved all apps to internal storage and set internal storage as the default install location prior to the first format attempt but dunno if it was enough.
CuriousJack said:
Could the write protection be caused by the fact that I used to move apps to SD onto this sdcard (the old "move to sd" option, not adoptable storage)? I moved all apps to internal storage and set internal storage as the default install location prior to the first format attempt but dunno if it was enough.
Click to expand...
Click to collapse
If you mean the standard "move to sd" option in the app info page in system settings>apps settings, I doubt that is the issue.
If you used some kind of mod like Link2SD, that might be part of the issue.
If you moved system apps to SD, that also might be part of the issue.
Try factory resetting the device then see if it will format the card.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
If you mean the standard "move to sd" option in the app info page in system settings>apps settings, I doubt that is the issue.
If you used some kind of mod like Link2SD, that might be part of the issue.
If you moved system apps to SD, that also might be part of the issue.
Try factory resetting the device then see if it will format the card.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Just the standard "move to SD" option and I didn't touch any system apps. Also the phone wasn't rooted.
Now I'm trying to format the card using SD Formatter but it seems to be stuck at 0%.
Is there a piece of software that could tell me if the card is out of write cycles or generally check its health?
CuriousJack said:
Just the standard "move to SD" option and I didn't touch any system apps. Also the phone wasn't rooted.
Now I'm trying to format the card using SD Formatter but it seems to be stuck at 0%.
Click to expand...
Click to collapse
With the sdcard inserted in your phone, boot to stock recovery and select the factory reset option, after you reset the device, then choose the option to wipe cache partition. After resetting and wiping, reboot into system and try formatting the sdcard.
The reason I say to do this is because it will remove any settings or cached files that might be causing the issue.
Sent from my SM-S767VL using Tapatalk

Categories

Resources