Where is the contacts info saved? - General Questions and Answers

Hi, do anybody know where is the contacts info stored in android?
Because Im tired of getting facebook and google contacts together everytime I flash a new rom. I tried to export info to SD, but when importing the contacts are all separated.
I wanted to make a backup of the folder that contact info is saved, and then restore after flashing.
Thanks in advance

juanmaper said:
Hi, do anybody know where is the contacts info stored in android?
Because Im tired of getting facebook and google contacts together everytime I flash a new rom. I tried to export info to SD, but when importing the contacts are all separated.
I wanted to make a backup of the folder that contact info is saved, and then restore after flashing.
Thanks in advance
Click to expand...
Click to collapse
Your contacts are stored on Google servers
https://www.google.com/contacts_v2
When you flash a new ROM and sign into Facebook, you can choose which contacts (if any) that you want to link with Facebook.

I know, but the linked contacts must be saved somewhere in android. Because when you flash something, the linked contacts are not kept.

Yea, I'm not 100% sure what it is your asking, or what problem your trying to avoid?

The contacts are stored in this SQLITE3 database:
data/data/com.google.android.providers.contacts/databases/contacts.db
Click to expand...
Click to collapse
You will need root to access the file.

If I replace the files after flashing, contacts will be exactly as befor? linked facebook contact with google contact?
Thanks !

How to add hi-resolution images for contacts?
what is the path for contact images, in the system?

Related

Copying contacts from phone to PC?

Hello!
I have a little problem, I can't access my contacts on my phone, neither can I sync them over to my PC.
Is there any other way I can copy my contacts from my phone to my PC?
Are the contacts located in an easy-to-read file, and where is it located?
Hope you can help!
qTechie said:
Is there any other way I can copy my contacts from my phone to my PC?
Click to expand...
Click to collapse
Yes. Thunderbird Export will export your contacts to a .csv to import them into any of your other apps/TBExport(via some freeware site)
qTechie said:
Are the contacts located in an easy-to-read file, and where is it located?
Click to expand...
Click to collapse
No. They're not. use the linked program above
Cheers

Save Text Messages Before Hard Reset?

I am going to do a hard reset and want to know if there is any way to save certain things to restore them later. I want to save the following:
1. Test Messages
2: Call History
Is there any way to do this and what do I have to do to restore them back after the hard reset? Thanks.
A little bump for this.
Use PIM Backup. Works great.
hollywould said:
Use PIM Backup. Works great.
Click to expand...
Click to collapse
Thank you.
I dont't think pim backup can store the msg of your treo..
but you can backup the file PalmmsgV001 (into windows folder) on your sd (or pc)
then you can restore it after hard reset
uvz said:
I dont't think pim backup can store the msg of your treo..
but you can backup the file PalmmsgV001 (into windows folder) on your sd (or pc)
then you can restore it after hard reset
Click to expand...
Click to collapse
Thanks! Is there a similar file for the call log history so I wouldn't even have to install or use the PIM backup program? The text and call log is all I care about...
yes palmVol.vol (recent calls list) and pim.vol (Contacts, calendar and call history )
-into main directory-
uvz said:
yes palmVol.vol (recent calls list) and pim.vol (Contacts, calendar and call history )
-into main directory-
Click to expand...
Click to collapse
Thank you very much uvz.
Does anybody know in which file SMS dictionary is stored? It's not in pim.vol, palmmsg.vol, palmvol.vol.
Thanks!
Would like to view txt messages on my PC
Thank you for posting the PIMbackup utility!! It seems to have worked great! Is there a way to look at that information on your PC vs restoring it to your phone?
Thanks again!
tool
Pimp backup :d

Recover deleted texts?

Is there any way to recover deleted texts? I accidentally deleted the wrong thread of messages.
Not unless you already had a backup of them...
A backup with an app, no. A copy of the database file right after I deleted them, yes. I see they're still there, just wanna know if there's a way to get them to be viewable again.
I really miss having a deleted items for texts like back in WM6
what format is the database file?
sqlite i think.
located here on all android phones:
/data/data/com.android.providers.telephony/databases/mmssms.db
When you delete the thread, it still remains in this db?

[Q] HTC Sensation problems after some random reboot

Hello to all,
I need some help.
After some random reboots I don't have any of my contacts, all the widgets and icons from the panels are disappeared. :crying:
I attached a screenshot from my home panel.
It is any possibility to fix this problem ???
Phone: HTC Sensation
Kernel: Faux 123 010b7
Rom: Android Revolution 7.2 XE
Thanks.
try to flash the rom without wipe
rzr86 said:
try to flash the rom without wipe
Click to expand...
Click to collapse
Hi there,
I try it like you suggested me, to reflash without wipe, but no changes
All my panels are clear like in the picture from the first post and no contacts.
I would like to save only the contacts .. and after to make a clean install.
Thanks for your help
DBDexter said:
Hi there,
I try it like you suggested me, to reflash without wipe, but no changes
All my panels are clear like in the picture from the first post and no contacts.
I would like to save only the contacts .. and after to make a clean install.
Thanks for your help
Click to expand...
Click to collapse
try to download an app from play store(such as mobile backup II) and see if it will backup any contacts
also if you have stored your contacts in your gmail account don't worry you won't lose them
rzr86 said:
try to download an app from play store(such as mobile backup II) and see if it will backup any contacts
also if you have stored your contacts in your gmail account don't worry you won't lose them
Click to expand...
Click to collapse
I used Mobile Backup II to backup my contacts but is only seeing what I have on my SIM and nothing more.
Are the contacts in a database ??? Where can I find this database and how can I recover it ???
I don't have any backup on google
Thank you again for your time and help.
DBDexter said:
I used Mobile Backup II to backup my contacts but is only seeing what I have on my SIM and nothing more.
Are the contacts in a database ??? Where can I find this database and how can I recover it ???
I don't have any backup on google
Thank you again for your time and help.
Click to expand...
Click to collapse
when you were storing a contact where you were choosing to store it?
google account,sim or phone?
go to dialer if you can in contacts tab and in the top you will see options for showing contacts
there you will see where they are stored
rzr86 said:
when you were storing a contact where you were choosing to store it?
google account,sim or phone?
go to dialer if you can in contacts tab and in the top you will see options for showing contacts
there you will see where they are stored
Click to expand...
Click to collapse
I always saved my contacts on the phone, not SIM or Google.
On the contacts tab I have selected SIM ( 9 numbers from my Carrier ) and Phone ( 0 )
Can you tell me please if the contacts are saved in a file and if so, what is the name of the file and what is the path to the file.
Thanks.
DBDexter said:
I always saved my contacts on the phone, not SIM or Google.
On the contacts tab I have selected SIM ( 9 numbers from my Carrier ) and Phone ( 0 )
Can you tell me please if the contacts are saved in a file and if so, what is the name of the file and what is the path to the file.
Thanks.
Click to expand...
Click to collapse
select also your google account and see if the conatacts are stored there too
unfortunately i don't know where the file could be or what is the path
rzr86 said:
select also your google account and see if the conatacts are stored there too
unfortunately i don't know where the file could be or what is the path
Click to expand...
Click to collapse
I found it one of itsme_4ucz's posts:
The contacts are stored in a SQLite3 database file so the file format is ".db"
The development tool Android Debug Bridge (ADB) can be used to extract the file from an EMULATOR
ADB can also extract the file from a phone but it must be rooted first AND the ADB drivers must be installed on your machibe as well
(Rooting is NOT for beginners though)
The contacts.db file is stored in the protected system memory, the file path is:
data/data/com.android.providers.contacts/databases/contacts.db
Click to expand...
Click to collapse
In << /data/data/com.android.providers.contacts/databases/ >> I have no contacts.db file
This is the list of the files from my databeses folder:
Code:
contacts2.db
contacts2.db-journal
contacts2.db-mj073D7E1F
profile.db
profile.db-journal
Can I recover my contacts from this files ???
DBDexter said:
I found it one of itsme_4ucz's posts:
In << /data/data/com.android.providers.contacts/databases/ >> I have no contacts.db file
This is the list of the files from my databeses folder:
Code:
contacts2.db
contacts2.db-journal
contacts2.db-mj073D7E1F
profile.db
profile.db-journal
Can I recover my contacts from this files ???
Click to expand...
Click to collapse
probably with an adb command but i don't remember that command
rzr86 said:
probably with an adb command but i don't remember that command
Click to expand...
Click to collapse
I used Sqliteman-1.2.2 to open contacts2.db and after a basic query to contacts table I can only see the contacts from SIM
DBDexter said:
I used Sqliteman-1.2.2 to open contacts2.db and after a basic query to contacts table I can only see the contacts from SIM
Click to expand...
Click to collapse
see here
http://forum.xda-developers.com/showthread.php?t=726051
second post it has an adb command
best wishes
rzr86 said:
see here
http://forum.xda-developers.com/showthread.php?t=726051
second post it has an adb command
best wishes
Click to expand...
Click to collapse
I don't know why I have contacts2.db instead of contacts.db.
Is correct what I have?
Thank you for your help.
DBDexter said:
I don't know why I have contacts2.db instead of contacts.db.
Is correct what I have?
Thank you for your help.
Click to expand...
Click to collapse
i don't know mate
maybe a second back up or something like that?

Restoring db files back to Android phone

Hello gang,
Its been a while since I got on this site. Here's my situation; I was able to back up my sms and it was saved as a db file. I had lots of important messages and pics that were sent to me and I would like to retrieve it. I have an Android phone at the moment and installed Airdroid and sms backup & restore app, but I just can't seem to get this to work. How do I get my db files back on the Android phone and be able to see my messages?
Hmmm ...
How did you backup the messages in DB ?
karandpr said:
Hmmm ...
How did you backup the messages in DB ?
Click to expand...
Click to collapse
Its been a while since I did this so I forgot how. I thought I backed everything up on a SD card.
johnny quest said:
Its been a while since I did this so I forgot how. I thought I backed everything up on a SD card.
Click to expand...
Click to collapse
Hmmm..... What kind of database is it ?
Sqlite or something else ?
Encrypted or open?
Can you upload the db here ? (or atleast the db with one record.)
karandpr said:
Hmmm..... What kind of database is it ?
Sqlite or something else ?
Encrypted or open?
Can you upload the db here ? (or atleast the db with one record.)
Click to expand...
Click to collapse
I've downloaded apps to open db files and I can see some of the text but there were pictures which I can't see. All I know its all db files, has either a "exec" icon or a "document" icon.

Categories

Resources