A FINAL fix for the iTunes syncing bugs with iOS7

Discussion in 'iOS 7' started by ErikGrim, Nov 26, 2013.

  1. ErikGrim, Nov 26, 2013
    Last edited: Nov 26, 2013

    ErikGrim macrumors 68040

    ErikGrim

    Joined:
    Jun 20, 2003
    Location:
    Brisbane, Australia
    #1
    This has bothered me since the beginning of the iOS7 betas and iTunes 11.1 and it has continued to plague me and thousands of iTunes users. I think I have finally nailed it.

    Firstly there are two separate bugs: The "Waiting for sync to start" bug where you'll get stuck on this step. That one is simple. iTunes can't sync when your passcode is locked. Unlock your phone, and make sure it doesn't lock before you finish the sync. Stupid I know.

    The second one was much much harder to nail down. The symptoms include: "ghost songs" on your phone that will stop new syncs, cause your iPhone to skip over them when playing/shuffling. And not having your phone sync new or all of your songs. The common denominator: When looking at your phone in iTunes there will be grey circles in front of a bunch of songs/media.

    A million different temporary cures from logging in and out of the iTunes store on your phone and your iTunes; turning off 'Show all songs'; turning off iTunes Match; selecting your iTunes library in your music apps sharing options (obscure); turning on and off sync (the most common temporary cure); resetting your phone settings; restoring from backup or most destructively restoring from fresh, deleting all your data and settings. Yes, the equivalent of the good old nuke your PC and reinstall Windows option we've all derided for so long is now a common troubleshooting technique for your Apple device. Sheesh.

    Have you tried all of the above already? Too scared to nuke your phone and start afresh? Grab a copy of iExplorer or PhoneView (the demo version will do) and follow these instructions:

    MAKE SURE EVERYTHING IS BACKED UP TO BOTH YOUR LOCAL MACHINE AND ICLOUD.

    Connect your iPhone to mac, open PhoneView, go to Settings>Show entire disk. Here I would recommend you back up all the contents of your phone. Or if using iExplore, open the media section.

    Deleted the following folders:
    • Purchases
    • Downloads
    • iTunes Control>Sync>Media,
    • iTunes Control>Music

    Deleted the following files from iTunes Control>iTunes:
    • MediaLibrary.sqlitedb
    • MediaLibrary.sqlitedb-shm
    • MediaLibrary.sqlitedb-wal

    You may get away with only deleting purchases, but just to be safe nuke them all.

    Restart your phone by holding home and start buttons for five seconds.

    Resync with iTunes (make sure you reset all the options for only syncing what you want, deleting these files makes iTunes think you want to sync everything).

    This should (most likely) cure your ghost song troubles once and for all.

    Credit to this obscure fix goes to an leeg330 on old thread I dug up on the Apple Discussion forums with people having issues with ghost songs on iOS5.
     
  2. John T macrumors 68020

    John T

    Joined:
    Mar 18, 2006
    Location:
    UK.
    #2
    Excellent post! However, for the sake if the inexperienced, I'm sure you meant to say "Restart your phone by holding home and start buttons for five seconds." :)
     
  3. ErikGrim thread starter macrumors 68040

    ErikGrim

    Joined:
    Jun 20, 2003
    Location:
    Brisbane, Australia
    #3
    Haha. Sorry. I was so excited after finally fixing my phone after six months that one slipped through ;)
     
  4. irepairkent macrumors newbie

    Joined:
    Sep 5, 2014
    #4
    The iPhone could not be synced because the sync session failed to finish, 5S, 7.0.4

    I had similar issues with a 5S running 7.0.4., and continued to receive the error "The iPhone could not be synced because the sync session failed to finish" over and over again for 6 hours of syncing. I tried every thing from every blog out there. I came across this and it didn't work. What did work for me was deleting:

    Deleted the following folders:

    Purchases
    Downloads
    iTunes Control>iTunes
    iTunes Control>Music
    iTunes Control>Sync

    Then a hard reset (home and power button for 5-10 seconds), until iPhone reboots.

    Just to be safe reboot your Mac or PC before syncing.

    Then sync your iTunes Music Library as normal!

    Finally worked for me! :) :) :apple: :) :)
     
  5. mattcan macrumors newbie

    Joined:
    Sep 21, 2014
    #5
    This worked once for me. But when I tried to sync additional music to my iPhone it continued to fail.
     
  6. irepairkent macrumors newbie

    Joined:
    Sep 5, 2014
    #6
    Hey mattcan, are you getting an error about unauthorized purchased music in your library?
     

Share This Page