SanDisk MicroSD with no partition

How to use TestDisk to recover lost partition
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
r43ey
Posts: 2
Joined: 30 Sep 2019, 01:50

SanDisk MicroSD with no partition

#1 Post by r43ey »

I have a 32GB SanDisk microSD that I've been using in my phone. For a couple days it would randomly show up as "removed". I could reset my phone and it would come back. Now it doesn't come back. So I placed it in an adapter and mounted on my Win10 laptop and tried to read it with testdisk. I believe it should be formatted as HPFS-NTFS. In testdisk, it showed a couple of curious things:
1) No partition found
2) Partition sector doesn't have the endmark 0xAA55
3) Cylinder setting that is clearly wrong (C=3)

I don't know where to go from here. I tried PhotoRec too, but didn't see an obvious way to go there. Of course Windows only suggests reformatting...

I welcome any suggestions. Thanks in advance.

Testlog below:



Sun Sep 29 20:39:20 2019
Command line: TestDisk

TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 6.4, Cygwin 2009.0
ext2fs lib: 1.43.1, 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)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=32096256
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=1000204886016
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=32096256
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=965127729664
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=32925286400
filewin32_getfilesize(\\.\E:) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\E:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\E:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=0
Warning: can't get size for \\.\I:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\J:)=32096256
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST1000LM024 HN-M101MBB, S/N:S31LJ9BG917058, FW:2BA30001
Disk /dev/sdc - 32 MB / 30 MiB - CHS 3 255 63, sector size=512 - Kingston Reader MicSD/M2, FW:0200

Partition table type defaults to Intel
Disk /dev/sdc - 32 MB / 30 MiB - Kingston Reader MicSD/M2
Partition table type: Intel

Analyse Disk /dev/sdc - 32 MB / 30 MiB - CHS 3 255 63
Current partition structure:

Partition sector doesn't have the endmark 0xAA55

search_part()
Disk /dev/sdc - 32 MB / 30 MiB - CHS 3 255 63
file_pread(5,2,buffer,63487(3/242/47)) lseek err Invalid argument
file_pread(5,1,buffer,63487(3/242/47)) lseek err Invalid argument
file_pread(5,2,buffer,63488(3/242/48)) lseek err Invalid argument
file_pread(5,14,buffer,63490(3/242/50)) lseek err Invalid argument
file_pread(5,3,buffer,63504(3/243/1)) lseek err Invalid argument
file_pread(5,3,buffer,63551(3/243/48)) lseek err Invalid argument
file_pread(5,8,buffer,63567(3/244/1)) lseek err Invalid argument
file_pread(5,11,buffer,63614(3/244/48)) lseek err Invalid argument
file_pread(5,2,buffer,65536(4/20/17)) lseek err Invalid argument

Results

interface_write()

No partition found or selected for recovery

search_part()
Disk /dev/sdc - 32 MB / 30 MiB - CHS 3 255 63
file_pread(5,2,buffer,63487(3/242/47)) lseek err Invalid argument
file_pread(5,1,buffer,63487(3/242/47)) lseek err Invalid argument
file_pread(5,2,buffer,63488(3/242/48)) lseek err Invalid argument

Results

interface_write()

No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
Store new MBR code
write_all_log_i386: starting...
No extended partition

Interface Advanced

TestDisk exited normally.

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

Re: SanDisk MicroSD with no partition

#2 Post by cgrenier »

Your 32 GB memory card is reported as 32 MB!
The capacity is wrong. You should contact a data recovery company as software solutions like testdisk and photorec can't help in this case.

r43ey
Posts: 2
Joined: 30 Sep 2019, 01:50

Re: SanDisk MicroSD with no partition

#3 Post by r43ey »

Thanks. I was worried about that. I tried changing the geometry so that the cylinder value matches what a normal 32G card uses - and that didn't help. So I suspect the card is not operating right.

Locked