Chkdsk tool? - Windows Mobile Development and Hacking General

Is there any tool like chkdsk (DOS) in order to validate a SD card?

Try Storage Tools. You can get it at www.softwinter.com.

Related

Can the Broken 1GB SD Card be fix?

i have ridata pro 1GB SD Card 66x that is broken, the problem is it can only store 28mb after 28mb it will say that the card is not working properly. can this be fix?
IF you have a card reader/writer, then format it on Windows XP or whatever OS, then go to command prompt and type:
CHKDSK I: /R
(I: is the drive letter of your SD card reader/writer)
The /R option will check the disk for physical errors & replace bad clusters with hidden files, so the device will avoid reading/writing to these corrupted clusters (skipping).
Im glad that there is still a possible solution for my 1GB but why not using pocket pc to format SD? like resco explorer it has a sd format option.
yes you can, but formatting your SD card on Windows make it possible for the File System to locate bad sectors in the SD & mark them in the FAT allocation table as hidden files, so your PPC OS won't get stuck while accessing the bad areas on your SD!
I recommend the Windows format.
Thanks! ill do that! hope it works..
It shall work; because it works with hard drives!
They both have the same storage techniques (clusters, sectors, FAT allocation table, ... ) 8)
i believe there is an app called MMC medic.. maybe it can help you somehow and retrieve some lost files..

how to format SD Card in "OS mode"?

Using Resco and trying to format 8GB SDHC gives me an error, "cannot format selected storgae card. Cehck if your card is unlocked. I've searched around but found nothing, how the heck to unlock a Micro SD card?
cheers
Try the free Storage Tools from www.softwinter.com
I used it on my 16 gig SD card with no problems - it fixed some fault.
Try to format it on a desktop/laptop
no format via resco explorergo to settings-connections-USB TO PC, select SD CARD MODE, then go to desktop, and use the standard formating way, NO QUICK FORMATING. this sure work. i did it .

SD Formatter

My Windows seems to be unable to unpartition and format a partitioned SD card. So I always had to get some linux live CD to perform the job. Now I found a tool that can do that fast in windows. So for all who like me are not the linux pros here it is:
https://www.sdcard.org/downloads/formatter_3/

HOW TO - 64GB exFAT SDXC card ruined by Cyanogenmod - how to get data back

