Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sort iOS home page
make an itunes backup
Go to `~/Library/Application Support/MobileSync/Backup`
Find the backup id folder
Look up `Manifest.db` in that dir to identify Files row with `relativePath=Library/SpringBoard/IconState.plist` and its `fileID`
in the `<backup_id>/<first two digits>/<that hash>` file, run
`plutil -convert json <file> -o -`
Outputs some JSON:
```
{
"iconLists": [
[
"com.apple.Preferences",
"com.lastpass.ilastpass",
"com.lastpass.authenticator",
"com.apple.mobiletimer",
...
]
],
"buttonBar": [
"com.apple.mobilephone",
"com.apple.MobileSMS",
"com.spotify.client",
"org.mozilla.ios.Firefox"
]
}
```
Query for each app icon:
https://itunes.apple.com/lookup\?bundleId\=by.walla.Wallaby
Select `.results[0].artworkUrl100` and download the app icon
Rewrite the file, and restore from backup (i guess!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.