cjvancleve / iphone-dataprotection

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

Bus Error: 10 when trying to boot ramdisk img #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. trying to boot ramdisk img script
2.
3.

What is the expected output? What do you see instead?
successful loading of myramdisk img so i can ssh, instead i get "Bus error: 10" 
and a crash report from redsn0w.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by jpap...@gmail.com on 24 Nov 2011 at 5:57

GoogleCodeExporter commented 9 years ago
Issue 31 has been merged into this issue.

Original comment by jean.sig...@gmail.com on 24 Nov 2011 at 9:55

GoogleCodeExporter commented 9 years ago
Did you try with the latest version of redsn0w 
(https://sites.google.com/a/iphone-dev.com/files/home/redsn0w_mac_0.9.9b8.zip) ?
Otherwise maybe try on Windows instead of OS X.

Original comment by jean.sig...@gmail.com on 24 Nov 2011 at 9:55

GoogleCodeExporter commented 9 years ago
Yeah, tried a bunch of times with both b5 and b8...same error.  Getting lots of 
warnings when I try to do the img3f step as well...

img3fs.c:100: warning: pointer targets in passing argument 2 of ‘strncmp’ 
differ in signedness
img3fs.c:104: warning: pointer targets in passing argument 2 of ‘strncmp’ 
differ in signedness
img3fs.c:108: warning: pointer targets in passing argument 2 of ‘strncmp’ 
differ in signedness
img3fs.c: In function ‘img3_init’:
img3fs.c:266: warning: ‘EVP_aes_128_cbc’ is deprecated (declared at 
/usr/include/openssl/evp.h:766)
img3fs.c:269: warning: ‘EVP_aes_192_cbc’ is deprecated (declared at 
/usr/include/openssl/evp.h:776)
img3fs.c:272: warning: ‘EVP_aes_256_cbc’ is deprecated (declared at 
/usr/include/openssl/evp.h:786)
img3fs.c:281: warning: ‘EVP_CIPHER_CTX_init’ is deprecated (declared at 
/usr/include/openssl/evp.h:636)
img3fs.c:282: warning: ‘EVP_DecryptInit_ex’ is deprecated (declared at 
/usr/include/openssl/evp.h:590)
img3fs.c:283: warning: ‘EVP_DecryptUpdate’ is deprecated (declared at 
/usr/include/openssl/evp.h:592)
img3fs.c:284: warning: pointer targets in passing argument 3 of 
‘EVP_DecryptUpdate’ differ in signedness
img3fs.c: In function ‘img3_destroy’:
img3fs.c:307: warning: ‘EVP_CIPHER_CTX_init’ is deprecated (declared at 
/usr/include/openssl/evp.h:636)
img3fs.c:308: warning: ‘EVP_EncryptInit_ex’ is deprecated (declared at 
/usr/include/openssl/evp.h:581)
img3fs.c:309: warning: ‘EVP_EncryptUpdate’ is deprecated (declared at 
/usr/include/openssl/evp.h:583)
img3fs.c:310: warning: pointer targets in passing argument 3 of 
‘EVP_EncryptUpdate’ differ in signedness

could this effect myramdisk img?

Original comment by jpap...@gmail.com on 24 Nov 2011 at 1:42

GoogleCodeExporter commented 9 years ago
The warnings for img3fs are "normal". What about redsn0w on windows ?

Original comment by jean.sig...@gmail.com on 25 Nov 2011 at 11:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I was able to get the ramdisk into the phone using windows, but I can't enter 
the python commands in the command prompt.  I must not have python installed on 
my windows partition.  Trying to ssh through cyberduck on windows but still no 
luck.  I have to change the port directions through python first in order to 
use my ssh client, right?

Original comment by jpap...@gmail.com on 26 Nov 2011 at 9:10

GoogleCodeExporter commented 9 years ago
On windows, you need to install python and the modules listed on the README 
page (pycrypto, M2crypto, construct, progressbar). Once you've booted the 
ramdisk with redsn0w, run the usbmuxd-python-client/relay.bat script to forward 
the ports, then ssh to localhost:2222 (using PuTTy for example).

Original comment by jean.sig...@gmail.com on 27 Nov 2011 at 5:30

GoogleCodeExporter commented 9 years ago
I'm connected through SSH now, but I can't seem to get to the files on my 
phone.  I have to bruteforce, but I'm getting errors:

File "C:\Desktop\iphone-dataprotection\python_scripts\demo_bruteforce.py", line 
3 in <module>
from keystore.keybag import Keybag
File "C:\Desktop\iphone-dataprotection\python_scripts\keystore\keybag.py", line 
5 in <module>
from crypto.aeswrap import AESUnwrap
ImportError: No module named crypto.aeswrap

I had trouble running the scripts for pycrypto, m2crypto, construct, and 
progress bar so I ended up manually downloading them from their websites and 
installing on my system.  Does that make a difference?

Original comment by jpap...@gmail.com on 28 Nov 2011 at 2:05

GoogleCodeExporter commented 9 years ago
I had to setup easy_install for python.  I was able to install the dependencies 
for progress bar, pycrypto, and construct no problem, but I'm getting an error 
for m2crypto:

setup script exited with error: command 'swig.exe' failed. no such file or 
directory.  

I have manually downloaded swig, but still no luck.

Original comment by jpap...@gmail.com on 30 Nov 2011 at 5:08

GoogleCodeExporter commented 9 years ago
Try installing this binary package for m2crypto :
http://chandlerproject.org/pub/Projects/MeTooCrypto/M2Crypto-0.21.1.win32-py2.6.
exe

Original comment by jean.sig...@gmail.com on 11 Dec 2011 at 10:26

GoogleCodeExporter commented 9 years ago
closing old issues

Original comment by jean.sig...@gmail.com on 11 Feb 2014 at 10:38