You might be faced with this situation at times when you have a jailbroken iPhone/iPod Touch. You might have played around with some CYDIA apps, most notably the apps which try to modify the contents of iTunes Database File. One of those apps is MewSeek which lets you add the songs to the iTunes library directly from your iPhone/iPod Touch. Well sometimes it corrupts the following two files iTunesDB and iTunesCDB.
You will get the following message on iTunes “Itunes cannot read the contents of the iphone. Go to the summary tab in IPhone preferences and click restore to restore this iphone to factory settings”.
If you didn’t Jailbreak and you are in this situation, you have no choice but to do a full system restore on your iDevice and rely on a backup. But if you have jailbroken your iDevice, you can use iPhoneBrowser or iFunBox to explore the contents and fix it yourself without doing a restore. You might have to copy your songs/ringtones/videos back again but you still have everything else. The Songs etc are there on the device its just that the DB files are corrupted. So using iPhoneBrowser or iFunBox navigate to the following directory
/var/mobile/Media/iTunes_Control
Now within the above directory you will find two more directories
Music
Under Music, delete the following directory - itunes_db_checked
iTunes
Under iTunes, delete the following two files - iTunesDB and iTunesCDB
Disconnect the iDevice and reconnect. iTunes will detect it fine and you may or may not have your media. Try the option below which might help with just reusing the backed up DB files. You can also use iPhoneBackupExtractor to get the same DB files and see if they help.
FYI - You may try copying the iTunesDB and iTunesCDB from tmp folder back to iTunes directory to see if your songs/ringtones/videos come back
This is all you need to get your iDevice back in shape without a restore.
thank you so much it work and helped me alot because i have over 40 apps that needed to be synced
ReplyDeleteIt's work on my iphone 3GS.. Thank u so much...
ReplyDeletethank you so much for the explaination...appreciate that..it works out well eventually
ReplyDeleteThanks man worked beautifully
ReplyDeletemany thanks, I worked perfect, but after that the capacity of my iphone is lower, the bar "other" has grown, now weighs 4.7 GB, my iPhone is 16 GB, I can do to reduce this? was reading and as they say this is when manual files are deleted, the recommendation to do is restore the factory, but I want to avoid this because I have jailbrake, and I will not be from scratch again ... please help
ReplyDeleteThanks! I have had this issue twice. I looked everywhere the first time and knew exactly where to come for a solution the second! Again thanks!
ReplyDeleteThanks man you saved my life
ReplyDeleteIn the folders all I found was 'iTunesCDB' and I deleted that and started iTunes and it automatically started syncing! YAH! Thank you so much! YOU ROCK!!!
ReplyDeleteCool...man that worked like a charm. Thank yo so much.
ReplyDeleteSuperb, what a blog it is! This web site gives useful information to us, keep
ReplyDeleteit up.
my web page > How to Repair the data files in Microsoft Outlook
THANK YOU SO MUCH YOU MADE MY DAY! :)
ReplyDeleteThis worked for me with a few variations :)
ReplyDeleteI do not have a jailbroken phone but I still downloaded iFunBox.
I went to Raw Files>iTunes control>iTunes and deleted the file iTunes CDB
When I restarted iTunes it recognized my phone without that awful pop up message saying it couldn't read the contents of the phone. THANKS!!!!
thank you so much..worked on my 3GS too..
ReplyDeleteyou r the man! Works on my iPad 2 iOS 5.01!! Cheers!
ReplyDeletethanks guys it help so much thanks
ReplyDeleteBad Luck!
ReplyDeleteThis has worked before for me, but not this time. I removed the iTunesDB file, disconnected, then reconnected. iTunes will still Not read the contents of my phone.
Is there another option?
I then also removed the whole DB Folder (dhcpclient; launchd.db; PanicReporter; Timezone; dhcp_leases)
Still no luck.
Anyone know why it is no longer working?
Help!
tnxxx....my problem is done.hehe.
ReplyDeleteNot sure if Apple has changed anything with the latest firmware. I highly doubt it but u never know. I am myself no longer using iPhone so can't investigate..
ReplyDeletehey nitesh pls help i did wat u wrote and now its doesn't shows this error, but all my music files have gone and now when i copy music to my iphone it freezes and itunes becomes not responding. same it happens if i transfer purchases from my iPhone. pls help.
ReplyDeleteI dnt have the itunes db file on it...what shall i do??
ReplyDeleteThose who havent jailbroken, please use iphone explorer and delete the file itunesCDB under Itunes folder in your iphone.
ReplyDeleteWolla ! it will sync
Worked for me. Thank you very much.
ReplyDeleteGreat, Thank you so much!
ReplyDeleteTruong.lp@gmail.com
Awesome! Still works on 3gs untethered JB ios6.1!
ReplyDeleteThanks!!!
Worked for me. Iphone 3gs on IOs 6.0 JB of course.
ReplyDeleteThank you so much; I thought I would have to restore and rejailbreak my iPod, but this fixed the problem. After I done this, I unlocked my iPod and went to the Music app and all my starting appearing in the list.
ReplyDeleteno. that is not entirely correct. I have a non-jailbroken iphone 4s and I managed to fix my problem with ifunbox guided by your instructions.
ReplyDeleteJust go to Raw files then itunes_control folder.
only found itunesCDB under music then deleted it ..it worked ..thank you
ReplyDelete"If you didn’t Jailbreak and you are in this situation, you have no choice but to do a full system restore on your iDevice and rely on a backup."
ReplyDeleteI did not jailbreak my iPhone and deleting itunesCDB via iFunbox (Windows 7, iPhone 4s) still worked perfectly! Thanks
Another reason could be that there is dirt / lint in the slot where the cable connects to your phone. (seriously!) I just had this error on my iphone 5 - turns out there was a lint ball in the small slot on the bottom of the phone. The contact was sufficient to allow charging, but must have been blocking one of the pins. After I cleaned it with a toothpick, I plugged it back into my computer and itunes worked normally.
ReplyDeleteHelped me fix my daughters iphone 4s (deleting iTunesCDB), thanks!
ReplyDelete