[Q] Restoring SMS - Droid Incredible Q&A, Help & Troubleshooting

Hey I need a little help.
I need to restore the mmssms.db file onto my phone after wiping it. I tried putting it back in its place using adb push but the phone won't pull up the old messages. Could someone help me out with this? The rom i am using is the Cyanogen mod 6.1 rc2 on the incredible.

Did you just change roms and trying to restore old texts? Did you back up old one?
Sent from my ADR6300 using XDA App

yes i have the original mmssms.db file and after switching to the cyanogen mod i pushed the file back on. However, when i go to read my messages there are no messages, but the file in there is the old mmssms.db file. Also I completely backed up my old rom in case i need to revert

Restore old Rom. Download sms mms back up and restore from market. Make a back up. Restore new Rom and download app again, open and restore all messages
Sent from my ADR6300 using XDA App

Well i was hoping i could figure out more about why that file works the way it does. That will do the trick for sure though.

SerenadeX said:
yes i have the original mmssms.db file and after switching to the cyanogen mod i pushed the file back on. However, when i go to read my messages there are no messages, but the file in there is the old mmssms.db file. Also I completely backed up my old rom in case i need to revert
Click to expand...
Click to collapse
Original .db file is always wiped clean on factory data reset that you had to do to flash new rom. As the poster above me said, use sms restore app
Sent from my ADR6300 using XDA App

Of course the .db file is wiped. That's why he said that the pushed the old file with all this messages back onto the phone after flashing.
@SerenadeX: Did you reboot after pushing the file back?

Yeah i tried that but there was no change in my messages. There was, however a change in my search. I could search for terms that were in my messages but they would not pull up on the message in box. For example if i started typing the word fish the suggestion would come up for fish and when i search it it would come up with no results but the suggestions were so specific even to names. Its weird.

Your old .db file, is that from the stock (Sense) ROM?

yes it is.

That's probably what the problem is then. My gut says that the DB schemas between the stock ROM and CM are different. That would explain why just copying the .db file from one to the other doesn't work.
You'll need a program that will export the DB and re-import it correctly. There's quite a few SMS backup/restore apps in the market, many free. I haven't found anything free that will both backup and restore MMS messages though, so if you have any of those that you really want to keep you'll need to either buy something or go without those.

Related

SMS recovery?

so, today i was installing cm7 on my g2, when i rebooted the phone the screen would just hang at the splash screen, so i read and found that you should wipe the data on the phone and it should work, i decided to do a backup through recovery first then wiped the data. this worked but when i tried restoring it on any rom it wont go past the splash screen, i am wondering if there's any way to recover the sms data through the backup i still have. any help would be great Thanks.
EDIT: So i managed to get the mmssms.db file by using unyaffs to extract the files from the data.img file but apparently simply replacing the one on cm7 with it isn't enough to fix the problem... any help?...
EDIT: nevermind, got it.
So that this wont happen again:
Install gosms from market where you can backup all your sms and restore them on any rom.
Sent from my HTC Vision using XDA Premium App

Pull txt messages from a CWM backup

Does anyone know (with detail) how to pull txt messages from a CWM backup without restoring it. I only want to be able to read through them not restore.
Thanks Guys!
Sent from my ADR6300 using xda premium
jblack55 said:
Does anyone know (with detail) how to pull txt messages from a CWM backup without restoring it. I only want to be able to read through them not restore.
Thanks Guys!
Sent from my ADR6300 using xda premium
Click to expand...
Click to collapse
There really isn't a way that I know of. The sms/mms is stored in an sqlite database (on stock ICS at least, should be the same for gingerbread or earlier.
Check the backup directory for datadata.tgz and extract it and find /data/data/com.android.providers.telephony/database. In that folder is a mmssms.db file that has the sms/mms messages.
It's an sqlite database so I doubt you can open it with a text editor. Nope, you can't.
http://forum.xda-developers.com/showpost.php?p=26919157&postcount=6

How to get saved Wifi passwords / APs from GB to ICS?

Hi All,
I recently installed Aero's CM9, coming from CM7.2. I had a ton of wifi passwords / access points saved from my CM7.2 install as I had been using it for quite some time, however in the upgrade process to CM9, they did not get transferred over (contrary to what Google Backup & Restore is supposed to do... )
Anyway - I still have a nandroid of my CM7.2 install, and also have Titanium backups of my CM7.2 Wifi settings & passwords. I tried restoring the settings via the Titanium route, however it had no effect.
Is there a file I can extract from my CM7.2 nandroid to import my old wifi passwords into ICS? I know there's a way to do this ... just haven't figured out how yet.
Any suggestions are appreciated!
Best,
-Dirk
EDIT: Nevermind! I checked the compatibility restore option within Titanium (for between different roms) and it worked the second time around.
There's an app called apk extractor that does just that and more. It allows you to pull your bookmarks, wifi settings and passwords, apps, and SMS/mms from your nandroid backups.
Sent from my DINC2
Hmm - just installed that and it seems that it only extracts the .apk files of the programs you currently have installed. I don't see anything about retrieving settings, wifi passwords, etc. from your current rom, or nandroids for that matter.
Am I using it incorrectly? Perhaps you were referring to a different program?
You need to upload your nandroid backup to your pc
Then use 7zip or winrar to untar the data.ext3.tar (I kept getting extract errors in winrar. Just ignore the errors they are nothing to be worrying about)
Make sure you have wifi turned off just to be safe.
Look in the /data/misc/wifi folder and copy the wpa_supplicant.conf to your sdcard.
Then use a root explorer to go to the same location in CM9 rename the file that is there to wpa_supplicant.conf.bak just to be safe.
Then copy the wpa_supplicant.conf from the nandroid backup to that folder.
Just to be safe I would suggest a reboot.
EDIT: Oops didn't notice you had update the OP. Alwell for future reference there is an alternative method.
dirkdigles said:
Hmm - just installed that and it seems that it only extracts the .apk files of the programs you currently have installed. I don't see anything about retrieving settings, wifi passwords, etc. from your current rom, or nandroids for that matter.
Am I using it incorrectly? Perhaps you were referring to a different program?
Click to expand...
Click to collapse
My apologies you need to purchase the "key" to unlock the other modes. Or just Google apk extractor key. But it's definitely worth buying if you don't have your wifi password memorized
Sent from my DINC2
dirkdigles said:
Hmm - just installed that and it seems that it only extracts the .apk files of the programs you currently have installed. I don't see anything about retrieving settings, wifi passwords, etc. from your current rom, or nandroids for that matter.
Am I using it incorrectly? Perhaps you were referring to a different program?
Click to expand...
Click to collapse
Once again, my apologies. It's called app extractor.
Sent from my DINC2
klabit87 said:
You need to upload your nandroid backup to your pc
Then use 7zip or winrar to untar the data.ext3.tar (I kept getting extract errors in winrar. Just ignore the errors they are nothing to be worrying about)
Make sure you have wifi turned off just to be safe.
Look in the /data/misc/wifi folder and copy the wpa_supplicant.conf to your sdcard.
Then use a root explorer to go to the same location in CM9 rename the file that is there to wpa_supplicant.conf.bak just to be safe.
Then copy the wpa_supplicant.conf from the nandroid backup to that folder.
Just to be safe I would suggest a reboot.
EDIT: Oops didn't notice you had update the OP. Alwell for future reference there is an alternative method.
Click to expand...
Click to collapse
this didn't work for me goingn from 2.3.6 to AOKP ICS
I've been able to restore a Titanium Backup of wifi access points from GB to ICS.
That info should be saved to google as long as you had backup to google checked when you setup your phone, and then restore when you setup your ics ROM.
Swyped From My MikRunny'd Superphone Using TapaTalk 2
tylerlawhon said:
That info should be saved to google as long as you had backup to google checked when you setup your phone, and then restore when you setup your ics ROM.
Swyped From My MikRunny'd Superphone Using TapaTalk 2
Click to expand...
Click to collapse
Yeah it "should" be, but it seems like everyone since gingerbread with my original Motorola droid, backing up to Google is not always reliable especially with wifi passwords. That's just been my experience though.
Sent from my DINC2
sacnotsack said:
Yeah it "should" be, but it seems like everyone since gingerbread with my original Motorola droid, backing up to Google is not always reliable especially with wifi passwords. That's just been my experience though.
Sent from my DINC2
Click to expand...
Click to collapse
Well, all I can say is it works for me. Although, with WiFi passwords, I generally manually do mine. I flashed AOKP yesterday and told it to restore from google, and after it finished it connected to my protected network.
Swyped From My MikRunny'd Superphone Using TapaTalk 2
the conf file under /data/misc/Wifi/ may help
Root before explore the path above

[Q] Titanium Backup issue after ICS

I just flashed Mr X's Telus stock ICS ROM, and I'm having trouble with Titanium Backup. I have the proper backup folder selected, and the little toast pops up with the correct number of app elements, but when I hit batch, it doesn't show that I have any backups to restore. It shows only the apps that are on the phone stock. Any suggestions? This is driving me nuts.
JaylanPHNX said:
I just flashed Mr X's Telus stock ICS ROM, and I'm having trouble with Titanium Backup. I have the proper backup folder selected, and the little toast pops up with the correct number of app elements, but when I hit batch, it doesn't show that I have any backups to restore. It shows only the apps that are on the phone stock. Any suggestions? This is driving me nuts.
Click to expand...
Click to collapse
Did you manually go explore the directory you had the backups in before to ensure that they are actually still there? Like with root explorer, etc?
You could try clearing data in application manager and re-install, try to copy the backup directory somewhere else, then specify in settings where it is.. Maybe its a cache issue?
Good luck
JaylanPHNX said:
I just flashed Mr X's Telus stock ICS ROM, and I'm having trouble with Titanium Backup. I have the proper backup folder selected, and the little toast pops up with the correct number of app elements, but when I hit batch, it doesn't show that I have any backups to restore. It shows only the apps that are on the phone stock. Any suggestions? This is driving me nuts.
Click to expand...
Click to collapse
I think u may need to root agin, mr.x's rom was made to be stock with no root. The ics root files are here http://forum.xda-developers.com/showthread.php?t=1705565
I have root. Titanium and Root Explorer are granted access.
Sent from my SGH-T989D using XDA
I tried copying the whole backup folder to internal memory, but it still doesnt want to let me restore.
Sent from my SGH-T989D using XDA
Try restoring a single app. with my ICS flash I got prompted that the phone ID was different that what was used to install TB and through the prompt I reset the phone back to the original ID, and it allowed the restore. Just wondering if you are not seeing a prompt due to the batch mode..
I figured it out. Apparently the default setting now is to filter out apps not currently installed. How [email protected]#!& stupid is that?! After three flashes and as many hours I find this.:banghead:
Sent from my beastly Galaxy S 2.
Hey OP, im having the same problem. I can restore apps one by one manually but when i try to batch restore all my apps it doesnt work. What specifically did u do to fix this issue?
Sent from my SGH-T989 using Tapatalk
My issue was that it would not show me the apps to be installed, and I had to tap on Filters and set to All so it would show me those not yet installed.
To batch restore, you need the paid version. If you have the Pro Key, but it's not working, uninstall and re-install.
Sent from my beastly Galaxy S 2.

Need urgent help with restoring nandroid backup

Hi, so i installed the latest version of liquid smooth and i did not like it. I had made a nandroid backup before i installed. When i go into CWM i cant restore it? it says file not found??
For some reason when i restored all my apps using titanium backup. Tons of stuff stopped working (got a load of popups saying things werent working). I cannot access my phone on my computer it says hardware id missing. So i cant copy the nandroid backup onto my phone !! I need help please
I am freaking out. I just want to go back to 4.1 with all my settings and apps. please help me
Were you coming from a stock based ROM? A little more info would be helpful.
Sent from my Nexus 4 using xda premium
LuigiBull23 said:
Were you coming from a stock based ROM? A little more info would be helpful.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Yes i was on rooted stock based ROM.
Update: i managed to restore my nandroid through ROM manager. but after i reboot i still get a million messages saying email, messaging, and other apps still not working !
my usb connection is still not working ! nothing shows up on computer
whats really weird is i can connect via PTP and my phone and all the files show up. but i cant via MTP
seifer699 said:
Yes i was on rooted stock based ROM.
Update: i managed to restore my nandroid through ROM manager. but after i reboot i still get a million messages saying email, messaging, apps are not working !
my usb connection is still not working !
Click to expand...
Click to collapse
Ok. good to hear. However I would not recommend restoring nandroids through any app. You should always do your backups/restore through your actual recovery. As far as your FC issues go, it sounds like you restored some incompatible app and/or system data through TB.. You need to be careful restoring specific data through TB when jumping between TW and AOSP ROMs.
Try clearing your cache and/or data through settings for any app giving you issues before attempting anything else.
Sent from my Nexus 4 using xda premium
LuigiBull23 said:
Ok. good to hear. However I would not recommend restoring nandroids through any app. You should always do your backups/restore through your actual recovery. As far as your FC issues go, it sounds like you restored some incompatible app and/or system data through TB.. You need to be careful restoring specific data through TB when jumping between TW and AOSP ROMs.
Try clearing your cache and/or data through settings for any app giving you issues before attempting anything else.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks for the advice.
I wasnt able to restore from recovery that is why i had to resort to rom manager.
The main problem i seem to have now is not being able to connect to my computer via MTP....
Any suggestions on how to fix this? everything else seems to be working (apps, email, messaging) accordingly except usb.
Also i noticed that a folder called "0" has been created on my phone and it is a exact copy of all my folders. Can this be deleted?
seifer699 said:
Hi, so i installed the latest version of liquid smooth and i did not like it. I had made a nandroid backup before i installed. When i go into CWM i cant restore it? it says file not found??
For some reason when i restored all my apps using titanium backup. Tons of stuff stopped working (got a load of popups saying things werent working). I cannot access my phone on my computer it says hardware id missing. So i cant copy the nandroid backup onto my phone !! I need help please
I am freaking out. I just want to go back to 4.1 with all my settings and apps. please help me
Click to expand...
Click to collapse
It happen to me sometimes when I connect phone to PC it said hardware id missing. What I did is change to other USB port on PC sometimes it help bit sometimes not so I restart PC and reboot the phone. After start up I plug the USB most of the time it solve my problem.
When you use CWM to back restore back, make sure that CWM is the one you use to backup prior flashing custom rom. It happen as well to me after update to the latest CWM I can't restore it said file not found. When I odin back CWM to the one I used when I backup my nandroid, it works.
seifer699 said:
Thanks for the advice.
I wasnt able to restore from recovery that is why i had to resort to rom manager.
The main problem i seem to have now is not being able to connect to my computer via MTP....
Any suggestions on how to fix this? everything else seems to be working (apps, email, messaging) accordingly except usb.
Also i noticed that a folder called "0" has been created on my phone and it is a exact copy of all my folders. Can this be deleted?
Click to expand...
Click to collapse
You might wanna try different usb cables (prefer blackberry), different usb ports, and/or reinstalling the drivers. If none of this helps try the same troubleshooting steps on a different pc. That will tell you if it is indeed the phone or your pc.
A "0" folder was created as a second sd partition because you had flashed an AOSP ROM. That is your internal sd card so if you're on AOSP you don't wanna delete that folder. If you're on TW, which I can assume you already are, you can delete "0" but only AFTER you've transferred all your important content from the "0" folder back into their originating folders, or wherever you want them to be, on the root of your internal sd card. Otherwise, you will lose all your content.
Sent from my Nexus 4 using xda premium

Categories

Resources