Call Log database location - Epic 4G General

Does anyone know where exactly the Call Log database file is located?
I did a manual (selective) restore thru titanium pro, and apparently didn't have my call logs backed up- is this part of /system/?
I have a nandroid backup from yesterday, have already extracted the. Img files, and just looking for the right one to restore. Help greatly appreciated
Sent from the future.

bah.. I found it.
data/data/com.sec.android.provider.logsprovider/databases/logs.db
now.. the best utility to merge databases?

Related

extracting files from backup.stg

Can anyone help::
I have hard reset my device and re installed all my software, just got it perfect and discovered I have lost 1 file. I backed up the device before resetting, so the file I need should be in the backup.stg
I could backup now, restore the old one, save the files and restore my new setup, but seems like a long way around, Is there any software to 'open' the *.stg file so I can extract the file I want??
Thanks
http://www.pocketpcfreewares.com/de/index.php?soft=354
found using this google search
http://www.google.dk/search?q=backup.stg+tool&ie=UTF-8&hl=da&btnG=Google-søgning
Hmmm..
Perhaps I should have done that myself
Thanks very much my problem is now solved.
so it works ok that tool or
another one ?
what about if the backup is made as something other then a full backup ?
Not sure about incremental backups, but the util is very good.
You just open the STG file and can see all the contents in a properly structured manner. Getting files out of it is easy , simply copy and paste.
I took me about 1 minute to find and extract the file I was after.
Saved me a lot of time and messing with backups and restores...
Hi All
I have backup fiel its not .stg extension file, actually i backup this in ROM version 4.00.11, backup on SD card as only contact and appointment. Now i installed ROM version 3.17.03 , in this version dont have the option of contact and appointment backup/restore. so i like to open tht file in desktop PC to recover. or any othr solution to restore it. plz feed back me.
thnx

Can someone post a nandroid backup file

Can someone attach a nandroid backup file i need one thanks
Are you looking for a stock one? I would think the nandroid images have personal/private data in them (account info and stuff from however people had their hero setup)
nevermind i dont need one anymore i got my phone fixed

nandroid back up problem

i have three nandroid backups and have never had a problem what so ever with them....seems like eversince i renamed them to keep track of them i tried to use them and they give me and error saying run via adb...does anyone one have any insight?
im an iddiot mods delete this
aauussttiinn88 said:
i have three nandroid backups and have never had a problem what so ever with them....seems like eversince i renamed them to keep track of them i tried to use them and they give me and error saying run via adb...does anyone one have any insight?
Click to expand...
Click to collapse
Actually the last time I tried to restore I had the same issue. Not sure what the remedy is, but I had to just re-flash the Modaco ROM I was running prior to trying out the 2.1 Rom. Wish I knew what was going on.
just figured it out...let me ask you this did you rename your nandroid backups?
aauussttiinn88 said:
just figured it out...let me ask you this did you rename your nandroid backups?
Click to expand...
Click to collapse
No, I just have a ton of them in my nandroid folder but never changed any names.
It names the backup based on the source device serial number and the time the backup was made. This, I think, is how it knows which one is the latest. I had this problem once before and the trick was to create the following folder structure in the root directory of your sd card:
nandroid\[insert device serial number]\BCDMRS-20100205-2102\
Note the BCDMRS-20100205-2102 is just a folder name I took from my nandroid folder. If you created the nandroid folder as I describe and have just one backup you can use the same folder name I did and put your backup in it.
An alternative method would be to do a nandroid backup to recreate the paths on your sdcard and overwrite the contents of your equivalent of BCDMRS-20100205-2102 with your older backup.
I didn't get much sleep so sorry if this doesn't make sense.
aabbccddeeffgghh said:
It names the backup based on the source device serial number and the time the backup was made. This, I think, is how it knows which one is the latest. I had this problem once before and the trick was to create the following folder structure in the root directory of your sd card:
nandroid\[insert device serial number]\BCDMRS-20100205-2102\
Note the BCDMRS-20100205-2102 is just a folder name i took from my nandroid folder. If you created the nandroid folder as i describe and have just one backup you can use the same folder name I did and put your backup in it.
Click to expand...
Click to collapse
Cool i will try that and see if it works. Actually im not all that pressed to backup any of my nandroids, so if this doesn't work I am going to delete all of mine and make just one backup to what im running now and hopefully that one will work if I ever need to restore. But thanks for the info.
You posted as I was editing my post. The alternate method might work better.
yea i just renamed my nandroid backups to the date in which i created them ie. 20100303 and that worked...weird i think but it works like a charm

