Related
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!!!!!!!!!!!!!!!!!!!
Hi,
I have sucessfully moved my apps and caches to my 1.6gb ext2 partiton on my 8gb sd card.
I would like to back up the ext2 partition in case my sdcard fails.
How do I do this in windows xp?
Thanks
I'd love to find out how to do something similar. I just got an 8 GB card that I'd like to replace my 2 GB card with, basically, I'd like to clone the whole thing over.
Anyone have any ideas? I can do XP or Linux, just curious what software would be able to do the best job of replicating the card from one to the other.
Attach the card to your computer with an adapter (not the phone as it will be mounted by android). Download and install ext2ifs from here. You will now be able to see the files on the ext2 partition and can copy/paste them to where ever you would like.
Thanks, but I've had no luck with ext2ifs and memory cards. They even address it in their troubleshooting section:
I have a device with a removable media, for example a USB memory stick, a Compact Flash Card, a magneto-optical drive etc., which has a partitioned format and has more than one partition. When I insert that media, a drive letter appears for the first partition, but not for all the remaining partitions of the media. When I open "IFS Drives" of the control panel, the considered device appears as a hard disk drive, but there is no partitioning scheme shown for it. How can I create drive letters for the remaining partitions of that removable media? (USB hard disk drives are not affected.)
There is an unsatisfactory answer only: it is not possible.
Windows creates (and deletes) all the drive letters for pure removable devices or removable medias itself. Because the Ext2 IFS software need not to create them, it intentionally does not show any partition scheme for that drive.
Windows creates a drive letter for the first partition of the considered media, but not for the remaining ones. (Windows NT4, 2000 and even XP behave the same way in that regard).
You will run into the same problem if you have a removable media partitioned with two partitions of the FAT type on a computer, which has not installed the Ext2 IFS software! So there is one straight advice only: do not use removable media with more than one partition with Windows.
I'm guessing (someone else could correct if wrong) that if I were to just do the basic copy from one card to another - that would suffice?
If I just took the card, created two partitions (FAT32 and EXT2FS) on the larger card, then copied over all the files in both - that would work just fine?
Strange, I've never experienced any issues with ext2ifs, but yes a simple copy paste of both partitions has been all i needed. Just make sure to copy any hidden files as well.
Can we back it up using Ubuntu Live CD and just upload them to a new sd cards ext2 partition?
yes, but you would need multiple card readers.
andonnguyen said:
yes, but you would need multiple card readers.
Click to expand...
Click to collapse
Why can't you save it to the hard drive, replace the sd card, access the ext2 partition and upload the files that you backed up?
Although I'm not very familiar with Ubuntu, when I tried it last time it didn't even allow me to have access to the app and app-private folders within the partition.
What do I need to do to be able to back it up to the hard drive so I can try to upload it to another SD?
Hi,
Thanks for the suggestion.
But when I installed the driver, I can still see just the fat32 partition not the ext2 partition.
I am using a sdhc usb card reader so it is not connected to the g1.
It is like the ext2 partition does not exist through windows xp.
But when I put the card back in the g1 the files are taking up space through ternminal emulator. So the ext2 partiton does exist but still not accessable through windows.
Any other ideas?
jsunkist146 said:
Attach the card to your computer with an adapter (not the phone as it will be mounted by android). Download and install ext2ifs from here. You will now be able to see the files on the ext2 partition and can copy/paste them to where ever you would like.
Click to expand...
Click to collapse
bestwebs said:
Hi,
Thanks for the suggestion.
But when I installed the driver, I can still see just the fat32 partition not the ext2 partition.
I am using a sdhc usb card reader so it is not connected to the g1.
It is like the ext2 partition does not exist through windows xp.
But when I put the card back in the g1 the files are taking up space through ternminal emulator. So the ext2 partiton does exist but still not accessable through windows.
Any other ideas?
Click to expand...
Click to collapse
what comes up when you use
"busybox df -h" in the terminal emulator?
make sure you see something like "/dev/mmcblk0p2 (partition size) (used) (available) (used %) "/system/sd"
If not then that's the problem.
Hi,
In my phone , I do have that ext2 line /dev/mmcblk0p2
size 1.4gb - used 49 meg - free 1.3 gb
sdcard line /dev/mmcblk0p1
size 6.2 gb - used 5.2gb - free 981 meg
Thanks for the reply.
Binary100100 said:
what comes up when you use
"busybox df -h" in the terminal emulator?
make sure you see something like "/dev/mmcblk0p2 (partition size) (used) (available) (used %) "/system/sd"
If not then that's the problem.
Click to expand...
Click to collapse
If you're on Linux it is trivial to get the files off, if you'd like to make an exact image you can use the dd command. I suggest grabbing a live CD, as it will be a much easier process than making windows see ext partitions.
crater said:
If you're on Linux it is trivial to get the files off, if you'd like to make an exact image you can use the dd command. I suggest grabbing a live CD, as it will be a much easier process than making windows see ext partitions.
Click to expand...
Click to collapse
I have the Live CD, but can you elaborate on the "dd command" exactly. I'm a Linux noob and wouldn't mind backing up the partition. Last time I tried, I couldn't even get permissions to open the files no less copy them.
Thanks.
Insert the two SD cards into USB SDHC card readers. Launch the free MiniTool Partition Wizard program. Copy the ext2 partition you want to transfer on the first SD card to an unallocated area on the second SD card. MiniTool Partition Wizard under Windows does "see" multiple partitions on a USB drive even though Windows doesn't assign letters to those drives and they are invisible in Windows Explorer.
To increase the size of the ext2 partition on either SD card, use the Linux program GParted. Boot up with the GParted Live CD/USB iso file. Run GParted to resize the ext2 partition. (MiniTool Partition Wizard can move but not resize an ext2 partition.)
Ok, so since I went from my nice name brand 4GB class4 to a patriot 4GB class6 I have had all kinds of issues trying to get my apps to my SD. When ever I tried to reformat the card through windows vista or win7 it would disconnect, and when trying to launch computer management it would freeze until the phone was disconnected. I would also connect it, right click to format, i would get the popup asking if Im sure I want to format the card, and then when you click format it would fail immediately and the phone would disconnect as external media. So nothing I could do could reformat the card even tho at the time there was a 3.5GB FAT32/.4GB ext2 so I stuck it in Ubuntu. Same weird issues trying to format with GPartition. So I tried Partition manager which would only allow me to delete all the partitions and create ext2 but whenever I would create a FAT32 it would fail at the last 90% of the job and the phone would disconnect form the comptuer, I could then reconnect it and complete the job. I tried this about 20 times after number reboots in Vista and Win7 to no avail. I tried every updated ROM with every type of Apps2sd conversion and nothing is working, everything keeps installing to the phone even after all the commands are successful in the terminal. Finally this morning I got to work and tried with XP and it formatted first try, and now I am midway through resetting everything up. My major issue is that once I install a new build it will work until I setup the apps on the sd card, once I do that I hang on the second slpash screen.
In short I dont know what is going on but I wanted to report my issues incase anyone else was having similar problems. It would seem XP is my savior but that seems really odd.
I have the same issue in Vista. If I need to format the card I just use a reader instead.
Symptoms:
- SD card not recognized by Windows Vista or Windows 7
- If SD card is detected if you right click > format, that operation will instantly fail and the SD card will become disconnected.
- Opening Admin Tools > Computer Management > Disk Management will hang until you disconnect the SD card
- SD comes up as unallocated and needing a format but any attempt to format it will fail
- After installing Apps2sd it hangs on second splash screen
- After installing Apps2sd it hangs on android logo
- Cyclic Redundancy Check error when copying files to SD
- Phone and computer both not recognizing the SD card
Attempted fixes:
- Installing JFv1.5
- Installing 1.5Hr3Apps2sd
- Installing Dudes Apps2sd
- Installing everything imaginable from radios to RC29 and re-rooting
Chain of events that worked:
- Installed JFv1.5 - get a fresh download, install and wipe. You can do this by using another SD card, putting your SD card in another computer, or using a combo of adb or fastboot. Depending on how I messed up my phone determined which of those ways I could do it.
- Format your whole SD card to FAT32 - Same as above, depending on your situation you may need to use a card reader or a computer with linux or Paragon partition manager. I had more issues in Vista and Win7 than XP just FYI incase thats an option to you.
- Split your partition into FAT32/Ext2 - Take your total card size formatted to FAT32, mine was 3.8GB and I wanted .4GB (400MB) so in the below coding where it says "size" I used 3400M, make sure you use a capital M, for more info on this topic click here. Then, with an internet connection open up your terminal emulator and type each line and then enter:
su
cd /data
wget http://64.105.21.209/bin/lib/droid/sdsplit
chmod 555 sdsplit
/data/sdsplit -fs size -nc
reboot
Click to expand...
Click to collapse
- NOTE - The above 2 steps can be skipped if done in Paragon Partition Manager (which I owe thanks for saving my SD card when the Disk Management in all versions of windows and Gpartition in ubuntu failed to see the card, but not PPM)
- Part 1 of 2 for setting up Apps2sd - First step is to download this file. Extract those 2 files onto the FAT32 (windows visible) partition of your SD card. Then open up your terminal emulator and type out each line and hit enter:
su
mount -o remount,rw /dev/block/mtdblock3 /system
cp /sdcard/init.rc /data/
cp /runme.sh /data/
cp /sdcard/a2sd.sh /data/
reboot
Click to expand...
Click to collapse
- Part 2 of 2 for setting up Apps2sd - Once fully rebooted download this file and copy the AppstoSD2.apk to your SD card. With a file manager program (ASTRO for me) install AppstoSD2 off of your SD card. When it is done launch the program and select, Copy Apps to SD. Once that is done your phone will reboot. Once its back up and running choose the second option, Copy dalvik-cache to SD. Once that is done you will need to manually reboot.
- DONE!!! - Once I was done rebooting my phone now reports as having ~400MB of internal storage and it feels much snappier. I hope this guide helps someone.
Huge props to Stericson and MarcusMaximus for their help in fixing my phone. I suspect others may run into similar issues not knowing you need to split the sd card, then create those links with init.rc and a2sd.sh, and THEN install the appstosd program so maybe this will help someone else.
Update: Phone froze during a call, I pulled the battery, and it hung at the second splash screen, and the JF1.5 update.zip file on the SD card could not be found. I went and found my old reliable SanDisk 2GB, put the update on it from my computer, flashed, wiped, and once everything was good to go I tried to put the 4GB class 6 card I have been using but now the phone, linux, xp, vista, win7 all fail to recognize the card at all. I dont know what happened but my issues started when I got that card. I am taking the new Patriot 4GB class 6 card back to fry's and Im running my 4GB class 4 that I had before I upgraded. Everything is setup now and working fine so hopefully I just had a bad SD card.
I wouldnt use the phone to format your sd card. I had no issues formating on vista, winxp, win7 when using a sd card reader. I think it has something to do with the fact that you dont have direct access to the sd card when formating from the phone. I think Android just mounts the /sdcard partition and makes it writable through the usb. if that is the case then you dont have access to the partition tables on the card. Not a linux or android guru, just a theory.
1: Don't try to format the sd card using your computer when it's in your phone, if you need to format it, use a card reader.
2: ext2 isn't readable by Windows, so if your ext2 partition isn't showing up on the computer, that's normal.
i had haykuro adp 1.5 but flashed jf 1.5 to put apps on sd and its stuck on tmobile g1 screen.
Yes! The easiest way for me was throwing the card into my Ubuntu laptop and both the FAT and Ext2 partitions pop up on the desktop so you can backup or partition them easily.
And when my card crapped out last night and I put the class 4 back in I was not recognized on any computer but I could at least format it from the phone. From there Partition manager could see the drive and partition but the format was invalid. I then ran the SDSplit method and was able to get the partitions visible in Ubuntu (but not in Windows). From there I copied files (wallpaper, ringtones, etc.) to the SD card and rebooted and when it came back up Windows was able to see the files on the SD and now everything is setup again and good to go.
I have had 2 Patriot 4gb Class 6 cards that both have bad sectors within the first month...as well as randomly getting "bad_removal" from my phone with them. And then it finally losing the filesystem!
I am now using a Kingston 4GB Class 4 card and havent had any issues in 2 weeks.
Patriot isn't all that bad but I think these cards are duds.
Hi,
Just wanted to add:
I purchased a kingston 16 gb class 2 from ebay - working apps to sd no problems. I used it for 1 month.
Then I upgraded to an Adata 16 gb class 6 from newegg.com. Using it for 2 weeks now with no problems. Apps to sd and dalvik-cache to sd.
My firmware Haykuro 5.02H r4.
These 2 brands seem to be reliable.
I just ordered the A-Data 16GB cl6 card off newegg.com. When I get it I will see what happens and report back.
hi i'm trying to run android 1.0 on my htc hd blackstone.
i've downloaded the cupcake, unzipped it via activesync to my sd card.
oh my sd card is formatted to fat32 primary partion, no other partions exsist.
i run haret and after a bit it displays ext2-fs warning mounting unchecked fs run e2scfs is recommended.
can anyone offer some help, i have read the wiki many of times over.
to lee droid hello.
i am a "silent admirer". i have a rooted desire and i use only leedroid roms for more then a year. as always i never had any problems with any of the roms and install them all without wipe at all.
about a month ago i installes v. 2.3.
today i saw the thread about the new version 3.0 gb and downloaded the following files: 1. 3.0 gb leedroid rom.
2. the new radio ...56....
3. the ext3 file.
after downloading i checked the md5 of the first two files and found it OK.
i backed up my 16 gb sd and tried to install the 3.0 tom via rom manager.
the thing is that i believe that the rom was install OK but the rom did not go up and my desire got stuck with the dumb green "htc".
thereafter i restored the system which went well and tried again - this time with file and cach wipe.
again - all seems to go well but did not load.
tried to install the ext3 file - went ok but did not load.
from that moment i got really worried but nothing i tried (deleating the sd card and copying from backup) or thought i know didnt work and now i am the proud owner of stupid green "htc" screen.
please help
erezinna
p.s. i couldt read all the 53 pages of your thread so if anybody already got an answer - please send me there.
I had this same issue.
It seems that although I originally partitioned my SD card as ext3 at some point without me knowing the partition got changed to ext4 I really can't explain how as I never messed with partitions after I initially set them up.
if the EXT3 fix is not working for you try booting into gparted and checking the partition there. as soon as I did that and realized it had been changed to ext4 I deleted the partition and made a new ext3 patition and it worked flawlessly after that.
"try booting into gparted and checking the partition there"
where? when? who?
can you you be more gentle? i booted milion times and never heard of "gpart" (it is a secret socaity)?
it's a live cd that you boot into on your PC to partition the SD card with a ext3 partition.
just google gparted live cd
You need to verify that the second partition on your sd card is in fact ext3 or leedriod will not load
i have to burn it or ghost-burn it or just download it and transfer to my desire?
like i said in my previous post you need to boot into on your PC.
I have to ask how did you originaly partition your SD card?
dear larkspeed:
i did all you have suggested but the gparted (or the regular win 7) was unable to recognize the sd card at all.
i did recognize all the other harddisks on my computer. it is probably because of the ext4 and now i cannot delete it. (also i hardly can operate the phone - only basic functions).
what sould i do now?
Windows will not see ext4 at all but it will see the partition itself so you can delete and remake it.
Gparted should have seen it just fine and let you reformat it to ext3
However if neither windows or gparted can see the partitions on the card then it's very possible the card itself has a fault.
Stupid question but when you loaded gparted you did use the drop down in the upper right corner of the window to actually select your sd card right?
if not then you were looking at primary hard drive only
yes i did several times. you have to move with "tab" and keboard because the mouse does not work there.
if the sd card have a fault, should i format it or erase it totally or something?
if you are totaly sure you have a ext partition on that card you will need to delete that partition either with windows **** manager or gparted
if you just format the card it will only format the partition it can see which will be the fat32 partition.
Now I assume you are putting the micro sd into some kind of adapter to plug it into the PC.
Now I have 2 options for this a USB stick that the micro sd plugs into or a micro sd to sd adapter plugged into an internal card reader which plugs into a USB header on my motherboard.
both of these systems work fine for me.
if gparted is not seeing the card at all then I would think whatever system you are using to plug the card into your PC is not supported.
I have to ask when you plug the card in when in windows what size does it say the "removable drive" is?
1. i gparted the sd card into main fat 32 partition about 12 gb and 1.6 gb ext3 partition
2. i cloesd the program after compleating that and the device informed me that the sd card is damaged and needs formating
3. i formated it and moved the leedroid 3.0.
4. it refused to go into recovery because lacking .update.zip file so i copied that too.
5. i installed the 3.0 but i won't go.
6. what to do? give it up?
all I can suggest is to try a different SD card and see if it works then.