iOS 6.0 Decrypting iOS6 Firmware

Discussion in 'iOS Jailbreak & Cydia' started by applepie, Jun 12, 2012.

  1. applepie New Member

    Member Since:
    Jun 5, 2012
    Message Count:
    21
    Device:
    iPhone 4S (White)
    Hello,
    I am trying to decrypt the iOS6 firmware using vfdecrypt and the needed keys from http://theiphonewiki.com/wiki/index.php?title=SundanceVail_10A5316k_(iPhone_4_CDMA)
    I run the commands, and it builds a new .dmg, but when I mount it it gives me a "no mountable file system" error. I have tried this for both iOS6 CDMA and iOS6 GSM versions, no luck. I have used vfdecrypt before, in the exact same way, and it worked fine. Has anyone been able to decrypt ios6 or know what is wrong?
  2. Tkf1 Community Development Team

    Member Since:
    Oct 12, 2009
    Message Count:
    16,081
    Device:
    iPad mini
    What are you using to mount the .DMG?
  3. applepie New Member

    Member Since:
    Jun 5, 2012
    Message Count:
    21
    Device:
    iPhone 4S (White)
    I open it like any other dmg....
  4. Vegeta Banned

    Member Since:
    Jan 10, 2011
    Message Count:
    747
    I'm getting the same issue but I used a different program to decrypt it. It must have protection on it or something
  5. applepie New Member

    Member Since:
    Jun 5, 2012
    Message Count:
    21
    Device:
    iPhone 4S (White)
    Maybe apple changed something....
  6. Vegeta Banned

    Member Since:
    Jan 10, 2011
    Message Count:
    747
    It seems like it, or maybe betas are different. Im keen to get those icons out :)
  7. ValleyForge Community Development Head

    Member Since:
    May 25, 2011
    Message Count:
    10,906
    Device:
    5G iPod touch
    I tried this on Windows 7 and I can't open it with any zip opener I have. I think with the implementation of KASLR and preventing us from opening IPSW's, Apple really doesn't want us to look inside iOS 6.
  8. Thuchapol Member

    Member Since:
    Jul 17, 2012
    Message Count:
    59
    Device:
    5G iPod touch
    ValleyForge likes this.
  9. applepie New Member

    Member Since:
    Jun 5, 2012
    Message Count:
    21
    Device:
    iPhone 4S (White)
    I got it, but when opening the dmg I get an "invalid checksum" error. The command I used (after cd'ing into the command's directory) was :

    ./dmg dmg /Users/...(path to ios6 dmg) /Users/(path to output dmg) -key 781f6676b6a7ec5d44d67cae5103736062c6229b8194b26f9782cb638d7f9c388990ff80

    I am extracting an iphone 3gs ios6 beta 1 firmware
  10. ValleyForge Community Development Head

    Member Since:
    May 25, 2011
    Message Count:
    10,906
    Device:
    5G iPod touch
    I think the syntax should be "./dmg extract [input.dmg] [output.img] -k [key]"