WhatsApp mods and data restore - General Questions and Answers

Hello.
I want to use WhatApp modified .apk with a lot cool features that you can't find within the original app (like themes etc) but I just can't deal with something - with backup restore.
GBWhatsApp, WhatsApp Plus, YoWhatsApp and many more - I just can't restore my chats even with the instructions given on different websites or YouTube tutorials. It simply doesn't work. Oh, and Dr Phone method, or something like that, was also tried without success.
Maybe some of you are using modified WhatsApp and knows how to restore backup from original app? Any help?
Phone and software:
Samsung Galaxy Z Flip3 5G running Android 12 (OneUI 4.0), not rooted.

Did you find a solution?

bart4714 said:
Did you find a solution?
Click to expand...
Click to collapse
I did and forgot about this thread:
I'm using GBWhatsApp. You need to do backup with original WhatsApp app, than copy the entire folder of WhatsApp files to somewhere else on your phone. Unistall the app.
Install GBWhatsApp, open IT, do nothing within the app, close it.
Than in file manager you need to rename every WhatsApp folder to "GBWhatsapp" and every folder within the main WhatsApp folder itself and now folder, for example, "Documents" or "Images" need to be renamed to "GBWhatsApp Documents", "GBWhatsApp Images" and so on. After that open GBWhatsApp app, click "restore data" button, add your number and that is it.
There is one thing - I renamed every WhatsApp folder on my phone and still have no idea which one is the correct one, but it worked.
Backup all your files just in case

Ćwirek said:
I did and forgot about this thread:
I'm using GBWhatsApp. You need to do backup with original WhatsApp app, than copy the entire folder of WhatsApp files to somewhere else on your phone. Unistall the app.
Install GBWhatsApp, open IT, do nothing within the app, close it.
Than in file manager you need to rename every WhatsApp folder to "GBWhatsapp" and every folder within the main WhatsApp folder itself and now folder, for example, "Documents" or "Images" need to be renamed to "GBWhatsApp Documents", "GBWhatsApp Images" and so on. After that open GBWhatsApp app, click "restore data" button, add your number and that is it.
There is one thing - I renamed every WhatsApp folder on my phone and still have no idea which one is the correct one, but it worked.
Backup all your files just in case
Click to expand...
Click to collapse
Thanks for answering. I came by this solution from another site, sadly it didn't work for me. GBWhatsApp deletes backup after number verification.
I'm using Fouad's GBWhatsApp (because there are so many different versions out there and I know Fouad's work from the past), and Fouad's team are aware of the issue and posted a solution in below quote from their Telegram group. It is sooo confusing and I didn't understand any of it.
If only com.whatsapp versions work Samsung Galaxy.....
WE'VE RECEIVED A LOT OF COMPLAINTS OVER THE LAST FEW DAYS ABOUT CHAT DATA BACKUP. THAT IS WHY WE HAVE COME TO TALK TO YOU TODAY. CHAT BACKUP IS DONE IN TWO WAYS :
1. LOCAL CHAT BACKUP (ONLY CHATS, MEDIA) : FROM WHATSAPP OFFICIAL SETTINGS - SETTINGS > CHAT > CHAT BACKUP,
2. TITANIUM BACKUP (WHATSAPPMODS FULL BACKUP) : FMMODS > UNIVERSAL > BACKUP & RESTORE > BACKUP WHATSAPP DATA.
I. CLEAN INSTALL MEANS ONLY LOCAL CHAT BACKUP (FOLLOW NO. 1 METHOD).
II. TITANIUM BACKUP USE WHEN NEED ALL SETTINGS REQUIRED FROM WHATSAPP(FOUADMODS).
III. WHEN YOU ARE FACING ANY ERRORS OR LAGY THEN USE CLEAN INSTALL.
IV. IF YOU ARE BACKUP FULL SETTINGS WITH CHAT BACKUP THEN USE : INSTALL OUR MODS AS PER YOUR LAST PACKAGE > PERMISSION TO ALL IN WHATSAPP APPLICATION > TAP ON CHAT RESTORE IN FRONT PAGE AFTER INSTALLATION > VERIFY YOUR NUMBER > ENJOY. (KEEP IN MIND ONE THING CHAT RESTORED WITH ONLY SAME PACKAGE, OTHERWISE NOT.)
***WHY CHAT BACKUP IS NOT BEING RESTORED ??
1. ACCORDING TO THE NEW ENCRYPTED POLICY, WHATSAPP'S CHAT BACKUP IS NOT INSTALLED ON THE FRONT OF THE PHONE STORAGE AS BEFORE.
2. IT IS NOW INSTALLED IN THE ANDROID FOLDER ( ANDROID > MEDIA > COM.PACKAGE NAME > PACKGE NAME > DETAILS AS FOLDER AS BEFORE.) ***
3. THAT'S WHY MANY USERS HAVE PROBLEMS TO BACK UP THE CHAT, AND LOST THE CHAT. WE'RE SORRY FOR THAT, BUT THIS PROBLEM IS FROM THE OFFICIAL SERVER.
FIND OUT HOW TO BACKUP CHAT NEW METHOD :
1. FIRST THINK ABOUT WHICH U WANT TO RESTORE : ONLY CHAT BACKUP ( FOLLOW METHOD 1) & FULL CHAT BACKUP ( FOLLOW METHOD 2).
2. AFTER CHAT BACKUP DONE AS PER YOUR CHOICE. INSTALL 9.21 FIXED VERSION WHICH PACKAGE U NEED TO USE. JUST AGREE AND CONTINUE > VERIFY NUMBER > OPEN WHATSAPP AS NEW.
3. THEN TAKE A LOCAL CHAT BACKUP & A TITANIUM BACKUP SIMILARLY.
4. CHECK ANDROID MEDIA FOLDER FOR WHATSAPP FOLDER THERE WITH DETAILS OR NOT.
5. NOW YOU HAVE TWO FOLDERS (1. AS BEFORE WHATSAPP FOLDER WITH BACKUPS. 2. NEW FOLDER IN ANDROID MEDIA WITH RECENT BACKUP. )
6. NOW COPY WHATSAPP FOLDER OLD(IF COM.WA), PASTE ON ANDROID > MEDIA > COM.WHATSAPP > PASTE. IF SHOW REPLACE WITH ALL FOLDERS THEN ACCEPT THE POP-UP. CHECK AFTER PASTE FILES, ALL OLD FOLDERS DETAILS PROPERLY INCLUDE THERE OR NOT, MAINLY CHAT BACKUP.
7. FOR THOSE WHO USE OTHER PACKAGE - FOLLOW ABOVE METHOD WHICH INCLUDE FRESH INSTALL WITH NEW CHAT BACKUP (LOCAL+TITANIUM).
8. NOW JUST YOUR PACKAGE COPY INTO ANDROID FOLDER AS THERE NAME WHICH IS YOUR NEEDED PACKAGE(COM.YO / COM.GB / COM.FM).
9. NOW THE MAIN THING TO DO. (BE CAREFULL HERE) COPY THE WHOLE FOLDER AS NAME COM.WHATSAPP / COM.YOWHATSAPP/ COM.FM / COM.GB - ANDROID > MEDIA > COM.PACKAGE NAME (THIS FOLDER SHOULD BE COPY AND PASTE A SAFE FOLDER TO RESTORE PROPERLY.
10. UNINSTALL THE WHATSAPP WHICH U WANT TO RESTORED. INSTALL AGAIN AND PERMISSION TO ALL. DONT OPEN THAT APPLICATION. NOW YOU CHECK THE ANDROID FOLDER TO CHECK THE NAMING PACKAGE FOLDER. THEN PASTE THE COPIED FOLDER WHICH U PASTE ON SAFE FOLDER, INTO ANDROID > MEDIA > COM.PACKAGE NAME ? > PASTE ON THERE.
11. OPEN YOUR WHATSAPP > IF TITANIUM BACKUP REQUIRED THE TAP ON CHAT DATA RESTORE IN FRONT PAGE ABOVE, OTHERWISE GO WITH AGREE AND CONTINUE > VERIFY NUMBER > ENJOY. ***ABOVE ALL METHODS ARE BEING CIRCULATED FOR THOSE WHO SUFFER CHAT BACKUP RESTORED.
^ FOR THOSE WHO ALREADY RUNNING SUCCESFULLY CHATS BACKUP AS ANDROID MEDIA SYSTEM. THEY ARE NOT TO DO ABOVE METHODS.
^ READ ALL LINES CAREFULLY IN ABOVE MENTIONED, THEN GO TO DO WHAT U WANT.
^ IF ANY DAMAGE OR LOSE OF YOUR CHATS, NEVER RESPONSIBLE : FOUADMODS TEAM.
>> HOPE YOU ARE ALL SUCCESSFULL IN THIS ISSUE.
Click to expand...
Click to collapse

for me when i place the msgstore.db (uncrytep) file in Whatsapp/databases it's recognized when clicking restore from whatsapp under the number asking page but it's not actyually restored
when i place it under GBWhatapps/yoBackup/com.gbwhatsapp/databases it's recognized in clicking restore red button at the first page shown after install and it's also recognized when going to FFMmods -> universal > backup restore.
Then my problem was that there were inconsistencies between the msgstore and the others littles .db files (chatsettings, wa.db, etc). So when i restored it says that my chat history was corrupted.
i tried many yobackups other dbs file the one that worked best was the one the most next to the time the backup as made to have the msgstore in the first place before merging process.
With that yobackup i restore in the app, it said to me that the history had an error, asked to restaure or never be able to do it again.
You have to refuse unless it's gonna take an old backup (present in /data i think)
Then it showed me an empty chat history in the main page. At that point i asked for a new backup in ffmmods universal.
I went into that new backup and i place my merged msgstore.db (there were none because it has no chat history). Then i went back into the app and restore this new backup with the msgstore and i worked
So to sump up this solution: place you new msgstore in the yoBackup that is less different than it internally, restore in the app settings universal, don't leave settings when it finishes and the notification says history is broken, ask for a backup again, move your new msgstore in this just generated backup and order a restore again. smile and thank Jesus.

alsarp said:
for me when i place the msgstore.db (uncrytep) file in Whatsapp/databases it's recognized when clicking restore from whatsapp under the number asking page but it's not actyually restored
when i place it under GBWhatapps/yoBackup/com.gbwhatsapp/databases it's recognized in clicking restore red button at the first page shown after install and it's also recognized when going to FFMmods -> universal > backup restore.
Then my problem was that there were inconsistencies between the msgstore and the others littles .db files (chatsettings, wa.db, etc). So when i restored it says that my chat history was corrupted.
i tried many yobackups other dbs file the one that worked best was the one the most next to the time the backup as made to have the msgstore in the first place before merging process.
With that yobackup i restore in the app, it said to me that the history had an error, asked to restaure or never be able to do it again.
You have to refuse unless it's gonna take an old backup (present in /data i think)
Then it showed me an empty chat history in the main page. At that point i asked for a new backup in ffmmods universal.
I went into that new backup and i place my merged msgstore.db (there were none because it has no chat history). Then i went back into the app and restore this new backup with the msgstore and i worked
So to sump up this solution: place you new msgstore in the yoBackup that is less different than it internally, restore in the app settings universal, don't leave settings when it finishes and the notification says history is broken, ask for a backup again, move your new msgstore in this just generated backup and order a restore again. smile and thank Jesus.
Click to expand...
Click to collapse
i know its a year old msg, but can you say how do you merged the msgstore.db
i try with this : https://github.com/SenCodeMaker/whatsapp-database-merger
but i ever get sql error, and in whatsapp viewer i see many entrys without names or number and year is ever 1970
i use gbwhatsapp+ from sammods and have 2 different acc with different numbers and i will merge msgstore.db from both acc, or i can all chats restore and then backup and maybe this use :
https://www.reddit.com/r/DataHoarder/comments/a7c0yq

the problem is that it depends on your data. I used the code you're referring too. It still need improvement because when an sql error happen you can end up with corrupt data. It's decribed on the github either someone can continue the work on it to prevent sql key collisions or someday I'll have time for that. but I can share that after using the database I generate I ended up abandoning it after some months because gbwhatsap hadd an update that wasn't accepting a database with an error into it
MajinOne said:
i know its a year old msg, but can you say how do you merged the msgstore.db
i try with this : https://github.com/SenCodeMaker/whatsapp-database-merger
but i ever get sql error, and in whatsapp viewer i see many entrys without names or number and year is ever 1970
i use gbwhatsapp+ from sammods and have 2 different acc with different numbers and i will merge msgstore.db from both acc, or i can all chats restore and then backup and maybe this use :
https://www.reddit.com/r/DataHoarder/comments/a7c0yq
Click to expand...
Click to collapse

alsarp said:
the problem is that it depends on your data. I used the code you're referring too. It still need improvement because when an sql error happen you can end up with corrupt data. It's decribed on the github either someone can continue the work on it to prevent sql key collisions or someday I'll have time for that. but I can share that after using the database I generate I ended up abandoning it after some months because gbwhatsap hadd an update that wasn't accepting a database with an error into it
Click to expand...
Click to collapse
thanks for fast reply ; , maybe another chance it exist i think, when i do all unmerged msgstor.db restore in gbwhatsapp and make a local crypted14 backup everytime and at end i use the second link , i mean this :
https://www.reddit.com/r/DataHoarder/comments/a7c0yq
maybe this wotk or i dont have a chance, sry for my english
edit: or help use an older gbwhatsapp?

yes but ^actually because when you version is too old gb WhatsApp blocks you

GitHub - AvillaDaniel/AvillaForensics: Avilla Forensics 3.0
Avilla Forensics 3.0. Contribute to AvillaDaniel/AvillaForensics development by creating an account on GitHub.
github.com
maybe this is a solution i dont know and my english and pc knowledge is to less
anyway
edit: https://github.com/B16f00t/whapa
this maybe help too , but i have no idea about phyton ^^ im not a developer

Related

[Q][Whatsapp] Whatsapp does not offer backup restore after Cyanogenmod upgrade

Hello.
I migrated from Cyanogenmod 12.1 (Android 5.1.1) to Cyanogenmod 13 (Android 6.0.1) on my Nexus 4. I did a factory reset. Problem is, that Whatsapp does not offer to restore a backup when starting it the first time, although the file structure under /sdcard/Whatsapp is intact and the Whatsapp versions of backup and new installation are identical. I renamed the latest backup file to msgstore.db.crypt8. I don't have a Google backup at hand, only the local ones.
I also tried to copy back the key file to /data/data/com.whatsapp/f, but this was also not successful. Forum search did not bring up a working solution for me.
Addionally: Does anybody know, when the question "Do you want to restore the found backup?" should popup? After the verfication, after the Nickname input, before the Nickname?
I don't have a clue what to try next. In the past it was no problem to restore the Whatsapp chats..
Any suggestion is highly appreciated.
SOLVED
I could restore my Whatsapp messages!
Environment:
- Cyanogenmod 13 (Android 6.0.1)
- Whatsapp 2.12.510
Prerequisits:
1.) Whatsapp Viewer (Links are forbidden for new users, you will find it at Github)
2.) msgstore.db.crypt8 from a backup
3.) key file from /data/data/com.whatsapp/files from a backup
4.) Whatsapp must not have been started before
5.) Phone number / SIM of backup and restore phone must be identical
6.) Wifi connection for verification process
Procedure:
1.) Install Whatsapp, but do not start it
2.) Extract msgstore.db from msgstore.db.crypt8 with the help of Whatsapp Viewer
3.) Copy msgstore.db to /storage/emulated/0/Whatsapp/Databases
4.) Start Whatsapp and hit "Restore" when it's offered
5.) Wait for "Initialisation" to finish. It took about 3 minutes in my case. So be patient.
6.) Enter Name and assign a profile picture, hit next
7.) Finish!

WhatsApp - restore encrypted backup (crypt12) (full backup of phone required)

What’s this about?
WhatsApp was driving me nuts the other day! Why? Because it would not restore my message backup without a reason.
When I take the time and read the following will it help me?
Well, maybe. That depends on what you did. I wanted to restore my WhatsApp encrypted backup file (FILE! not Google backup) and it worked out.
When will the following maybe help me?
you have a WhatsApp backup file (encrypted, e.g. crypt12 -> msgstore.db.crypt12)
you wiped your phone’s data
you have a backup of your phone (TWRP or similar) or already have the WhatsApp key
What happened to you?
I changed from stock ROM to custom ROM (CyanogeMod in my case). Because I did a clean flash I made some preparations in advance. I backed up my WhatsApp messages and copied the whole folder to my SD card. I wiped my phone using TWRP (system, data, cache...). After the custom ROM flash I installed WhatsApp and wanted to restore my messages. Didn’t worked out.
What happened?
I did a little bit of research and little did I know the message file was encrypted. Because WhatsApp is super smart it stores the key for the decryption not in the WhatsApp folder (okay, this would really be stupid). As soon as you wipe your data the key will be erased. Good bye key! So, I am not an expert and it could be that there is a way easier method to restore you messages but I didn’t found one. I just want to share my experience so hopefully someone can save a lot of time. I would have been happy if I found something like this earlier or if I would have at least known about the key. Now I know.
NOTE
Without a backup of your phone, to be more specific, of your phone’s data or the WhatsApp key the following will be useless!
NOTE
Your phone can get broken! I am not responsible for that. Everything you do is on your own risk! Also, I’ll try to help but I am not a 24/7 support technician.
NOTE
Read everything first before you start! Maybe I messed something up. So, take a look first!
So, what to do?
1) Retrieve the key from your phone’s data backup.
a) Because we are all smart we do a full backup before we flash crazy stuff on our phone, right?! I did that with TWRP. Any other backup might work as well. You’ll have to find out on your own. The TWRP backup file is something like “data.ext3.win000”, “data.ext3.win001”. Copy it to your computer. Add the extension .tar or .tar.gz (“data.ext3.win000.tar”, “data.ext3.win001.tar”). In my case both worked. If you can already browse your backup file continue with e).
b) Download and Install 7-Zip.
c) With the 7-Zip file manager you can open and search inside the renamed TWRP files.
d) 7-Zip doesn’t recognize if your data is stored in more than one file. I guess if you pick the right file extensions it would. But, like I said, I am not an expert. So, in this case the win000-file has other files in it than the win001-file. If you don’t find the key in the first one, open up the next one.
e) Open the first file. There will be some kind of blank folder. Open it and you’ll see your phones data. Navigate to \data\data\com.whatsapp\files\.
f) There you should see a file named key. If so, start yell “hurray!”. In my case I saw two key files. I don’t know why but every file was doubled (maybe someone can explain that to me).
g) One of the files was about 158 Bytes. That should be it. To be sure extract the first key file. Open it with the windows editor. If there are letters in it that you can read it’s the wrong file.
h) Extract the other one and open it, too. You see some gibberish? Congratulations, this should be your key! Copy the file to your phones SD card or something similar.
2) Restore your backup
a) Install WhatsApp if not already happened. If you already activated the app go to settings, apps, select WhatsApp and erase all data (NOTE! Your own risk! All data will be gone!). This is necessary because WhatsApp will only ask once after the activation if the backup should be restored. Maybe there is another way but I don’t know it.
b) Copy the whole WhatsApp folder to your phone (the backed up one from the SD, see above). Or just put the backup file into \WhatsApp\Databases\. If you have an older backup file like msgstore.db-2016-01-01.crypt12 rename it into msgstore.db.crypt12. As far as I know only the last named file will be restored.
c) Start WhatsApp and activate it.
d) STOP! WhatsApp will ask you if it should restore the backup. Don’t do it! If you did it and it failed start again from a). Just leave the screen like that, don’t do anything. Turn off your phone! Yep, you heard right. WhatsApp will remember the state it’s in.
e) Boot into TWRP. If you have a file manager that can access your phones data you could use that one, too. I think root will be required for that. I just had the limited stock file manager. The latest TWRP has a file manager integrated without restrictions (check for yourself first!). I used that one (complicated maybe, I know!).
f) Open the file manager (Advanced - File Manager) and navigate to your key-file. Tap on it and select copy.
g) Navigate to \data\data\com.whatsapp\files and copy the key-file into this folder (just tap the blue folder at the right bottom of the screen).
h) Reboot you phone. Start WhatsApp. It should open up and directly ask you if you want to restore your backup. Try to restore it. If you’re lucky it’ll work. For me it did! Congratulations.
Endnote
I didn’t know about the key when I erased my phone’s data. Next time that one will be backed up, too. So I can save a lot of time.
This whole thing here might be very complicated and I guess there is a lot better way to do it. But I didn’t found it. So, I just want to at least share my experience. Maybe someone will profit.
Another thing you need to know here;
The file named key should have a UID WhatsApp for user and group permissions.
You can set these using TotalCommander via Properties
and you should set these while whatsapp is killed/down and while the key is already in the /data/data/../files/ dir.
I also had a case where in the last stage, so before the final boot to restore the database, I had to do a Wipe Cache and Dalvik cache. If I did not do that, whatsapp would skip the restore question and continue activation as if it was a new one, and then *overwrite* the key file I had put there, no matter what I tried!
You don't have to do any of this if you haven't changed your cell number!
1) Copy your latest crypt 12 file to /sdcard/WhatsApp/Databases/
2) Install / Activate WhatsApp
3) WhatsApp will retrieve the key from their server and restore your backup.
This only works if you haven't changed numbers, but it's easy as 1, 2, 3!
I tried this but it didn't work out for me. Thats the reason I wrote this. So far couldn't find another way to restore the backup. Maybe in newer WhatsApp versions this works?!
TripCode said:
You don't have to do any of this if you haven't changed your cell number!
1) Copy your latest crypt 12 file to /sdcard/WhatsApp/Databases/
2) Install / Activate WhatsApp
3) WhatsApp will retrieve the key from their server and restore your backup.
This only works if you haven't changed numbers, but it's easy as 1, 2, 3!
Click to expand...
Click to collapse
That's actually not true. I followed their instructions to the letter, but they failed. I did not get a Restore prompt, and it actually erased the entire whatsapp cryptxx file.
The official way probably fails when you upgrade from LL to MM, but I'm not so sure about even that, because it also failed a long time ago on my htc desire just changing from rom to rom (with a clean /data/data dir).
jult said:
That's actually not true. I followed their instructions to the letter, but they failed. I did not get a Restore prompt, and it actually erased the entire whatsapp cryptxx file.
The official way probably fails when you upgrade from LL to MM, but I'm not so sure about even that, because it also failed a long time ago on my htc desire just changing from rom to rom (with a clean /data/data dir).
Click to expand...
Click to collapse
Sounds like you have had a bad experience. I do a lot of dev work with WhatsApp. I have swapped between several devices as low as API7 to API24. I have never had an issue restoring WhatsApp via the official 3 step method. My devices use a selection of stock / custom roms. As long as you got it working that's the main thing, but I would advise people to try the official restoration procedure before they venture into anything more technical as the official procedure will work most of the time.
Hi, I googled and came to this page.
I hope someone can help in restoring either local .crypt12 backup file or from google drive backup.
It started when my phone got no space and WhatsApp crashed.
For the first time, I clicked restore but it couldn't restore as got no space and WhatsApp closed the app itself.
I was carelessly when starting WhatsApp again and didn't click "restore from previous database" on the 2nd time.
I searched online for the WhatsApp help and deleted some apps to free up space.
Then, I uninstalled WhatsApp and reinstalled again. However, the problem came when after re-installation and needed to authenticate my old WhatsApp number by SMS.
As I just kept using the old WhatsApp number that was originally from a prepaid SIM card which I bought years ago and I didn't top up the stored value for a few years back, so I couldn't receive voice and SMS from that old WhatsApp number as it was properly become a dormant mobile number .
Is that a way I can restore from, for I made a copy of the crypt12 database before uninstalling WhatsApp (I didn't copy the key before uninstalling & reinstalling, and I am not sure if I had a copy of the key before, that I tried to backup using windows explorer to copy to my computer long ago.
Many thanks.
TripCode said:
Sounds like you have had a bad experience. I do a lot of dev work with WhatsApp. I have swapped between several devices as low as API7 to API24. I have never had an issue restoring WhatsApp via the official 3 step method. My devices use a selection of stock / custom roms. As long as you got it working that's the main thing, but I would advise people to try the official restoration procedure before they venture into anything more technical as the official procedure will work most of the time.
Click to expand...
Click to collapse
hi i used yowhatsapp and try to use the original whatsapp app i get messages back but cant see old pictures and cant here old voice messages they were imported somehow to the new package named com.yowhatsapp istead.
could someone point me in the right direction on how i can restore whatsapp with mediafiles`? my mediafiles are all there but just working with yowhatsapp
lycca said:
Hi, I googled and came to this page.
I hope someone can help in restoring either local .crypt12 backup file or from google drive backup.
It started when my phone got no space and WhatsApp crashed.
For the first time, I clicked restore but it couldn't restore as got no space and WhatsApp closed the app itself.
I was carelessly when starting WhatsApp again and didn't click "restore from previous database" on the 2nd time.
I searched online for the WhatsApp help and deleted some apps to free up space.
Then, I uninstalled WhatsApp and reinstalled again. However, the problem came when after re-installation and needed to authenticate my old WhatsApp number by SMS.
As I just kept using the old WhatsApp number that was originally from a prepaid SIM card which I bought years ago and I didn't top up the stored value for a few years back, so I couldn't receive voice and SMS from that old WhatsApp number as it was properly become a dormant mobile number .
Is that a way I can restore from, for I made a copy of the crypt12 database before uninstalling WhatsApp (I didn't copy the key before uninstalling & reinstalling, and I am not sure if I had a copy of the key before, that I tried to backup using windows explorer to copy to my computer long ago.
Many thanks.
Click to expand...
Click to collapse
Did this yesterday but this will only work if your number has not changed, first uninstall whatsapp, if you have a copy of your latest. msgstore.db .crypt12 file, (found on your Whatsapp folder in your SD card under Databases) copy it from there to your internal memory Whatsapp Database folder. Please note that any existing msgstore.db .crypt12 file must first be deleted. Go to your SD card whatsapp folder named backup and copy the backup crypt file as well to the internal memory whatsapp folder only after deleting the existing folder. Install whatsapp and authenticate the install , do not accept the backup prompt. Once installed go to Chats and run a backup to google drive. Your key is in the DB files and will be uploaded to google drive along with all backuped data. Uninstall Whatsapp and reinstall, this time accept the backup prompt. Verify that the two files that you copied still exist in both the SD and internal memory, allow a normal backup to occur at 4am and check in the morning. All files should be recovered and the old key should be reinstalled.
Thank you very much for your guide. I upgraded a phone to a custom rom and even though I made a recent in-app backup and never used another phone number/sim card, Whatsapp was not able to restore the data.
Glad I made a complete NAND backup just to be safe....
@sexler (what a name )
THX a lot for your guide!
I changed from Android 7 (LineageOS) to Android 8.1 (CarbonRom) without using Google-Apps anymore. So no Backup from the cloud would be possible.
Only the "c) Start WhatsApp and activate it." was not possible with my Whatsapp. But I just did the activation later and after that he noticed that there where a backup.
Your guide helped out of my 7 days quest
THX THX THX!
Greetings by Idijt
@I_did_it_just_tmrrow
You're welcome!
It’s very nice to know that almost three years later the instructions can help someone. Thank you for your feedback.
Have a nice weekend.
Is the method still working?
timenewroman said:
Is the method still working?
Click to expand...
Click to collapse
Why not, the crypt is the same and there are some tools on versioning sites like github/gitlab who offer de-crypter.
Should work. Give it a try and tell us.
I'm trying to use this method to restore old 2015-16 WhatsApp chats to a BlueStacks virtual Android machine. I haven't had much luck.
NB though I did copy over both the key file and the msgstore.db to the com.whatsapp folder (as well as having the crypt12 file available)- I'm gonna try now while just copying over the key, once Whatsapp decides I'm not a robot and sends me verification again
EDIT: tried again, with msgstore.db.crypt12 and key only. Followed the procedure closely, and used BSTweaker to copy over the key file at the appropriate stage into BlueStacks. No luck. Failed to restore. I noticed that the permissions on the key file are different (RW for Owner, Group and Others).
Can anyone help me figure this out? Do I need to change the permissions or something? Any help would be appreciated!
EDIT2: SOLVED!!!!! Praise God! I managed to transfer my old conversations, profile pictures and media using this method: https://forum.xda-developers.com/android/general/whatsapp-reencryption-crypt12-backup-t3779487
TL;DR - I copied over, from one Bluestacks Android VM (v0.8 - ancient, from 2015), to antother Bluestacks Android VM (v4.180.0.1005 - latest as of writing) the following files/folders:
/data/data/com.whatsapp/databases/msgstore.db << (unencrypted database - requires ROOT)
/data/data/com.whatsapp/files/Avatars/[a couple of files that were obviously un-named jpg profile pictures] << (profile pics - requires ROOT)
/storage/emulated/0/Whatsapp/ << (Whatsapp media folder)
I didn't need my encryption key or crypt12 database at all; all the methods I'd tried to restore using these failed miserably (including the one in the Original Post here). Whatsapp "detected a problem" on reloading the app, and restored my old conversations from years ago - so happy!
i wanna share my experience when Whatsapp refused to restore using .crypt12 file. There's like 10 of the .crypt file in my phone, but all seems corrupted. So restoring using CRYPT12 file is out of question here.
all this happen when i'm trying to move my Whatsapp from old OP3T to new OP5. I thought it wont take more that 1 hour to complete. I was wayyyyyy wrong.
Please note that I'm using custom ROM based on Android 10 (Q).
I already have some Titanium Backup of my Whatsapp. So what I do is extract msgstore.db from the Titanium Backup .tar file (data/data/com.whatsapp/databases). What important is the SELINUX permission/setting on that msgstore.db file. Use any file manager that allows SELINUX context changes, such as Root Explorer.
The key file from /data/data/com.whatsapp/files also important, because I have 2 of it (one from my old OP3T, the other from OP5). The key from OP3T can be used to restore msgstore.db on my OP5.
Its really painful lesson to me, as I can't use Whatsapp from May 1st until today (May 10). That's 10 freaking day without Whatsapp!!
I could just continue using Whatsapp fresh like new, but the old chat messages is really valuable to me.
To those who having any kind of issue, don't stop trying. Never quit! There's always solution, sooner or later.
This is also a useful link for understanding how whatsapp
files function
Hi, I am having the same problem as with restoring my Whatsapp history and wondered if any kind soul can help me to restore my Whatsapp history?
What I had done :
I had my S8 rooted. The whole phone was wipe when it was rooted. I hope this step is correct.
My encrypted backup (crypt12 and crypt14) was saved already before I rooted and I also need a backup of my phone (just not the application data because the Dr Fone software mentioned that my S8 needed to be rooted before I can backup my application data)
But I couldnt find the folders you mentioned here :
/data/data/com.whatsapp/databases/msgstore.db << (unencrypted database - requires ROOT)
/data/data/com.whatsapp/files/Avatars/[a couple of files that were obviously un-named jpg profile pictures] << (profile pics - requires ROOT)
/storage/emulated/0/Whatsapp/ << (Whatsapp media folder)
Can anyone guide me pls?
Hey guys need your help actually i mistakenly deleted a chat for that i thought I would delete my WhatsApp and reinstall it and use the backup of last night and restore it..
But it turned out while installing it asked for Google drive but i haved created any backup file on my Google drive and only had it on my internal storage but WhatsApp didn't got the local file and said no backup found after that all my chat was deleted.
It rewrite all my WhatsApp folder and now it is showing just one encrypt file and all other data and backup got deleted.
I also checked com.whatsapp file in Android > media > com.whatsApp but it is deleted from there as well.
Those msgs were really important any help would be appreciated.
Thank you
Hello guys, about this subject.
I've tried a few stuff but i can't restore it like in the pass.
My s10e, it's clean, no custom rom, only default. When i did (like in the past without knowing about the key stuff) was to copy manually all my media photos/stickers/etc., and the conversations, all those crypt files. So now i have 2 clean crypt file with my last conversations. I really want to recover all of it.
Please tell me there's a way without rooting , i've read and see so many videos but i can't find a good way to restore it.
I was thinking maybe using an old phone, put the crypt files on the sd card, change the chip, try to restore it with and old whatsapp version(?).
I really need my conversations back. It's really important. Any ideas?

How to recover lost conversation for WhatsApp?

Hello experts, I need a help to recover lost chat for WhatsApp.
Recently, I have backup the chat using the settings in the application(WhatsApp) but not in the Google Drive.
And I clear the data from the device settings to use the application with another number.
By mistake, I pressed the "RESTORE" option while I am creating the account with another number. But the application didn't restore any single chats from the previous number.
After this, I have cleared the data and creating the account with the previous number that has used in the backup. And it didn't restore any messages.
After all I have reset my device.
I can't find single chat.
And I am still using WhatsApp to connect with the people.
I am using "Galaxy Grand Duos 1" (GTI9082) uprooted,
with Android 4.2.2
I will appreciate anyone who could help me to recover the previous chats with the valid methods.
Thank you.
Hello, In file manager go to >whatsapp folder > database folder, what can you see there ?
In this folder I find some files with the names
"msgstore-YEAR-MONTH-DATE.1"
M.W. KHAN said:
In this folder I find some files with the names
"msgstore-YEAR-MONTH-DATE.1"
Click to expand...
Click to collapse
yes, that one can be used to restore your messages
Your phone will store up to the last 7 days worth of local backup files (Google Drive will only have the most recent one). If you wish to restore a local backup which is not the most recent one, you will need to do the following:
In the file manager app, navigate to sdcard/WhatsApp/Databases. If your data is not stored on the SD card, you may see "internal storage" or "main storage" instead of sdcard.
Rename the backup file you wish to restore from msgstore-YYYY-MM-DD.1.db.crypt12 to msgstore.db.crypt12. It is possible that an earlier backup may be on an earlier protocol, such as crypt9 or crypt10. Do not change the number of the crypt extension.
Uninstall WhatsApp
Disconnect your phone from your Gmail so whatsapp wont restore online
Install WhatsApp.
Tap Restore when asked.
This will get you back the messages since that date
Relogin to your gmail when done.
Thanks for the methods. Sorry, the files are of the new chats. Not of the things I would like to recover. What I want to recover is older than a week and my device has gone reset.
Please check my post again.
M.W. KHAN said:
Thanks for the methods. Sorry, the files are of the new chats. Not of the things I would like to back up. What I want to recover is older than a week and my device has gone reset.
Please check my post again.
Click to expand...
Click to collapse
restoring any backup from these will restore also the previous chats in it
lets say you restored Nov 19 2017 backup
every chat before that date will be restored
I mean my device has "hard reset" without making backup i.e. format
M.W. KHAN said:
I mean my device has "hard reset" without making backup i.e. format
Click to expand...
Click to collapse
Brother I already read the thread
You can use these files to restore
Sir, thank you for your help. It doesn't restore my chats of before the reset. And some of today's messages are also gone. If I could find a valid way, I would be happy.

WhatsApp backup restoration without google account?

WhatsApp downloaed today 2.18.358
old device:
Running local backup - works well - all 113 MB file is properly created with the name msgstore.db.crypt12
new phone same WhatsApp .apk
Then copying this to a new phone putting on folder WhatsApp/databases - all good
installing whatsapp - all fine
runing WhatsApp on a new device:
- License agreement screen (ok),
-two more pop-ups with permission access to contacts/storage/etc. All permissions were granted.
number verification (same number) (ok - entering the code) then asking if it should get permission to access google drive.
- skipping it - moves to app without attempt to restore local backup
- giving permission moves to pop-up of creation the google drive account, so I can select only "none" and in the end also application is also starting without attempt to restore local backup
Any ideas, Dear Friends?
lady_kasia said:
WhatsApp downloaed today 2.18.358
Any ideas, Dear Friends?
Click to expand...
Click to collapse
TB done the trick to me moving from old to new phone (and from Nougat to Oreo same way), plus manual copying content of Android/data/ [whatever is whatsapp dir in you old phone)
spamtrash said:
TB done the trick to me moving from old to new phone (and from Nougat to Oreo same way), plus manual copying content of Android/data/ [whatever is whatsapp dir in you old phone)
Click to expand...
Click to collapse
was it described by you somewhere?
able o copy/paste it here, please?
lady_kasia said:
was it described by you somewhere?
able o copy/paste it here, please?
Click to expand...
Click to collapse
list to do: install (if you do not have it) Titanium Backup on the OLD phone. In Preferences, set Backup app external data as Enabled (Always).
Check where the backup folder is created on the phone. Typically, it would be TitaniumBackup in root folder of the card.
Copy the folder to new phone.
Install TB on the new phone
Run it, scroll down, or input in the search: Whats (shall find it now), then click Restore.
Check if it works now, if not (e.g. android different version on old and new phone) - reinstall (do not uninstall from settings, go to GooglePlay and reinstall from there).
spamtrash said:
list to do: install (if you do not have it) Titanium Backup on the OLD phone. In Preferences, set Backup app external data as Enabled (Always).
Check where the backup folder is created on the phone. Typically, it would be TitaniumBackup in root folder of the card.
Copy the folder to new phone.
Install TB on the new phone
Run it, scroll down, or input in the search: Whats (shall find it now), then click Restore.
Check if it works now, if not (e.g. android different version on old and new phone) - reinstall (do not uninstall from settings, go to GooglePlay and reinstall from there).
Click to expand...
Click to collapse
That could be a great idea.
Here is what worked for me:
1. (creating) and connecting google account to old phone
2. backing up all WhatsApp to Google account as defult option by app
(message after upload of 100% of 1GB : FAILED)
3. connecting same google account to new phone
4. trying to download backup
reported: NOT FOUND
so I found this could be a problem with backup file itself upon it was being generated.
What helped for that:
Going to classic memory (no root folders) and removing ALL folders of WhatsApp (this from SD_card - images, videos, etc).
And then doing backup again.
This time it worked.
Maybe not as intended (without google participation) but at least the case is solved and reason probably found (some old file preventing backup to be recognized as proper backup - even when done with good size of 100MB+ each time).
Next time will try with Titanium Backup

Unable to Backup Messages: Backup corrupted, help required to transfer WhatsApp data to new phone

I have a 'Redmi Note 9 Pro max' phone. WhatsApp is fully functional, with a chat history of the last 5 years. I got a new Samsung S22 5g phone, and I want to move all my data to that phone. When I checked the WhatsApp chat backup, I saw that the last backup happened on February 7th to my Google Drive. I clicked 'Backup' button to manually take the backup. I got the error message 'Unable to back up messages' after 30 seconds. I tried rebooting the phone several times, changing networks, checking the permissions, etc., but I still got the same message. I verified the backup in my Google Drive, and I saw the backup happened last February 7. My database folder was empty since I cleared the msgstore.db files as part of saving storage space, which I used to do periodically since I know that WhatsApp will create daily local backups in that folder. I noticed that WhatsApp even stopped creating local backups daily, as it is supposed to.
After several attempts to create a new backup, I finally decided to restore the February 7 backup available in my Google Drive to my new phone. I added the Google Drive account to my new phone and installed WhatsApp there. Whatsapp correctly detected the backup in my Google account and began restoring the messages; however, at the end of the restore, it threw an error message saying "unable to restore your chats from this backup," and after that message, Whatsapp displayed a list of other Google accounts to check for other old backups, which I did not have. I skipped the restore and saw that it did not have any chat history. I immediately closed and uninstalled WhatsApp on the new phone, switched back to my old phone, verified the number again, and thankfully, I was able to keep WhatsApp on my old phone without losing any data.
Now all my applications have been migrated to my new phone, except WhatsApp. Ultimately, I see that the existing available backup is corrupted, and I don't have any other local backup files either. I took a copy of the msgstore.db.crypt14 file from the new phone while the restore happened from Google Drive. Keeping in mind that my WhatsApp is fully functional on my old phone, I would like to get help with any of the below solutions to migrate my WhatsApp data.
Fix the 'unable to backup messages' issue for creating a new backup to Google Drive or at least a local backup. As mentioned, WhatsApp stopped creating local offline backups.
Recover any of the recent msgstore.db.crypt14 files that I deleted to create free space.
Fix the corrupted crypt14 file, which I have taken a copy of.
Other than the built-in backup and restore method, is there another way to migrate WhatsApp?
Same problem here!
I tried a lot of things and eventually I was successful to some degree.
Whatsapp restore from local backup : Working method April 2022
Hello everyone, This troubleshooting guide is related to the situation where you have a backed up .crypt14 fle (data base file) for Whatsapp and are unable to restore the local backup for Whatsapp using the .crypt14 file and you have no back up...
forum.xda-developers.com
These steps worked for me to force upload a .crypt14 backup file to Google Drive. I was able to restore the messages. I had to kill Whatsapp though because the restore process got stuck.
But the messages seem to be all back.
Another problem appeared though. I am unable to create new Backups due to an error.
I am now using Fouad Whatsapp Mod because it has its own backup and restore function which works.
My phone is not rooted so I extracted the Whatsapp key and unencrypted database with WhatsApp Key/Database Extractor.
I have installed the Android Emulator Nox Player, activated Root und installed the Foud Mod. I was able to replace the msgstore.db in /data/data/com.whatsapp/databases/ with my unencrypted backup as descirbed here.
Then I was able to backup everything and copy the backup back to my phone and restore it there whith the Fouad Whatsapp Mod
The backup is located unter Documents/FMBackups/com.whasapp.zip
Thanks also to this post which helped me a lot.
I hope you'll be succesful, too!
TheLostOne said:
Same problem here!
I tried a lot of things and eventually I was successful to some degree.
Whatsapp restore from local backup : Working method April 2022
Hello everyone, This troubleshooting guide is related to the situation where you have a backed up .crypt14 fle (data base file) for Whatsapp and are unable to restore the local backup for Whatsapp using the .crypt14 file and you have no back up...
forum.xda-developers.com
These steps worked for me to force upload a .crypt14 backup file to Google Drive. I was able to restore the messages. I had to kill Whatsapp though because the restore process got stuck.
But the messages seem to be all back.
Another problem appeared though. I am unable to create new Backups due to an error.
I am now using Fouad Whatsapp Mod because it has its own backup and restore function which works.
My phone is not rooted so I extracted the Whatsapp key and unencrypted database with WhatsApp Key/Database Extractor.
I have installed the Android Emulator Nox Player, activated Root und installed the Foud Mod. I was able to replace the msgstore.db in /data/data/com.whatsapp/databases/ with my unencrypted backup as descirbed here.
Then I was able to backup everything and copy the backup back to my phone and restore it there whith the Fouad Whatsapp Mod
The backup is located unter Documents/FMBackups/com.whasapp.zip
Thanks also to this post which helped me a lot.
I hope you'll be succesful, too!
Click to expand...
Click to collapse
Hi.
I also have the same problem, and i was hoping you or someone else could help me. Whatsapp got stuck on restoring the backup, so i had to kill it mid restore. The messages are back but now it can't create another backup.
My question is: how do I transfer my messages to Fouad Whatsapp Mod if I can't back them up? Both local and gDrive backups fail. It seems like it doesn't even create the .crypt14 file. Any tips? Thanks in advance
Hi,
I would suggest that you backup your messages with WhatsApp Key/Database Extractor. You can additionally copy your whole Whatsapp folder to your computer to have also a backup of your media.
Here you have a tutorial on how to install Fouad Mod keeping your messages.
Good luck!
Hi @Canny2010,
Do you able to resolve the issue?
Im havin the same issue, already researched for few but still have no resolution.
thanks
Justin
HiJustin said:
Hi @Canny2010,
Do you able to resolve the issue?
Im havin the same issue, already researched for few but still have no resolution.
thanks
Justin
Click to expand...
Click to collapse
Just to be clear: You can't upload a backup on Google Drive?
WoKoschekk said:
Just to be clear: You can't upload a backup on Google Drive?
Click to expand...
Click to collapse
Keep showing 'unable to backup messages' issue for creating a new backup to Google Drive or local backup. WhatsApp stopped creating local offline backups, no files in folder databases.
Thanks
HiJustin said:
Keep showing 'unable to backup messages' issue for creating a new backup to Google Drive or local backup. WhatsApp stopped creating local offline backups, no files in folder databases.
Thanks
Click to expand...
Click to collapse
Which version is installed?
latest 2.23.7.80
That's also my installed version but I haven't any problems with it. My suggestions:
- try a higher version or beta
You searched for whatsapp - APKMirror
You searched for whatsapp - APKMirror Free and safe Android APK downloads
www.apkmirror.com
- rename the Whatsapp folder in your internal storage (/internal storage/Android/media/com.whatsapp/WhatsApp/) to force the app to create a new one (maybe there is sth messed up with the path/permissions?)
- in case there is still a valid backup on Drive I would also try an older version (s. apkmirror.com)
- rename the Whatsapp folder in your internal storage (/internal storage/Android/media/com.whatsapp/WhatsApp/) to force the app to create a new one (maybe there is sth messed up with the path/permissions?)
> above approach would caused me lost all the data?
HiJustin said:
- rename the Whatsapp folder in your internal storage (/internal storage/Android/media/com.whatsapp/WhatsApp/) to force the app to create a new one (maybe there is sth messed up with the path/permissions?)
> above approach would caused me lost all the data?
Click to expand...
Click to collapse
You should rename it and not delete it. The folder is still there but WhatsApp won't find it. If it works just copy the files from the old to the new created folder.
Tried, same. Any tools can recommend? Pay version also OK.
I have the same problem. did you find a solution? Thank you
ps: without using root

Categories

Resources