Filesystemproblem with microSD

Using TestDisk to repair the filesystem
Post Reply
Message
Author
moscat
Posts: 2
Joined: 10 Oct 2016, 23:30

Filesystemproblem with microSD

#1 Post by moscat » 11 Oct 2016, 20:12

Hi, tanks in advance for your help. i try to keep thins short:
- samsung microsd 32GB was formated and used in mobile (moto g 2.g) as internal memory
- one day all apps disappeared and no access was possible
- windows told me "cannot access card, must be formatted"
- found partition mit testdisk with fast search, wrote info to sd
- now windows shows up directory but all filenames are crumpled and fileaccess is not possible

can you help me to fix this? my son would be happy! thanks for reading....

Code: Select all


Tue Oct 11 00:27:56 2016
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=250059350016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=31393316864
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=250059350016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=31393316864
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=231976656896
filewin32_getfilesize(\\.\D:) GetFileSize err Unzulässige Funktion.

filewin32_setfilepointer(\\.\D:) SetFilePointer err Unzulässige Funktion.

Warning: can't get size for \\.\D:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=31389122560
filewin32_getfilesize(\\.\G:) GetFileSize err Unzulässige Funktion.

filewin32_setfilepointer(\\.\G:) SetFilePointer err Unzulässige Funktion.

Warning: can't get size for \\.\G:
Hard disk list
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63, sector size=512
Disk /dev/sdb - 31 GB / 29 GiB - CHS 3816 255 63, sector size=512
Drive C: - 231 GB / 216 GiB - CHS 28202 255 63, sector size=512
Drive E: - 31 GB / 29 GiB - CHS 3816 255 63, sector size=512

Partition table type (auto): EFI GPT
Disk /dev/sdb - 31 GB / 29 GiB
Partition table type: Intel

Analyse Disk /dev/sdb - 31 GB / 29 GiB - CHS 3816 255 63
Geometry from i386 MBR: head=255 sector=63
FAT32 at 0/130/3
Info: size boot_sector 61306880, partition 61306880
FAT1 : 1420-8901
FAT2 : 8902-16383
start_rootdir : 16384 root cluster : 2
Data : 16384-61306879
sectors : 61306880
cluster_size : 64
no_of_cluster : 957664 (2 - 957665)
fat_length 7482 calculated 7482
Current partition structure:
 1 * FAT32 LBA                0 130  3  3816 175  7   61306880 [32GB]

search_part()
Disk /dev/sdb - 31 GB / 29 GiB - CHS 3816 255 63
FAT32 at 0/130/3
FAT1 : 1420-8901
FAT2 : 8902-16383
start_rootdir : 16384 root cluster : 2
Data : 16384-61306879
sectors : 61306880
cluster_size : 64
no_of_cluster : 957664 (2 - 957665)
fat_length 7482 calculated 7482

FAT32 at 0/130/3
     FAT32 LBA                0 130  3  3816 175  7   61306880 [32GB]
     FAT32, blocksize=32768, 31 GB / 29 GiB
file_pread(5,8,buffer,61315072(3816/175/8)) ReadFile Das Laufwerk kann den angeforderten Sektor nicht finden.

file_pread(5,1,buffer,61315072(3816/175/8)) ReadFile Das Laufwerk kann den angeforderten Sektor nicht finden.

file_pread(5,1,buffer,61315073(3816/175/9)) lseek err Invalid argument
file_pread(5,14,buffer,61315074(3816/175/10)) lseek err Invalid argument
file_pread(5,3,buffer,61315088(3816/175/24)) lseek err Invalid argument
file_pread(5,3,buffer,61315135(3816/176/8)) lseek err Invalid argument
file_pread(5,8,buffer,61315151(3816/176/24)) lseek err Invalid argument
file_pread(5,11,buffer,61315198(3816/177/8)) lseek err Invalid argument
file_pread(5,2,buffer,61317120(3816/207/40)) lseek err Invalid argument

Results
   * FAT32 LBA                0 130  3  3816 175  7   61306880 [32GB]
     FAT32, blocksize=32768, 31 GB / 29 GiB


dir_partition inode=0
   * FAT32 LBA                0 130  3  3816 175  7   61306880 [32GB]
     FAT32, blocksize=32768, 31 GB / 29 GiB
FAT: cluster=2(0x2), pos=24576
Directory /
       3 drwxr-xr-x     0      0         0  2-Jan-2016 21:07 System Volume Information
       7 drwxr-xr-x     0      0         0  3-Jan-2016 11:36 LOST.DIR
       8 drwxr-xr-x     0      0         0  2-Jul-2016 12:12 .android_secure
       9 drwxr-xr-x     0      0         0 16-Mar-2016 17:47 Android
    9925 drwxr-xr-x     0      0         0 15-Jul-2016 22:19 Download
      16 drwxr-xr-x     0      0         0  3-Jan-2016 11:37 DCIM
X    688 drwxr-xr-x     0      0     32768 27-Apr-2016 21:15 Pictures
   70538 drwxr-xr-x     0      0         0 27-Apr-2016 21:17 WhatsApp Video
X  42640 drwxr-xr-x     0      0         0  5-Jul-2016 16:33 f92c3274-dfaf-4e31-964b-200aa6061d3c

interface_write()
 1 * FAT32 LBA                0 130  3  3816 175  7   61306880 [32GB]
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

TestDisk exited normally.
Attachments
snip.jpg
snip.jpg (11.59 KiB) Viewed 265 times

Sponsored links

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

Re: Filesystemproblem with microSD

#2 Post by cgrenier » 12 Oct 2016, 06:46

Some subdirectories are corrupted. Try PhotoRec on the whole space of the memory card.
https://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest