Decrypt & Browse the iPhone OS 4.0 File System [Win + Mac + Lin]

Decrypting and browsing the file system for iPhone OS 4.0 is very easy, and can be done on Windows, Mac OS X, and Linux.

First, you’ll need a copy of VFDECRYPT: Windows |  Mac OS X |  Linux

Next, you’ll need the decryption keys.

iPhone 3G

0da2d3316d5ee7cd1858e4035e451387cd8156e97535fb09028859e68e5b7b39a6649552

iPhone 3GS

62ea9bf9971e6c410231646f916f80330f9cbc1d1c585f0c03dab6b6f7158dc0a9c5efaf

iPod Touch 2G

d88fa434f6a8c50fd49cd0923879da5c3079c59c0e534cff521a9cecbcad48d84b4daef0

iPod Touch 3G

382dee11b9d80387b16ac2030ee1e903b78d9743a31a18bcafc922b7921eca85ab0aebf7

Next, you’ll need to run the following command if you’re on Mac OS X or Linux:

./vfdecrypt -i <dmg> -o decrypted_fs.dmg -k <key>

If you’re on Windows, run this:

vfdecrypt.exe -i <dmg> -o decrypted_fs.dmg -k <key>

Replace <dmg> with the big extracted DMG from the IPSW. Replace <key> with the appropriate decryption key.

Running that command will spit out the decrypted DMG, which you can then mount and browse.

A lot of people have been wondering how to re-encrypt/re-compile the DMG file to put it back inside of the IPSW file. Well, you can’t easily do it. There are a lot of checks that iTunes have to conduct beforehand. The only tools that are able to modify and recompile the DMG/IPSW is PwnageTool and sn0wbreeze. Unless you know how those 2 tools work, you won’t be able to manually do this yourself. Also, those tools don’t support 4.0 beta, so don’t even bother.

You can leave a response, or trackback from your own site.
  • colin

    watch this video it’ll help you alot… helped me
    linkhttp://www.youtube.com/watch?v=3YJMCpkgAto

  • http://gumballtech.com brian

    MagicISO should be able to do it.

  • http://gumballtech.com brian

    Google that DLL, and download it to the same location as VFDecrypt.exe.

  • http://gumballtech.com brian

    Yeah, that’s the way it is.

  • hooly85

    i get an error that says i'm missing “cyg-crypto-0.9.8.dll”. what do i do

  • hooly85

    i got it decrypted, but now i need a way to view the .dmg in windows 7

  • hooly85

    ok, now it's a read only situation

  • iAziz

    how you do decrypted the IPSW file I Have Windows & Mac

  • http://gumballtech.com brian

    It’s not that easy. There’s a lot of checks (by iTunes) that have to be passed, and isn’t exactly easy to do. Only tools like PwnageTool and sn0wbreeze can do that, none of which are compatible with 4.0 (yet).

  • musicbug08

    How do I bypass the volume read only situation?

  • http://gumballtech.com brian

    You can't. There isn't any reason to.

  • http://gumballtech.com brian

    It's in the post!

  • musicbug08

    I have a reason to do it. I want to edit some files in the decrypted dmg and repackage it. Is there a way?

  • http://gumballtech.com brian

    It's not that easy. There's lots of checks in iTunes that need to be bypassed. PwnageTool and sn0wbreeze are the only tools that can do it, neither of which are compatible with iPhone OS 4.0.

  • essam

    hi now i decrypt the os and opened it with trans mac opened the file system version in the correct path how do i save it in the os and how to repack the os to ipsw

  • http://gumballtech.com brian

    You can't.

  • Pingback: uberVU - social comments

  • jamonster

    how do you open the .dmg files on a mac… i need lots of help!!!

  • ipthacker

    yea thats what im wondering… how do you open the decrypted .dmg on a mac?

  • olli

    Hi,

    How can we encrypt the dmg after some modifications ?
    Is it possible install re-zipped ipsw file via itunes?

    Thanks,
    olli

  • tomer1510

    how do u re-encrypt the file???

  • tomer1510

    how do u re-encrypt the file???

  • tomer1510

    how do u re-encrypt the file???

  • tomer1510

    how do u re-encrypt the file???

  • GILGEGEGDSASC

    The unarchived ipsw folder put .zip in the end and then put .ipsw

  • Gilberto Aponte

    what program for mac is used to open the decrypted.dmg?

  • http://gumballtech.com brian

    Finder…

  • LOGAn

    one dmg says its not recognized and one says theres no filesystem

  • Robot

    7Zip should allow you to open unencrypted .dms s

  • Robot

    *dmg s

  • Iandysofa

    I get unexpected token a ‘newline’

  • http://pulse.yahoo.com/_NSCSS7PQOUBLIGMTMFCVY75FDE Matthew Ryan S

    No Mac HFS volumes found.

  • Guthrie Douglas

    Brian. Does the application VFDECRYPT allow recovery of photos and SMS messages which have been deleted in an iPhone with 4.0.2. I would appreciate any advice/direction you can offer.

  • http://gumballtech.com brian

    No, it doesn’t. vfdecrypt is only good for extracting files from a stock IPSW. You could probably try an iPhone backup extractor tool.

  • http://gumballtech.com brian

    No, it doesn’t. vfdecrypt is only good for extracting files from a stock IPSW. You could probably try an iPhone backup extractor tool.

  • http://www.facebook.com/profile.php?id=100002260492953 Martin Sondermann

    I don’t work! It says cannot run because cygcrypto-0.9.8.dll not found. Reinstalling can fix the problem.

  • http://www.facebook.com/profile.php?id=100002260492953 Martin Sondermann

    I don’t work! It says cannot run because cygcrypto-0.9.8.dll not found. Reinstalling can fix the problem.

  • Jerry_3be

    is there a decryption keys for ipod touch 4g????