Page 1 of 1

ipad DD not working...

Posted: 01 Nov 2019, 20:48
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...

Re: ipad DD not working...

Posted: 02 Nov 2019, 09:57
by cgrenier
The source "/dev/rdisk0" is wrong. The "mount" command may display the correct one.

Re: ipad DD not working...

Posted: 03 Nov 2019, 03:11
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.

Re: ipad DD not working...

Posted: 03 Nov 2019, 18:47
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?

Re: ipad DD not working...

Posted: 05 Nov 2019, 18:34
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?

Re: ipad DD not working...

Posted: 05 Nov 2019, 21:25
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...