Recover hidden dmg file (macOS M1)

Using TestDisk to undelete files
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
novexfarmer
Posts: 2
Joined: 26 May 2022, 08:07

Recover hidden dmg file (macOS M1)

#1 Post by novexfarmer »

Hi, I've deleted a folder about 2 to 3 weeks ago, witch contained an hidden and encrypted dmg file, the mac (M1) was restarted several times and the Trash also emptied several times. My guess is that's impossible to recover that, but I wan't to give it a try (just because after trying Disk Drill, it shows an "Reconstructed" dmg file with 5GB).

Using testdisk 7.1 with root permissions, the media (disks) don't have the right size, it shows 4 disks (1 dev/disk and 3 dev/rdisk), none of those have more than 1GB

I couldn't compile the 7.2 in my machine, there is anyway to install 7.2 using homebrew?

PS: there is a typo in the instructions https://www.cgsecurity.org/testdisk.pdf, on page 16, "cd e2fsprogs-1.46.2 && confifure && make && cd .." it's written "confifure"

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

Re: Recover hidden dmg file (macOS M1)

#2 Post by cgrenier »

TestDisk 7.2-WIP for Mac OS X Intel 64-bit is available from https://www.cgsecurity.org/wiki/TestDisk_Download
Can you check the disk capacity ?

Thanks for reporting the typo, it's now fixed ;-)

novexfarmer
Posts: 2
Joined: 26 May 2022, 08:07

Re: Recover hidden dmg file (macOS M1)

#3 Post by novexfarmer »

Thanks for the reply ;)

Disk Utility:

disk3s1s1
capacity: 245,11 GB
available: 69,39 GB (11,6 GB purgeable)
used: 184,07

system: APFS (Encrypted)
---

TestDisk 7.2-WIP, Data Recovery Utility, March 2022

Select a media (use Arrow keys, then press Enter):
>Disk /dev/rdisk1 - 524 MB / 500 MiB (RO)

Locked