nabla-c0d3 / iphone-dataprotection

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

iOS 8.1.2 ios_examiner undelete error #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
when i execute ios_examiner.py iphone5_812.bin e228e0468a.plist
(xxxx iPhone-data) / undelete
Carver output undelete
Collecting existing file ids
lpn 659604 => blank
lpn 659605 => blank
Traceback (most recent call last):
  File "/Volumes/data/ios_hack/iphone-dataprotection/python_scripts/ios_examiner.py", line 459, in <module>
    main()
  File "/Volumes/data/ios_hack/iphone-dataprotection/python_scripts/ios_examiner.py", line 454, in main
    ExaminerShell(image).cmdloop("")
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py", line 221, in onecmd
    return func(arg)
  File "/Volumes/data/ios_hack/iphone-dataprotection/python_scripts/ios_examiner.py", line 250, in do_undelete
    self.carver.carveDeletedFiles_fast(z, f)
  File "/Volumes/data/ios_hack/iphone-dataprotection/python_scripts/nand/ppn_carver.py", line 144, in carveDeletedFiles_fast
    self.getExistingFileIDs()
  File "/Volumes/data/ios_hack/iphone-dataprotection/python_scripts/nand/ppn_carver.py", line 137, in getExistingFileIDs
    self.fileIds = self.volume.listAllFileIds()
  File "/Volumes/data/ios_hack/iphone-dataprotection/python_scripts/hfs/hfs.py", line 273, in listAllFileIds
    self.catalogTree.traverseLeafNodes(callback=self.grabFileId)
  File "/Volumes/data/ios_hack/iphone-dataprotection/python_scripts/hfs/btree.py", line 148, in traverseLeafNodes
    _, stuff = self.readBtreeNode(nodeNumber)
  File "/Volumes/data/ios_hack/iphone-dataprotection/python_scripts/hfs/btree.py", line 89, in readBtreeNode
    offsets = Array(btnode.numRecords, UBInt16("off")).parse(node[-2*btnode.numRecords:])
  File "/Library/Python/2.7/site-packages/construct-2.5.2-py2.7.egg/construct/core.py", line 188, in parse
    return self.parse_stream(BytesIO(data))
  File "/Library/Python/2.7/site-packages/construct-2.5.2-py2.7.egg/construct/core.py", line 198, in parse_stream
    return self._parse(stream, Container())
  File "/Library/Python/2.7/site-packages/construct-2.5.2-py2.7.egg/construct/core.py", line 445, in _parse
    raise ArrayError("expected %d, found %d" % (count, c), sys.exc_info()[1])
construct.core.ArrayError: ('expected 65535, found 4096', 
FieldError(FieldError('expected 2, found 0',),))

Original issue reported on code.google.com by duoduo...@gmail.com on 6 Jan 2015 at 12:43

GoogleCodeExporter commented 9 years ago
hi Everybody im not expert but iphone 4s become icloud locked i need ssh 
ramdisk for delete setup.app from phone please help me how to use this file 
please

Original comment by faisalma...@gmail.com on 29 Jan 2015 at 9:41