iphone-dataprotection icon indicating copy to clipboard operation
iphone-dataprotection copied to clipboard

no rdisk0s ... device

Open GoogleCodeExporter opened this issue 10 years ago • 11 comments
trafficstars

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 [email protected] on 13 Feb 2014 at 10:14

Attachments:

  • [iPhoneUpdater 3.log](https://storage.googleapis.com/google-code-attachments/iphone-dataprotection/issue-128/comment-0/iPhoneUpdater 3.log)

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

what happened before you lost the data ? 

Original comment by [email protected] on 13 Feb 2014 at 10:18

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

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 [email protected] on 13 Feb 2014 at 10:33

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

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

Original comment by [email protected] on 13 Feb 2014 at 10:46

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

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 [email protected] on 13 Feb 2014 at 11:00

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

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 [email protected] on 13 Feb 2014 at 12:47

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

yes it did. Thats the problem ...

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

Original comment by [email protected] on 13 Feb 2014 at 1:00

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

ssh -p 2222 root@localhost "dd if=/dev/rdisk0" > dump.bin 

Original comment by [email protected] on 13 Feb 2014 at 1:23

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

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 [email protected] on 13 Feb 2014 at 1:51

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

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

Original comment by [email protected] on 13 Feb 2014 at 2:19

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

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 [email protected] on 13 Feb 2014 at 2:25

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

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 [email protected] on 13 Feb 2014 at 3:10

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter