Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Community > The Lounge > Computers & IT



Reply
 
LinkBack Thread Tools
Old January 12th, 2012, 10:41 AM   #1 (permalink)
Senior Member
 
A.Nonymous's Avatar
 
Join Date: Jun 2010
Posts: 5,251
 
Device(s): Incredible 2, Kindle Fire, Galaxy Tab 10.1 I/O edition
Thanks: 52
Thanked 773 Times in 552 Posts
Default Is there any way to recover data off a formatted hard drive?

Long story short, I b0rked my computer. I had the brilliant idea of mirroring my OS using Windows software mirroring. Intellectually, I know this is a really bad idea. Somehow I justified it to myself though. Problem is one of the hard drives has bad blocks and got jacked. It replicated jacked information back to the other hard drive and when I rebooted, the computer was dead. Tried to repair the OS. No dice.

No problem. I've got a mirror here. I'll format one of the two drives and re-install Windows on it. I'll copy all my data back from the other drive. Bit of a pain, but doable. Not so much.

I boot off my CD, walk through the wizard. Pick one of my mirrored drives. Click format. It formats BOTH of them. Not one. Both. Somehow they were still mirrored even though I'm not doing any sort of hardware array. I totally did not expect that. I had to boot off a USB drive, fdisk one of the drives and re-install Windows. So now I'm back up. I've got Windows on one drive. I've been trying to recover files off the other drive. Every tool I run comes up empty. I've tried:

Recover-files
UnDelete Plus
PC Inspector File Recovery
Restoration

None of them see any recoverable files. I've got my documents, music, pictures, desktop stuff, etc.... all backed up locally on another drive and on Carbonite. My concern is that I had several games on here and I'd hate to lose all of my progress and have to start from scratch. I had hoped to be able to re-install the games, copy any saves from the other HDD and be back in business. None of that was backed up. Any ideas on what I can toss at this drive to see if I can find anything?

A.Nonymous is online now  
Reply With Quote
Sponsors
Old January 12th, 2012, 03:58 PM   #2 (permalink)
Senior Member
 
Join Date: May 2010
Posts: 886
 
Device(s): A bunch of phones and tablets.
Thanks: 14
Thanked 255 Times in 144 Posts
Default

Yes.

Google "TestDisk" and "PhotoRec"

I've recovered many this way.
There are a few rescue Linux Distros that have them built in like parted magic.
mrspeedmaster is offline  
Reply With Quote
The Following 2 Users Say Thank You to mrspeedmaster For This Useful Post:
argedion (January 31st, 2012), linuxrich (February 8th, 2012)
Old January 12th, 2012, 05:11 PM   #3 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Leeds, UK
Posts: 18,380
 
Device(s): HTC Desire Running dGB & Ubuntu 10.10
Thanks: 1,461
Thanked 3,744 Times in 2,865 Posts
Default

I tend to use the free version of handy recovery to get stuff back. Ntfs getback used to be good for Ntfs (but that costs).

I'm sure there are good tools in bartpe, ubcd4win, hiren's etc but never used them myself.
__________________
"I am only responsible for what I say. Not for what you understand"


Developer of:
[ROM-AOSP]dGB#2.3.5#375MB/data#60MB/system
Desire Root/memory Guides & FAQs
SUroot is online now  
Reply With Quote
Old January 12th, 2012, 06:14 PM   #4 (permalink)
Senior Member
 
A.Nonymous's Avatar
 
Join Date: Jun 2010
Posts: 5,251
 
Device(s): Incredible 2, Kindle Fire, Galaxy Tab 10.1 I/O edition
Thanks: 52
Thanked 773 Times in 552 Posts
Default

Quote:
Originally Posted by SUroot View Post
I tend to use the free version of handy recovery to get stuff back. Ntfs getback used to be good for Ntfs (but that costs).

I'm sure there are good tools in bartpe, ubcd4win, hiren's etc but never used them myself.
Handy Recovery looks like it'll work, but sadly only lets me restore one file a day in the free version.
A.Nonymous is online now  
Reply With Quote
Old January 12th, 2012, 10:53 PM   #5 (permalink)
Frank Burns Eats Worms!
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: Evo Root Forum, Lounge, Forum Games.
Posts: 3,280
 
Device(s): Evo 4G - CleanRom 2.0 (April '12)
Thanks: 1,761
Thanked 1,122 Times in 785 Posts
Send a message via AIM to 9to5cynic
Default

If it didn't overwrite the data (and just zeroed out the master file table [$MFT - hidden system file, which shouldn't matter right now...]) you should be able to do it kinda like this. actually, I don't think this stuff really matters if you use scalpel... well, if the drive was overwritten....

dd if=/borked/drive of=~/image.dd
then use a program called scalpel. It's command line and has a configuration tool that lets you pick what files you want to restore (by tool, I mean text file )

That should do it.

These tools are all free by the way.
__________________
Quote:
Originally Posted by Bob Maxey View Post
And here you thought you would escape being wrong today.

