ipad DD not working...

Using PhotoRec to recover lost data
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
dudeemb
Posts: 5
Joined: 01 Nov 2019, 20:34

ipad DD not working...

#1 Post by dudeemb »

I need to create a disk image of my ipad on my MacBook (running Mojave) so I can retrieve lost photos with PhotoRec...

I followed the instructions given here: https://www.cgsecurity.org/wiki/Recover ... _an_iPhone

These instructions are for the iphone but I believe it should work for the ipad (V1 ipad, no camera)

when I run the command from the terminal on the ipad:
dd if=/dev/rdisk0 bs=4096 | ssh -C CDC@192.168.1.10 'dd of=iphone.img'

I get the following::
dd: reading `/dev/disk0' : Invalid argument
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.093975 s, 0.0 kb/s

Can someone tell me what I did wrong?

it does create a iphone.img file on my Macbook HD with 0 bytes...

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

Re: ipad DD not working...

#2 Post by cgrenier »

The source "/dev/rdisk0" is wrong. The "mount" command may display the correct one.

dudeemb
Posts: 5
Joined: 01 Nov 2019, 20:34

Re: ipad DD not working...

#3 Post by dudeemb »

Thanks , I typed in mount and got the following...

/dev/disk0s1s1 on / (hfs, local, journaled, noatime)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s1s2 on /private/var (hfs, local, journaled, noatime, protect)

Hope this is helpful.

dudeemb
Posts: 5
Joined: 01 Nov 2019, 20:34

Re: ipad DD not working...

#4 Post by dudeemb »

Jailbroke with Cydia which I believe has BSD as far as I could find/read... perhaps not? maybe you could point me toward how to find and install BSD as I can find no such thing... Open SSH and Terminal are on the ipad...

DD was something I read was part of my Macbook OS, perhaps it is something I am missing?

dudeemb
Posts: 5
Joined: 01 Nov 2019, 20:34

Re: ipad DD not working...

#5 Post by dudeemb »

I have run:

dd if=/dev/rdisk01s1 bs=4096 | ssh -C CDC@192.168.1.10 'dd of=iphone.img'

and

Run dd if=/dev/rdisk01s2 bs=4096 | ssh -C CDC@192.168.1.10 'dd of=iphone.img'

unfortunately both gave me the Invalid argument... and created a 0 byte file on my macbook HD...

Anyone know what to check next?

dudeemb
Posts: 5
Joined: 01 Nov 2019, 20:34

Re: ipad DD not working...

#6 Post by dudeemb »

Ok I found this new guide... https://forums.modmy.com/file-mods-f...roken-mac.html

It is basically the same except I run things through terminal on my mac... It recommends using " bs=4096kb " instead of "4096"... this did not work either but another webpage recommended replacing with "bs=1M" ... THIS WORKED!!!

currently in progress... will report back...

Locked