Jump to content

Recommended Posts

Posted

Do you want to recover a deleted file or are you trying to create a recovery program? If your answer is yes to the first question then search google for Recuva.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

  • 3 months later...
Posted

Refer to my post at this thread:

:oops: Although it deals with recovery of AU3 file (or a simple text file), you could easily modify it to match your needs. As for Disk Editors, there are many available for free like HxD.

Regards

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

  • 4 years later...
Posted (edited)
  On 12/19/2011 at 9:00 PM, guinness said:

Do you want to recover deleted file or are you trying to create a recovery program? If your answer is yes to the first question then search google for Recuva.

Expand  

I downloaded Recuva but it can't locate deleted files on my Android phone. Any suggestion?

Edited by Melba23
Removed payware link
  • 1 month later...
Posted
  On 12/19/2011 at 9:00 PM, guinness said:

Do you want to recover a deleted file or are you trying to create a recovery program? If your answer is yes to the first question then search google for Recuva.

Expand  

I tried Recuva to scan my Galaxy s6, it doesn't detect my phone at all.

Posted

Welcome to Autoit and the forum!

Android is a Linux based system. This means you most certainly use a Linux filesystem like ext4.
Android seems to use FAT32 for SD cards and mounts them via FUSE.

Does Windows "see" the Glaxy device? Does Windows "see" any of the filesystems?

 

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)
  On 5/30/2016 at 9:25 AM, water said:

Does Windows "see" the Glaxy device? Does Windows "see" any of the filesystems?

Expand  

@Angelo77: if the above is the case, and the filesystem is indeed FAT## (and not exFAT, for example), and you're not afraid of low-level tinkering, you might try using my FATsuite (link in my signature) on an image file copy of your storage device. Note: always work on an imagefile when recovering data, rather than on the device itself. You'd best make two copies first, so you can keep duplicating the untouched one to retry, if and when the working copy gets damaged.

To create an image file, you can download/use a rawcopy utility (google it), or try the _CopyVolume2Imagefile() UDF in the FATsuite, after mounting your device. After making at least one backup image file, you can then scan it with $FATscanmode=2 (may take long), and check out the UDF _StoreLostClusters(). Please also take the time to read the extensive Remarks section at the top of the scripts. You may still have to manually rechain the lost clusters though, which can be difficult and time consuming (understatement). And best check first that your FS is really FAT##. Note also that non-Microsoft FATs may have a maximum cluster size of 64 KB, which is not supported here (but fairly easy to adapt yourself).

From the Remarks section of FATsuite.au3:

; * FAT file storage involves three distinct areas:
;       1. directory entry (with startcluster), in root- or subdirectory
;       2. file cluster chain (FCC), in File Allocation Table (FAT)
;       3. file contents, in data clusters in DataRegion (DR)
;   Each part can become corrupted, damaged, or erased independently of the other two.
;       - if item 1 is lost (easy):
;           define FILESPECS vars, including the lost file's FCC startcluster
;           call _AddDirEntry($startcluster_dir,<yourdirarray>,False)
;       - if item 2 is lost (hard):
;           call _StoreLostClusters(False,True)
;           rebuild FCC manually, based on data cluster contents (may be difficult for binary data)
;           re-associate startcluster with (new or existing) dir-entry
;           remove recovered-datacluster file entries in subdir \LOST_CLUSTERS
;       - if item 3 is lost (start crying):
;           no recovery possible
;
;   Deletion only places a "deleted" marker byte in the directory entry, and releases the file's FCC entries in he FATs.

I won't sugar this pill; low-level device access can be quite complicated, and I won't be holding your hand along the way, sorry.;) If you're not comfortable getting down and dirty, maybe you can find some other recovery utility (I would expect Android forums to be able to direct you towards solutions). On the other hand, FAT filesystems are among the easiest to understand and manipulate raw.

Best of luck.:)

RT

Edited by RTFC
caveats
Posted
  On 5/30/2016 at 7:04 AM, Angelo77 said:

I tried Recuva to scan my Galaxy s6, it doesn't detect my phone at all.

Expand  

I googled and found many Android data recovery toos out there, they said they can easily recover all lost data from Android phone, but I'm not sure which one is the best, they're not free.

  • 5 months later...
  • Moderators
Posted

winpixel,

As everyone replying to this thread has been advertising their payware Android recovery tools I suggest you ask on an Android forum. And I am fed up with removing links - so thread closed.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...