hexmydecimals / iphone-dataprotection

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

Offline iOS_examiner crashes #151

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run iOS_examiner without parameters against 8 gig ip4 cdma
2. Perform nand_dump and save followed by exit
3. Run iOS_examiner.py against the band_dump and plist

What is the expected output?
I expect to see the iOS_examiner command shell

What do you see instead?
MacBook-Pro:iphone-dataprotection user1$ python python_scripts/ios_examiner.py 
test.bin test.plist
Loading device information from test.plist
Device model: iPhone 4 CDMA
UDID: 0000000000000000000000000000000000000000
ECID: 000000000000
Serial number: 00000000000
key835: 00000000000000000000000000000000
key89B: 00000000000000000000000000000000
Chip id 0x300014e5050 banks per CE physical 2
NAND geometry : 8GB (2 CEs (2 physical banks/CE) of 4128 blocks of 128 pages of 
8192 bytes data, 16 bytes metdata)
Image size matches expected size, looks ok
NANDDRIVERSIGN not found, assuming metadata withening = 1
plog 1 128 102
plog 2 128 102
plog 3 128 102
plog 4 128 102
plog 1 128 102
Effaceable generation 54
Effaceable CRC OK
Found effaceable lockers in ce 1 block 0 (XXX possibly remapped) page 16
Lockers : BAG1, DONE, Dkey, LwVM
DEVICEUNIQUEINFO not found
Using PPN FTL
PPNFTL: lbas_per_page=1
Loading cached Logical->physical map
Creating logical->physical mapping...
lpn 0 => blank
LwVM magic mismatch
lpn 1 => blank
LwVM magic mismatch
lpn 2 => blank
LwVM magic mismatch
lpn 3 => blank
LwVM magic mismatch
lpn 4 => blank
LwVM magic mismatch
lpn 5 => blank
LwVM magic mismatch
lpn 6 => blank
LwVM magic mismatch
lpn 7 => blank
LwVM magic mismatch
lpn 8 => blank
LwVM magic mismatch
lpn 9 => blank
LwVM magic mismatch
Traceback (most recent call last):
  File "python_scripts/ios_examiner.py", line 371, in <module>
    main()
  File "python_scripts/ios_examiner.py", line 368, in main
    ExaminerShell(image).cmdloop("")
  File "python_scripts/ios_examiner.py", line 92, in __init__
    self.system = image.getPartitionVolume(0)
  File "/Users/user1/Data-protection/iphone-dataprotection/python_scripts/nand/nand.py", line 345, in getPartitionVolume
    bdev = self.getPartitionBlockDevice(partNum, key)
  File "/Users/user1/Data-protection/iphone-dataprotection/python_scripts/nand/nand.py", line 342, in getPartitionBlockDevice
    return FTLBlockDevice(self, pt[partNum].first_lba, pt[partNum].last_lba, key)
TypeError: 'NoneType' object is not subscriptable
MacBook-Pro:iphone-dataprotection user1$ 

What version of the product are you using? On what operating system?
OS X version :10.8.5
XCode version :4.6.3
Tools revision : re5e74b2346f2+ tip

Please provide any additional information below.

Original issue reported on code.google.com by pasehash...@gmail.com on 7 Sep 2014 at 7:54

Attachments: