Recrypt a DMG?

Discussion in 'iOS Development' started by mohitd2000, Sep 18, 2010.

  1. mohitd2000

    mohitd2000 Member

    Joined:
    Jul 6, 2009
    Messages:
    231
    Likes Received:
    0
    Device:
    3G iPod touch
    How could I recrypt a dmg? One instance is IF I wanted to create my own jailbreak (The keyword in here is IF). Then how could I recrypt the root filesystem?
  2. Tkf1

    Tkf1 Community Development Staff Member

    Joined:
    Oct 12, 2009
    Messages:
    17,397
    Likes Received:
    2,488
    Device:
    iPad mini
    You can't. And if you can it'll be realllllllly hard.
  3. mohitd2000

    mohitd2000 Member

    Joined:
    Jul 6, 2009
    Messages:
    231
    Likes Received:
    0
    Device:
    3G iPod touch
    Then how do jailbreakers create custom firmware? You can't just leave the dmg decrypted, or the iDevice won't recognize it.
  4. Tkf1

    Tkf1 Community Development Staff Member

    Joined:
    Oct 12, 2009
    Messages:
    17,397
    Likes Received:
    2,488
    Device:
    iPad mini
    http://gumballtech.com/2010/04/12/decrypt-browse-the-iphone-os-4-0-file-system-win-mac-lin/
  5. mohitd2000

    mohitd2000 Member

    Joined:
    Jul 6, 2009
    Messages:
    231
    Likes Received:
    0
    Device:
    3G iPod touch
    Thanks. Is the sn0wbreeze source code avaliable yet?
  6. lauNchD

    lauNchD Well-Known Member

    Joined:
    Jan 27, 2008
    Messages:
    1,844
    Likes Received:
    261
    Device:
    iPhone 5 (Black)
    PwnageTool, etc., decrypt, modify and recompile the firmware. Custom IPSWs aren't encrypted, because pwned devices "just don't care."

    You can't just "re-crypt" a firmware you modified for use on a non-pwned device. That would be f****** stupid on Apple's side. They need to sign & encrypt their firmware with their private key. If anything is modified, the signature becomes invalid and your device will refuse to restore (unless pwned).

    - Saurik

Share This Page