Jailbroken iPhone iTunes DB Whacked?

Do you have a Jailbroken iPhone or iPod touch and you go to plug in the device and you have what I call the ‘orange bar of doom’? Let me guess, you don’t feel like wiping your device and re-jailbreaking it. I had this happen to me this morning. I have figured out how to fix it, and I’ll explain how.

Here are the requirements…

1. Jailbroken iPhone / iPod Touch
2. Have SSH Installed
3. Be familiar with navigating via SFTP.

Ok… here goes…

1. Make sure you enable SSH on your iPhone / iPod touch. If you don’t have it installed, use Installer.app to find and install it.
2. Open the SFTP Program of your choice, or SSH program, either one
3. Navigate to /private/var/root/Media/iTunes_Control/Music/
4. Remove the F00, F01, F02, F03, F04, F05 directory contents, but not the directories themselves. If you do delete these directories, just re-create them. Otherwise your music will not sync.
5. Navigate to /private/var/root/Media/iTunes_Control/Artwork
6. Remove the *.ithmb files. These are the thumbnails for the Artwork embedded in your music
7. Go into iTunes and Click on your iPhone / iPod Touch.
8. Go to the Music tab, and uncheck ‘Sync music’. Hit Apply.
9. Go to the Podcast tab and uncheck ‘Sync Podcasts’. Hit Apply.
10. Just for good measure reboot the iPhone / iPod Touch.
11. Go to the Music tab in iTunes.
12. Click on ‘Sync music’. Hit Apply.
13. Click on the Podcast tab.
14. Click on ‘Sync Podcasts’. Hit Apply.
15. Wait for everything to sync.

All of your music and podcasts should be back along with the album art. If this doesn’t work, or I’m missing something let me know. But I ran in to this problem this morning and I thought I’d post on how I fixed it.

  • Philipp

    Thanks very much !

    • http://www.macgasm.net macgasm

      glad we can help! it's what we're here for ;)

  • DKLA

    THANK YOU!!! I used WinAmp to add some extra songs onto my iPhone, and then the whole Library disappeared! The songs were still there, but all I got was “No Content” when I clicked the iPod icon on my phone (eeeeek!). Your tips prevented me from rebuilding my jailbroken iPhone yet again. Thanks dude!

  • DKLA

    THANK YOU!!! I used WinAmp to add some extra songs onto my iPhone, and then the whole Library disappeared! The songs were still there, but all I got was “No Content” when I clicked the iPod icon on my phone (eeeeek!). Your tips prevented me from rebuilding my jailbroken iPhone yet again. Thanks dude!

  • Foam

    You mean “/private/var/Mobile/Media/iTunes_Control/Music/” right?

    • Walker2323

      Yep, that worked for me!

  • chris

    awesome man, thank you so much! I actually figured this out on my own after using iFile to track the source of the “other” stuff that was clogging up my iphone…..but i took the dummy route and just deleted the whole directory and found out afterwards it wouldnt sync

    but after recreated the directories it works like a charm

  • Ken Moren

    Thanks so much for this… I’m fairly new to the iPhone (a week) and have only owned a Mac for a little over a year, but have a long geek history and am very multiplatform conversant and knowledgeable. So when I used Winamp to do an end run around Apple’s rules, was a little surprised when “no content” appeared on my iPhone’s iPod app screen afterwards. A little searching turned up this article which saved the day and now I have all the content back *including* that which I added with Winamp :D Kudos! Of course I bookmarked this site, which I will now visit regularly.

  • Walker2323

    Dude, you rock! Searched high and low for an answer to this one, and nothing seemed to take a jailbroken phone into account. Worked like a hot damn!

    The only thing that I had to do differently, though, was follow the path laid out by Foam. I’m no expert, but I wonder if the path you have, /private/var/root/Media/iTunes_Control/Music/ is relevant to an older firmware? I followed the path laid out by Foam and it was perfect (/private/var/Mobile/Media/iTunes_Control/Music/).

    In any case, thanks very much for figuring this one out!