I am writing this n00b friendly howto for anybody who will encounter similar problem that I had, since I couldn't find much info how to solve it on this forum.
Recently I have flashed CM9 and later CM10 preview on my Galaxy S3 I9300 with 64 GB Sandisk SDXC card. The card was formatted in Samsung stock ROM, so naturally, it was formatted as exFAT. CM9 and CM10 reported it as "damaged SD card", but this was expected, since open source AOSP ROMs do not support exFAT. However, when restored to original stock ROM via CWM recovery, the stock ROM was showing "damaged SD card" error, too! Not sure why this has happened - the only info I found was someone mentioning that "CM9 is known to do this on exFAT cards" on this forum.
Connecting the card (via adapter and card reader) to computer didn't help - it showed as a RAW partition, Windows was asking to format it and even reported incorrect size. Trying about 7 different open source and commercial recovery tools did not help. However, if booted to recovery mode, CWM could see the card just perfectly!
So this is how to get the data back:
1. Boot to CWM recovery mode (power off the phone, then hold Volume Up-Home-Power buttons for 5 sec)
2. When in CWM recovery mode, connect phone via USB to computer. The phone should be recognized and drivers installed (if not already).
Note: I had problems with Windows recognizing the phone in recovery mode on some PCs (only 1 out of 3 worked, actually). To solve this, installed drivers from Samsung Galaxy S3 Toolkit (first step after toolkit installation) and problem gone: http://forum.xda-developers.com/showthread.php?t=1703488
3. Run adb command (from Android SDK platform tools) to ensure that the phone is visible to operating system - it should show serial number of the device and "recovery" next to it:
adb.exe devices
4. Browse the phone to find the location of sdcard (mine was /sdcard):
adb.exe shell
Note: when first time connected to phone via "adb.exe shell", running "ls" in /sdcard directory came out empty. Had to "exit" from shell and do "adb.exe shell" again.
5. Pull the files from your device using "adb.exe pull" command:
adb.exe pull /sdcard c:\temp
replace /sdcard with your sdcard directory on the phone (if different) and c:\temp with other folder on your PC, if you wish.
That's it! After files are copied, reboot to stock ROM and reformat the card. You can now copy all data back to it from your PC!
Now I'm trying to find a way to format the card to FAT32. Seems not so straightforward with 64GB cards!
Sincerely,
satanxda
Man! pity I didn't read this before I formatted my "damaged" card ... good to know there's solution for future
Wysyłane z mojego GT-I9300 za pomocą Tapatalk 2
Yeah this needs to be listed in one of the stickies
Sent from my GT-I9300 using xda app-developers app
I had the same problem. From stock went to CM10, exFat got corrupted and then went back to Stock still external storage card showed as damaged.
I took the SD card out and put in adapter and then connected to PC. Then from command prompt ran chkdsk <Drive_Letter:> /f and it fixed the errors without me copying the files to PC.
Hope this helps.
And to format 64GB sd card from exFAT to FAT32, use guiformat tool or EaseUS partition master. I have formatted my card to FAT32 using EaseUS partition master.
Sent from my GT-I9300 using xda app-developers app
With this problem you can restore data in more easily way.
Insert your SDcard in CardReader, connect to PC, run Command line (cmd) and type:
chkdsk X: /f ,
where X is your card volume name. After operations is complete, you can use you card again and NO data had been lost.
Sorry for my bad english.
mahendra1020 said:
And to format 64GB sd card from exFAT to FAT32, use guiformat tool or EaseUS partition master. I have formatted my card to FAT32 using EaseUS partition master.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Tried it before posting this howto, but EaseUS didn't see the card at all. Windows disk manager in the meantime reported incorrect size (27 GB for a 64 GB card) and when formatted with guiformat I got a 27 GB partition. Could be a problem with card reader - will try another one as soon as I get my hands on one ;]
mahendra1020, magicm3n: in my case using chkdsk was not possible, since Windows showed the SD card as a disk with not formatted RAW partition (suggested to format it). To run chkdsk, partition type must be recognized.
And by the way, thanks everyone for comments and suggestions!
Sincerely,
satanxda
satanxda said:
Tried it before posting this howto, but EaseUS didn't see the card at all. Windows disk manager in the meantime reported incorrect size (27 GB for a 64 GB card) and when formatted with guiformat I got a 27 GB partition. Could be a problem with card reader - will try another one as soon as I get my hands on one ;]
mahendra1020, magicm3n: in my case using chkdsk was not possible, since Windows showed the SD card as a disk with not formatted RAW partition (suggested to format it). To run chkdsk, partition type must be recognized.
And by the way, thanks everyone for comments and suggestions!
Sincerely,
satanxda
Click to expand...
Click to collapse
Yeah even in my case windows showed sd card as not formatted but chkdsk still works.
Try /f instead of /r as arguments for chkdsk.
Are u formatting as fat or fat32? For me both the tool worked.
Sent from my GT-I9300 using xda app-developers app
mahendra1020 said:
Yeah even in my case windows showed sd card as not formatted but chkdsk still works.
Try /f instead of /r as arguments for chkdsk.
Are u formatting as fat or fat32? For me both the tool worked.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Probably you are right. Checkdisk button was disabled for me when right-clicking->Properties on the drive, but anyway Windows was reporting wrong size of the card, so I didn't want to risk forcing repairing and didn't invest too much time to that. But as I said, maybe it's the problem of my quite old SD card reader
By the way, successfully formatted from exFAT to FAT32 by using this Android tweak to mount the SD card as USB Mass Storage device on PC (so basically turning the phone itself into a card reader) and formatting in Windows with guiformat:
http://forum.xda-developers.com/showthread.php?t=1711009
http://www.ridgecrop.demon.co.uk/guiformat.htm
Sincerely,
satanxda
And did you get CM10 to read all of the 64 gigabytes?
For me CM cannot read the SD card over 32 gb.
Formatted my 64gb SDCard using EASEUS Partition Master to FAT32.
CM9 recognizes all the 59GB+, reads and writes on the card just fine. Didn't install CM10 yet, so don't know if that will work...
FWIW; the Chkdsk /f command did fix mine, and just as well, cause nothing I did (on multiple machines) could get the darn thing to mount in CWM.
yep, chkdsk does fix my 16g exFat card, and it works back just fine now. and before, i tried the CWM way twice, nothing i could pull up, os hints "remote object '/sdcard' not a file or directory"
I've had the same issue, and am really struggling to get anywhere at all with it...
I tried the method in the first post, but running ls on /extSdCard just gives an empty directory...
When I mount it in a reader in windows, it reports zero size and a 'please insert disc into Removable Disc (E: )' when I try and open it...
Even when I just threw my hands up and said 'ok phone, format it' it just says 'unmounting SD card' and then just backs into the normal screen.
At my wits end with this, I suspect the card might be fried, but want to get in if possible as it has my only stock backup!
Running the most recent CM9
kmfs said:
I tried the method in the first post, but running ls on /extSdCard just gives an empty directory...
Click to expand...
Click to collapse
What about /storage/extSdCard/ ?
Kangburra said:
What about /storage/extSdCard/ ?
Click to expand...
Click to collapse
hmm, well storage isn't part of the structure when is run ls after using 'adb.exe shell'
tried it anyway, get 'can't cd to /storage/extSdCard'
interestingly, when I try and get into just the 'sdcard', which I guess is just the internal storage?
I run 'cd sdcard' and the folder that I get into is /data/media
this is confusing, anybody any ideas?
mahendra1020 said:
I had the same problem. From stock went to CM10, exFat got corrupted and then went back to Stock still external storage card showed as damaged.
I took the SD card out and put in adapter and then connected to PC. Then from command prompt ran chkdsk <Drive_Letter:> /f and it fixed the errors without me copying the files to PC.
Hope this helps.
Click to expand...
Click to collapse
Please add this simple info to the OP!
P.S.
Windows 7 said the volume is in use and if I wanted to dismount it before it would allow to continue checking/fixing it. But at the end it worked perfectly!
Thank you very much! I had so much stuff on this card that I haven't backed up yet..phew
Thank you for this guide. Help me get all my data of my "Damaged" 64GB sdxc card
I have the same issue. Flashed CM10 M2 on my tmobile S3, got the error that SD card is damaged, restored stock image from backup, and I'm still getting the bad SD card error. I'm using CWM 6.0.1.2 and mounting the external SD failed. I don't see the contents when I connect through ADB. Mounting sdcard from CWM mounts /sdcard but that is the internal storage which is not what I want. I also tried connecting the card to my laptop running XP using a micro-SD card reader and running chkdsk but that reported the disk as a RAW partition. Any ideas on what else I can do to copy files off of the card?
The method mentioned in OP worked for me, using a macbook air with mountain lion and android sdk for adb installed.
After mounting the external sdcard in cwm and copying the files via adb I partitioned the sdcard (sandisk 64gb sdhx) with the inbuild harddiskmanager in mountain lion. You have to choose FAT (MS-DOS), it will choose fat32 automatically. After partitioning and formating the sdcard the card is recognized under cm10 and samsung firmwares.
OSX has no 32gb limit on fat32.

Sd card damaged

I am using s4.my sd card showing sd card is damaged.try reformatting...wt to do??looking for help
sujith911 said:
I am using s4.my sd card showing sd card is damaged.try reformatting...wt to do??looking for help
Click to expand...
Click to collapse
Try this:
Put the sd card in your pc or connect it via a cardreader.
open cmd. (start button on the left side, then type cmd and press enter)
type the following command:
"chkdsk /X /F <sd card>" (so f.e. if your card is named G: then type "chkdsk /X /F G:") without the " ofc
hit enter and wait for it to finish.
Your data will NOT be erased by doing so!
Tell me if that works for you and just hit the thanks button bellow if I helped you
What does this really do to the SD card
The chkdsk command given forces the MicroSD to be dismounted as if it was removed, then the command checks for errors and fixes them. Naturally, this applies only to Windows. Linux and iOS will have their own commands.
To add to the advice given, download SDFormatter for Windows from sdcard.org and install it. Remove all files from the card and store them in a folder on the PC. Then format the card using SDFormatter. Afterward, replace the files and place the card back in the phone.
sujith911 said:
I am using s4.my sd card showing sd card is damaged.try reformatting...wt to do??looking for help
Click to expand...
Click to collapse
Figured it out?

Categories

Resources