Created
May 1, 2018 04:03
-
-
Save tcr/4083162f7fe82b6fea47fa8775125a02 to your computer and use it in GitHub Desktop.
Sort iOS home page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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