iPhone Physical Aqu...
 
Notifications
Clear all

iPhone Physical Aquisition iOS7

2 Posts
2 Users
0 Reactions
585 Views
CopyRight
(@copyright)
Estimable Member
Joined: 13 years ago
Posts: 184
Topic starter  

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?


   
Quote
jaclaz
(@jaclaz)
Illustrious Member
Joined: 18 years ago
Posts: 5133
 

Your "MAC originated" dd is seemingly not able to run on the iPhone.

See this related though oldish topic
https://discussions.apple.com/message/3226337

Most probably you need to recompile it, including support for the *whatever* CPU the iPhone uses, see
http//www.everymac.com/systems/apple/iphone/iphone-faq/iphone-processor-types.html
or some specific "for iOS" settings.

Possibly the "-arch armv6" as in here
http//theiphonewiki.com/wiki/Toolchain_2.0
is needed ?
See also here
http//techtalktone.wordpress.com/2011/12/05/testing-your-ios-apps-on-a-jailbroken-device-2/

See if - for any reason - any of these ddrescue (which is not dd) builds do work
http//tinyapps.org/blog/mac/200808220700_ddrescue_for_mac_os_x.html
(seen frm the above it is not easy-peasy to recompile on a Mac)

jaclaz


   
ReplyQuote
Share: