Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Settings -> Applications -> All tells me that "Contacts Storage" uses 2.5MB which must be my contact data.

Since I had to revert to 4.03 after a faulty update to 4.1 my contacts seem inaccessible although the data seems to be there.

Could you please tell me where to find the associated data(base) for Contacts Storage? My phone is rooted. And no, my contact data is not on GMail and I honestly don't know why...

share|improve this question

2 Answers 2

up vote 5 down vote accepted

The exact location of the contacts database might depend on your manufacturer's "customization". While "plain Vanilla Android" has them in /data/data/android.providers.contacts/databases, the stock ROM on my Motorola Milestone 2 e.g. uses /data/data/com.motorola.blur.providers.contacts/databases/contacts2.db instead. A raw mask to check for is /data/data/*.providers.contacts/databases/*.db. The file is in SQLite3 format, and can be browsed on your PC with e.g. SQLiteman, which is available for Linux, Mac, and Windows alike. With this application you can browse the database in a graphical mode. Of course you also can use the command line sqlite3 client if you prefer.

Crucial point to directly access this database is that your device must be rooted -- a precondition you already meet, as your question states.

So you can either use a file manager to navigate to the database file, and copy it to your computer for investigation -- or directly pull it to your computer via adb pull. A third option would be to investigate it directly on your device, e.g. using the SQLite Manager or aSQLiteManager app.

share|improve this answer
    
The problem is, there is no "databases" folder in "android.providers.contacts". But since "Contacts Storage" shows me 2.25MB of disk usage it must be somewhere, right? –  Sebastian Mar 14 '13 at 1:10
    
That is strange. Do the other items below /data/data/android.providers.contacts sum up to that amount? There could be saved images or the like in the files/ subfolder, for example. Storage would count everything stored here, to my knowledge. Another possibility: Did you make any backup before the up- and before the downgrade? As a root-user, you most likely use Titanium Backup, or have at least performed a Nandroid backup (which TB could even read)? –  Izzy Mar 14 '13 at 1:23
    
I don't know what happened - but the database just appeared. Size: 1.51MB. Super strange. Thx! –  Sebastian Mar 14 '13 at 1:29
    
Glad it solved! But I've also no idea where it could have been in the meantime... –  Izzy Mar 14 '13 at 8:00
1  
Oh, I know now... Besides "com.android.providers.contacts" there's also "com.android.contacts" - and I accidentally looked in the latter one... My bad –  Sebastian Mar 14 '13 at 8:03

Its a critical situation. If you are rooted, use Titanium Backup to take out contact storage. It displays storage item entries with green color.

share|improve this answer
    
Could you explain that in more detail, please? –  Sebastian Mar 14 '13 at 1:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.