grue0 / iphone-dataprotection

Automatically exported from code.google.com/p/iphone-dataprotection
0 stars 0 forks source link

no rdisk0s ... device #128

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
So i start this issue with great hope we can recover any data from this 3GS.

I created the iOS5 ramdisk and my /dev/ folder has no rdisk0sXXX inside.

I attached the iPhone Update log with a try to "update" the phone the a non 
erase firmware.(Win 7 / iTunes 11.0.5)

I think the partition table is empty so the device will not show any data 
partition.

What version of the product are you using? On what operating system?
OS X version : 10.9.1
XCode version : 5.0.2
Tools revision : 9253cb99a012+ tip

Please provide any additional information below.

Is there any known way to recover the partition table or dump the complete 
flash chip content?

Original issue reported on code.google.com by Reaverma...@googlemail.com on 13 Feb 2014 at 10:14

Attachments:

GoogleCodeExporter commented 8 years ago
what happened before you lost the data ? 

Original comment by jean.sig...@gmail.com on 13 Feb 2014 at 10:18

GoogleCodeExporter commented 8 years ago
I work in a repair service center for smartphones. Someone take the device to 
us and said that he entered the passcode wrong to often and tried to recover 
the data with a programm. i also tried the same tool and it showed me the data 
but i can't export without buying the full version. So i tried this ramdisk 
method and ended up with this. Now the tool can't see any data anymore.

Need any more information?

Original comment by Reaverma...@googlemail.com on 13 Feb 2014 at 10:33

GoogleCodeExporter commented 8 years ago
weird, what was the tool ? looks like the device was wiped somehow, i don't 
think you can recover anything.

Original comment by jean.sig...@gmail.com on 13 Feb 2014 at 10:46

GoogleCodeExporter commented 8 years ago
Wondershare Dr. Phone
Can i write the partition table manually?
I think the iOS has a permanent partition layout ... maybe i can create a 
partition table with this layout?

is there a way to push a tool like gparted with the needed files to the iPhone 
to scan the filesystem?

Original comment by Reaverma...@googlemail.com on 13 Feb 2014 at 11:00

GoogleCodeExporter commented 8 years ago
did it still boot to the lockscreen before you used the ramdisk ?
i dont think writing the partition table will help, try dumping disk0 but i 
suppose it will be all zeroes

Original comment by jean.sig...@gmail.com on 13 Feb 2014 at 12:47

GoogleCodeExporter commented 8 years ago
yes it did. Thats the problem ...

can you give me the command for the disk0 dump please?

Original comment by Reaverma...@googlemail.com on 13 Feb 2014 at 1:00

GoogleCodeExporter commented 8 years ago
ssh -p 2222 root@localhost "dd if=/dev/rdisk0" > dump.bin 

Original comment by jean.sig...@gmail.com on 13 Feb 2014 at 1:23

GoogleCodeExporter commented 8 years ago
i think this is bad ...

dd: reading `/dev/rdisk0': Invalid argument
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.011946 s, 0.0 kB/s

Original comment by Reaverma...@googlemail.com on 13 Feb 2014 at 1:51

GoogleCodeExporter commented 8 years ago
try /dev/disk0 instead of /dev/rdisk0
but i think the device was somehow erased, not sure exactly why

Original comment by jean.sig...@gmail.com on 13 Feb 2014 at 2:19

GoogleCodeExporter commented 8 years ago
same result ... so i think everything is lost.

Damn it ...

Thanks ... if you find any solution or have any idea left please tell me ;)

Original comment by Reaverma...@googlemail.com on 13 Feb 2014 at 2:25

GoogleCodeExporter commented 8 years ago
yes very empty ...

-sh-4.0# fdisk -d /dev/rdisk0 
0,0,0x00,-,0,0,0,0,0,0
0,0,0x00,-,0,0,0,0,0,0
0,0,0x00,-,0,0,0,0,0,0
0,0,0x00,-,0,0,0,0,0,0
-sh-4.0# fdisk -d /dev/disk0  
0,0,0x00,-,0,0,0,0,0,0
0,0,0x00,-,0,0,0,0,0,0
0,0,0x00,-,0,0,0,0,0,0
0,0,0x00,-,0,0,0,0,0,0

Original comment by Reaverma...@googlemail.com on 13 Feb 2014 at 3:10