[Q] "Contacts.db"

Hello,
So I recently rooted, backed up, and installed liberty 1.5 on my droid x. In the process I lost my contacts. I didn't see this as a problem at first because i thought the backup would store all information on my phone and I could just go back and retrieve them. I have not been able to restore them. I used titanium backup for my backup. There is a file "contact.db" that would seem to be my contact database, but I cannot figure out how to import or retrieve my contacts from the file. I did not sync to my google account, because im a dumbass and didnt know to do this. However, now i do.....
Can anyone help me?
Im new to the forums, thank you in advance.
Did you have verizon's backup assistant and did you use it?
If so, you can go to the backup assistant website and download your contacts as a csv file, then import to google contacts
As for the file, I think it's a sqlite db file.
Copy the .db file to your computer and find a sqlite db program, then try opening the file (make a backup of the file first)

Extract/Restore SMS/MMS, Contacts/Call Log, and Launcher Config. From Nandroid Backup

I was using Nexus S i9020T, CM7 nightly (a few weeks old) and for some reason I wake up this morning and couldn't get past the CM7 "blue circle" screen booting. I had about a month old backup but I didn't want to lose any recent data so I made a Nandroid backup.
Normally, to restore SMS or MMS from an old backup, one can just restore the nandroid backup, use a third party SMS backup program to backup the data to sdcard or gmail, restore or install new rom, then restore the SMS from the third party backup software.
However, in my case, I had a nandroid with data on it that I wanted to keep but that wouldn't boot.
So I did some searching and others have had this problem before but I figured I'd put it here for others that may have the same problem. I am not taking credit for this I just found various pieces of info around the web.
The solution is to use a utility called unyaffs. Unyaffs will need cygwin.dll. Yaffs is the file system that CWM recovery nandroid backups are stored in. Windows cannot read or mount this file system AFAIK.
Instead of compiling unyaffs for windows and installing all of cygwin, just use the attached pre-compiled unyaffs.exe and cygwin.dll.
Here's the process:
To restore SMS/MMS from a nandroid backup using MS Windows:
place unyaffs.exe + cygwin.dll + data.img in a folder
open command prompt in this directory (shift+right click -> open comand window here)
type: unyaffs data.img
the contents of the data.img will be extracted to this folder. wait for extraction to complete
browse to \data\com.android.providers.telephony\databases in the extracted folders
copy mmssms.db, mmssms.db-shm, mmssms.db-wal to sdcard
use root explorer to copy these three files to \data\data\com.android.providers.telephony\databases
To restore contacts/call log from a nandroid backup:
repeat above process for \data\com.android.providers.contacts\databases
To restore launcher configuration (only for stock Gingerbread launcher):
repeat above process for \data\com.android.launcher\databases
Note: Be aware that replacing the existing files with those extracted from the backup will remove the existing data so if you're not 100% sure what you're doing, change the names to mmssms_OLD.db or otherwise back them up before pasting the files from the backup.
Edit: Just thought I'd add, I also came across an app called AppExtractor but, despite the good reviews, the SMS/MMS restore didn't work for me.
if you have titanium backup, it makes it a lot easier to restore specific items from Nandroid Backup
AllGamer said:
if you have titanium backup, it makes it a lot easier to restore specific items from Nandroid Backup
Click to expand...
Click to collapse
Doesn't work for migrating from Gingerbread to Ice Cream Sandwich for some reason?
I am going to give this one a try.
To the OP your a dead set legend! thank you
PS: Where the bloody hell is the thanks button on this forum? I can't find it
I will give it a try. Thanks.
where do i find data.img?
I'm on an SGS I9000 and made an SMS/MMS backup using titanium backup when I was on Gingerbread.
Now I've installed the "Onecosmic's ICS Port Android 4.0.3 RC3.1" and restoring the backup file using titanium (only data) makes my message app FC.
Jarmezrocks were you successful when restoring your SMS/MMS on ICS?
Does anyone knows how to restore them? From titanium backup I only have an *.apk.gz and *.properties files.
Thanks for any help.
Cheers
Excellent.. saved me a lot.. thanks for the tool
Great post. I wonder if there is a file extrator in Android like unyaffs?
I found out that you can restore SMS just by using Root Explorer.
The location is the same, just that the files are these ones:
mmssms.db
nwk_info.db
telephony.db
I tried and it worked only using RootExplorer and I extracted the files from data.ext4.rar
Does this need to be done using ADB? I have set a nandroid backup from a GB ROM and flashed ICS on the phone; however when I extract the data.img using unyaffs and browse to the mentioned directory, there are no db files whatsoever.
Could the nandroid backup be corrupted for some reason?
I am looking at the data\com.android.providers.contacts folder and I only see a lib folder with nothing on it.
Hidden system files are set to show BTW
I did this yesterday using Titanium Backup for my SMS/MMS
You need to go into Preferences and check the *Migrate system data [Experimental] option
Then you go to More - Extract from nandroid backup
There it is listed as Dialer Storage
You can probably do the Phone log this way to but I did look for it.
I would recommend you do a current backup of [SMS/MMS/APN] Dialer Storage before you attempt this.
Does this restore the whole smsmms database like with the sms.db file on the iPhone? I hate it when MyBackupPro has to restore my texts and the dates are all messed up and i've lost all my MMS'. And it restores them one by one, instead of just putting it in there all at once. Took me like an hour to restore everything.
I have an app for you.
I'd much rather save myself from all this tedious long-winded work and just use apk extractor to restore everything.
HAKA said:
I have an app for you.
Click to expand...
Click to collapse
Thanks! Wish i've learned about this sooner. Would have saved me a lot of time.
This method doesn't work for me :/
I followed it exactly step by step but when I'm done and go to the Messages app, it's empty.
The same happens if I try it with appextractor or titanium backup.
I made the nandroid backup on CM7, and want to restore the messages to CM9+AOKP on ZTE Blade.
Thanks
THANK YOU !!!!
That was so helpful. I was migrating from GB to Nyx ICS RC5.0 yesterday and the application I used (super backup) failed to restore the Contacts.
Another app I used did that but missed allot of details (and also was damn slow).
I used your technique and it did the trick!!!
All data is there the same as I left it on CM7.2
You're the king
Thanks
[EDIT] just a correction Super Backup was able to restore the contacts but with missing details
It failed to restore the SMS
The other APP (forgot the name) restored the SMS (after ages) but contact associated with the SMS were completely messed up.
perfect
RichAP said:
I did this yesterday using Titanium Backup for my SMS/MMS
You need to go into Preferences and check the *Migrate system data [Experimental] option
Then you go to More - Extract from nandroid backup
There it is listed as Dialer Storage
You can probably do the Phone log this way to but I did look for it.
I would recommend you do a current backup of [SMS/MMS/APN] Dialer Storage before you attempt this.
Click to expand...
Click to collapse
This worked perfectly for me, got all my sms messages back from my nandroid backup.
Thanks!
thanks!
RichAP said:
I did this yesterday using Titanium Backup for my SMS/MMS
You need to go into Preferences and check the *Migrate system data [Experimental] option
Then you go to More - Extract from nandroid backup
There it is listed as Dialer Storage
You can probably do the Phone log this way to but I did look for it.
I would recommend you do a current backup of [SMS/MMS/APN] Dialer Storage before you attempt this.
Click to expand...
Click to collapse
I did this today when I had to reformat my phone because of a bootloop. I'm using an HTC Desire on MildWild. Worked perfectly for me and was able to restore my messages. Loads of thanks to you!
Thank you! This worked perfectly for me!

Categories

Resources