Restoring to pre-mango state with Zune - possible solution - Windows Phone 7 Q&A, Help & Troubleshooting

This is possible solution for all of you that are using "takesonetomango" tool for Mango upgrade and cannot restore your phone back.
After I updated my phone (HD7) to Mango beta I couldn't restore it back so then I was doin' a bunch of stuff (uninstalling Zune, installing garbage, installing Zune again- 4.7 then 4.8...) and then I had one of those "moments" and did the following:
Ok... I had the same problem with restore.bat (there was no restore point...) so I did it like this:
1. from the folder C:\PreMangoState\bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93\RestorePoint select to copy THE LATEST FOLDER (check "date modified" - that would be the latest backup you took with update.bat)
2. go to C:\Users\%your username%\AppData\Local\Microsoft\Windows Phone Update\bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93 and PASTE it into RestorePoint folder.
Now Zune should see it (in Zune you go to settings-update).
You should be careful not to copy and paste WHOLE bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93 folder from restore.bat because i believe that properties.xml file should not be replaced in "windows phone update" folder.
First time i did it I copied whole bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93 folder (and replaced all the files) and Zune did not see it.
I hope thats it!
EDIT
Be advised that if you copied the complete folder allready, before you do this method, you have to UNINSTALL AND THAN REINSTALL ZUNE so you get original "properties.xml"

My restore point is gone because I had to format my computer, is it possible someone can attach their restore point here so I may use it and format and download a firmware upgrade for my phone please?

Devious Criminal said:
My restore point is gone because I had to format my computer, is it possible someone can attach their restore point here so I may use it and format and download a firmware upgrade for my phone please?
Click to expand...
Click to collapse
i did the same thing... please help

My restore folder is about 2.7 GB in size... and I believe that others are not small either.
I think that you will have to flash your mobs.

Devious Criminal said:
My restore point is gone because I had to format my computer, is it possible someone can attach their restore point here so I may use it and format and download a firmware upgrade for my phone please?
Click to expand...
Click to collapse
restore points (i.e. the backup files) are VERY MUCH device specific. You can not use another person's restore files on your phone. You can flash a stock ROM. Check the device specific forum here in XDA to see if your device has ROMs...

musicmaniaccro said:
This is possible solution for all of you that are using "takesonetomango" tool for Mango upgrade and cannot restore your phone back.
After I updated my phone (HD7) to Mango beta I couldn't restore it back so then I was doin' a bunch of stuff (uninstalling Zune, installing garbage, installing Zune again- 4.7 then 4.8...) and then I had one of those "moments" and did the following:
Ok... I had the same problem with restore.bat (there was no restore point...) so I did it like this:
1. from the folder C:\PreMangoState\bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93\RestorePoint select to copy THE LATEST FOLDER (check "date modified" - that would be the latest backup you took with update.bat)
2. go to C:\Users\%your username%\AppData\Local\Microsoft\Windows Phone Update\bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93 and PASTE it into RestorePoint folder.
Now Zune should see it (in Zune you go to settings-update).
You should be careful not to copy and paste WHOLE bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93 folder from restore.bat because i believe that properties.xml file should not be replaced in "windows phone update" folder.
First time i did it I copied whole bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93 folder (and replaced all the files) and Zune did not see it.
I hope thats it!
EDIT
Be advised that if you copied the complete folder allready you have to UNINSTALL AND THAN REINSTALL ZUNE so you get original "properties.xml"
Click to expand...
Click to collapse
Great post - Thought I would mentiont that the number you have in bold is different for each user, this might be worth mentioning in your OP

Maybe it's different but in my case "bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93" folder appears to be in PreMangoState folder as well as in windows-phone-update folder before any copying (the same numbers-letters sequence).

musicmaniaccro said:
Maybe it's different but in my case "bd48ff04 - 5fe3fd05 - fcc4ad38 - 5132dc93" folder appears to be in PreMangoState folder as well as in windows-phone-update folder before any copying (the same numbers-letters sequence).
Click to expand...
Click to collapse
that is your device id. That'swhy it is the same for both your folder locations. Everybody's device id is different, thus everybody's folder will be different.
Sent from my SGH-i917 using XDA Windows Phone 7 App

I was trying to explain that in not so many words - perhaps I should be more frank

does this require 4.8 or 4.7 zune software?

Before update to Mango (before taking backup) - Zune 4.7
When restoring from Mango to pre-Mango - Zune 4.8

i did the same, but zune doesnt see my omnia 7.

Restoring
Hi am am using zune 4.8 The tool says it needs updating to 4.8 to match zune version, and trying to do it manually i have coppied across the whole folder to specified location and uninstalled then reinstalled zune, it then says it can not check for updates and can not restore as the restore point is invallid?
If i downgrade to zune 4.7 it gives no update or restore point in settings but keeps asking to update zune?
Help or will i need to reformat phone a 2nd time thanks to mango?

Related

Activesync restore

Today I lost all the data on my phone.. no problem I thought, I shall do a restore using my backup activesync makes every time i plug my phone in, so all is fine and dandy. When it gets about half way through the restoration, activesync crashes (always at the same point). It is during processing a file called fldr1001dd8.
This means I cannot fully restore my device - very annoying!!
Can anyone help with this... can I make it so it skips errors instead of crashing? Any help at all appreciated!! Device is a Blue Angel, using ActiveSync 4.1
You want to download a free utility called STGViewer - this utility allows you to examine the contents of the backup file activesync creates so you can identify which data you want restored. If there is a corrupt file then you can decide not to restore that particular one but retrieve everything else.
Thankyou so much, I will try that!!
OK I have found it, but I cant work out how to delete a file from the archive with it. All it seems able to do is 'copy' files out of the archive :-(
Any tips?
You cannot delete individual files from the .stg file but the program does allow you to restore selected folders and files. So you can restore Program Files folder all at once - if that works then restore My Documents folder and so on.
You may find that by restoring individually there may not be any corrupt files. But if there are, then you just select everything else except the corrupted file - you can use drag and highlight to speed things up. A little bit tedious but at least you can get all your files back from a bad .stg file.
BTW, the file you mentioned is in Pegasus Databases which are system files
Have you used the program yourself Ian? If so could you please help me with the restore folder button.. when I select a folder, then the restore folder option on the menu, nothing happens. This is very frustrating!
Also, when I extract the files from the pegasus database and put them on the phone, the pegasus folder shows in the phone's file manager (obviously, because I just put it there). How do I restore them to the (presumably hidden) folder, where they are meant to be?
I appreciate all help on this matter, all I need back are my contacts, appointments and message data etc, the rest I can start afresh with.
No I have not used this to restore an entire phone, only to retrieve individual files. It does sound like you will need to start afresh and just use STGViewer to recover personal files from My Documents etc. Most installed programs in Program Files will work fine if restored via STGViewer- there is often no need to actually use an installation program as many programs work as standalone folders.
If you have synced with your PC previously, all your contacts, notes and messages will be in Microsoft Outlook so you can use Activesync to restore these back onto your phone. (assuming you had opted to sync these items)
I would suggest in future that you use Xbackup in the Programs folder to regularly save your contacts/notes data into permanent Storage. I also from time to time make a copy of my .stg file so that I do not need to start anew if my current .stg file is corrupted. Good luck!

[Q] Move Restore Point from a XP Zune to a W7 Zune??

Here is my problem...
I have my restoration point in my job's PC (XP), as i know where it is (C:\Documents and Settings\USER\local configuration\program data\Microsoft\Windows Phone Update) I save the backup in my Pendrive and move it into my W7 laptop (C:\Users\"User"\AppData\Local\Microsoft\Windows Phone Update) but the problem is that when i put the backup in the right direction and start Zune, Zune delete all the data again and again, so the restoration point doesn´t work in zune...
Is there any way to move it and make it work?
PLEASE HELP!
Thanks!
Can someone help me?
Is there someone that has move the folder with the restore point between 2 PC´s with any problems?
Please, I need to see the light with this problem cause its gona make me crazy... I don´t find anything in the web, only the "windows phone update" folder...
HELP
I followed the path you posted. I don't think that's the restore file. My file is dated for May 2. I jus tsynced my phone before I read your post. This is a sync file and not the backup. I got NoDo in March so that's not it on my computer.
That is actually the right location, I have it in the same place (Win 7).
"C:\Users\%USER%\AppData\Local\Microsoft\Windows Phone Update"
Inside you'll have (one or more, depending on how many updates you did) a folder like this:
daeb3c18 - 4edbdb5d - 91e2ccc4 - d1461342
that contain 2 folders:
Properties
RestorePoint
*Note: I've marked with a - in front the files only.
Properties
contains
-Properties.xml
RestorePoint
contains
FB1AC641-C617-90EF-98F1-D389C6A5F0B9
-ActiveId.dat
FB1AC641-C617-90EF-98F1-D389C6A5F0B9
contains
Data
Data
contains
-Data.0.dat
-Data.1.dat
...
in chunks of 4MB
You should be able to move this data structure to another computer (the original top folder).
EnderPsp said:
That is actually the right location, I have it in the same place (Win 7).
"C:\Users\%USER%\AppData\Local\Microsoft\Windows Phone Update"
Inside you'll have (one or more, depending on how many updates you did) a folder like this:
daeb3c18 - 4edbdb5d - 91e2ccc4 - d1461342
that contain 2 folders:
Properties
RestorePoint
*Note: I've marked with a - in front the files only.
Properties
contains
-Properties.xml
RestorePoint
contains
FB1AC641-C617-90EF-98F1-D389C6A5F0B9
-ActiveId.dat
FB1AC641-C617-90EF-98F1-D389C6A5F0B9
contains
Data
Data
contains
-Data.0.dat
-Data.1.dat
...
in chunks of 4MB
You should be able to move this data structure to another computer (the original top folder).
Click to expand...
Click to collapse
Thanks! The problem comes when i try to move it from my PC with XP to a PC with W7, I move all the folder and subfolders and i start zune, then, when zune starts, it delete the "Windows Phone Update" folder and creates a new one...
Who has the same problem? I really need help with it because i need to move the backup to my home PC...
Albertomarigua said:
Thanks! The problem comes when i try to move it from my PC with XP to a PC with W7, I move all the folder and subfolders and i start zune, then, when zune starts, it delete the "Windows Phone Update" folder and creates a new one...
Who has the same problem? I really need help with it because i need to move the backup to my home PC...
Click to expand...
Click to collapse
Try to do this: Start Zune, it will delete the folder. Don't sync yet, leave your phone locked (if you have a PIN). Then, copy the files in the folder and unlock your phone by typing the PIN. Leave Zune running in the background, don't stop it. It might just work... (if you don't have a PIN, try putting one for this purpose).
EnderPsp said:
Try to do this: Start Zune, it will delete the folder. Don't sync yet, leave your phone locked (if you have a PIN). Then, copy the files in the folder and unlock your phone by typing the PIN. Leave Zune running in the background, don't stop it. It might just work... (if you don't have a PIN, try putting one for this purpose).
Click to expand...
Click to collapse
IT WORKS!!! The downgrade can be performed because the backup appears again in Zune, but if you close zune the update dissapeared...
It´s more than i hope to find, Thanks bro!!
great!
Glad it worked and your problem is solved
I suspected this trick would work, and I also saved my own backups.
This info might be also very valuable to others.
Would it be possible to upload the restore point? I own a DVP I tried upgrading the SD Card and now it show on 15 MB I can try to update the DVP and there moght be a chance that it might read my SD card.
I know its a long shot but till now I have tried everything to get my phone back.
Thanks

How do I return back to nodo after flashing the Mango Beta

I have a HTc Arrive that I flashed the Mango Beta on. That went fine. However, I'm trying to return it back to Nodo. I used this method update to Mango: http://windowsphonehacker.com/articles/get_the_mango_update_now._without_being_a_developer.-06-30-11
I have a backup in the Premangostate folder that's saved on C drive. But Zune doesn't recognize it or at least Zune doesn't display anything about an update...
The instrictions also state that if I want to manually restore the phone back to update do this:
Copy your backup in C:\PreMangoState to %userprofile%\AppData\Local\Microsoft\Windows Phone Update
However..I cant find "%userprofile%\AppData\Local\Microsoft\Windows Phone Update"
Can somebody help me please
Make sure you have "show hidden files and folders" enabled in your file view options so you can find the \AppData\...
"%userprofile% is your username.
I'm assuming that the "Premangostate" folder contains the GUID associated with your phone so you would copy whatever is in "PreMangoState" to %userprofile%\AppData\...
ScottSUmmers said:
Make sure you have "show hidden files and folders" enabled in your file view options so you can find the /AppData/...
"%userprofile% is your username.
Click to expand...
Click to collapse
I'll try that..
I know "%userprofile%" is my username..lol..thanks though
ScottSUmmers said:
Make sure you have "show hidden files and folders" enabled in your file view options so you can find the \AppData\...
"%userprofile% is your username.
I'm assuming that the "Premangostate" folder contains the GUID associated with your phone so you would copy whatever is in "PreMangoState" to %userprofile%\AppData\...
Click to expand...
Click to collapse
I see the Application Data Folder..but I'm getting the message access denied. And I am the System Administrator
Isn't there a restore.bat file that came from the same place where the intial files came from? That article you linked has it. Don't you just, hit that, and it'll restore?
If that a fails, next question would be what version of Windows are you running? Because these files are stored in different places depending on what version of Windows you are on. Those directions look like they were designed for people on Windows 7.
prjkthack said:
Isn't there a restore.bat file that came from the same place where the intial files came from? That article you linked has it. Don't you just, hit that, and it'll restore?
If that a fails, next question would be what version of Windows are you running? Because these files are stored in different places depending on what version of Windows you are on. Those directions look like they were designed for people on Windows 7.
Click to expand...
Click to collapse
Yeah...it is a restore file....I ran that it did a bunch of commands and that was it. It didn't do anything after that.
I was able to get into the file I mentioned in my previous also. I placed the PreMangoState file into the : \AppData\Local\Microsoft\Windows Phone Update
Went into Zune like it stated, clicked update and the only message I get is your device is up to date.
plmiller0905 said:
I see the Application Data Folder..but I'm getting the message access denied. And I am the System Administrator
Click to expand...
Click to collapse
make sure Zune is closed. open task manager and ensure all instances of Zune are gone (if you have multi user - log off the other party).
if that doesn't help, right click on the folder. click on security tab, in group or user names click on your profile name and edit. make sure full control is checked, click OK.
if that doesn't help
right click on the folder, click on the security tab, click on advanced, click on Owner, edit and add your User profile name to it and make sure Administrators are listed as well. click OK, OK.
edit: ugh, one minute too late....
your Zune will tell you that it's up to date, but there should be a restore button at the bottom with the date of the premango listed. you need to click restore....
if you were able to copy the contents of the premango folder over make sure it's not nested in the one that's in there. If it's not, check the size of the premango folder and report here. some people reported a size of 4kb, which apparently doesn't contain a true restore point. The folder should contain a bunch of numbers/letters. in that folder are two folders Properties and RestorePoint. You need to copy both of these into the folder with the same numbers/letters under your user/appdata ....Windows Phone Update folder
I ran the restore.bat script again and this time It looked like it was going to work then it said no backup found....
but when I check my C drive I do have a PremangoState file there...what the hell...
plmiller0905 said:
Yeah...it is a restore file....I ran that it did a bunch of commands and that was it. It didn't do anything after that.
I was able to get into the file I mentioned in my previous also. I placed the PreMangoState file into the : \AppData\Local\Microsoft\Windows Phone Update
Went into Zune like it stated, clicked update and the only message I get is your device is up to date.
Click to expand...
Click to collapse
after you have copy and pasted everything, you should have a couple of folders inside the directory:
In: \AppData\Local\Microsoft\Windows Phone Update
\j4nf3de3 - malp38d3 -mdkaa532 - eidg5324\
\j4nf3de3 - malp38d3 -mdkaa532 - eidg5324\Properties\
\j4nf3de3 - malp38d3 -mdkaa532 - eidg5324\Properties\properties.xml
\j4nf3de3 - malp38d3 -mdkaa532 - eidg5324\RestorePoint\
\j4nf3de3 - malp38d3 -mdkaa532 - eidg5324\RestorePoint\[another folder with random characters]
\j4nf3de3 - malp38d3 -mdkaa532 - eidg5324\RestorePoint\[another folder with random characters]\Data
The j4nf3de3 - malp38d3 -mdkaa532 - eidg5324 will not be named the same for you, as that is a unique ID for your device, so it should be in a similar format.
But anyway, you should have those additional directories in the Windows Phone Update folder. Then close Zune (if its open), and open it again, and hopefully that works for you.
The file I copied from the PreMangoState fFolder and placed into my Windows Phone Update is labeled:
d26046bb - 94fa8529 - 2df72a60 - 5f45d48f
I click that I then have 2 sub folders labeled:
Properties
Restore pont
In the properties Folder there is just a Propertiesxml file
In the Restorepoint folder there's sub folder labeled:
1A5C280B-6CCF-4E62-8F3C-AAD8A680B0D1
Then another sub folder labeled:
Data
Then Data files that goes from data.0.dat all the way to data.149.dat followed by a Manifest.xml file
plmiller0905 said:
The file I copied from the PreMangoState fFolder and placed into my Windows Phone Update is labeled:
d26046bb - 94fa8529 - 2df72a60 - 5f45d48f
Click to expand...
Click to collapse
see my post above....You have all the info that you need. If Zune doesn't show a restore option once you copied the folder over, it may be 0 size files? What's the size of the premango folder? It will tell you that it's up to date no matter what, but you should see a restore option at the bottom. anyways, good luck.
The file I listed above: d26046bb - 94fa8529 - 2df72a60 - 5f45d48f is only 550mb. So I'm sure that that's not my backup. However, there's another file also.
This one is labeled: 96bb2c9b - ef06a0d8 - ed24056b - 3db8f227 and is 4.22GB.
Now when I run the restore.bat script, in the command window I get the question:
Overright Cremangostate\96bb2c9b - ef06a0d8 - ed24056b - 3db8f227\Properties\Properties.xml (Yes/No/)
Which one do I pick?
maybe run the backup bat in administrator mode?
what os do you have?
ahlMAR said:
maybe run the backup bat in administrator mode?
Click to expand...
Click to collapse
you mean restore.bat?
plmiller0905 said:
The file I listed above: d26046bb - 94fa8529 - 2df72a60 - 5f45d48f is only 550mb. So I'm sure that that's not my backup. However, there's another file also.
This one is labeled: 96bb2c9b - ef06a0d8 - ed24056b - 3db8f227 and is 4.22GB.
Now when I run the restore.bat script, in the command window I get the question:
Overright Cremangostate\96bb2c9b - ef06a0d8 - ed24056b - 3db8f227\Properties\Properties.xml (Yes/No/)
Which one do I pick?
Click to expand...
Click to collapse
make a copy (backup) of both folders into a different directory (temp) before you continue. Give them a meaningful filename extension (nodo, mango). Then let it overwrite (or copy it over yourself with my instructions earlier). - and yes run the bat with admin rights as ahlMAR suggested.
DO NOT overwrite the premango update! it looks like that's what the program wants to do?
derausgewanderte said:
make a copy (backup) of both folders into a different directory (temp) before you continue. Give them a meaningful filename extension (nodo, mango). Then let it overwrite (or copy it over yourself with my instructions earlier). - and yes run the bat with admin rights as ahlMAR suggested.
DO NOT overwrite the premango update! it looks like that's what the program wants to do?
Click to expand...
Click to collapse
Ok..giving it a shot....give me a sec
I did everything you said and ran the restore.bat file and got the message, "No Restore Point Found"
plmiller0905 said:
I did everything you said and ran the restore.bat file and got the message, "No Restore Point Found"
Click to expand...
Click to collapse
screw the restore.bat file. copy the contents of the original premango folder over to your Windows Phone Update folder! Take ownership of the Windows Phone Update folder with the instructions in my earlier post.
derausgewanderte said:
screw the restore.bat file. copy the contents of the original premango folder over to your Windows Phone Update folder! Take ownership of the Windows Phone Update folder with the instructions in my earlier post.
Click to expand...
Click to collapse
Trying it now...
Man..thanks so much for helping me with all this I hope I get it back to Nodo
derausgewanderte said:
screw the restore.bat file. copy the contents of the original premango folder over to your Windows Phone Update folder! Take ownership of the Windows Phone Update folder with the instructions in my earlier post.
Click to expand...
Click to collapse
Ok...I ran it through and its absolutely No restore Button. At the bottom of the screen is an OK button and a Cancel button. But other than that, that's it.

[Q] Backup Isolated Storage

Is there any way to back up all IsolatedStorage on Windows Phone? I need to do a full wipe, but I don't want to lose my game saves. I haven't found anything that's let me back up everything, just some seemingly random files.
I have an old app that works if you're interop-unlocked and using very old HTC drivers. I'm updating it to work with WP7 Root Tools elevation, which will support additional devices.
You can kind-of back up data using the current version of Root Tools; install an app such as a webserver (something that will let you access phone data from PC), then use WP7 Root Tools to copy files into the isolated storage of the app, and download them to the PC. For restoring, you can do the reverse (upload to phone, then move them back into position) or you can deploy directly to position using ZIP bug.
This will take a long time, sadly, because the current WP7 Root Tools doesn't allow multi-file move or copy operations. You could also just build a list of all the files that need to be moved (you most important save data, etc.) and then create a provxml file that will copy them all at once. Process that provxml file (set it to copy to a folder in the webserver IsoStore or similar) and then download the files.

[TOOL] Merjapp - merge whatsapp databases

If you ever lost your phone due to an accident, or just had to use a temporary phone for some reason...
And you're one of those who hates to lose history, even if you know you hardly look at it...
This tool is for you.
Pre-requisites:
Neither of your phones where your whatsapp is installed need be rooted.
You must enable USB debugging on both devices
You must have Android SDK, we will be using the Android Debug Bridge (ADB)
Have Android Backup Extractor ready, we will use it.
Instructions:
Connect the phone which holds your old database to your computer, and enable USB debugging.
Use ADB to make a backup of the whatsapp database
Code:
adb.exe backup -f whatsapp.ab com.whatsapp
Use 'Android Backup Extractor' to extract whatsapp.ab to whatsapp.tar
Open whatsapp.tar with 7zip (or any other compression utility) and extract the file called 'msgstore.db'
Rename the file to 'old.db'
Repeat the above steps for your new phone, but rename the file to 'new.db'
Run merjapp in the following fashion:
Code:
java.exe -jar merjapp.jar -old old.db -new new.db
You can also use the -simulation mode if you like, it will not create any output database, and you will be able to read the log created in the working directory.
If you want extra debug information you can use the -debug mode.
If everything went correctly and "Done!' is displayed, rename output.db (which is your merged database) to msgstore.db
Connect your new phone to your computer, open the Whatsapp/Databases directory on the internal SD card and backup its contents to some other location.
Copy msgstore.db created in the previous steps to this directory
Clear whatsapp's data from your new phone and force stop it.
Open whatsapp and when prompted, elect to restore from backup, and voila!
Download
Download merjapp v141201 (runnable jar file)
Backup
Backup
Just registered to say thank you. It works!
Official whatsapp method wasn't working for me: "unable to recover chat history". So your tool saved me. Thanks!
namnoops said:
If you ever lost your phone due to an accident, or just had to use a temporary phone for some reason...
And you're one of those who hates to lose history, even if you know you hardly look at it...
This tool is for you.
Pre-requisites:
Neither of your phones where your whatsapp is installed need be rooted.
You must enable USB debugging on both devices
You must have Android SDK, we will be using the Android Debug Bridge (ADB)
Have Android Backup Extractor ready, we will use it.
Instructions:
Connect the phone which holds your old database to your computer, and enable USB debugging.
Use ADB to make a backup of the whatsapp database
Code:
adb.exe backup -f whatsapp.ab com.whatsapp
Use 'Android Backup Extractor' to extract whatsapp.ab to whatsapp.tar
Open whatsapp.tar with 7zip (or any other compression utility) and extract the file called 'msgstore.db'
Rename the file to 'old.db'
Repeat the above steps for your new phone, but rename the file to 'new.db'
Make back-ups of both old.db and new.db, as merjapp will make changes in them
Run merjapp in the following fashion:
Code:
java.exe -jar merjapp.jar -old old.db -new new.db
You can also use the -simulation mode if you like, it will not change your databases and you will be able to read the log created in the working directory.
If you want extra debug information you can use the -debug mode.
If everything went correctly and "Done!' is displayed, rename old.db (which is your merged database now) to msgstore.db
Connect your new phone to your computer, open the Whatsapp/Databases directory on the internal SD card and move its contents to some other location
Copy msgstore.db created in the previous steps to this directory
Clear whatsapp's data from your new phone and force stop it.
Open whatsapp and when prompted, elect to restore from backup, and voila!
Download
Download merjapp v141005 (runnable jar file)
Click to expand...
Click to collapse
A pretty neat tool!
I was trying to merge two databases. It seemed that everything went okay and all with the "Done!" message. However, there seems to be no changes made two any of the database. Their filesizes remains the same for old.db and new.db.
I tried loaded the old.db anyway since you said that is the merged one. However, I am getting only the old one.
Please advise.
And you didn't use the '-simulation' flag by chance, right?
Can you attach the log file?
Hi,
I think I have done everything as instructed above. But the phone doesn't seem to recognize the new mgstore.db backup file.
I notice that the new file isn't crypt7 as the original mgstore.db file from the internal drive. Is that causing my problems? How do I fix it?
Greetz
clevernam said:
mgstore.db
Click to expand...
Click to collapse
Did you make a typo with the file like you did here? It should be msgstore.db, not mgstore.db.
No, it doesn't have to be encrypted in order for whatsapp to recognize it.
namnoops said:
Did you make a typo with the file like you did here? It should be msgstore.db, not mgstore.db.
No, it doesn't have to be encrypted in order for whatsapp to recognize it.
Click to expand...
Click to collapse
Nope, that's not it, just checked.
Do i have to put it into the msgstore.tar file? Where i extracted new and old from?
Greetz (thanks for helping btw., if this works, its a realy big help to me!!)
Nope, you just have to place msgstore.db inside the 'whatsapp' directory on your internal SD card (I'd make sure it's the only file there).
Then clear data on whatsapp, force close it, and run it.
Is that exactly what you're doing?
Multiple Databases
Can this app merge multiple databases...
Like if i want to merge 3-4 old databases into one? is it possible? if either one of these databases have same data, will that be duplicated?
It can merge more than one, but that's under the assumption they're mutually exclusive (in terms of messages - i.e., no message appears twice)
So if you used one phone (1), started with a clean whatsapp on a second phone (2), then another clean whatsapp on a third (3), and so on...
You'll merge (1) as 'old' and (2) as 'new', then use the output as 'old' and merge it with (3) as 'new', etc.
namnoops said:
Nope, you just have to place msgstore.db inside the 'whatsapp' directory on your internal SD card (I'd make sure it's the only file there).
Then clear data on whatsapp, force close it, and run it.
Is that exactly what you're doing?
Click to expand...
Click to collapse
Yes, thats exactly what i did. Any other idea what could be wrong?
I'm sorry - it should be under WhatsApp/Databases like the opening post says...
namnoops said:
I'm sorry - it should be under WhatsApp/Databases like the opening post says...
Click to expand...
Click to collapse
That's what i figured, because I was already thinking about all the other files with dates like msgstore-2014-10-12.1.db.crypt7 that i took out of the Database folder.
namnoops said:
I'm sorry - it should be under WhatsApp/Databases like the opening post says...
Click to expand...
Click to collapse
The output file, that I renamed to msgstore.db has "gear wheels" as an icon, but the msgstore file from the database of the phone has no icon at all. Is that somehow significant? Does that maybe lead you to my mistacke?
The fact the the output file has the 'gear wheel' icon just means Windows detects it as a database, I think it's quite meaningless...
The other files it didn't give this icon are *.db? Or are you referring to the encrypted databases? They encrypted ones probably won't have this icon.
It seems to me you're doing everything right:
Renaming the file to 'msgstore.db'
Put it in your internal SD card under WhatsApp/Databases
Making sure there's no other file there except this file
Force closing whatsapp, clearing data, opening the app...
So you're doing all this, and when whatsapp loads it initializes from scratch and doesn't tell you a backup has been found?
It just goes on to initialize an empty database as though you just installed whatsapp for the first time?
namnoops said:
The fact the the output file has the 'gear wheel' icon just means Windows detects it as a database, I think it's quite meaningless...
The other files it didn't give this icon are *.db? Or are you referring to the encrypted databases? They encrypted ones probably won't have this icon.
It seems to me you're doing everything right:
Renaming the file to 'msgstore.db'
Put it in your internal SD card under WhatsApp/Databases
Making sure there's no other file there except this file
Force closing whatsapp, clearing data, opening the app...
So you're doing all this, and when whatsapp loads it initializes from scratch and doesn't tell you a backup has been found?
It just goes on to initialize an empty database as though you just installed whatsapp for the first time?
Click to expand...
Click to collapse
Precisley. Nothing comes, when I reinstall whatsapp.
It is not like when I put the normal backup data back in the databse folder. Then whatsapp realises that there is a backup file in the internal memory and gives me the option to restore the history. Not so with the merged file.
Btw. I have no sd card. I connect the phone with usb. I figured that it is an unessencial diffrence? Am I wrong? My phone btw. is Motorola Moto G. If that helps
I'll check, if the old an new are mutually exclusive. I think in the progress I got a message on the new and old one. What would happen in that case? Would your program do the job, but then creat a bad "output" file?
If the only problem was, that I messed up the historys, I'm sorry, namnoops.
Are you using the latest version of whatsapp?
iclumyc Doctrine
namnoops said:
Are you using the latest version of whatsapp?
Click to expand...
Click to collapse
Well if I didn't then, now I do. And it still doesn't work
I checked if there are any intersecting messages... It turns out there weren't any.
@namnoops: Does the oldest message in the new history have to be more recent then any old message from the old history? I mean: Is it a problem for merjapp if the timelines intersect in any way, although there are no double messages?
Thanks for your help in advance

Categories

Resources