Closed GoogleCodeExporter closed 9 years ago
Hi Jean,
If I want to try looking at the problem, would you please suggest which part I
should start with? Thanks a lot.
Original comment by kay...@gmail.com
on 4 Mar 2013 at 10:21
Can you post the output of ios_examiner without parameters on the same device
with ramdisk booted ? thanks
Original comment by jean.sig...@gmail.com
on 4 Mar 2013 at 10:39
Thanks for your reply. Please find the output attached.
I did the acquisition twice and got the same hash values.
Thanks a lot.
Original comment by kay...@gmail.com
on 4 Mar 2013 at 2:14
Attachments:
ok, can you upload the data at the end of the nand image starting at offset
0x81f0fbfb0 until the end. Also, can you boot the ramdisk and check on screen
for the message
"Found DEVICEINFOBBT at page %d, banksPerCEphyiscal=%d" or "Couldnt guess the
number of physical banks, assuming 1\n" (i assume it will be the later, the bug
being that banksPerCEphyiscal should be set to 2 on the ramdisk).
Thanks.
Original comment by jean.sig...@gmail.com
on 5 Mar 2013 at 12:25
Due to some complicated reasons, my apologies that the content of the nand
image cannot be uploaded here. What tests/checking do you want to do? May I do
it on my own?
Unfortunately the iPhone3GS is currently not with me and all I got is only the
nand image. Sorry that I'm unable to provide the required information. So in my
case is there anything I can do to fix the problem with the nand image on hand?
In any cases your kind assistance is really appreciated. Thank you very much.
Original comment by kay...@gmail.com
on 6 Mar 2013 at 4:27
ok, will you ever get access to the device again ? anyway if the bug is the one
i suspect then you cant do much to fix the image, as it was dumped incorrectly.
can you check if the following hex pattern appears in the image : "A5 A5 A5 A5
A5 A5 FF FF"
it is the spare area of the "special pages" that should be at the end of the
image (but apparently are not because of the bug). thanks again.
Original comment by jean.sig...@gmail.com
on 6 Mar 2013 at 9:25
Thanks for your prompt reply. It's not straightforward to get access to the
device again. But if the bug can be fixed, it worths a try definitely.
I checked the image and as you anticipated, I couldn't find the pattern "A5 A5
A5 A5 A5 A5 FF FF". I tried opening another image (which could be processed
without any errors) and found the pattern near the end of the image. At the
same locations (last sixteenth to nineth bytes) of the faulty image, the bytes
read "C4 6A C1 00 00 08 FF FF". Does it imply the bug being banksPerCEphyiscal
should be set to 2 on the ramdisk? If so, can it be fixed?
Thanks a lot again.
Original comment by kay...@gmail.com
on 6 Mar 2013 at 9:53
when you have the device again, you can try rebuilding the ramdisk with this
patch : it should find the correct value for banksPerCEphyiscal, and hopefully
produce a correct image.
thanks.
Original comment by jean.sig...@gmail.com
on 6 Mar 2013 at 11:01
Attachments:
I'm very grateful for your help!
I will try to get back the device asap and test if the patch works. Will update
you later. Thanks a lot.
Btw, would also like to know is that the value for banksPerCEphysical is only
incorrect for 32GB device? I guess so because there's no problem with my 16GB
device.
Original comment by kay...@gmail.com
on 7 Mar 2013 at 12:53
yes, it is only incorrect for this device.
Original comment by jean.sig...@gmail.com
on 7 Mar 2013 at 12:09
I see. Thanks.
Original comment by kay...@gmail.com
on 8 Mar 2013 at 2:05
I got the device and did the acquisition again with the patched ramdisk. The
image could be processed without errors. Thank you so much for fixing the
problem! :)
Original comment by kay...@gmail.com
on 12 Mar 2013 at 2:17
Great, thanks a lot for testing.
Original comment by jean.sig...@gmail.com
on 15 Mar 2013 at 12:28
This issue was closed by revision c14d67b57a17.
Original comment by jean.sig...@gmail.com
on 26 May 2013 at 11:13
Original issue reported on code.google.com by
kay...@gmail.com
on 25 Feb 2013 at 12:39Attachments: