Import contacts from exported nandroid? - EVO Shift 4G General

Is it possible to strip the contacts.db file from the nandroid backup and import it to the phone? Tried to restore the backup (not my phone) but contacts didn't restore and he didn't sync with goog. Thanks in advance.
<Blaze One>

If the nandroid restore did not restore the contacts then they probably weren't backup.

The backup is there. Pulled it from the phone. Extracted the contents. I can see the contacts using sqlite but there are like a hundred contacts and would rather not put them in by hand. Getting paid for this so would like to make it as easy as possible. Is there a way to take that .DB file and insert it into an existing nandroid? Just don't know how to seal it back up....
<Blaze One>

Copy them into an excel spreadsheet and save as a CSV file. Shouldn't be that difficult to copy and paste and then make sure it is in the proper format. Then import into their google account.
http://mail.google.com/support/bin/answer.py?answer=12119

Awesome. Thanks
<Blaze One>

Related

Restore Backup Assistant to JT's Froyo rom.

I tried moving the BackupAssistant.apk to the system/apps/ folder but no luck. Anyone know the extra step I need to take to get my backup assistant back?
I can't believe no one has figured this one out lol
i would love to know this too
if your looking to import your contacts from backupassistant you can go onto verizons site and goto backup assistant and export as a csv file and then import it on your phone. Just a thought
There are more files related to backup assistant than just that one apk file. I believe there are two apks, as well as changes in how the stuff in settings is populated as well. Why not just push all your contacts to your Google Account?

[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!

Import contacts from bak file using Phone portal on CM9?

I just installed CM9 on my moto Defy which is great, but I previously created a bak file with all my contacts numbers, I'm trying to use "phone portal" to restore that file into my phone but it always tells me "server error" so I cannot do the process on the computer, it normally gives you an url where you can see everything you have in your phone through your web browser on the pc, is not working anymore on CM9? thanks!
EDIT: If there's any other way than using Moto Phone Portal(to import a bak, csv, vcf) file please let me know thanks!
Why didn't you export your contacts to SD card in vcf format using inbuild backup feature??
anyway, if its .vcf file then just copy it on root of sd card and run it via contacts>Inport contacts from sd card>import one v card(if you have one vcf file) or import all v cards( if you have more than one v cards. Thats it.
I always did it like I said, however, never installed a custom ROM before, anyway, THANKS A LOT for the help, I will give it a try tonight It will save me a lot of time >_<
EDIT: Done! thank you!

[Q] What app for backup contacts?

Hi,
Can you please suggest me app for backup phone contacts with attached images?
vcf export can only export up to 96x96px image.
Thanks in advance!
I use super backup who works well. you can save contacts with pictures and export to sd or mail or dropbox and it save sms too
Thx mate, but this app didnt make the job.
Luckily I found this one:
https://play.google.com/store/apps/details?id=at.specsoft.contactsbackupultimate
who did it!

Categories

Resources