Page 1 of 2 12 LastLast
Results 1 to 10 of 15
Discuss [.ipa format] getting AppStore apps on Jailbroken iPhones at the AppStore Software - Hackint0sh.org; So.. iTunes 7.7 is now out. As is the app store on iTunes . Downloaded ...
  1. #1
    Senior Professional Array

    Join Date
    Jul 2006
    Posts
    222
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    20

    Default [.ipa format] getting AppStore apps on Jailbroken iPhones

    So.. iTunes 7.7 is now out. As is the app store on iTunes.

    Downloaded apps are stored, at least in OS X by default, under ~/Music/iTunes/Mobile Applications/

    They all end with a ".ipa" extension, which is just another .zip fle. After unzipping, they decompress to and iTunesArtwork file, a iTunesMetadata.plist file and a Payload folder with the app store app.

    So if/when 2.0 is jailbroken.. anyone want to try installing an app non-sandboxed? (IE, in the /Applications folder). Are they signed? (They appear to be, see below) Will this work with non-free apps?



    Also, the app packages appear to have two additional folders that "normal" app packages do not, a _CodeSignature folder, and a SC_Info folder... There is also a sim link in the app package to the "CodeResources" file, which is in the _CodeSignature folder.

    The CodeResources file is an XML file that contains every file in the package, along with a signature for each (presumably so if anything is modified it wont run?). There is also a rules section... See screenshot here for an example:

    http://g.appleguru.org/CodeResources.png
    Last edited by appleguru; 07-10-2008 at 12:20 PM. Reason: Resized image for happy iPhone viewing, added Code Signature info



  2. #2
    Board Hero Array

    Join Date
    Dec 2007
    Posts
    1,044
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    74

    Default

    For Windows users: the applications (.ipa files) are in the user profile, in My documents\My music\iTunes\Mobile Applications.

    You can view the contents of an application by renaming it: change the extension from .ipa to .zip; then double-click the file.
    iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

    Installing Cydia programs on a phone that has no internet connection: read this.

    Editing binary .plist, .strings, .nib and .xib files:
    * on your computer: Windows tool / conversion website.
    * on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).

  3. #3
    Amazingly Knowledgeable Array DJ McG's Avatar

    Join Date
    Dec 2007
    Location
    United States
    Posts
    809
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    59

    Default

    I doubt it will work until the dev team figures out how to crack the signature, if they do that is.


    iPhone "2G" - 3.1.3 - Jailbroken + iPhoDroid
    iPhone 4 - 4.0.2 - Not jailbroken (yet)


  4. #4
    Professional Array

    Join Date
    Jun 2008
    Posts
    68
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    SOLUTION: Wait for Pwnage Tool 1.2 and then upgrade to 2.0 firmware

  5. #5
    Advanced Array

    Join Date
    Feb 2008
    Posts
    48
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by george_6666 View Post
    SOLUTION: Wait for Pwnage Tool 1.2 and then upgrade to 2.0 firmware
    george,

    fantastic. thanks for your technical advise. this helps the community a lot.

    now back to topic:

    1. are these files encrypted or only signed?
    2. you may put the binary into IDA to see which functions are getting used.

    you may upload the binary to a place of your choice and drop me a PM, I'm gonna have a look :-)

    kd rgds, nl2k
    iPhone 4GB: Firm 2.0 BL 3.9 (pwned like described here)
    Mac Book Pro: Leopard 10.5.4
    Hack Pro: Leo 10.5.4 (Asus P5LD2 VM DH, Core2Duo 3.0, ATI Rad 2600 HD XT, HP w2207, TSSTCorp SH-S183H, Silentmaxx ST11 Big Bl, 2GB Corsair, 250GB OSX, 400GB WinXP, 250GB Backupdrive)

    ŧ latest iPhone & OSX86 News, Hints and HowTo's
    ŧ How to update "Mac OS X 10.5.3" and to "Mac OS X 10.5.4"...


  6. #6
    Ed4
    Ed4 is offline
    Newbie Array

    Join Date
    Jul 2008
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    In the end it matters little whether they're signed and/or encrypted. If they're signed, it's only a matter of patching the OS to ignore signatures. If they're encrypted, the key to decrypt them must be available in the phone somewhere.

    It's like any other DRM scheme. Always crackable with enough patience.

  7. #7
    Amazingly Knowledgeable Array DJ McG's Avatar

    Join Date
    Dec 2007
    Location
    United States
    Posts
    809
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    59

    Default

    Somebody should try just removing the extra folders inside the .app folder and uploading to their phone, setting correct permissions and see what happens.


    iPhone "2G" - 3.1.3 - Jailbroken + iPhoDroid
    iPhone 4 - 4.0.2 - Not jailbroken (yet)


  8. #8
    Professional Array

    Join Date
    Oct 2007
    Posts
    62
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Quote Originally Posted by DJ McG View Post
    Somebody should try just removing the extra folders inside the .app folder and uploading to their phone, setting correct permissions and see what happens.
    Already tried it, no luck, icon shows on springboard, and when you open the app it just exits again.... no permissions error

  9. #9
    Rookie Array gotschi's Avatar

    Join Date
    Sep 2007
    Location
    Austria, Tirol
    Posts
    25
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    like i said in an other thread, itunes looks in your shopping list of your itunes account, and if itīs not listed in there, you canīt do anything with it. This prevents the people from transferring the app to the phone. So i think the *.ipa is just for packaging reasons, itunes extracts the *.app folder off it and loads them on your phone. The phone itself may not check if its legit... So when we have filesystem access / jailbreak, we can enjoy the games, not caring about any encryption (at least until the next sync, maybe iTunes checks the apps everytime you sync the phone...)

  10. #10
    AlexRichter
    Guest

    Default

    Having managed to get Apps I have no license for (free ones still) onto my iPod i can safetly say that I believe the apps check for legitness themselves, as they will not load.

    This is true for both paid and free apps.


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 11-02-2009, 05:31 PM
  2. Replies: 3
    Last Post: 07-21-2008, 05:12 AM
  3. Replies: 3
    Last Post: 07-16-2008, 09:35 PM
  4. Replies: 0
    Last Post: 06-16-2008, 06:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 06:36 PM.
twitter, follow us!