Page 1 of 1

iPad/iPhone data recovery not working

Posted: 28 May 2022, 05:24
by ZaeemCKZ
So for context, I am trying to recover a recently formatted iPad, so I searched up "TestDisk for iOS" to see if it existed, then this (https://www.cgsecurity.org/wiki/Recover ... _an_iPhone) came up, so I was following the guide, and when I came to the "dd" part, it was not working, saying that the resource was busy.

This is an iPad 2, 16GB, with Phoenix 6 and OpenSSH installed.

Also out of curiosity, I tried jailbreaking an iPhone 6 that I had, and the same error occurred, saying that the resource is busy.

All attempts generate a 0-byte .img file on my PC (Manjaro Linux [Kernel 5.15] with 1 TB storage left)

I have also seen this (viewtopic.php?p=29474&hilit=ipad#p29474) guide, and the steps there did not work. I have executed all the commands as superuser.

Any help would be appreciated

Re: iPad/iPhone data recovery not working

Posted: 28 May 2022, 16:34
by cgrenier
If possible, try to umount the device (something like "diskutil unmount /dev/diskXsX") and try again to copy the partition.

Re: iPad/iPhone data recovery not working

Posted: 29 May 2022, 00:44
by ZaeemCKZ
Hello,

I have tried the method you have listed, but it says 'diskutil: command not found'

Even if it did work, the iPad would most likely crash, because I am trying to copy the root partition.

I also tried the umount/unmount command by itself, and it still says 'resource busy'.

Thanks for the advice though.

Re: iPad/iPhone data recovery not working

Posted: 07 Aug 2022, 20:22
by ZaeemCKZ
Hi,

Apologies for the necro, but the iPad is currently writing via dd.

What I did to solve the problem was to make it /dev/rdisk0s1s1 instead of /dev/disk0s1s1.

I also made the bs=1M from the other guide.

Hopefully this helps someone, thanks.