Possible to copy mmssms.db from twrp backup? - HTC 10 Questions & Answers

I recently switched from one Sense based ROM to a different Sense based ROM. However, I forgot to backup my text messages before wiping data and flashing new ROM but I did do a backup in TWRP prior to flashing. I have been able to extract the backuped system and data files to my PC and I have located the mmssms.db. Does anyone know if I can just simply copy that db file to the appropriate location on the current system? Are there other files that need to accompany the db file if this is possible?
I will attempt to do this while I await a response here. I will backup the current system before I do.
Thanks!
**UPDATE**
I was able to copy all the SMS and MMS db files from my twrp backup and replace them in the data folder of the system and all is well. All my old messages are in the app as if they were never gone.
If anyone needs help with this topic, just post a reply here and I can assist.

Related

[Q] How to extract files from a Nandroid Backup

Hi,
I just installed a custom ROM on my phone and it's working very well.
The question is that I made a nandroid backup and want to copy some files from the backup. So how can I open the system.img and data.img files on my windows machine in order to copy the desired files?
Thanks in advance.
Explore2fs

[Q] view stored memos on previous nandroid backup?

Hey guys,
asked this question in the wrong section so I'm asking it here.
Is it possible to extract an old nandroid backup to view memos I may have had?
I don't want to restore the backup, I know something in it is wrong as it would freeze on bootup after I tried a restore, that isn't important. What is important is there were memos stored on that backup that I need back.
I used unyaffs to extract system.img, but everytime I try and extract data.img (which is where I'm guessing the memos are stored) I get a popup in windows 7x64 that says unyaffs.exe has stopped working.
I copied data.img off my sdcard and am trying to extract through windows terminal.
Can someone tell me if I am correct in thinking the memos would be stored in the data.img and where they might be located and why I am unable to extract data.img?
Thanks in advance!

[Q] Problems Importing SMS from XML file

Hello
I was wondering if any of you very knowledgeable folk could help me with a problem that I having restoring SMS to my Galaxy S3.
Phone: Unrooted
Software: 4.1.2
I used the Backup option in Go SMS and saved the XML file to my computer. I then used the System Restore facility. After this was complete I transferred the XML file back into the folder as it created when backing up. I reinstalled Go SMS and went to the restore screen within the app but it could not find any back up to restore from.
I have attempted with SMS Backup and Restore which can recognise the XML file but any attempt to restore is unsuccessful.
Successful: 0
Failed: 1847
Failed: 1847
Unfortunately I did not back up to Dropbox or GMail but I know when I open the XML file to view it that the messages are there. Any suggestions would be greatly appreciated?
originalscreenname said:
Hello
I was wondering if any of you very knowledgeable folk could help me with a problem that I having restoring SMS to my Galaxy S3.
Phone: Unrooted
Software: 4.1.2
I used the Backup option in Go SMS and saved the XML file to my computer. I then used the System Restore facility. After this was complete I transferred the XML file back into the folder as it created when backing up. I reinstalled Go SMS and went to the restore screen within the app but it could not find any back up to restore from.
I have attempted with SMS Backup and Restore which can recognise the XML file but any attempt to restore is unsuccessful.
Successful: 0
Failed: 1847
Failed: 1847
Unfortunately I did not back up to Dropbox or GMail but I know when I open the XML file to view it that the messages are there. Any suggestions would be greatly appreciated?
Click to expand...
Click to collapse
Restoring from xml files never worked for me either. I always had to use titanium backup.
Perhaps inside the messaging app itself there is an option to import sms from xml file similar to how in the contacts app you can restore your contacts from a backup file ?
Sent from my SGH-I747M using Tapatalk
originalscreenname said:
Hello
I was wondering if any of you very knowledgeable folk could help me with a problem that I having restoring SMS to my Galaxy S3.
Phone: Unrooted
Software: 4.1.2
I used the Backup option in Go SMS and saved the XML file to my computer. I then used the System Restore facility. After this was complete I transferred the XML file back into the folder as it created when backing up. I reinstalled Go SMS and went to the restore screen within the app but it could not find any back up to restore from.
I have attempted with SMS Backup and Restore which can recognise the XML file but any attempt to restore is unsuccessful.
Successful: 0
Failed: 1847
Failed: 1847
Unfortunately I did not back up to Dropbox or GMail but I know when I open the XML file to view it that the messages are there. Any suggestions would be greatly appreciated?
Click to expand...
Click to collapse
I will recommend you this app Super Backup : SMS & Contacts, you can backup your sms, call logs, apps, etc..
Hello
Thanks for the replies.
I managed to figure this out in the end. I was being a fool and just trying to restore from the .xml file Go SMS created. As soon as I tried to restore from the .zip I took the .xml from it all worked perfectly.

Restore some WhatApp media files from Nandroid Backup

Greetings Folks!!! :highfive:
I have taken a CWM backup of my phone when it was on 4.2.2 version ROM, before installing a new 4.4.4 ROM. Now, I want to extract a particular picture (probably a .JPG or a .PNG file) from the WhatsApp media folder (located on my internal sdcard) from that CWM backup. I don't really want to restore the whole backup or even the WhatsApp App+Data to get that file. I have installed Nandroid Manager, which can browse the backups, but I don't know where to navigate to extract that picture file. Can someone advise on this, please? Thanks.
acemccloud1 said:
Greetings Folks!!! :highfive:
I have taken a CWM backup of my phone when it was on 4.2.2 version ROM, before installing a new 4.4.4 ROM. Now, I want to extract a particular picture (probably a .JPG or a .PNG file) from the WhatsApp media folder (located on my internal sdcard) from that CWM backup. I don't really want to restore the whole backup or even the WhatsApp App+Data to get that file. I have installed Nandroid Manager, which can browse the backups, but I don't know where to navigate to extract that picture file. Can someone advise on this, please? Thanks.
Click to expand...
Click to collapse
GO to sdcard/whatsapp/media/whatsapp images enjoy dnt forget to click on thankx button.
Thanks for the response @Preshak . But I think you misunderstood my query. I know the location of the WhatsApp media folder. The issue is that I took a CWM backup of my phone (it was on version 4.2.2) and then formatted it and installed version 4.4.4. In this process the internal SDcard got wiped, including all the WhatsApp media files. But I believe those should be in the CWM backup. Hence wanted to know where in the back folders would I find the WhatsApp media files.
Sorry to say bro but u cant.
As cwm or twrp dnt backup your sd card data. Excluding android folder..
Press thanks Button
Sent From RR for I9082

TWRP can't recognize backup folder name

My phone is GT-N7105 (Samsung Note 2)
=============SHORT STORY=============
TWRP can't recognize my backup folder name which I am trying to restore
=====================================
=============LONG STORY=============
I had a nandroid backup before, then I copied the backup to PC, still have it. Then I flashed lineage 13. I deleted the nandroid backup on the phone storage. Now I want to restore the backup so I copied the backup files from the PC.
Now when I go to TWRP Restore mode, no backups are found.
I already searched through the internet and found the renaming method but there's a problem:
this is my original backup:
TWRP/backups/42f7491d7b409fc7/2017-03-01--05-28-34_JZO54K.N7105XXDMB
I tried to make a new backup of my current lineage (just to see if the folder name changed based on the new folder the backup process will create), here is what the resulting folder was:
TWRP/backups/42f7491d7b409fc7/2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c
As you can see, only the innermost folder name changed. So from what I found through searching, it said to rename the old backup folder to the new backup folder's name, meaning :
I changed
2017-03-01--05-28-34_JZO54K.N7105XXDMB
to
2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c
TWRP still can't see the original backup.
So what should I rename the original backup folder for TWRP to recognize it and make it appear?
EDIT:
I already updated my TWRP but problem still exists.
Create a new backup with your current rom, then remove it and add the old one instead.
futchy4u said:
Create a new backup with your current rom, then remove it and add the old one instead.
Click to expand...
Click to collapse
Sorry not really a developer type of guy and I regret tinkering with these stuff on my phone.
What you meant was to make a backup with current rom just to get the folder name that TWRP will recognize and then swap the old stock backup into the folder?
If I just rename the stock backup folder name to 2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c it's the same as what you said right?
and it should still run smoothly (stock rom should be restored without errors)?
Sorry just asking out of caution.
It's ok, we're all helping each others here. And we all had lots of mistakes and we still do.
Anyways, yes renaming it could do the trick but you don't need to rename the backup name directly. Instead, you need to rename the folder containing the backup.
TWRP path is going to be similar to that
/TWRP/BACKUPS/4d00475b004150de/2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c
Click to expand...
Click to collapse
All you need to get is that folder name "4d00475b004150de" because it's auto generated by twrp, that's why I asked you to create another backup even if you just backed up your boot file to generate the folder.
Once you did the backup you can then move your old backup to that folder or rename that old similar folder to the newly created one (not the rom backup folder itself).
sgn15 said:
Sorry not really a developer type of guy and I regret tinkering with these stuff on my phone.
What you meant was to make a backup with current rom just to get the folder name that TWRP will recognize and then swap the old stock backup into the folder?
If I just rename the stock backup folder name to 2017-07-05--09-27-29_lineage_tOlte-userdebug_6.0.1_MOB31K_ab972c it's the same as what you said right?
and it should still run smoothly (stock rom should be restored without errors)?
Sorry just asking out of caution.
Click to expand...
Click to collapse
futchy4u said:
It's ok, we're all helping each others here. And we all had lots of mistakes and we still do.
Anyways, yes renaming it could do the trick but you don't need to rename the backup name directly. Instead, you need to rename the folder containing the backup.
TWRP path is going to be similar to that
All you need to get is that folder name "4d00475b004150de" because it's auto generated by twrp, that's why I asked you to create another backup even if you just backed up your boot file to generate the folder.
Once you did the backup you can then move your old backup to that folder or rename that old similar folder to the newly created one (not the rom backup folder itself).
Click to expand...
Click to collapse
Oh, the folder name code you're referring to was 42f7491d7b409fc7 for me. Thanks. I tried it and everything worked (done restoring and it looks like everything is working so far). Thanks a lot again!
To moderators, this topic's problem is solved. Not sure if the topic needs to be locked after being solved, but yeah just a heads up. Not very active here.
Cheers.
sgn15 said:
Oh, the folder name code you're referring to was 42f7491d7b409fc7 for me. Thanks. I tried it and everything worked (done restoring and it looks like everything is working so far). Thanks a lot again!
To moderators, this topic's problem is solved. Not sure if the topic needs to be locked after being solved, but yeah just a heads up. Not very active here.
Cheers.
Click to expand...
Click to collapse
You're welcome. I think it's ok to be left here so that it could help others.

Categories

Resources