I am trying to take a physical image of a iphone 5s iOS7 via netcat and dd.
I have copies netcat and dd from my mac to the iPhone ,and know when i type in which dd in the iphone it shows the directory. The connection between the iPhone and Mac are successful with root previledges.
So i was trying to push the image ot the mac by the following command
root# /bin/dd if =/dev/rdisk0s2 bs=1M| /bin/nc 192.168.1.3 7000
this should have started the process, however i get the following error
-sh /bin/dd Bad CPU type in executable
-sh /bin/nc Bad CPU type in executable
any idea anyone?
Your "MAC originated" dd is seemingly not able to run on the iPhone.
See this related though oldish topic
https://
Most probably you need to recompile it, including support for the *whatever* CPU the iPhone uses, see
http//
or some specific "for iOS" settings.
Possibly the "-arch armv6" as in here
http//
is needed ?
See also here
http//
See if - for any reason - any of these ddrescue (which is not dd) builds do work
http//
(seen frm the above it is not easy-peasy to recompile on a Mac)
jaclaz