recovering data as txt files

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
TianBotes
Posts: 1
Joined: 08 Aug 2017, 13:05

recovering data as txt files

#1 Post by TianBotes »

Hi i am new in the data recovering world! I accedentally wrote a bootable XP image file to mt external 1TB HDD by selecting the wrong drive letter, it should have been to my USB flash drive! I can now only see the IMAGE partition when running the TestDisk utility. When doing a deepscan using photorec the utility manages to 'recover' a large amount of data but this is all in the for of multiple file folders which contain only txt files. It does however recover some mp3 file but these are not the bulk of my data. i had a variety of file types safed on my external drive and the amount of data was about 600GB. What am I doing wrong?

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: recovering data as txt files

#2 Post by cgrenier »

When using PhotoRec, select the PhysicalDrive, not a drive letter.
In Options, enable the Expert mode.
Start a recover on "Whole disk"
When asked, use a default blocksize of 512 bytes. Use the default options otherwise.

You need to store the recovered files on another disk than the source.

chrisinri
Posts: 6
Joined: 25 Jan 2018, 23:37

Re: recovering data as txt files

#3 Post by chrisinri »

Hi,

Thank you for your work Chris.

I used PhotoRec to recover txt files.

The disk1, where the data was to come from, was formatted as OSX extended case sensitive journaled.

The disk2, where the recovered data was to be put on, was also formatted in the same format.

The txt files were recovered and opened from disk 2 but now the will only open as source files.

Could use your help, please call me at 401-477-6178.

Thank you again,

My name is also Chris.

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: recovering data as txt files

#4 Post by cgrenier »

It looks like a file association problem
http://osxdaily.com/2013/08/08/change-d ... -mac-os-x/

chrisinri
Posts: 6
Joined: 25 Jan 2018, 23:37

Re: recovering data as txt files

#5 Post by chrisinri »

Hi, Chris, your famous, nice to talk to you.

I changed the default app and the txt files open like this:
0004"
stCamera:RadialDistortParam1="-0.000534"
stCamera:RadialDistortParam2="0.002953"
stCamera:RadialDistortParam3="-0.003368"/>
<stCamera:VignetteModel
stCamera:ResidualMeanError="0.000451"
stCamera:VignetteModelParam1="-0.375869"
stCamera:VignetteModelParam2="0.121616"
stCamera:VignetteModelParam3="0.169687"/>
</rdf:Description>
</stCamera:PerspectiveModel>
</rdf:Description>
</rdf:li>
<rdf:li>
<rdf:Description
stCamera:Author="Adobe (www.adobe.com)"
stCamera:Make="PENTAX"
stCamera:CameraRawProfile="True"
stCamera:LensID="8 232"
stCamera:Lens="smc PENTAX-DA 17-70mm F4 AL [IF] SDM"
stCamera:LensInfo="170/10 700/10 40/10 40/10"
stCamera:CameraPrettyName="PENTAX"
stCamera:LensPrettyName="smc PENTAX-DA 17-70mm F4 AL [IF] SDM"
stCamera:ProfileName="Adobe (smc PENTAX-DA 17-70mm F4 AL [IF] SDM)"
stCamera:SensorFormatFactor="1.5"
stCamera:FocalLength="17"
stCamera:FocusDistance="1.68"
stCamera:ApertureValue="8">
<stCamera:PerspectiveModel>
<rdf:Description
stCamera:Version="2"
stCamera:ResidualMeanError="0.000032"
stCamera:ResidualStandardDeviation="0.000023"
stCamera:RadialDistortParam1="-0.103669"
stCamera:RadialDistortParam2="0.033312"
stCamera:RadialDistortParam3="0.03727">
<stCamera:ChromaticRedGreenModel
stCamera:ResidualMeanError="0.000001"
stCamera:ResidualStandardDeviation="0"
stCamera:ScaleFactor="1.00038"
stCamera:RadialDistortParam1="0.000441"
stCamera:RadialDistortParam2="-0.002227"
stCamera:RadialDistortParam3="0.002388"/>
<stCamera:ChromaticGreenModel
stCamera:ResidualMeanError="0.000032"
stCamera:ResidualStandardDeviation="0.000023"
stCamera:RadialDistortParam1="-0.103669"
stCamera:RadialDistortParam2="0.033312"
stCamera:RadialDistortParam3="0.03727"/>
<stCamera:ChromaticBlueGreenModel
stCamera:ResidualMeanError="0.000001"
stCamera:ResidualStandardDeviation="0.000001"
stCamera:ScaleFactor="1.000365"
stCamera:RadialDistortParam1="-0.000547"
stCamera:RadialDistortParam2="0.002966"
stCamera:RadialDistortParam3="-0.003396"/>
<stCamera:VignetteModel
stCamera:ResidualMeanError="0.000458"
stCamera:VignetteModelParam1="-0.372593"
stCamera:VignetteModelParam2="0.123775"
stCamera:VignetteModelParam3="0.166759"/>
</rdf:Description>
</stCamera:PerspectiveModel>
</rdf:Description>
</rdf:li>
<rdf:li>
<rdf:Description
stCamera:Author="Adobe (www.adobe.com)"
stCamera:Make="PENTAX"
stCamera:CameraRawProfile="True"
stCamera:LensID="8 232"
stCamera:Lens="smc PENTAX-DA 17-70mm F4 AL [IF] SDM"
stCamera:LensInfo="170/10 700/10 40/10 40/10"
stCamera:CameraPrettyName="PENTAX"
stCamera:LensPrettyName="smc PENTAX-DA 17-70mm F4 AL [IF] SDM"
stCamera:ProfileName="Adobe (smc PENTAX-DA 17-70mm F4 AL [IF] SDM)"
stCamera:SensorFormatFactor="1.5"
stCamera:FocalLength="17"
stCamera:FocusDistance="10000000000"
stCamera:ApertureValue="8">
<stCamera:PerspectiveModel>
<rdf:Description
stCamera:Version="2"
stCamera:ResidualMeanError="0.000032"
stCamera:ResidualStandardDeviation="0.000024"
stCamera:RadialDistortParam1="-0.100299"
stCamera:RadialDistortParam2="0.035726"
stCamera:RadialDistortParam3="0.035954">
<stCamera:ChromaticRedGreenModel
stCamera:ResidualMeanError="0.000001"
stCamera:ResidualStandardDeviation="0.000001"
stCamera:ScaleFactor="1.000434"
stCamera:RadialDistortParam1="0.000454"
stCamera:RadialDistortParam2="-0.002241"
stCamera:RadialDistortParam3="0.002422"/>
<stCamera:ChromaticGreenModel
stCamera:ResidualMeanError="0.000032"
stCamera:ResidualStandardDeviation="0.000024"
stCamera:RadialDistortParam1="-0.100299"
stCamera:RadialDistortParam2="0.035726"
stCamera:RadialDistortParam3="0.035954"/>
<stCamera:ChromaticBlueGreenModel
stCamera:ResidualMeanError="0.000001"
stCamera:ResidualStandardDeviation="0.000001"
stCamera:ScaleFactor="1.000288"
stCamera:RadialDistortParam1="-0.000534"
stCamera:RadialDistortParam2="0.00284"
stCamera:RadialDistortParam3="-0.003306"/>
<stCamera:VignetteModel
stCamera:ResidualMeanError="0.00043"
stCamera:VignetteModelParam1="-0.366229"
stCamera:VignetteModelParam2="0.13454"
stCamera:VignetteModelParam3="0.151893"/>
</rdf:Description>
</stCamera:PerspectiveModel>
</rdf:Description>
</rdf:li>
<rdf:li>

Can you call me 401-477-6178.

Thank you,
Chris 2

chrisinri
Posts: 6
Joined: 25 Jan 2018, 23:37

Re: recovering data as txt files

#6 Post by chrisinri »

When I first used PhotoRec the TXT files opened normally.

Now they open like the below.

I changed the default app and that did not open the txt files normally.

When I open a folder with the file images they appear normal then a second later they change to the source code format below or whatever that is:
0004"
stCamera:RadialDistortParam1="-0.000534"
stCamera:RadialDistortParam2="0.002953"
stCamera:RadialDistortParam3="-0.003368"/>
<stCamera:VignetteModel
stCamera:ResidualMeanError="0.000451"
stCamera:VignetteModelParam1="-0.375869"
stCamera:VignetteModelParam2="0.121616"
stCamera:VignetteModelParam3="0.169687"/>
</rdf:Description>
</stCamera:PerspectiveModel>
</rdf:Description>
</rdf:li>
<rdf:li>
<rdf:Description
stCamera:Author="Adobe (www.adobe.com)"
stCamera:Make="PENTAX"
stCamera:CameraRawProfile="True"
stCamera:LensID="8 232"
stCamera:Lens="smc PENTAX-DA 17-70mm F4 AL [IF] SDM"
stCamera:LensInfo="170/10 700/10 40/10 40/10"
stCamera:CameraPrettyName="PENTAX"
stCamera:LensPrettyName="smc PENTAX-DA 17-70mm F4 AL [IF] SDM"
stCamera:ProfileName="Adobe (smc PENTAX-DA 17-70mm F4 AL [IF] SDM)"
stCamera:SensorFormatFactor="1.5"
stCamera:FocalLength="17"
stCamera:FocusDistance="1.68"
stCamera:ApertureValue="8">
<stCamera:PerspectiveModel>
<rdf:Description
stCamera:Version="2"
stCamera:ResidualMeanError="0.000032"
stCamera:ResidualStandardDeviation="0.000023"
stCamera:RadialDistortParam1="-0.103669"
stCamera:RadialDistortParam2="0.033312"
stCamera:RadialDistortParam3="0.03727">
<stCamera:ChromaticRedGreenModel
stCamera:ResidualMeanError="0.000001"
stCamera:ResidualStandardDeviation="0"
stCamera:ScaleFactor="1.00038"
stCamera:RadialDistortParam1="0.000441"
stCamera:RadialDistortParam2="-0.002227"
stCamera:RadialDistortParam3="0.002388"/>
<stCamera:ChromaticGreenModel
stCamera:ResidualMeanError="0.000032"
stCamera:ResidualStandardDeviation="0.000023"
stCamera:RadialDistortParam1="-0.103669"
stCamera:RadialDistortParam2="0.033312"
stCamera:RadialDistortParam3="0.03727"/>
<stCamera:ChromaticBlueGreenModel
stCamera:ResidualMeanError="0.000001"
stCamera:ResidualStandardDeviation="0.000001"
stCamera:ScaleFactor="1.000365"
stCamera:RadialDistortParam1="-0.000547"
stCamera:RadialDistortParam2="0.002966"
stCamera:RadialDistortParam3="-0.003396"/>
<stCamera:VignetteModel
stCamera:ResidualMeanError="0.000458"
stCamera:VignetteModelParam1="-0.372593"
stCamera:VignetteModelParam2="0.123775"
stCamera:VignetteModelParam3="0.166759"/>
</rdf:Description>
</stCamera:PerspectiveModel>
</rdf:Description>
</rdf:li>
<rdf:li>
<rdf:Description
stCamera:Author="Adobe (www.adobe.com)"
stCamera:Make="PENTAX"
stCamera:CameraRawProfile="True"
stCamera:LensID="8 232"
stCamera:Lens="smc PENTAX-DA 17-70mm F4 AL [IF] SDM"
stCamera:LensInfo="170/10 700/10 40/10 40/10"
stCamera:CameraPrettyName="PENTAX"
stCamera:LensPrettyName="smc PENTAX-DA 17-70mm F4 AL [IF] SDM"
stCamera:ProfileName="Adobe (smc PENTAX-DA 17-70mm F4 AL [IF] SDM)"
stCamera:SensorFormatFactor="1.5"
stCamera:FocalLength="17"
stCamera:FocusDistance="10000000000"
stCamera:ApertureValue="8">
<stCamera:PerspectiveModel>
<rdf:Description
stCamera:Version="2"
stCamera:ResidualMeanError="0.000032"
stCamera:ResidualStandardDeviation="0.000024"
stCamera:RadialDistortParam1="-0.100299"
stCamera:RadialDistortParam2="0.035726"
stCamera:RadialDistortParam3="0.035954">
<stCamera:ChromaticRedGreenModel
stCamera:ResidualMeanError="0.000001"
stCamera:ResidualStandardDeviation="0.000001"
stCamera:ScaleFactor="1.000434"
stCamera:RadialDistortParam1="0.000454"
stCamera:RadialDistortParam2="-0.002241"
stCamera:RadialDistortParam3="0.002422"/>
<stCamera:ChromaticGreenModel
stCamera:ResidualMeanError="0.000032"
stCamera:ResidualStandardDeviation="0.000024"
stCamera:RadialDistortParam1="-0.100299"
stCamera:RadialDistortParam2="0.035726"
stCamera:RadialDistortParam3="0.035954"/>
<stCamera:ChromaticBlueGreenModel
stCamera:ResidualMeanError="0.000001"
stCamera:ResidualStandardDeviation="0.000001"
stCamera:ScaleFactor="1.000288"
stCamera:RadialDistortParam1="-0.000534"
stCamera:RadialDistortParam2="0.00284"
stCamera:RadialDistortParam3="-0.003306"/>
<stCamera:VignetteModel
stCamera:ResidualMeanError="0.00043"
stCamera:VignetteModelParam1="-0.366229"
stCamera:VignetteModelParam2="0.13454"
stCamera:VignetteModelParam3="0.151893"/>
</rdf:Description>
</stCamera:PerspectiveModel>
</rdf:Description>
</rdf:li>
<rdf:li>


Please help.

Thank you,
Chris

Locked