Everyone should play Forum Games|Nandroid Backup Script|unanswered threads
9to5cynic is offline  
Last edited by 9to5cynic; January 12th, 2012 at 11:00 PM. Reason: .
Reply With Quote
The Following User Says Thank You to 9to5cynic For This Useful Post:
Tresezk (January 13th, 2012)
Old January 13th, 2012, 01:23 AM   #6 (permalink)
Phone Kira
 
Tresezk's Avatar
 
Join Date: Feb 2011
Location: The Great Void
Posts: 2,810
 
Device(s): SE Xperia Mini Pro
Thanks: 441
Thanked 1,696 Times in 1,188 Posts
Default

^^ .
what he said . It's a forensic recovery tool /
It's available with DEFT Linux .
You can also try foremost or the GUI 4most hunchbacked(In DEFT ) .
I use WinHex on windows, though the demo wont be useful enough .
__________________
Site Rules and Guidelines
FAQ by the Monk Nakama
Galaxy 551 The Blog

Previously karandpr
Tresezk is online now  
Last edited by Tresezk; January 13th, 2012 at 02:39 AM.
Reply With Quote
Old January 13th, 2012, 01:38 AM   #7 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Leeds, UK
Posts: 18,380
 
Device(s): HTC Desire Running dGB & Ubuntu 10.10
Thanks: 1,461
Thanked 3,744 Times in 2,865 Posts
Default

Quote:
Originally Posted by A.Nonymous View Post
Handy Recovery looks like it'll work, but sadly only lets me restore one file a day in the free version.
Follow the ultimate root tools thread in my signature. It's got version 1.0 which I stripped out of ubcd4win which has no licence restrictions.

The ftp is password protected so start from the end of the thread and look for a post with password from rastaman
SUroot is online now  
Reply With Quote
Old January 13th, 2012, 01:46 AM   #8 (permalink)
Junior Member
 
Join Date: Sep 2011
Posts: 72
 
Device(s): HTC Wildfire Sony Ericsson Xperia Play
Thanks: 0
Thanked 4 Times in 3 Posts
Default

I guess TuneUp Utilities is one of the best software of that, i am using this software form i guess more then 3 years now & its really great. It recovers upto 90% of you lost data !
sofiablak is offline  
Reply With Quote
Old January 13th, 2012, 03:27 AM   #9 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Leeds, UK
Posts: 18,380
 
Device(s): HTC Desire Running dGB & Ubuntu 10.10
Thanks: 1,461
Thanked 3,744 Times in 2,865 Posts
Default

Not free though
SUroot is online now  
Reply With Quote
Old January 13th, 2012, 08:31 AM   #10 (permalink)
Senior Member
 
A.Nonymous's Avatar
 
Join Date: Jun 2010
Posts: 5,251
 
Device(s): Incredible 2, Kindle Fire, Galaxy Tab 10.1 I/O edition
Thanks: 52
Thanked 773 Times in 552 Posts
Default

Tried Testdisk and it jacked me up. I've got two 1 TB drives. I picked the wrong one at the command prompt as it doesn't clearly differentiate them. Jacked the partition of the drive I was booting off of and had to re-install again. (Doh!) I'm trying out Recuva now which runs under Windows. It is taking forever and a day to scan the drive though. I let it run all night and it was at 25% this morning.

I'm going to look for that Handy Recovery 1.0. If it'll run under Windows it's a bonus for me as I don't have to have my computer offline to do recovery. This HDD with the data on it has bad blocks so I don't intend on using it again. I just want the data off it. The drive in question is just mounted as a slave and I haven't assigned a drive letter to it to avoid any more writes. I'll try scalpel if Handy Recovery won't work for some reason.

I'm using this as an excuse to buy an SSD which comes in today. I may wait to do more file recovery stuff until I get that up and running since I don't need the drive at the moment.
A.Nonymous is online now  
Reply With Quote
Sponsors
Old January 13th, 2012, 11:52 PM   #11 (permalink)
Frank Burns Eats Worms!
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: Evo Root Forum, Lounge, Forum Games.
Posts: 3,280
 
