Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.29 KB | None | 0 0
  1. Here i’ll point out the steps required to successfully repackage apps for backup purposes or distribution among your OWN devices.
  2. Keep in Mind this Method will extract YOUR apps and they will contain your App Store ACCOUNT info, so don’t go sharing globally.
  3.  
  4. Requirements:
  5. ——————
  6. 1-jailbroken iOS (obviously..).
  7. 2-IPAInstaller from BigBoss repo.
  8. 3- Appster or BundleIDs from BigBoss repo to identify Bundle ID.
  9. 4- iFile or Filza
  10. 5-either Mterminal or SSH into device to execute commands both work fine.
  11. 6-iMazing, iFunbox, etc... or SSH to get IPA from device after packaging.
  12. 7-BetterZip or any other zip file management.
  13.  
  14. for the purposes of this guide i’ll be using Appster for bundle id, SSH for commands, iMazing to get files, iFile, “Amazon” and “Hitman GO” as app example.
  15. Fast Steps:
  16. —————
  17. 1. Identify App’s Bundle ID.
  18. 2. open Terminal or SSH into device.
  19. 3. run command “ipainstaller -b REPLACE WITH BUNDLE ID
  20. 4. you’ll find the IPA in /var/mobile/Documents unless you specified a different directory.
  21.  
  22. Detailed Steps for regular apps and games: (using Amazon app as an example)
  23. ———————————————————
  24. 1) Open Cydia and wait until refresh is complete and go to the search tab.
  25. 2) Locate and install
  26. - Appster
  27. - IPA Installer Console
  28. 3) Go back to SpringBoard and open Appster.
  29. 4) Scroll down to find “Amazon” app and tap it
  30. 5) make note of the “Identifier” in this case it’s “com.amazon.Amazon”
  31. 6) Also make note of “Folder” in “Bundle”. (we won’t always need this i’ll get to why in a bit)
  32. 7) now go to Terminal and enter “ ssh mobile@YOUR DEVICE IP” and use password “alpine” if you haven’t changed it
  33. 8) Run command “ipainstaller -b com.amazon.Amazon”
  34. 9) if all goes well you should see “the application has been backed up as /var/mobile/Documents/Amazon (com.amazon.Amazon) v7.8.0”
  35. 10) now using iMazing or iFunBox navigate to /var/mobile/Documents/ and transfer the newly created IPA
  36. 11) import to iTunes library to check integrity.
  37. 12) Done.
  38.  
  39. Now in case you are trying to package a game or app with large files size most of the time SpringBoard is going to crash and thats because of the number of files found inside that app. in case you don’t know a .app file is just a directory with “special features”, not like an executable for example (.exe).therefore trying to copy a large number of files at the same time is slow and processor extensive, and since IPAInstaler hasn’t been made to adjust for that it crashes.
  40. to avert this scenario basically we have to decrease the number of files being packaged.
  41.  
  42. Fast Steps:
  43. —————
  44. 1. navigate to app’s main directory
  45. 2. compress directory(s) with large no. of files, then delete source.
  46. 3. run “ipainstaller -b YOUR.BUNDLE.ID”
  47. 4. transfer ipa to computer and rename to .zip
  48. 5. decompress the ipa and navigate inside /payload/myapp.app
  49. 6. decompress the previously compressed file(s) and delete archive(s).
  50. 7. go back to archive manager and substitute the old myapp.app with new one and save.
  51. 8. rename .zip to ipa back again and import to iTunes to check integrity.
  52. 9. done.
  53.  
  54. Detailed Steps for large apps: (using Hitman Go as an example)
  55. —————————————
  56. remember the “Folder” i told you to make a not of we are gonna use that now.
  57. 1) Open iFile and navigate to /var/bin/Containers/Bundle/Application for iOS 9.3.3 and /var/mobile/Containers/Application for iOS 9.0.2 and below, or just use Appster to go directly there by scrolling down in the App info and tapping “Open in iFile”
  58. 2) Locate the folder with the same name as noted and navigate thru hitmango.app
  59. 3) In Order of find the folder(s) with higher no. of files tap on the circled “i” next to the folder and look for “Files”, in this case the folder with the most files is called “Data” and contains 341 file.
  60. 4) Now Press “Edit” in the top right and select the folder(s) and compress it by choosing the second icon from the left on the bottom dock.
  61. 5) give it some time to finish compressing then delete the source.
  62. 6) now back to Terminal run the ipa installer command “ipainstaller -b YOUR.BUNDLE.ID” which for Hitman Go is”ipainstaller -b com.squareenizmontreal.hitmango”
  63. 7) after a while you’ll get the confirmation “the application has been backed up as /var/mobile/Documents/Hitman Go (com.squareenixmontreal.hitmango) v1.12.4”
  64. 8) now go to iMazing or iFunBox and navigate to said directory /var/mobile/Documents and copy the .ipa to your computer.
  65. 9) after the transfer is done rename the copied file to .zip instead of .ipa
  66. 10) open the .zip in an archive manager and decompress it.
  67. 11) inside the folder named “Payload” you’ll find the .app inside.
  68. 12) If you are on mac right click —> show package contention the file, windows on the other hand it’ll appear as a folder so just open it
  69. 13) locate the aforementioned compressed “Data” folder now “Data.zip” and decompress it.
  70. 14) last but not least, go back to the archive manager and replace the old .app file with the new one, then save and compress the new zip.
  71. 15) now rename the zipped file to .ipa back again and import to “iTunes” library.
  72. 16) That’s it !!! you’re done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement