for /F "tokens=1" %%k in ("%version%") do
Hi, I've used this tool and it worked perfectly.
Now I want to merge two wa databases together with SQL lite. After this, I'd like to put the new database file back into the .tar file, pack it back into an .ab file and the restore it to my phone.
I'm already practicing to replace the .db file in the .tar archive, but I'm not sure how to do this. Can anyone help me with this?
So I figured out how to update the file. I just extracted all files from the backup in a windows folder, replaced the database file (in which I altered a message) and then created a new tar file. From this tar file I created an .ab file with java. Then I used adb -restore to restore the backup (while installed a legacy wa version).
It seemed that I succefully restored the file, however when I install a recent wa version and open it, I can't see my changes...
Will try some more later, but maybe someone can point me in the right direction.
Cheers
you need to restart your device before installing the old versionSorry for waking up an old thread.
Adb fails to install an older WhatsApp (even with -d) citing the version downgrade error... Was there a specific way to get around this?
It seems that only debugable apps can be installed this way :/
IDK msgstore.db.crypt14 is only an encrypted backup of the msgstore.db stored in /data/data/com.whatsapp/databases
just extracted whatsapp data from:
- lenovo p2 under android 7.0
- galaxy s8 under android 9.0
i spent 4 hours on the script to apply fixes and improve it.
I will "publish" it soon.
Few tips before publishing (they will be in the script):
- if you get an error during the downgrade, reboot your phone before installing the downgrade
- i kept the "adb backup" command but before executing it, you have to launch the downgraded application! (tested multiple times, without this launch, the backup was empty or corrupted)
- update "adb.exe" (and libs) and "abe.jar" (thanks @progman321 for the tips)
here it is:
https://github.com/p4r4d0x86/WhatsApp-Key-DB-Extractor/archive/v4.7-E1.0.zip
and the new untested merjapp.jar is here:
https://github.com/p4r4d0x86/merjapp/releases/download/v190508/merjapp.jar
which url?
http://whatcrypt.com/WhatsApp-2.11.431.apk is still available!?
Yes http://www.cdn.whatsapp.net/android/2.11.431/whatsapp.apk is not anymore, but the script proceeds to download the link above then.
thanks to everybody in this post, i finally made it in life, well, i mean... I managed to de-crypt the wa database as of today (29/02/2020, so it still works yey!!) after just a few hours of "playing" (not a funny game tho).
Because i'm quite bored this morning, i feel the need to give a thorough list of instructions for the newcomers (a kind summary because many have already been given in this post):
first, the "foreplay" steps, if you know what i mean :
- enable "usb debugging" in your phone
- verify you have the latest version of java and the android debug bridge drivers in your pc
- download the .zip from this post
- extract it without changing the overall structure of the folder
- download wa 2.11.431 (like from android-apk.org)
- put it in the tmp folder replacing legacywhatsapp.apk
second, the feel like a hacker from mr. Robot steps:
- launch whatsappkeydbextract.bat file
- input y to reboot the device
- once rebooted, unlock it (you should not find your wa app anymore) and press any key in cw
- wait until the streamed install is done
- unlock again your phone
- prompted "wa has been updated" should be prompted in your phone, press continue
- search for wa in your phone and open it
- (a new prompt in your phone will say it's an outdated version of wa press ok, if it doesnt appear don't worry)
- press the adjust date and you will be sent to a date & time page, keep it open
- press any key in cw
- select the option you prefer at the command window
- select fullback up in your phone (without entering any password)
- restore wa press any key
- you made it as well :highfive:
finally you should download the whatsapp viewer and use it to open the msgstor.db file
i hope it helps and sorry for the bad jokes
n.b.: For the steve jobs lovers i'm sorry i have a win pc altough i'm not against a fundraise to buy me one, i would love to replace my potato with an apple :d
wa = whatsapp
cw = command window
I will try this evening/night (ADT - Atlantic Daylight Time / ADST Atlantic Daylight Saving Time ... or currently UTC-3)
Detailed Instructions
Thanks to everybody in this post, I finally made it in life, well, I mean... I managed to de-crypt the WA database as of today (29/02/2020, so it still works yey!!) after just a few hours of "playing" (not a funny game tho).
Because I'm quite bored this morning, I feel the need to give a thorough list of instructions for the newcomers (a kind summary because many have already been given in this post):
First, the "foreplay" steps, if you know what I mean :
- Enable "USB Debugging" in your phone
- Verify you have the latest version of Java and the Android Debug Bridge Drivers in your PC
- Download the .zip from this post
- Extract it without changing the overall structure of the folder
- Download WA 2.11.431 (like from android-apk.org)
- Put it in the tmp folder replacing LegacyWhatsApp.apk
Second, the feel like a hacker from Mr. Robot steps:
- Launch WhatsAppKeyDBExtract.bat file
- Input Y to reboot the device
- Once rebooted, unlock it (you should not find your WA app anymore) and press any key in CW
- Wait until the streamed install is done
- Unlock again your phone
- Prompted "WA has been updated" should be prompted in your phone, press continue
- Search for WA in your phone and open it
- (A new prompt in your phone will say it's an outdated version of WA press ok, if it doesnt appear don't worry)
- Press the adjust date and you will be sent to a Date & Time page, keep it open
- Press any key in CW
- Select the option you prefer at the command window
- Select fullback up in your phone (without entering any password)
- Restore WA press any key
- You MADE IT as well :highfive:
Finally you should download the Whatsapp Viewer and use it to open the msgstor.db file
I hope it helps and sorry for the bad jokes
N.B.: For the Steve Jobs lovers I'm sorry I have a Win PC altough I'm not against a fundraise to buy me one, I would love to replace my potato with an apple
WA = Whatsapp
CW = Command Window
Yes, this is a normal backup method. There are automatic tools that do the same without using PC, just on device side.
Apart from normal ADB method, you could use ECLIPSE for that, using the memory module, you could transfer files from and in.
If you have physical access to the device, there are many solutions.
regards.