Device(s): Evo 4G - CleanRom 2.0 (April '12)
Thanks: 1,761
Thanked 1,122 Times in 785 Posts
Send a message via AIM to 9to5cynic
Default

I'm not entirely aware of the situation, if the $MFT is still there or what, but you could try out SIFT workstation.... that's another forensics tool, a VM put out by SANS. Filled to the top with some cool things. Though, I do think scalpel would do this (not pretty, but it works).

Also, you might be able to try something like FTK Imager, but out by Access Data... I got it free in my class, but I'm not sure if everyone can get a free version or if it was something that the school put out for us... but again, if that works, it'll depend on some things. I mean, the files still need to be there, if they are completely gone and overwritten, that's that really. you might be able to recover some in file slack, but that's risky business (corrupt files and parts overwritten...)

--
About scalpel, it's not really too tough. I haven't used it in a while, but I used version 2. It uses a configuration file (scalpel.conf) which just contains a list of file headers and possibly footers and what filetype the correspond to. Then it just dumps them out to an output directory of your choosing, and I wanna say it dumps them according to filetype (ie: /outputdir/jpg and /outputdir/doc). Again, it's been a while.

And I want to say it's a pretty easy command, something like
Code:
scalpel.exe -o "C:\OutputDir" C:\Path\to\Imagefile
but again, it's been a while for me. I think that's how it goes. There are - of course - a lot of other options that can be set as well.
9to5cynic is offline  
Last edited by 9to5cynic; January 13th, 2012 at 11:55 PM.
Reply With Quote
Old January 14th, 2012, 09:35 AM   #12 (permalink)
Senior Member
 
A.Nonymous's Avatar
 
Join Date: Jun 2010
Posts: 5,251
 
Device(s): Incredible 2, Kindle Fire, Galaxy Tab 10.1 I/O edition
Thanks: 52
Thanked 773 Times in 552 Posts
Default

Handy Recovery has pissed me off. V 5.0 sees all my files, but can only recover one at a time. V 1.0 is free, but doesn't see any files at all. Ugh.

It is looking like I can get the files I need off Carbonite and won't need the other drive. We'll see though. I won't know for certain until I get everything downloaded from Carbonite, copied to the right places and fire up the games to see if my progress is still there.
A.Nonymous is online now  
Reply With Quote
Old January 14th, 2012, 10:44 AM   #13 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Leeds, UK
Posts: 18,380
 
Device(s): HTC Desire Running dGB & Ubuntu 10.10
Thanks: 1,461
Thanked 3,744 Times in 2,865 Posts
Default

Quote:
Originally Posted by A.Nonymous View Post
Handy Recovery has pissed me off. V 5.0 sees all my files, but can only recover one at a time. V 1.0 is free, but doesn't see any files at all. Ugh.
Bah!
SUroot is online now  
Reply With Quote
Old January 24th, 2012, 03:54 AM   #14 (permalink)
Resident Frog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: I Live in St'Marys Georgia
Posts: 2,498
 
Device(s): HTC EVO 4g I am a Changer. May God Bless You.
Thanks: 1,567
Thanked 2,183 Times in 1,187 Posts
Default

Quote:
Originally Posted by A.Nonymous View Post
Handy Recovery has pissed me off. V 5.0 sees all my files, but can only recover one at a time. V 1.0 is free, but doesn't see any files at all. Ugh.

It is looking like I can get the files I need off Carbonite and won't need the other drive. We'll see though. I won't know for certain until I get everything downloaded from Carbonite, copied to the right places and fire up the games to see if my progress is still there.
I always use Testdisk and PhotoRec. They have done me very well over the years. Just keep in mind that the more you write to the disk the less chance of a full recovery. For best results I always used it from a bootable disk and only have the disk in the drive that I need that keeps me from screwing up and choosing the wrong drive (Before this practice I did it Twice) There are times its not possible for me to do. (External Harddrive) so then I just pay carefull attention to what I'm doing. IF you have an external you may want to have it plugged up so that you can have it place the restored files on that.
__________________
Rantings of a MadFrog or otherwise useful info {Updated 03/18/2012}
A Flash Guide for us all
AF Pink Floyd Thread
Asking simple questions can keep us from doing dumb things.
Fedora 17 Final Release Scheduled for 2012-05-22
argedion is online now  
Reply With Quote
Old February 8th, 2012, 03:44 AM   #15 (permalink)
Senior Member
 
350X's Avatar
 
Join Date: Jan 2012
Location: NWOhio
Posts: 520
 
Device(s): LG Optimus V © Bone stock 2.2.2 - T02A Allwin A10 Tablet 2.3.4
Thanks: 27
Thanked 44 Times in 41 Posts
Default

With those two I was able to get back 3 times more data then I lost, worth every penny to buy them.

Active@ Partition Recovery
www.partition-recovery.com

EASEUS Data Recovery Wizard
http://www.easeus.com/
350X is offline  
Reply With Quote
Old February 8th, 2012, 09:03 AM   #16 (permalink)
Member
 
linuxrich's Avatar
 
Join Date: Jan 2012
Location: Northamptonshire, UK
Posts: 113
 
Device(s): SGS2
Thanks: 54
Thanked 40 Times in 29 Posts
Default

Photorec has had a couple of mentions. +1 for that.
linuxrich is offline  
Reply With Quote
Old February 9th, 2012, 05:27 PM   #17 (permalink)
你好
 
mikedt's Avatar
 
Join Date: Sep 2010
Location: GUANGZHOU, China
Posts: 1,919
 
Device(s): CyanogenMod Galaxy S
Thanks: 384
Thanked 345 Times in 258 Posts
Send a message via Skype™ to mikedt
Default

Another vote for Photorec here. I've used it to recover pics from a friend's SD-card that she inadvertently formatted.
__________________
An Englishman and GUIDE in the People's Republic.
http://welcometomychina.tumblr.com/
http://gallery.me.com/gomem
There are nine million bicycles in Beijing.
There are nine million Android tablet makers in Shenzhen.
mikedt is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Community > The Lounge > Computers & IT User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 12:46 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo