Need help to recover a 128GB microSDXC

Using TestDisk to repair the filesystem
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
Message
Author
robinthebest
Posts: 7
Joined: 26 Oct 2019, 15:38

Need help to recover a 128GB microSDXC

#1 Post by robinthebest »

Tried using both photorec and testdisk to recover files, both unable to recover anyfiles.

Unable to rebuild boot sector, am i doing something wrong?

If i wanted to start from the get go, which log should i post first?

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

Re: Need help to recover a 128GB microSDXC

#2 Post by cgrenier »

TestDisk generates a log file named testdisk.log, please copy and paste its content.
Is PhotoRec/TestDisk reporting the correct disk capacity ? If it's not the case, you should contact a data recovery company as the flash controller or the memory chip is probably damaged.

robinthebest
Posts: 7
Joined: 26 Oct 2019, 15:38

Re: Need help to recover a 128GB microSDXC

#3 Post by robinthebest »

cgrenier wrote: 28 Oct 2019, 06:51 TestDisk generates a log file named testdisk.log, please copy and paste its content.
Is PhotoRec/TestDisk reporting the correct disk capacity ? If it's not the case, you should contact a data recovery company as the flash controller or the memory chip is probably damaged.
should i do an analyze and post the log?

it is reporting the correct disk capacity

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Need help to recover a 128GB microSDXC

#4 Post by recuperation »

Even "thebest" might consider providing an error description. :idea:
Look what others users wrote and you will quickly get an idea what is useful or not.

Another good start is the manual:

https://www.cgsecurity.org/testdisk.pdf

Cross-read the documentation

https://www.cgsecurity.org/wiki/TestDisk

to find information that applies to you.

robinthebest
Posts: 7
Joined: 26 Oct 2019, 15:38

Re: Need help to recover a 128GB microSDXC

#5 Post by robinthebest »

recuperation wrote: 28 Oct 2019, 17:37 Even "thebest" might consider providing an error description. :idea:
Look what others users wrote and you will quickly get an idea what is useful or not.

Another good start is the manual:

https://www.cgsecurity.org/testdisk.pdf

Cross-read the documentation

https://www.cgsecurity.org/wiki/TestDisk

to find information that applies to you.
I'm sorry I didnt have the time to do a follow up before and i just did it today,

below are what i found from log, i did a quick search and deeper search and couldn't found anything, I also tried photorec but it didnt find any files either, Windows is telling I had to format the disk before using it


Mon Mar 2 23:51:44 2020
Command line: TestDisk

TestDisk 7.2-WIP, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 7.4, Cygwin32 3000.3
ext2fs lib: 1.45.3, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=250059350016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=127865454592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=250059350016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=127865454592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=249413238784
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=2000396746752
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=1000202043392
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=127865454592
Hard disk list
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63, sector size=512 - Samsung SSD 850 EVO 250GB, S/N:S21MNXAGB16591X, FW:EMT02B6Q
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - WDC WD10EZEX-08WN4A0, S/N:WD-WCC6Y5VFFL5D, FW:02.01A02
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63, sector size=512 - ST2000DM006-2DM164, S/N:Z560TCR1, FW:CC26
Disk /dev/sdd - 127 GB / 119 GiB - CHS 15545 255 63, sector size=512 - Mass Storage Device, S/N:121220160204, FW:1.00

Partition table type defaults to Intel
Disk /dev/sdd - 127 GB / 119 GiB - Mass Storage Device
Partition table type: Intel

Analyse Disk /dev/sdd - 127 GB / 119 GiB - CHS 15545 255 63
Current partition structure:

Partition sector doesn't have the endmark 0xAA55

search_part()
Disk /dev/sdd - 127 GB / 119 GiB - CHS 15545 255 63
file_pread(7,1,buffer,249737217(15545/107/52)) lseek err Invalid argument
file_pread(7,14,buffer,249737218(15545/107/53)) lseek err Invalid argument
file_pread(7,3,buffer,249737232(15545/108/4)) lseek err Invalid argument
file_pread(7,3,buffer,249737279(15545/108/51)) lseek err Invalid argument
file_pread(7,8,buffer,249737295(15545/109/4)) lseek err Invalid argument
file_pread(7,11,buffer,249737342(15545/109/51)) lseek err Invalid argument
file_pread(7,2,buffer,249739264(15545/140/20)) lseek err Invalid argument

Results

interface_write()

No partition found or selected for recovery

search_part()
Disk /dev/sdd - 127 GB / 119 GiB - CHS 15545 255 63
file_pread(7,1,buffer,249737217(15545/107/52)) lseek err Invalid argument
file_pread(7,14,buffer,249737218(15545/107/53)) lseek err Invalid argument
file_pread(7,3,buffer,249737232(15545/108/4)) lseek err Invalid argument
file_pread(7,3,buffer,249737279(15545/108/51)) lseek err Invalid argument
file_pread(7,8,buffer,249737295(15545/109/4)) lseek err Invalid argument
file_pread(7,11,buffer,249737342(15545/109/51)) lseek err Invalid argument
file_pread(7,2,buffer,249739264(15545/140/20)) lseek err Invalid argument

Results

interface_write()

No partition found or selected for recovery

interface_write()

No partition found or selected for recovery

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Need help to recover a 128GB microSDXC

#6 Post by recuperation »

I would either use a hex editor to look the drive's sectors just to see if that produces read errors or not.
If you duplicate the drive with ddrescue you can check the logfile during and after recovery to see where a sector is not accessible.

You did not say what you expected to see on your drive.

robinthebest
Posts: 7
Joined: 26 Oct 2019, 15:38

Re: Need help to recover a 128GB microSDXC

#7 Post by robinthebest »

recuperation wrote: 02 Mar 2020, 18:19 I would either use a hex editor to look the drive's sectors just to see if that produces read errors or not.
If you duplicate the drive with ddrescue you can check the logfile during and after recovery to see where a sector is not accessible.

You did not say what you expected to see on your drive.
I will try to duplicate the drive with DDR, but i don't get the hex editor part, how do I do it?

I had a lot of photos in this SD card, so basically i wanted to recover them, at least recover some of it

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Need help to recover a 128GB microSDXC

#8 Post by recuperation »

robinthebest wrote: 03 Mar 2020, 17:24
recuperation wrote: 02 Mar 2020, 18:19 I would either use a hex editor to look the drive's sectors just to see if that produces read errors or not.
If you duplicate the drive with ddrescue you can check the logfile during and after recovery to see where a sector is not accessible.

You did not say what you expected to see on your drive.
I will try to duplicate the drive with DDR, but i don't get the hex editor part, how do I do it?

I had a lot of photos in this SD card, so basically i wanted to recover them, at least recover some of it
Has your drive been encrypted?
You open the drive with a hex editor like HxD p.e.. You scroll through the sectors awaiting a "read error" message box.
Simultaneously you look at the content. Maybe you only see zeros.

robinthebest
Posts: 7
Joined: 26 Oct 2019, 15:38

Re: Need help to recover a 128GB microSDXC

#9 Post by robinthebest »

recuperation wrote: 03 Mar 2020, 20:18
robinthebest wrote: 03 Mar 2020, 17:24
recuperation wrote: 02 Mar 2020, 18:19 I would either use a hex editor to look the drive's sectors just to see if that produces read errors or not.
If you duplicate the drive with ddrescue you can check the logfile during and after recovery to see where a sector is not accessible.

You did not say what you expected to see on your drive.
I will try to duplicate the drive with DDR, but i don't get the hex editor part, how do I do it?

I had a lot of photos in this SD card, so basically i wanted to recover them, at least recover some of it
Has your drive been encrypted?
You open the drive with a hex editor like HxD p.e.. You scroll through the sectors awaiting a "read error" message box.
Simultaneously you look at the content. Maybe you only see zeros.
No, it has not been encrypted.

And strangely, after i had right click on the drive in explorer with open as portable device, i can click into the drive again, although after I click into the folder the explorer completely froze, so what should i do in this case? should i just use photorec or i should try repairing it by using testdisk first?

robinthebest
Posts: 7
Joined: 26 Oct 2019, 15:38

Re: Need help to recover a 128GB microSDXC

#10 Post by robinthebest »

i can only read the sd through photorec/testdisk for a short amount of time after i entered windows, after a while it told me i have to format it before using it again, i have to reboot my pc to let both app to read the sd again, what can i do?

Locked