Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel_patcher.py not working #44

Closed
GoogleCodeExporter opened this issue Mar 29, 2015 · 9 comments
Closed

kernel_patcher.py not working #44

GoogleCodeExporter opened this issue Mar 29, 2015 · 9 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
0.5. A novice in scripts and coding.
1.python python_scripts/kernel_patcher.py iPhone3,1_5.0_9A334_Restore.ipsw

What do you see instead?
Traceback (most recent call last):
  File "python_scripts/kernel_patcher.py", line 8, in <module>
    from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher

What version of the product are you using? On what operating system?
VMWare Mac OS Lion with Xcode installed

Please help, I've been viewing your video and read me file trying to follow it. 
 Many thanks.

Original issue reported on code.google.com by marvin.m...@gmail.com on 22 Jan 2012 at 9:09

@GoogleCodeExporter
Copy link
Author

you need to install pycrypto :
sudo ARCHFLAGS='-arch i386 -arch x86_64' easy_install pycrypto

Original comment by jean.sig...@gmail.com on 22 Jan 2012 at 9:15

  • Changed state: Duplicate
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Thank you!

Original comment by marvin.m...@gmail.com on 22 Jan 2012 at 9:22

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Jean,

I've sucessfully dumped the iPhone file system onto the Mac.  I've used the 
undelete python codes.  Not much luck since then.  I'm looking for the pictures 
and videos that I have deleted on a particular date, any chance that you can 
help me out if they have been overwritten already or it's just me being stupid 
not able to recovery them?  Thanks.

P.S. the weird thing is that not all photos can be viewed, the ones that can't 
be viewed are reported as not in the correct format, just wondering if I have 
done the decryption correctly?

Best regards,

Marvin

Original comment by marvin.m...@gmail.com on 23 Jan 2012 at 1:34

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

the emf_undelete script cannot recover many things, so do not expect much from 
it.
about the files that cant be viewed, the files recovered by emf_undelete are 
not always valid because it only checks if the first block is ok, but it might 
not be able to recover all the others.

Original comment by jean.sig...@gmail.com on 23 Jan 2012 at 9:26

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

The ones that can't be viewed directly are the ones in the DCIM folder.  Does 
this mean I haven't decrypted the raw image correctly?

Here's a complicated thought to recover the lost file.  File keys in cprotect 
extended attribute, are they being stored in time order according to the file 
being created?  I know the exact date and roughly the time the file was 
created, so we can find the existing files' keys as reference to pinpoint and 
so isolate a few possible file keys and use them to decrypt the whole disk 
image again and try our luck?

I know it will take time, 16Gb is one hour for each trial but is it possible?  
I really need my file back.  Appreciate your help.  Thanks.

Original comment by marvin.m...@gmail.com on 23 Jan 2012 at 11:10

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

you mean when you mount the data partition image, some files are valid but 
others not ?

Original comment by jean.sig...@gmail.com on 24 Jan 2012 at 9:46

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

That's correct.  Some can be opened without problems but some are saying their 
format is not supported.  Have I done something wrong?  

Original comment by marvin.m...@gmail.com on 24 Jan 2012 at 10:47

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

did you made any progress ? can you try running the file command on the files 
that wont open to check if they contain valid data (for example "file 
/Volumes/Data/mobile/Media/DCIM/100APPLE/file_that_wont_open.jpg")

Original comment by jean.sig...@gmail.com on 29 Jan 2012 at 12:23

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

 how to make rebuild ramdisk for ios 7 please tech me details thanks you so much sir .... :) i can make this command " python python_scripts/kernel_patcher.py iPhone3,1_7.0.4_11B554a_Restore.ipsw "

I have this error how can i do bro ?

"Traceback (most recent call last):
  File "python_scripts/kernel_patcher.py", line 8, in <module>
    from Crypto.Cipher import AES
  File "build/bdist.macosx-10.9-intel/egg/Crypto/Cipher/AES.py", line 50, in <module>
  File "build/bdist.macosx-10.9-intel/egg/Crypto/Cipher/_AES.py", line 7, in <module>
  File "build/bdist.macosx-10.9-intel/egg/Crypto/Cipher/_AES.py", line 3, in __bootstrap__
ImportError: No module named pkg_resources"

Original comment by fridayth...@gmail.com on 5 Jan 2014 at 4:35

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant