Restoring from backup with unsorted icons

Discussion in 'iPad Hacking' started by Commodore, May 27, 2014.

  1. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    I restored backup of a previous iPad (which was jailbroken and running iOS 6.1) on a new one (7.1.1). The icons/apps were all garbled, and bore very little resemblance to my previous layout.

    Last time I did this (about a year ago) was the same (that was when upgrading from 5.something to 6.something on the same device). Is this a "feature", something we have to live with, or is there a way to make sure the restore will also restore icons layout (other than - I suppose - starting an iPad installation literally from scratch, as a new device)? Could it be related to my using certain tweaks that deal with folder layouts (Iconoclasm, Springtomize...)? I'm not sure about the latter, as I wasn't using no layout/UI tweaks when moving from 5 to 6 last year, but the result (garbled icons) was the same.
     
  2. willerz2

    willerz2
    Expand Collapse
    iPad Addict

    Joined:
    Feb 22, 2012
    Messages:
    1,341
    Thanks Received:
    255
    Most likely the culprit would be something like IconSupport since you were previously jailbroken. I'm not sure if it still holds true, but a while back, the layout of icons were saved under IconSupport (if you have it) rather than on the iOS and have IconSupport read off of the iOS for the layout. If you have tweaks that allow for folder nesting, remember that you can't (supposedly on the stock iOS, though you still can without a jailbreak) nest folders ordinarily, so if you had folders nested into one another, the stock iOS reads that as an error and reindexes them as separate icons on your springboard, or possibly un-nest the folders.

    Not sure if that answers you question as to why it happens.
     
  3. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    I checked the list of tweaks I exported a while ago and yes, IconSupport is listed. Is it used by Iconoclasm and similar tweaks? In 6.1, I did use 6x6 layout on home-screens, as well as "infinite" folders. I never used nested folders, though. So maybe that was the culprit (although I don't think I tweaked anything on home-screens prior to 5.1.1-to-6.something migration...).

    I don't see the need for these in 7.x+ anymore as the folders can hold more than enough apps, so I suppose next time no rearranging will be needed?

    Except maybe I will utilize 6x6 icons layout on home-screens (once we get a JB again), as I think 4x5 is just brutal and "un-green" waste of space... :)
     
  4. willerz2

    willerz2
    Expand Collapse
    iPad Addict

    Joined:
    Feb 22, 2012
    Messages:
    1,341
    Thanks Received:
    255
    Quite a few tweaks use IconSupport such as Springtomize, the Infini line, Iconoclasm, and other packages that modified layout/format/structure of icons. But yes, which respect to infinifolder and tweaks like it, they aren't necessary on iOS 7+, but since there are still users (@saurik) that are still on iOS 6, they would find the use for it since the above mentioned tweaks work for iOS 5+ if not iOS 6+ :p


    Sent from my iPhone via Tapatalk Pro
     
  5. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    On a related note, is there any (non-time consuming, such as deleting them selectively one by one from within iTunes desktop application) way to sanitize the contents of ...\iTunes\Mobile Applications\ folder? I see I have almost 1500 IPA files in there, totaling a little over 80 GB. Quite some time ago I moved all those files to an external drive, but when I had to do my first restore I discovered that moving them away was not such a good idea...
    Perhaps about 10% of those are in use nowadays on either device, so it would be great to clean this up somehow.

    And another space hog -- c:\Users\username\AppData\Roaming\Apple Computer\iTunes\iPad Software Updates\ contains iOS ipsw files. Can those be deleted "manually" without consequences (and iTunes will just re-download them in case of future updates/restores)?
     
  6. willerz2

    willerz2
    Expand Collapse
    iPad Addict

    Joined:
    Feb 22, 2012
    Messages:
    1,341
    Thanks Received:
    255
    You can delete both the IPSWs and the iPAs in their respective directories. IPAs aren't essential as long as the cloud has knowledge of your version history in case you need it. And IPSWs are downloadable at any time.


    Sent from my iPhone via Tapatalk Pro
     
  7. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    Not according to my experience from when I had my first restore (I think it was last year) -- that's why I mention this. I had no IPA files there (as mentioned, they were on an external disk), and restore merely complained how apps could not be found. After moving them back to their original location (iTunes\Mobile Applications), they were installed subsequently with next sync.
    I had thought it would simply pull them from iTunes as existing purchases. Also, I somehow thought that -- judging by the size of the backup folder -- the apps were already contained within the backup. I guess I was completely wrong about this.
    Unless that was just a bug? Or something that only works on Mac (I have Windows 7)?
     
  8. Mickey330

    Mickey330
    Expand Collapse
    Administrator
    Staff Member

    Joined:
    Aug 30, 2010
    Messages:
    11,892
    Thanks Received:
    2,222
    My understanding is that the iPad and iTunes "talk" to each other during the backup (and backup restore) process.

    If you transfer your apps to iTunes, that updates iTunes to have the latest version of the app/IPA. Then, during back-up, I think (!) iTunes makes a "map" (for lack of a better word) of the app. It saves the data and such for the app, but it doesn't actually save the app itself.

    So, when you restore from backup, iTunes checks to make sure it still has the app. If it does, it links the app it has with the data in the backup and puts it [back] on the iPad. However, if the app is not on iTunes (or has been moved to a different location) iTunes can't find it and so can't link the data with the app. So, the app doesn't go on the iPad.

    TL;DR: To my understanding, in normal operations, the IPA is not in the iTunes backup; it's combined with the backed-up data and put onto the iPad during backup restore.

    Marilyn
     
  9. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    It all makes sense. However...
    ...I don't think there's an "if" in this case anymore. I do remember "transferring purchases" was optional some time ago (because I sometimes did it explicitly with right click in iTunes and choosing "Transfer Purchases" from the menu). But nowadays, apps are transferred automatically (I know I've seen other people around the net complain about this part as well) -- which among other things makes local wifi sync virtually useless as it can take forever to "transfer purchases" (of updated or newly installed apps), especially larger ones e.g. Garage Band, Session Band, some "office" apps etc.

    It's kind of stupid because the iTunes\Mobile Applications folder on the computer eventually becomes a graveyard of apps you used (or just tested) eons ago as they're not also cleaned up when you stop using them on iDevices.

    Perhaps I should try deleting backups and creating them anew and see if it will also "refresh" the Mobile Applications folder on the computer.
     
  10. Mickey330

    Mickey330
    Expand Collapse
    Administrator
    Staff Member

    Joined:
    Aug 30, 2010
    Messages:
    11,892
    Thanks Received:
    2,222
    Ah, but you can set up your iTunes to have apps NOT transfer automatically. We'll, at least mine is that way. You do so by turning off the automatic sync. In iTunes, go to Edit > Preferences > Devices and look for the line titled "Prevent [iDevices] from syncing automatically" and make sure there is a check mark in the box next to it.

    Then, with the iPad connected to iTunes, go to the iPad's Apps tab. At the bottom of the Apps list is a box next to "Automatically install new apps" - have it UNchecked.

    You may also have automatic downloads turned on for the computer. So, in iTunes, go to Edit > Preferences > Store and make sure the box next to "Apps" (under "Automatic Downloads") is not checked.

    I have these settings on my iTunes and thus I always have to select 'transfer purchases"; it is never automatic. And I'm running the latest version of iTunes...

    However, once you have apps installed into iTunes, yes, the only way to get them off your computer is to delete them. If you take an app off of iTunes, it won't come off iTunes on your computer; you'll have to delete it manually. It is a pain to delete them - but it's the only way as it won't be done automatically.

    Marilyn
     

Share This Page